:root{
  --app-height:100dvh;--app-top:0px;--page-pad:clamp(14px,4vw,28px);
  --safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);
  --safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);
  --bg:#060814;--panel:rgba(13,19,40,.78);--panel-strong:rgba(20,28,56,.92);
  --line:rgba(154,184,255,.18);--text:#f7f9ff;--muted:#a7b3d1;
  --cyan:#63e6ff;--blue:#5476ff;--violet:#a855f7;--pink:#ff55bd;--green:#4fffb0;
  --rx:0deg;--ry:0deg;--light-x:74%;--light-y:18%;
}
*{box-sizing:border-box;min-width:0}
html{width:100%;height:100%;margin:0;background:var(--bg);-webkit-text-size-adjust:100%;text-size-adjust:100%;touch-action:manipulation}
body{
  width:100%;height:100%;margin:0;overflow:hidden;color:var(--text);
  background:
    radial-gradient(circle at 12% 12%,rgba(84,118,255,.22),transparent 34%),
    radial-gradient(circle at 88% 78%,rgba(168,85,247,.2),transparent 38%),
    linear-gradient(145deg,#050711 0%,#0a1024 50%,#070918 100%);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Arial,sans-serif;
  -webkit-font-smoothing:antialiased
}
body:before{
  content:"";position:fixed;inset:0;pointer-events:none;opacity:.3;
  background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:30px 30px;mask-image:linear-gradient(to bottom,black,transparent 88%)
}
body:after{
  content:"";position:fixed;inset:-35%;pointer-events:none;opacity:.15;
  background:conic-gradient(from 100deg at 50% 50%,transparent,#4e7cff55,transparent,#df4cff4d,transparent,#42e8ff55,transparent);
  filter:blur(46px);animation:dimension-spin 22s linear infinite
}
.wrap{
  position:fixed;top:var(--app-top,0);left:0;width:100%;height:var(--app-height,100dvh);
  display:flex;flex-direction:column;align-items:center;overflow-x:hidden;overflow-y:hidden;
  padding-top:max(var(--page-pad),var(--safe-top));padding-right:max(var(--page-pad),var(--safe-right));
  padding-bottom:max(var(--page-pad),var(--safe-bottom));padding-left:max(var(--page-pad),var(--safe-left));
  -webkit-overflow-scrolling:touch;perspective:1200px
}
.wrap:before{
  content:"";position:fixed;z-index:-1;left:-20%;right:-20%;bottom:-38%;height:72%;pointer-events:none;
  background-image:linear-gradient(rgba(95,226,255,.085) 1px,transparent 1px),linear-gradient(90deg,rgba(110,126,255,.08) 1px,transparent 1px);
  background-size:34px 34px;transform:perspective(520px) rotateX(64deg);transform-origin:bottom center;
  mask-image:linear-gradient(to top,rgba(0,0,0,.9),transparent 80%)
}
.wrap.is-locked{overflow-y:hidden;overscroll-behavior:none}.wrap.is-scrollable{overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y}
.wrap>.card{margin:auto 0;flex:0 0 auto}.wrap.is-scrollable>.card,.wrap.wide>.card{margin:0}.wrap.wide{justify-content:flex-start}
.ambient{position:fixed;border-radius:50%;filter:blur(14px);pointer-events:none;opacity:.5;animation:float 9s ease-in-out infinite}
.ambient-one{width:240px;height:240px;left:-95px;top:8%;background:radial-gradient(circle,rgba(59,130,246,.5),transparent 68%)}
.ambient-two{width:280px;height:280px;right:-125px;bottom:4%;background:radial-gradient(circle,rgba(217,70,239,.38),transparent 70%);animation-delay:-4s}
.card{
  position:relative;isolation:isolate;width:min(540px,100%);max-width:100%;padding:clamp(20px,5vw,32px);
  border:1px solid var(--line);border-radius:30px;background:linear-gradient(155deg,rgba(27,38,76,.86),rgba(8,13,31,.88));
  box-shadow:0 30px 80px rgba(0,0,0,.5),0 8px 24px rgba(25,52,120,.2),inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter:blur(22px) saturate(130%);-webkit-backdrop-filter:blur(22px) saturate(130%);
  overflow:hidden;overflow-wrap:anywhere;transform-style:preserve-3d;
  transform:rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);will-change:transform;
  transition:transform .22s ease-out,box-shadow .3s ease
}
.card:before{content:"";position:absolute;z-index:-1;inset:-1px;border-radius:inherit;padding:1px;background:linear-gradient(125deg,rgba(99,230,255,.75),transparent 28%,rgba(168,85,247,.2) 52%,transparent 68%,rgba(255,85,189,.65));background-size:180% 180%;animation:prism-border 7s ease-in-out infinite;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.card:after{content:"";position:absolute;z-index:-2;inset:-45%;border-radius:42%;background:radial-gradient(circle at var(--light-x) var(--light-y),rgba(99,230,255,.24),transparent 24%),conic-gradient(from 40deg,transparent,rgba(84,118,255,.17),transparent 38%,rgba(255,85,189,.13),transparent 70%);filter:blur(12px);animation:holo-drift 13s ease-in-out infinite}
.wide .card{width:min(800px,100%)}
.depth-card>*{position:relative;transform:translateZ(18px)}
.depth-card .logo,.depth-card .ok{transform:translateZ(46px)}
.depth-card h1{transform:translateZ(36px)}
.depth-card .cta,.depth-card .primary,.depth-card .check-btn{transform:translateZ(30px)}
.card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;margin-bottom:10px}
/* V10 home header: storefront icon left, Apple logo mathematically centered, language switcher right. */
.home-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;min-height:70px;margin:0 0 14px}
.home-topbar .home-apple-logo{justify-self:center;margin:0}
.home-topbar-right{justify-self:end;display:flex;align-items:center;min-width:0}
.home-topbar-right .language-switcher{margin:0}
.store-icon-button{position:relative;justify-self:start;display:grid;place-items:center;width:50px;height:50px;border:1px solid rgba(99,230,255,.3);border-radius:16px;background:linear-gradient(145deg,rgba(36,57,109,.9),rgba(10,18,43,.94));box-shadow:0 12px 28px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.14);color:#e9fbff;text-decoration:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.store-icon-button svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.store-icon-button:hover{border-color:rgba(99,230,255,.66);box-shadow:0 14px 32px rgba(58,128,255,.22),inset 0 1px rgba(255,255,255,.18)}
.store-icon-button:active{transform:translateY(2px) scale(.97)}
.store-icon-button:focus-visible{outline:3px solid rgba(99,230,255,.28);outline-offset:3px}
.store-icon-dot{position:absolute;right:6px;top:6px;width:7px;height:7px;border-radius:999px;background:var(--green);box-shadow:0 0 12px rgba(79,255,176,.9)}

.brand-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid rgba(99,230,255,.25);border-radius:999px;background:rgba(5,12,29,.55);font-size:11px;font-weight:900;letter-spacing:.12em;color:#dffbff}
.brand-dot{width:7px;height:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 14px var(--cyan)}
.language-switcher{display:flex;align-items:center;width:clamp(118px,34vw,146px);height:34px;padding:0;border:1px solid rgba(154,184,255,.24);border-radius:11px;background:linear-gradient(145deg,rgba(27,38,74,.82),rgba(6,10,25,.88));box-shadow:0 8px 18px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.09);overflow:hidden}
.language-switcher select{width:100%;min-width:0;min-height:32px;height:32px;padding:4px 23px 4px 8px;border:0;border-radius:10px;background-color:transparent;box-shadow:none;font-size:clamp(10px,2.7vw,11.5px);font-weight:850;white-space:nowrap;text-overflow:ellipsis}
.language-switcher select:focus{box-shadow:inset 0 0 0 1px rgba(99,230,255,.55)}
.language-switcher option{background:#10172e;color:#fff}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.logo,.ok{width:68px;height:68px;border-radius:22px;display:grid;place-items:center;margin:5px 0 14px;background:linear-gradient(145deg,#25376c,#0d1636);border:1px solid rgba(255,255,255,.14);color:white;font-size:33px;box-shadow:0 18px 34px rgba(0,0,0,.35),inset 0 1px 1px rgba(255,255,255,.25),0 0 34px rgba(84,118,255,.2)}
.apple-logo{background:linear-gradient(145deg,#1d2a58,#0b112b)}.ok{background:linear-gradient(145deg,#22c55e,#087443)}
h1{margin:8px 0 10px;font-size:clamp(25px,7vw,34px);line-height:1.08;letter-spacing:-.035em;background:linear-gradient(92deg,#fff 10%,#bfefff 52%,#d7c5ff);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 10px 30px rgba(83,111,255,.18)}
h2{margin:26px 0 12px;font-size:19px}.lead{font-size:15px}.muted{color:var(--muted);line-height:1.55;margin-top:0}
label{display:block;margin:17px 0 8px;color:#dce5ff;font-weight:750;font-size:13px;letter-spacing:.015em}
input,select{
  appearance:none;-webkit-appearance:none;width:100%;max-width:100%;min-height:50px;padding:13px 15px;
  border:1px solid rgba(143,167,230,.24);border-radius:15px;outline:none;background:rgba(5,10,26,.72);color:var(--text);
  box-shadow:inset 0 2px 8px rgba(0,0,0,.26),0 1px 0 rgba(255,255,255,.04);font:inherit;font-size:16px
}
input[type=file]{padding:10px;font-size:13px}input[type=file]::file-selector-button{border:0;border-radius:9px;padding:8px 10px;margin-right:9px;background:#263862;color:#eef3ff;font-weight:800}
input:focus,select:focus{border-color:rgba(99,230,255,.75);box-shadow:0 0 0 4px rgba(99,230,255,.1),inset 0 2px 8px rgba(0,0,0,.2)}
.select-shell{position:relative}.select-shell:after{content:"⌄";position:absolute;right:15px;top:50%;transform:translateY(-55%);color:var(--cyan);pointer-events:none;font-size:20px}
button,.btn,.tool-btn,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button,.btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;border:0;border-radius:16px;padding:13px 16px;margin-top:16px;text-align:center;font-weight:900;font-size:15px;line-height:1.25;text-decoration:none;cursor:pointer;transition:transform .2s ease,filter .2s ease,box-shadow .2s ease}
button:active,.btn:active,.tool-btn:active{transform:translateY(2px) scale(.992)}button:disabled{opacity:.45;cursor:not-allowed}
button,.primary,.cta{color:#06101d;background:linear-gradient(100deg,var(--cyan),#7bb8ff 42%,#b792ff);box-shadow:0 15px 0 rgba(20,40,92,.38),0 22px 34px rgba(78,123,255,.22),inset 0 1px 1px rgba(255,255,255,.65)}
.secondary{background:linear-gradient(145deg,rgba(60,82,145,.62),rgba(24,35,75,.76));border:1px solid rgba(126,156,240,.25);color:#edf4ff}
.ghost{background:rgba(120,139,191,.12);border:1px solid rgba(147,167,226,.18);color:#cad6f4}.check-btn{background:linear-gradient(100deg,rgba(168,85,247,.34),rgba(84,118,255,.28));border:1px solid rgba(201,132,255,.35);color:#f4eaff}.store-entry{margin-top:12px;color:#06101a!important;background:linear-gradient(100deg,#52f1dc,#70a4ff 55%,#d37bff)!important;border:0!important;font-weight:950;box-shadow:0 14px 32px rgba(83,163,255,.25),inset 0 1px rgba(255,255,255,.75)!important}
.tool-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:11px;margin:20px 0}
.tool-btn{display:flex;align-items:center;justify-content:center;gap:7px;min-height:50px;padding:11px 8px;border:1px solid rgba(130,157,226,.2);border-radius:16px;background:linear-gradient(145deg,rgba(40,55,103,.7),rgba(16,25,57,.76));box-shadow:0 10px 22px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.08);color:#eff4ff;font-weight:850;font-size:clamp(12px,3.5vw,15px);line-height:1.2;text-decoration:none;text-align:center;transition:.2s ease}
.admin-link{display:block;text-align:center;margin-top:18px;color:#7f8ead;font-size:12px;text-decoration:none}.back{display:inline-block;margin:0;color:#b8c6e9;text-decoration:none;font-weight:750;font-size:13px}.logout{color:#ff9acb;font-weight:750;text-decoration:none}
.alert,.success,.note{border-radius:15px;padding:12px 14px;margin:14px 0;line-height:1.45;border:1px solid transparent}.alert{background:rgba(239,68,68,.13);border-color:rgba(248,113,113,.28);color:#ffc4cb}.success{background:rgba(34,197,94,.13);border-color:rgba(74,222,128,.28);color:#b9ffd1}.note{background:rgba(245,158,11,.11);border-color:rgba(251,191,36,.22);color:#ffe3a3;font-size:13px}
.top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.list{display:grid;gap:8px}.list>div{padding:10px 12px;border:1px solid var(--line);background:rgba(5,10,26,.45);border-radius:11px}
code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere;color:#bdefff}.udid-box{padding:16px;background:rgba(5,10,26,.62);border:1px solid var(--line);border-radius:15px;overflow-wrap:anywhere;margin:16px 0}.small{font-size:13px}
.certificate-result{margin-top:18px;padding:16px;border:1px solid var(--line);border-radius:20px;background:rgba(5,10,26,.46);box-shadow:inset 0 1px rgba(255,255,255,.04)}
.status-badge{display:inline-flex;padding:7px 11px;border-radius:999px;font-size:11px;font-weight:950;letter-spacing:.06em}.status-valid{background:rgba(34,197,94,.16);color:#76ffac;border:1px solid rgba(74,222,128,.3)}.status-expired{background:rgba(239,68,68,.15);color:#ff9baa;border:1px solid rgba(248,113,113,.3)}.status-not_yet_valid{background:rgba(245,158,11,.14);color:#ffd477;border:1px solid rgba(251,191,36,.3)}
dl{margin:14px 0 0;display:grid;gap:0}dl>div{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr);gap:12px;padding:11px 0;border-bottom:1px solid rgba(149,170,225,.12)}dl>div:last-child{border-bottom:0}dt{color:#8f9cbb;font-size:12px}dd{margin:0;text-align:right;color:#f1f5ff;font-size:13px;font-weight:750;overflow-wrap:anywhere}
@keyframes float{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(12px,-16px,0) scale(1.06)}}
@keyframes dimension-spin{to{transform:rotate(360deg)}}
@keyframes prism-border{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes holo-drift{0%,100%{transform:rotate(-4deg) scale(1)}50%{transform:rotate(7deg) scale(1.08)}}
@media(max-width:380px){:root{--page-pad:10px}.card{border-radius:23px;padding:18px}.tool-grid{gap:8px}.tool-btn{padding:9px 5px;font-size:11px}h1{font-size:24px}.brand-pill{font-size:9px}.language-switcher{width:116px;height:32px}.language-switcher select{height:30px;min-height:30px;font-size:10px}}
@media(max-height:650px){:root{--page-pad:10px}.wrap>.card{margin:0}.logo,.ok{width:52px;height:52px;font-size:26px;border-radius:17px}h1{font-size:24px}.tool-grid{margin:12px 0}label{margin-top:12px}button,.btn{margin-top:12px}.card{padding-top:17px;padding-bottom:17px}}
@media(orientation:landscape) and (max-height:520px){.card{width:min(800px,100%);padding:16px 22px}.logo,.ok{width:44px;height:44px;font-size:22px}.tool-grid{grid-template-columns:1fr 1fr;margin:10px 0}}

@media(max-width:380px){.home-topbar{gap:7px;min-height:60px;margin-bottom:10px}.store-icon-button{width:44px;height:44px;border-radius:14px}.store-icon-button svg{width:22px;height:22px}.home-topbar .home-apple-logo{width:56px;height:56px;border-radius:18px;font-size:28px}.home-topbar-right .language-switcher{width:108px!important;max-width:108px!important}.home-topbar-right .language-switcher select{font-size:9.5px;padding-left:6px;padding-right:18px}}
@media(max-width:330px){.home-topbar{gap:5px}.store-icon-button{width:40px;height:40px}.home-topbar .home-apple-logo{width:52px;height:52px}.home-topbar-right .language-switcher{width:100px!important;max-width:100px!important}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* V11 fixed shell: one 45px header + responsive five-tab footer on every public page */
:root{--fixed-header-h:45px;--fixed-footer-h:64px}
.has-fixed-shell{padding-top:calc(var(--fixed-header-h) + env(safe-area-inset-top,0px));padding-bottom:calc(var(--fixed-footer-h) + env(safe-area-inset-bottom,0px))}
.app-fixed-header{position:fixed!important;z-index:1000;top:0;left:0;right:0;width:100%;height:calc(var(--fixed-header-h) + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px);border:0;border-bottom:1px solid rgba(154,184,255,.18);border-radius:0!important;background:rgba(7,11,24,.94)!important;backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);box-shadow:0 8px 26px rgba(0,0,0,.24)}
.app-header-inner{height:45px;width:min(1400px,100%);margin:auto;display:grid;grid-template-columns:minmax(62px,.9fr) minmax(60px,.7fr) minmax(126px,1.3fr);align-items:center;gap:clamp(3px,1vw,10px);padding:0 max(7px,env(safe-area-inset-left,0px)) 0 max(7px,env(safe-area-inset-right,0px));white-space:nowrap;overflow:hidden}
.app-header-brand{min-width:0;display:flex;align-items:center;color:#fff;text-decoration:none;font-weight:950;font-size:clamp(10px,2.6vw,14px);letter-spacing:-.02em;overflow:hidden}
.app-header-brand-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.app-header-clock{justify-self:center;color:#d8e4ff;font-size:clamp(9px,2.4vw,12px);font-variant-numeric:tabular-nums;font-weight:750;white-space:nowrap}
.app-header-tools{justify-self:end;display:grid;grid-template-columns:minmax(72px,clamp(72px,23vw,122px)) clamp(34px,9vw,40px);align-items:center;gap:clamp(3px,1.2vw,8px);min-width:0}
.app-header-tools .language-switcher{width:100%!important;max-width:122px!important;height:34px!important;margin:0!important}
.app-header-tools .language-switcher select{width:100%!important;max-width:100%!important;min-height:32px!important;height:32px!important;padding:4px 20px 4px 6px!important;border-radius:10px!important;font-size:clamp(8px,2.15vw,10.5px)!important;white-space:nowrap;text-overflow:ellipsis}
.app-menu-toggle.menu-toggle{width:clamp(34px,9vw,40px)!important;height:34px!important;min-height:34px!important;padding:0!important;margin:0!important;border-radius:10px!important;box-shadow:none!important;background:rgba(25,34,66,.92)!important}
.app-menu-toggle.menu-toggle span{width:18px!important;height:2px!important}
.app-header-menu.hamburger-menu{position:fixed!important;top:calc(var(--fixed-header-h) + env(safe-area-inset-top,0px) + 5px)!important;right:max(7px,env(safe-area-inset-right,0px))!important;width:min(330px,calc(100vw - 14px))!important;z-index:1100!important}
.app-fixed-footer{position:fixed;z-index:1000;left:0;right:0;bottom:0;width:100%;height:calc(var(--fixed-footer-h) + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);border:0;border-top:1px solid rgba(154,184,255,.18);border-radius:0;background:rgba(7,11,24,.96);backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);box-shadow:0 -8px 26px rgba(0,0,0,.28)}
.app-footer-inner{height:64px;width:min(820px,100%);margin:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;padding:4px max(4px,env(safe-area-inset-right,0px)) 4px max(4px,env(safe-area-inset-left,0px));gap:clamp(2px,.8vw,7px)}
.app-footer-item{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:3px 2px;border:1px solid rgba(154,184,255,.12);border-radius:12px;background:rgba(255,255,255,.025);color:#aebbd9;text-decoration:none;overflow:hidden}
.app-footer-item.active{color:#f7fbff;border-color:rgba(99,230,255,.42);background:linear-gradient(145deg,rgba(99,230,255,.13),rgba(84,118,255,.12));box-shadow:inset 0 1px rgba(255,255,255,.08)}
.app-footer-icon{display:grid;place-items:center;height:24px;font-size:clamp(17px,4.8vw,22px);line-height:1;font-weight:900}
.app-footer-label{display:block;width:100%;font-size:clamp(8.5px,2.25vw,11.5px);line-height:1.05;font-weight:750;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.has-fixed-shell .wrap{padding-top:clamp(10px,2.5vh,20px)!important;padding-bottom:clamp(10px,2.5vh,20px)!important;min-height:calc(var(--app-height,100dvh) - var(--fixed-header-h) - var(--fixed-footer-h) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important}
.signer-apple-logo{margin:0 auto 12px!important}
.signer-home-title,.signer-home-subtitle{text-align:center!important}
.signer-home-title{white-space:nowrap;font-size:clamp(22px,7.4vw,34px)!important;letter-spacing:-.045em!important}
.signer-home-subtitle{font-size:clamp(11px,3.6vw,15px)!important;white-space:nowrap;overflow:hidden;text-overflow:clip}
@media(max-width:360px){
  .app-header-inner{grid-template-columns:minmax(58px,.85fr) minmax(55px,.65fr) minmax(112px,1.25fr);padding-left:5px;padding-right:5px;gap:2px}
  .app-header-tools{grid-template-columns:minmax(68px,78px) 34px;gap:3px}.app-header-tools .language-switcher{max-width:78px!important}
  .app-footer-inner{gap:2px;padding-left:2px;padding-right:2px}.app-footer-item{border-radius:10px;padding-left:1px;padding-right:1px}
  .app-footer-label{font-size:8.5px}.app-footer-icon{font-size:17px}
  .signer-home-subtitle{font-size:10.5px!important}
}
@media(min-width:900px){.app-footer-inner{width:min(760px,100%)}.app-footer-label{font-size:11px}.app-header-inner{padding-left:18px;padding-right:18px}}

.app-header-brand,.app-header-brand-text,.app-footer-label{overflow:visible!important;text-overflow:clip!important}.app-footer-label{white-space:nowrap!important}.app-header-brand-text{white-space:nowrap!important}

.app-header-brand-text,.app-header-clock,.app-footer-label,.signer-home-title,.signer-home-subtitle{max-width:100%!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
.app-footer-item{overflow:visible!important}.app-footer-label{width:auto!important;min-width:0!important}
button,.btn,.tool-btn{font-size:clamp(11px,3.4vw,15px)}

/* V11 hamburger base is in the shared stylesheet so it also works on signer pages. */
.app-menu-toggle.menu-toggle{display:grid!important;align-content:center!important;justify-items:center!important;gap:4px!important;border:1px solid rgba(154,184,255,.22)!important;cursor:pointer!important;color:#fff!important}
.app-menu-toggle.menu-toggle span{display:block!important;border-radius:4px!important;background:#fff!important}
.app-header-menu.hamburger-menu{display:none!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;padding:8px!important;border:1px solid rgba(154,184,255,.2)!important;border-radius:16px!important;background:rgba(8,13,31,.97)!important;box-shadow:0 20px 45px rgba(0,0,0,.42)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
.app-header-menu.hamburger-menu.open{display:grid!important}
.app-header-menu.hamburger-menu a{display:flex!important;align-items:center!important;min-height:40px!important;padding:9px 11px!important;border:1px solid transparent!important;border-radius:11px!important;background:rgba(255,255,255,.035)!important;color:#eef4ff!important;text-decoration:none!important;font-size:clamp(11px,3vw,13px)!important;font-weight:800!important;white-space:nowrap!important}
.app-header-menu.hamburger-menu a:active{background:rgba(99,230,255,.12)!important;border-color:rgba(99,230,255,.24)!important}

.app-footer-icon svg{width:clamp(18px,5vw,22px);height:clamp(18px,5vw,22px);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}


/* V12 shop floating header/footer + signer dedicated shell */
:root{--fixed-header-h:45px;--fixed-footer-h:41px}
.has-fixed-shell{padding-top:calc(var(--fixed-header-h) + env(safe-area-inset-top,0px) + 18px);padding-bottom:calc(var(--fixed-footer-h) + env(safe-area-inset-bottom,0px) + 18px)}
.app-fixed-header{top:8px!important;left:15px!important;right:15px!important;width:auto!important;height:calc(var(--fixed-header-h) + env(safe-area-inset-top,0px));border:1px solid rgba(99,230,255,.14)!important;border-radius:12px!important;border-bottom:1px solid rgba(99,230,255,.14)!important;background:linear-gradient(145deg,rgba(7,11,24,.96),rgba(10,17,36,.94))!important;box-shadow:0 14px 30px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.05)!important}
.app-header-inner{padding-left:10px!important;padding-right:10px!important;grid-template-columns:minmax(98px,1.2fr) minmax(100px,1fr) minmax(114px,1.15fr)!important;gap:6px!important}
.app-header-pill{min-height:31px;padding:0 10px;border:1px solid rgba(99,230,255,.16);border-radius:11px;background:rgba(255,255,255,.032);box-shadow:inset 0 1px rgba(255,255,255,.06)}
.app-header-brand{gap:7px!important}
.app-header-brand-icon{flex:0 0 auto;display:grid;place-items:center;width:18px;height:18px;font-size:17px;line-height:1;color:#f7fbff;text-shadow:0 0 12px rgba(255,255,255,.22)}
.app-header-brand-text{font-size:clamp(10px,2.5vw,13px)!important;font-weight:900!important}
.app-header-clock{display:flex!important;align-items:center!important;justify-content:center!important;font-size:clamp(8px,2.2vw,11px)!important;font-weight:900!important;letter-spacing:.04em;background:linear-gradient(90deg,#7cf8ff,#89a7ff,#c873ff,#ff7ece,#7cf8ff);background-size:260% 100%;-webkit-background-clip:text;background-clip:text;color:transparent!important;animation:wave-sheen 3.6s linear infinite,pulse-fade 1.8s ease-in-out infinite}
.app-header-tools{grid-template-columns:minmax(68px,clamp(68px,22vw,112px)) clamp(34px,9vw,40px)!important}
.app-header-tools .language-switcher{max-width:112px!important;height:32px!important}
.app-header-tools .language-switcher select{height:30px!important;font-size:clamp(8px,2vw,10px)!important}
.app-header-menu.hamburger-menu{top:calc(var(--fixed-header-h) + env(safe-area-inset-top,0px) + 16px)!important;right:15px!important;width:min(330px,calc(100vw - 30px))!important}
.app-fixed-footer{left:15px!important;right:15px!important;bottom:8px!important;width:auto!important;height:calc(var(--fixed-footer-h) + env(safe-area-inset-bottom,0px));border:1px solid rgba(99,230,255,.12)!important;border-radius:12px!important;background:linear-gradient(145deg,rgba(7,11,24,.96),rgba(11,16,36,.95))!important;box-shadow:0 -10px 28px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.05)!important}
.app-footer-inner{height:41px!important;padding:2px 4px!important;gap:4px!important}
.app-footer-item{gap:1px!important;padding:1px 2px!important;border-radius:10px!important}
.app-footer-icon{height:14px!important;font-size:13px!important}
.app-footer-icon svg{width:14px;height:14px;stroke-width:1.85}
.app-footer-label{font-size:8px!important;line-height:1!important}
.has-fixed-shell .wrap{padding-top:calc(var(--fixed-header-h) + env(safe-area-inset-top,0px) + 20px)!important;padding-bottom:calc(var(--fixed-footer-h) + env(safe-area-inset-bottom,0px) + 20px)!important;min-height:calc(var(--app-height,100dvh) - var(--fixed-header-h) - var(--fixed-footer-h) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 36px)!important}
.signer-page{--fixed-header-h:45px;--fixed-footer-h:58px}
.signer-fixed-header{position:fixed;z-index:1000;top:8px;left:15px;right:15px;height:calc(var(--fixed-header-h) + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px);border:1px solid rgba(99,230,255,.18);border-radius:15px;background:linear-gradient(145deg,rgba(7,11,24,.96),rgba(10,17,36,.94));backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);box-shadow:0 14px 30px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.05)}
.signer-header-inner{height:45px;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;padding:0 8px}
.signer-icon-button{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(99,230,255,.18);border-radius:12px;background:rgba(255,255,255,.035);color:#f6fbff;text-decoration:none;box-shadow:inset 0 1px rgba(255,255,255,.06)}
.signer-icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.signer-brand-runner{display:flex;align-items:center;justify-content:center;min-width:0;height:34px;padding:0 10px;border:1px solid rgba(99,230,255,.22);border-radius:12px;background:rgba(255,255,255,.03);box-shadow:0 0 0 1px rgba(99,230,255,.08),inset 0 1px rgba(255,255,255,.08);overflow:hidden;position:relative}
.signer-brand-runner:before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;background:linear-gradient(90deg,#57f7ff,#8aa9ff,#cb73ff,#ff7dd0,#57f7ff);background-size:240% 100%;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:wave-sheen 3.2s linear infinite}
.signer-brand-text{position:relative;z-index:1;display:block;max-width:100%;font-size:clamp(13px,3.9vw,18px);font-weight:950;letter-spacing:.04em;white-space:nowrap;background:linear-gradient(90deg,#61f6ff,#7fffae,#ffe566,#ff9b72,#ff70f2,#8a9dff,#61f6ff);background-size:260% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:wave-sheen 2.8s linear infinite,pulse-fade 1.7s ease-in-out infinite}
.signer-fixed-footer{position:fixed;z-index:1000;left:15px;right:15px;bottom:8px;border:1px solid rgba(99,230,255,.16);border-radius:15px;background:linear-gradient(145deg,rgba(7,11,24,.95),rgba(10,16,34,.96));backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);box-shadow:0 -10px 30px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.05)}
.signer-footer-inner{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:6px}
.signer-footer-pill{display:flex;align-items:center;justify-content:center;min-height:38px;padding:0 8px;border:1px solid rgba(99,230,255,.14);border-radius:12px;background:rgba(255,255,255,.03);color:#f5f8ff;font-size:clamp(10px,2.55vw,12px);font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.signer-footer-pill b{color:#7ef6b7}
@keyframes wave-sheen{0%{background-position:0% 50%}100%{background-position:260% 50%}}
@keyframes pulse-fade{0%,100%{opacity:1}50%{opacity:.74}}
@media(max-width:600px){
 .app-fixed-header,.signer-fixed-header{left:15px!important;right:15px!important}
 .app-header-inner{grid-template-columns:minmax(86px,1fr) minmax(84px,.9fr) minmax(104px,1fr)!important;padding-left:8px!important;padding-right:8px!important;gap:4px!important}
 .app-header-brand-icon{width:16px;height:16px;font-size:15px}.app-header-brand-text{font-size:10px!important}.app-header-clock{font-size:8px!important}
 .app-header-tools{grid-template-columns:minmax(62px,74px) 34px!important;gap:4px!important}.app-header-tools .language-switcher{max-width:74px!important}
 .app-fixed-footer{left:15px!important;right:15px!important}.app-footer-inner{gap:2px!important;padding:2px!important}.app-footer-label{font-size:7.2px!important}.app-footer-icon,.app-footer-icon svg{height:13px!important;width:13px!important}
 .signer-header-inner{grid-template-columns:40px minmax(0,1fr) 40px;gap:6px;padding:0 6px}.signer-icon-button{width:34px;height:34px}.signer-icon-button svg{width:17px;height:17px}.signer-brand-runner{height:32px;padding:0 8px}.signer-brand-text{font-size:clamp(12px,4vw,15px)}
 .signer-footer-inner{gap:6px;padding:5px}.signer-footer-pill{min-height:34px;font-size:9px;padding:0 6px}
}
@media(max-width:360px){
 .app-header-brand-text{font-size:9px!important}.app-header-clock{font-size:7.5px!important}.app-footer-label{font-size:6.8px!important}
 .signer-footer-pill{font-size:8.5px}
}


/* V14 compact 42px controls: excludes fixed headers and footers */
.wrap input:not([type="checkbox"]):not([type="radio"]),
.wrap select,
.wrap button:not(.app-menu-toggle),
.wrap .btn,
.wrap .tool-btn,
.wrap .cta,
.wrap .primary{
  height:42px!important;min-height:42px!important;max-height:42px!important;
  padding-top:0!important;padding-bottom:0!important;
  border-radius:13px!important;
}
.wrap input[type="file"]{height:42px!important;min-height:42px!important;padding:5px 8px!important}
.wrap input[type="file"]::file-selector-button{height:31px!important;padding:0 10px!important}
.wrap .tool-grid{gap:9px!important;margin:15px 0!important}
.wrap label{margin-top:13px!important;margin-bottom:6px!important}


/* V14 storefront header/footer sizing */
.store-body.has-fixed-shell{--fixed-footer-h:48px}
.store-body .app-fixed-header{left:15px!important;right:15px!important}
.store-body .app-header-inner{grid-template-columns:minmax(84px,1.35fr) minmax(76px,.85fr) minmax(112px,auto)!important;gap:4px!important;padding-left:8px!important;padding-right:8px!important}
.store-body .app-header-pill{padding-left:9px!important;padding-right:9px!important}
.store-body .app-header-brand{justify-content:flex-start!important;gap:6px!important;text-transform:uppercase!important}
.store-body .app-header-brand-icon{width:clamp(18px,5.9vw,23px)!important;height:clamp(18px,5.9vw,23px)!important;font-size:clamp(18px,5.9vw,23px)!important;font-weight:950!important;line-height:1!important}
.store-body .app-header-brand-text{font-size:clamp(12px,5.9vw,23px)!important;font-weight:950!important;line-height:1!important;letter-spacing:-.045em!important}
.store-body .app-header-clock{font-size:clamp(9px,3.35vw,13px)!important;font-weight:950!important;line-height:1!important;letter-spacing:.025em!important}
.store-body .app-header-tools{grid-template-columns:minmax(78px,96px) 34px!important;gap:4px!important}
.store-body .app-header-tools .language-switcher{width:100%!important;max-width:96px!important;height:32px!important}
.store-body .app-header-tools .language-switcher select{height:30px!important;min-height:30px!important;max-height:30px!important;padding-left:5px!important;padding-right:15px!important;font-size:10px!important;font-weight:850!important;text-overflow:clip!important}
.store-body .app-fixed-footer{height:calc(48px + env(safe-area-inset-bottom,0px))!important}
.store-body .app-footer-inner{height:48px!important;padding:3px 4px!important}
.store-body .app-footer-icon{height:17px!important;font-size:15px!important}
.store-body .app-footer-icon svg{width:16px!important;height:16px!important}
.store-body .app-footer-label{font-size:8.2px!important}
@media(max-width:390px){
 .store-body .app-header-inner{grid-template-columns:minmax(78px,1.25fr) minmax(70px,.78fr) minmax(108px,auto)!important}
 .store-body .app-header-tools{grid-template-columns:minmax(74px,90px) 34px!important}
 .store-body .app-header-tools .language-switcher{max-width:90px!important}
}
@media(max-width:350px){
 .store-body .app-header-inner{grid-template-columns:minmax(72px,1.2fr) minmax(66px,.72fr) minmax(104px,auto)!important;padding-left:6px!important;padding-right:6px!important;gap:3px!important}
 .store-body .app-header-tools{grid-template-columns:84px 34px!important;gap:3px!important}
 .store-body .app-header-tools .language-switcher{max-width:84px!important}
 .store-body .app-header-tools .language-switcher select{font-size:8.5px!important;padding-left:3px!important;padding-right:11px!important}
}

/* V15 adaptive shell, no-zoom and signer footer */
html,body{width:100%;max-width:100%;overscroll-behavior-x:none;touch-action:manipulation}
body{min-height:100svh;min-height:100dvh;overflow-x:hidden}
a,button,label,.btn,.tool-btn,.cta,.buy-button,.secondary-button{touch-action:manipulation}
.premium-title-font{font-family:"Avenir Next","SF Pro Display","Trebuchet MS",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-weight:950!important;font-variation-settings:"wght" 850}

/* Shop header/footer follow the exact rendered store-shell instead of fixed side margins. */
.store-body .app-fixed-header,.store-body .app-fixed-footer{
  left:var(--store-shell-left,16px)!important;right:auto!important;
  width:var(--store-shell-width,calc(100% - 32px))!important;
  max-width:none!important;transform:none!important
}
.store-body .app-header-inner{width:100%!important;grid-template-columns:minmax(94px,1fr) minmax(82px,.9fr) minmax(116px,auto)!important;gap:5px!important;padding:0 7px!important}
.store-body .app-header-pill{min-height:31px!important;height:31px!important;padding:6px 8px!important;border-radius:10px!important;display:flex!important;align-items:center!important}
.store-body .app-header-brand{justify-content:flex-start!important;gap:6px!important;text-transform:uppercase!important;font-weight:950!important}
.store-body .app-header-brand-icon{width:17px!important;height:17px!important;font-size:17px!important;line-height:17px!important;font-weight:950!important}
.store-body .app-header-brand-text{font-size:clamp(10.5px,3.3vw,13px)!important;line-height:1!important;font-weight:950!important;letter-spacing:-.02em!important}
.store-body .app-header-clock{font-size:clamp(9px,2.75vw,12px)!important;line-height:1!important;font-weight:950!important;letter-spacing:.02em!important;padding-left:7px!important;padding-right:7px!important}
.store-body .app-header-tools{grid-template-columns:minmax(76px,96px) 34px!important;gap:4px!important}
.store-body .app-header-tools .language-switcher{width:100%!important;max-width:96px!important;height:31px!important}
.store-body .app-header-tools .language-switcher select{height:29px!important;min-height:29px!important;max-height:29px!important;font-size:9.5px!important;font-weight:850!important;padding:3px 16px 3px 5px!important}
.store-body .app-fixed-footer{height:calc(48px + env(safe-area-inset-bottom,0px))!important}
.store-body .app-footer-inner{width:100%!important;height:48px!important}

/* Letter-building titles keep their final footprint at all times to avoid layout jumps. */
.title-slot{display:inline-block!important;white-space:nowrap!important;overflow:hidden!important;vertical-align:bottom}
.typing-title{width:14.4ch!important;min-width:14.4ch!important;text-align:left!important}
.signer-typing-title{width:13.2ch!important;min-width:13.2ch!important;text-align:left!important}

/* Signer footer: real copyright + live clock + the same functional language selector. */
.signer-fixed-footer{left:15px!important;right:15px!important}
.signer-footer-inner{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(98px,1fr)!important;align-items:center!important;gap:6px!important;padding:6px!important}
.signer-footer-pill{min-height:36px!important;height:36px!important;padding:0 7px!important;border-radius:11px!important;font-size:clamp(8.5px,2.45vw,11px)!important}
.signer-footer-copy{font-weight:900!important}
.signer-footer-clock{font-weight:950!important;letter-spacing:.025em!important;background:linear-gradient(90deg,#61f6ff,#7fffae,#ffe566,#ff9b72,#ff70f2,#8a9dff,#61f6ff)!important;background-size:280% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;animation:wave-sheen 2.7s linear infinite,pulse-fade 1.25s ease-in-out infinite!important}
.signer-footer-language{min-width:0;height:36px}
.signer-footer-language .language-switcher{width:100%!important;max-width:none!important;height:36px!important;margin:0!important;border-radius:11px!important}
.signer-footer-language .language-switcher select{width:100%!important;height:34px!important;min-height:34px!important;max-height:34px!important;font-size:clamp(8.5px,2.5vw,10.5px)!important;font-weight:850!important;padding:3px 19px 3px 6px!important;border-radius:10px!important}

@media(max-width:390px){
 .store-body .app-header-inner{grid-template-columns:minmax(82px,1fr) minmax(72px,.78fr) minmax(108px,auto)!important;gap:3px!important;padding:0 5px!important}
 .store-body .app-header-brand-icon{width:15px!important;height:15px!important;font-size:15px!important}.store-body .app-header-brand-text{font-size:10px!important}
 .store-body .app-header-clock{font-size:8.3px!important;padding-left:5px!important;padding-right:5px!important}
 .store-body .app-header-tools{grid-template-columns:72px 32px!important;gap:3px!important}.store-body .app-header-tools .language-switcher{max-width:72px!important}
 .store-body .app-header-tools .language-switcher select{font-size:8.2px!important;padding-left:3px!important;padding-right:12px!important}
 .signer-footer-inner{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr) minmax(88px,.95fr)!important;gap:4px!important;padding:5px!important}
 .signer-footer-pill{font-size:8px!important;padding:0 4px!important}.signer-footer-language .language-switcher select{font-size:8px!important;padding-left:4px!important;padding-right:13px!important}
}

/* V17 typography and stable centered animated titles */
body,button,input,select,textarea,a{font-family:"Avenir Next","SF Pro Text","Segoe UI Variable Text","Segoe UI",Roboto,system-ui,-apple-system,sans-serif!important}
.premium-title-font,.typing-title,.signer-typing-title,.mrkhoi-title,.signer-home-title{
  font-family:ui-rounded,"SF Pro Rounded","Avenir Next Rounded","Arial Rounded MT Bold","Trebuchet MS",system-ui,sans-serif!important;
  font-weight:900!important;
  letter-spacing:.015em!important
}
.signer-home-title,.mrkhoi-title{
  width:100%!important;max-width:100%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  text-align:center!important;font-size:clamp(20px,6.3vw,25px)!important;line-height:1.05!important;
  min-height:27px!important;margin-left:auto!important;margin-right:auto!important
}
.title-slot,.typing-title,.signer-typing-title{
  width:var(--title-ch,14.5ch)!important;min-width:var(--title-ch,14.5ch)!important;max-width:100%!important;
  display:inline-block!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;
  vertical-align:bottom!important
}

/* V18 stable animated titles: reserve full text, animate in a fixed overlay, auto-fit to real width. */
.stable-animated-title[data-fit-animated-title]{
  position:relative!important;width:100%!important;max-width:100%!important;height:1.18em!important;min-height:1.18em!important;
  margin-left:auto!important;margin-right:auto!important;overflow:visible!important;text-align:center!important;
  font-size:25px!important;line-height:1.18!important
}
.stable-animated-title .title-reserve{
  position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;
  display:block!important;width:max-content!important;max-width:none!important;white-space:nowrap!important;visibility:hidden!important;
  pointer-events:none!important
}
.stable-animated-title .title-live{
  position:absolute!important;inset:0!important;width:100%!important;min-width:0!important;max-width:100%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:nowrap!important;
  overflow:visible!important;transform:scaleX(var(--title-scale-x,1))!important;transform-origin:center!important
}
.stable-animated-title.typing-title,.stable-animated-title.signer-typing-title{width:100%!important;min-width:0!important}
.title-slot,.typing-title,.signer-typing-title{min-width:0!important;max-width:100%!important}



/* V19: critical title fallback must always be visible, even while JS is typing. */
.stable-animated-title .title-live{
  color:#f8fbff!important;
  background:linear-gradient(92deg,#ffffff 8%,#bfefff 50%,#d7c5ff 92%)!important;
  -webkit-background-clip:text!important;background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  opacity:1!important;visibility:visible!important;z-index:2!important
}
.stable-animated-title .title-reserve{z-index:1!important}


/* V20 storefront footer 54px + shell-bound fluid frame. */
.store-body.has-fixed-shell{--fixed-footer-h:54px!important;padding-bottom:calc(54px + env(safe-area-inset-bottom,0px) + 12px)!important}
.store-body .app-fixed-footer{height:calc(54px + env(safe-area-inset-bottom,0px))!important}
.store-body .app-footer-inner{height:54px!important;padding:4px clamp(2px,.55vw,7px)!important;gap:clamp(2px,.5vw,6px)!important}
.store-body .app-footer-item{min-height:44px!important;border-radius:clamp(9px,1vw,12px)!important}
.store-body .app-footer-icon{height:clamp(16px,2.2vw,20px)!important;font-size:clamp(14px,1.6vw,18px)!important}
.store-body .app-footer-icon svg{width:clamp(15px,1.5vw,18px)!important;height:clamp(15px,1.5vw,18px)!important}
.store-body .app-footer-label{font-size:clamp(7.5px,.7vw,10px)!important;line-height:1!important}
.store-body .app-fixed-header,.store-body .app-fixed-footer{max-width:100vw!important}
@media(max-width:359px){
  .store-body .app-footer-inner{padding-left:1px!important;padding-right:1px!important;gap:1px!important}.store-body .app-footer-label{font-size:7px!important}
}
@media(min-width:1200px){
  .store-body .app-footer-inner{padding-left:8px!important;padding-right:8px!important}.store-body .app-footer-label{font-size:9.5px!important}
}


/* V21: all fixed shells sit 1px from viewport edges and match their body/content frame. */
.store-body .app-fixed-header{top:1px!important}
.store-body .app-fixed-footer{bottom:1px!important}
.store-body .app-header-menu.hamburger-menu{top:calc(var(--fixed-header-h) + env(safe-area-inset-top,0px) + 3px)!important}
.signer-page .signer-fixed-header{
  top:1px!important;left:var(--signer-shell-left,15px)!important;right:auto!important;
  width:var(--signer-shell-width,calc(100% - 30px))!important;max-width:none!important
}
.signer-page .signer-fixed-footer{
  bottom:1px!important;left:var(--signer-shell-left,15px)!important;right:auto!important;
  width:var(--signer-shell-width,calc(100% - 30px))!important;max-width:none!important
}
.store-body.has-fixed-shell{padding-top:calc(var(--fixed-header-h) + env(safe-area-inset-top,0px) + 5px)!important;padding-bottom:calc(54px + env(safe-area-inset-bottom,0px) + 5px)!important}
.signer-page.has-fixed-shell{padding-top:calc(var(--fixed-header-h) + env(safe-area-inset-top,0px) + 5px)!important;padding-bottom:calc(var(--fixed-footer-h) + env(safe-area-inset-bottom,0px) + 5px)!important}
@media(max-width:600px){
 .signer-page .signer-fixed-header,.signer-page .signer-fixed-footer{left:var(--signer-shell-left,7px)!important;right:auto!important;width:var(--signer-shell-width,calc(100% - 14px))!important}
}


/* V22 universal device-safe controls and signer action row */
html,body,input,select,textarea,button{
  font-family:"Avenir Next","SF Pro Text",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans","Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",Arial,sans-serif;
}
img,video,canvas,svg{max-width:100%;height:auto}
svg{shape-rendering:geometricPrecision}
button,.btn,.tool-btn,.cta,.primary,.secondary-button,.buy-button{
  min-width:0;max-width:100%;overflow:hidden;text-overflow:clip;
}
button,.btn,.tool-btn,.cta,.primary,.secondary-button,.buy-button,
input,select,textarea{font-size:clamp(11px,.42vw + 10px,15px)}

/* Native upload control: vertically center the chooser in every visible file field. */
input[type="file"],.wrap input[type="file"]{
  display:block!important;width:100%!important;height:42px!important;min-height:42px!important;max-height:42px!important;
  padding:4px 7px!important;line-height:32px!important;white-space:nowrap!important;overflow:hidden!important;
  color:var(--muted,#a7b3d1)!important;
}
input[type="file"]::file-selector-button,.wrap input[type="file"]::file-selector-button,
input[type="file"]::-webkit-file-upload-button,.wrap input[type="file"]::-webkit-file-upload-button{
  height:32px!important;min-height:32px!important;max-height:32px!important;
  margin:0 9px 0 0!important;padding:0 11px!important;vertical-align:middle!important;line-height:30px!important;
  border:0!important;border-radius:9px!important;background:#263862!important;color:#eef3ff!important;font-weight:850!important;
}

/* Signer tools must ALWAYS remain one row: Đổi pass | Check cert | Lấy UDID. */
.signer-tool-grid,.wrap .signer-tool-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:clamp(4px,1.4vw,9px)!important;margin:clamp(12px,2.6vh,16px) 0!important;width:100%!important;
}
.signer-tool-btn,.wrap .signer-tool-btn{
  width:100%!important;min-width:0!important;height:42px!important;min-height:42px!important;max-height:42px!important;
  padding:0 clamp(3px,1vw,8px)!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
  gap:clamp(3px,.8vw,6px)!important;white-space:nowrap!important;overflow:hidden!important;font-size:clamp(9px,2.55vw,13px)!important;
}
.signer-tool-btn>span:last-child{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:clip}
.tool-svg{display:grid!important;place-items:center!important;flex:0 0 clamp(14px,3.7vw,18px)!important;width:clamp(14px,3.7vw,18px)!important;height:clamp(14px,3.7vw,18px)!important}
.tool-svg svg{width:100%!important;height:100%!important;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* Fluid typography and content containment across phone/tablet/desktop. */
.wrap,.card,.glass,form,fieldset,.tool-grid{min-width:0!important;max-width:100%!important}
.card h1,.card h2,.card h3,.card p,.card label,.card span,.card a,.card button{max-width:100%}
.card p,.card label,.alert{overflow-wrap:break-word;word-break:normal}
h1{font-size:clamp(1.35rem,2.2vw + .7rem,2.15rem)}
h2{font-size:clamp(1.12rem,1.25vw + .72rem,1.55rem)}
h3{font-size:clamp(1rem,.85vw + .72rem,1.28rem)}
@media(max-width:340px){
  .signer-tool-grid,.wrap .signer-tool-grid{gap:3px!important}
  .signer-tool-btn,.wrap .signer-tool-btn{font-size:8.5px!important;padding:0 2px!important;gap:2px!important}
  .tool-svg{flex-basis:13px!important;width:13px!important;height:13px!important}
}
@media(min-width:768px){
  .signer-tool-btn,.wrap .signer-tool-btn{font-size:13px!important}
}

/* V24 cross-platform vector brand + perfectly centered custom file chooser */
.mrkhoi-apple-svg{display:block;width:100%;height:100%;color:currentColor;overflow:visible}
.app-header-brand-icon .header-apple-svg{width:100%!important;height:100%!important}
.signer-apple-logo .signer-apple-svg{width:52%!important;height:52%!important;color:#eef4ff}
.cert-chip .cert-apple-svg,.free-esign-logo .free-apple-svg,.free-esign-empty-icon .free-apple-svg{width:58%!important;height:58%!important;margin:auto;color:currentColor}

.custom-file-field{
  position:relative!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;
  width:100%!important;height:42px!important;min-height:42px!important;max-height:42px!important;
  padding:4px 7px!important;gap:8px!important;border:1px solid rgba(154,184,255,.18)!important;border-radius:14px!important;
  background:rgba(4,10,29,.72)!important;overflow:hidden!important;box-shadow:inset 0 1px rgba(255,255,255,.035)!important
}
.custom-file-field.is-focus{border-color:rgba(99,230,255,.62)!important;box-shadow:0 0 0 3px rgba(99,230,255,.08)!important}
.custom-file-native{
  position:absolute!important;z-index:3!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;
  cursor:pointer!important;margin:0!important;padding:0!important;line-height:normal!important
}
.custom-file-button{
  position:relative;z-index:1;display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;
  height:32px!important;min-height:32px!important;max-height:32px!important;padding:0 12px!important;border-radius:10px!important;
  background:linear-gradient(145deg,#304778,#253660)!important;color:#f5f8ff!important;font-size:clamp(10px,2.6vw,12px)!important;
  font-weight:900!important;line-height:1!important;white-space:nowrap!important
}
.custom-file-name{
  position:relative;z-index:1;display:block!important;align-self:center!important;min-width:0!important;max-width:100%!important;
  color:var(--muted,#a7b3d1)!important;font-size:clamp(9px,2.45vw,12px)!important;line-height:1!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
}
.custom-file-field.has-file .custom-file-name{color:#dce7ff!important}
input[type="file"]{vertical-align:middle!important}
input[type="file"]::file-selector-button,input[type="file"]::-webkit-file-upload-button{vertical-align:middle!important;transform:translateY(0)!important}


/* V28 owner badge: larger medium-bold text + discrete seven-color blink */
.signer-bottom-actions{
  width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:stretch;gap:clamp(6px,1.8vw,10px);margin-top:16px;min-width:0
}
.signer-owner-rainbow,.signer-free-button{
  position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;
  width:100%;min-width:0;height:40px;min-height:40px;padding:0 7px;
  border-radius:13px;white-space:nowrap;overflow:hidden;text-decoration:none;font-weight:750;
  font-size:clamp(11.5px,3.6vw,15.5px);line-height:1;letter-spacing:.012em
}
.signer-owner-rainbow{
  border:2px solid transparent;background:
    linear-gradient(145deg,rgba(9,16,39,.97),rgba(19,28,61,.94)) padding-box,
    linear-gradient(90deg,#54f7ff,#70ffb2,#ffe66d,#ff9f65,#ff66d7,#9b78ff,#54f7ff) border-box;
  background-size:100% 100%,300% 100%;animation:owner-border-chase 2.6s linear infinite;
  box-shadow:inset 0 1px rgba(255,255,255,.06),0 8px 18px rgba(0,0,0,.18)
}
.signer-owner-rainbow span{
  display:block;max-width:100%;white-space:nowrap;color:#59f8ff;
  font-weight:750;line-height:1;
  animation:owner-text-blink-7 2.1s steps(1,end) infinite
}
.signer-free-button{
  border:1.5px solid rgba(99,230,255,.42);color:#eff9ff;
  background:linear-gradient(145deg,rgba(29,46,88,.9),rgba(10,18,45,.96));
  box-shadow:inset 0 1px rgba(255,255,255,.09),0 8px 18px rgba(0,0,0,.18),0 0 16px rgba(84,118,255,.08);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease
}
.signer-free-button:hover{border-color:rgba(99,230,255,.78);box-shadow:inset 0 1px rgba(255,255,255,.12),0 10px 22px rgba(0,0,0,.2),0 0 18px rgba(99,230,255,.13)}
.signer-free-button:active{transform:scale(.98)}
.signer-free-button:focus-visible{outline:2px solid rgba(99,230,255,.38);outline-offset:2px}
@keyframes owner-border-chase{0%{background-position:0 0,0% 50%}100%{background-position:0 0,300% 50%}}
@keyframes owner-text-blink-7{
  0%,13.99%{color:#59f8ff;text-shadow:0 0 10px rgba(89,248,255,.45)}
  14%,27.99%{color:#75ffac;text-shadow:0 0 10px rgba(117,255,172,.45)}
  28%,41.99%{color:#ffe365;text-shadow:0 0 10px rgba(255,227,101,.45)}
  42%,55.99%{color:#ff976b;text-shadow:0 0 10px rgba(255,151,107,.45)}
  56%,69.99%{color:#ff69d9;text-shadow:0 0 10px rgba(255,105,217,.45)}
  70%,83.99%{color:#9b80ff;text-shadow:0 0 10px rgba(155,128,255,.45)}
  84%,100%{color:#7aa8ff;text-shadow:0 0 10px rgba(122,168,255,.45)}
}
@media(max-width:350px){
  .signer-bottom-actions{gap:5px}.signer-owner-rainbow,.signer-free-button{height:38px;min-height:38px;padding:0 7px;font-size:clamp(10.5px,3.4vw,13px);border-radius:11px}
}
@media(min-width:768px){
  .signer-bottom-actions{gap:10px}.signer-owner-rainbow{font-size:15.5px}.signer-free-button{font-size:12.5px}
}
@media(prefers-reduced-motion:reduce){.signer-owner-rainbow,.signer-owner-rainbow span{animation:none!important}}

/* V30 store brand blink + slightly larger footer icons + real Zalo mark */
.store-body .app-header-brand-text{
  background:none!important;
  -webkit-background-clip:border-box!important;background-clip:border-box!important;
  -webkit-text-fill-color:currentColor!important;
  color:#59f8ff;
  animation:store-brand-blink-7 5.6s steps(1,end) infinite!important;
  text-shadow:0 0 8px currentColor!important;
}
@keyframes store-brand-blink-7{
  0%,13.99%{color:#59f8ff}
  14%,27.99%{color:#75ffac}
  28%,41.99%{color:#ffe365}
  42%,55.99%{color:#ff976b}
  56%,69.99%{color:#ff69d9}
  70%,83.99%{color:#9b80ff}
  84%,100%{color:#7aa8ff}
}
.store-body .app-footer-icon{
  height:clamp(20px,2.8vw,23px)!important;
  font-size:clamp(18px,2vw,21px)!important;
}
.store-body .app-footer-icon svg{
  width:clamp(19px,2vw,22px)!important;
  height:clamp(19px,2vw,22px)!important;
}
.signer-icon-button.signer-zalo-button{color:#fff!important}
.signer-icon-button .zalo-logo-svg{
  display:block!important;width:23px!important;height:23px!important;max-width:23px!important;max-height:23px!important;
  fill:none!important;stroke:none!important;overflow:visible!important
}
.signer-icon-button .zalo-logo-svg *{stroke:none!important}
@media(max-width:380px){
  .store-body .app-footer-icon{height:20px!important;font-size:18px!important}
  .store-body .app-footer-icon svg{width:19px!important;height:19px!important}
  .signer-icon-button .zalo-logo-svg{width:21px!important;height:21px!important;max-width:21px!important;max-height:21px!important}
}
@media(prefers-reduced-motion:reduce){.store-body .app-header-brand-text{animation:none!important;color:#59f8ff!important}}


/* V30: slow 7-color blink without glow + 25px Store footer icons */
.store-body .app-header-brand-text{
  background:none!important;
  -webkit-background-clip:border-box!important;background-clip:border-box!important;
  -webkit-text-fill-color:currentColor!important;
  color:#59f8ff!important;
  animation:store-brand-blink-7-v30 7.2s steps(1,end) infinite!important;
  text-shadow:none!important;
  filter:none!important;
  box-shadow:none!important;
}
@keyframes store-brand-blink-7-v30{
  0%,13.99%{color:#59f8ff}
  14%,27.99%{color:#75ffac}
  28%,41.99%{color:#ffe365}
  42%,55.99%{color:#ff976b}
  56%,69.99%{color:#ff69d9}
  70%,83.99%{color:#9b80ff}
  84%,100%{color:#7aa8ff}
}
.store-body .app-footer-icon{
  width:25px!important;height:25px!important;min-width:25px!important;min-height:25px!important;
  font-size:25px!important;line-height:25px!important;
}
.store-body .app-footer-icon svg{
  width:25px!important;height:25px!important;min-width:25px!important;min-height:25px!important;
}
@media(max-width:360px){
  .store-body .app-footer-icon,.store-body .app-footer-icon svg{
    width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
  }
}
@media(prefers-reduced-motion:reduce){.store-body .app-header-brand-text{animation:none!important;color:#59f8ff!important;text-shadow:none!important}}


/* V35 — store header proportions from supplied screenshot + 20px lower animated certificate scene. */
.store-body .app-header-inner{
  grid-template-columns:minmax(104px,.88fr) minmax(118px,1.04fr) minmax(110px,auto)!important;
  gap:4px!important;padding-left:5px!important;padding-right:5px!important;
}
.store-body .app-header-brand.app-header-pill{
  padding-left:5px!important;padding-right:5px!important;
  justify-content:flex-start!important;max-width:100%!important;
}
.store-body .app-header-brand{gap:5px!important}
.store-body .app-header-brand-icon{width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important}
.store-body .app-header-brand-text{font-size:clamp(10.5px,3.2vw,13px)!important;white-space:nowrap!important}
.store-body .app-header-clock.app-header-pill{
  min-width:118px!important;padding-left:4px!important;padding-right:4px!important;
  justify-content:center!important;
}
.store-body .app-header-clock{
  font-size:clamp(10px,3.15vw,13.5px)!important;font-weight:950!important;letter-spacing:.025em!important;
}
.store-body .app-header-tools{grid-template-columns:minmax(76px,96px) 34px!important;gap:4px!important}
.store-body .cert-scene{top:20px!important}
@media(max-width:390px){
  .store-body .app-header-inner{grid-template-columns:minmax(98px,.86fr) minmax(112px,1.02fr) minmax(104px,auto)!important;gap:3px!important;padding-left:4px!important;padding-right:4px!important}
  .store-body .app-header-brand.app-header-pill{padding-left:5px!important;padding-right:5px!important}
  .store-body .app-header-clock.app-header-pill{min-width:112px!important;padding-left:4px!important;padding-right:4px!important}
  .store-body .app-header-clock{font-size:clamp(9.5px,3.1vw,12.5px)!important}
  .store-body .app-header-tools{grid-template-columns:72px 32px!important;gap:3px!important}
}


/* V38 — larger signer-footer date/time with exact 4px left/right inset. */
.signer-fixed-footer .signer-footer-clock{
  padding-left:4px!important;
  padding-right:4px!important;
  font-size:clamp(10.5px,3.15vw,13.5px)!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.02em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
}
@media(max-width:390px){
  .signer-fixed-footer .signer-footer-clock{
    padding-left:4px!important;
    padding-right:4px!important;
    font-size:clamp(10px,3vw,12px)!important;
  }
}


/* V39 — larger signer-footer labels, compact language buttons, 1.1s-per-color shop brand blink. */
.signer-fixed-footer .signer-footer-inner{
  gap:clamp(3px,.9vw,6px)!important;
  padding-left:4px!important;
  padding-right:4px!important;
}
.signer-fixed-footer .signer-footer-pill{
  padding-left:4px!important;
  padding-right:4px!important;
  font-size:clamp(11px,3vw,14px)!important;
  font-weight:750!important;
  letter-spacing:.01em!important;
  white-space:nowrap!important;
}
.signer-fixed-footer .signer-footer-copy{
  font-weight:750!important;
}
.signer-fixed-footer .signer-footer-clock{
  padding-left:4px!important;
  padding-right:4px!important;
  font-size:clamp(11px,3.15vw,14px)!important;
  font-weight:750!important;
  letter-spacing:.015em!important;
}
/* Every visible language selector: exact 4px horizontal inset + larger, lightly bold text. */
.language-switcher select,
.store-body .language-switcher select,
.signer-footer-language .language-switcher select,
.app-header-tools .language-switcher select{
  padding-left:4px!important;
  padding-right:4px!important;
  font-size:clamp(10.5px,2.8vw,12.5px)!important;
  font-weight:700!important;
  line-height:1!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
}
.signer-fixed-footer .signer-footer-language,
.signer-fixed-footer .signer-footer-language .language-switcher{
  padding-left:0!important;
  padding-right:0!important;
}
.signer-fixed-footer .signer-footer-language .language-switcher select{
  font-size:clamp(11px,3vw,13.5px)!important;
  font-weight:750!important;
  padding-left:4px!important;
  padding-right:4px!important;
}
/* Shop header brand: discrete seven-color blink, each color held ~1.1 seconds. */
.store-body .app-header-brand-text{
  background:none!important;
  -webkit-background-clip:border-box!important;
  background-clip:border-box!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
  filter:none!important;
  box-shadow:none!important;
  animation:store-brand-blink-7-v39 7.7s steps(1,end) infinite!important;
}
@keyframes store-brand-blink-7-v39{
  0%,14.284%{color:#59f8ff!important}
  14.285%,28.569%{color:#75ffac!important}
  28.570%,42.854%{color:#ffe365!important}
  42.855%,57.139%{color:#ff976b!important}
  57.140%,71.424%{color:#ff69d9!important}
  71.425%,85.709%{color:#9b80ff!important}
  85.710%,100%{color:#7aa8ff!important}
}
@media(max-width:390px){
  .signer-fixed-footer .signer-footer-pill{
    padding-left:4px!important;padding-right:4px!important;
    font-size:clamp(10px,2.9vw,12px)!important;
    font-weight:750!important;
  }
  .signer-fixed-footer .signer-footer-clock{font-size:clamp(10px,3vw,12px)!important}
  .signer-fixed-footer .signer-footer-language .language-switcher select,
  .language-switcher select,
  .store-body .language-switcher select,
  .app-header-tools .language-switcher select{
    padding-left:4px!important;padding-right:4px!important;
    font-size:clamp(9.5px,2.7vw,11px)!important;
    font-weight:700!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .store-body .app-header-brand-text{animation:none!important;color:#59f8ff!important}
}


/* V40 — language controls centered/bold; store brand color is stepped by JS every 500ms. */
.language-switcher,
.store-body .language-switcher,
.signer-footer-language .language-switcher,
.app-header-tools .language-switcher{
  display:flex!important;align-items:center!important;justify-content:center!important;
}
.language-switcher select,
.store-body .language-switcher select,
.signer-footer-language .language-switcher select,
.app-header-tools .language-switcher select{
  -webkit-appearance:none!important;appearance:none!important;
  box-sizing:border-box!important;width:100%!important;
  padding-left:4px!important;padding-right:4px!important;
  text-align:center!important;text-align-last:center!important;
  font-size:clamp(11px,2.95vw,13px)!important;
  font-weight:800!important;line-height:1!important;
  letter-spacing:0!important;color:#f7fbff!important;
}
.language-switcher option{font-weight:800!important;text-align:center!important}
.store-body .app-header-brand-text{
  animation:none!important;background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;
  -webkit-text-fill-color:currentColor!important;text-shadow:none!important;filter:none!important;
}

/* V41 language switcher: guaranteed centered/bold visual label on every browser. */
.language-switcher,
.store-body .language-switcher,
.signer-footer-language .language-switcher,
.app-header-tools .language-switcher{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.language-current{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 4px!important;
  color:#f7fbff!important;
  font-size:clamp(10.5px,2.85vw,12.5px)!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  text-align:center!important;
  pointer-events:none!important;
}
.language-switcher select,
.store-body .language-switcher select,
.signer-footer-language .language-switcher select,
.app-header-tools .language-switcher select{
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  opacity:0!important;
  cursor:pointer!important;
  padding:0!important;
  margin:0!important;
}
.store-body .app-header-tools .language-switcher{
  min-width:92px!important;
  max-width:112px!important;
}
.store-body .app-header-tools .language-current{
  font-size:clamp(10px,2.75vw,12px)!important;
  font-weight:900!important;
}
.signer-footer-language .language-current{
  font-size:clamp(10.5px,2.95vw,13px)!important;
  font-weight:850!important;
}
@media(max-width:360px){
  .store-body .app-header-tools .language-switcher{min-width:82px!important;max-width:92px!important}
  .language-current,.store-body .app-header-tools .language-current{font-size:9.5px!important}
}


/* V42 language label: hard centered and bold in every header/footer. */
.language-switcher .language-current,
.store-body .app-header-tools .language-current,
.signer-footer-language .language-current{
  inset:0!important;width:100%!important;height:100%!important;
  display:grid!important;place-items:center!important;
  padding-left:4px!important;padding-right:4px!important;
  margin:0!important;text-align:center!important;
  font-weight:950!important;font-variation-settings:"wght" 850!important;
  line-height:1!important;white-space:nowrap!important;
}
.store-body .app-header-tools .language-current{font-size:clamp(10.5px,2.9vw,12.5px)!important}


/* V50: signer guide + developer mode actions and guide pages */
.signer-help-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:8px;width:100%}
.signer-help-button{height:40px;min-height:40px;padding:0 7px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(111,231,255,.36);border-radius:12px;background:linear-gradient(145deg,rgba(12,25,52,.82),rgba(7,13,31,.82));color:#f4f8ff;text-decoration:none;font-size:clamp(9px,2.8vw,12px);font-weight:800;line-height:1.12;text-align:center;box-shadow:inset 0 1px rgba(255,255,255,.07)}
.signer-help-button.developer{border-color:rgba(190,127,255,.36)}
.signer-help-button:active{transform:scale(.985)}
.signer-guide-wrap{width:min(760px,calc(100% - 20px));margin:0 auto;padding:14px 0 calc(var(--signer-footer-height,58px) + 20px)}
.signer-guide-card{margin-top:16px;padding:clamp(18px,4vw,28px);border-radius:22px;text-align:center}
.signer-guide-card h1{margin:0 0 14px;font-size:clamp(20px,5vw,30px);font-weight:950;letter-spacing:-.03em}
.signer-video-shell{position:relative;width:100%;aspect-ratio:16/9;border:1px solid rgba(100,227,255,.28);border-radius:17px;overflow:hidden;background:#02060f}
.signer-video-shell iframe,.signer-video-shell video{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.signer-guide-placeholder{min-height:220px;display:grid;place-items:center;padding:24px;border:1px dashed rgba(100,227,255,.28);border-radius:17px;color:#aeb9d0;font-size:13px;font-weight:700}
.developer-guide-intro{margin:0 0 16px;color:#bac5dc;line-height:1.65;font-size:13px;text-align:left}
.developer-guide-steps{display:grid;gap:9px;margin:0 0 18px;padding:0;list-style:none;counter-reset:devstep;text-align:left}
.developer-guide-steps li{counter-increment:devstep;position:relative;padding:12px 12px 12px 44px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(255,255,255,.035);color:#eef4ff;font-size:13px;line-height:1.55}
.developer-guide-steps li::before{content:counter(devstep);position:absolute;left:10px;top:10px;width:24px;height:24px;display:grid;place-items:center;border-radius:8px;background:linear-gradient(145deg,#58e4f8,#8a8fff,#d96bff);color:#071020;font-size:11px;font-weight:950}
.developer-guide-images{display:grid;gap:12px}.developer-guide-images img{display:block;width:100%;height:auto;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:#050918}
@media(max-width:390px){.signer-help-actions{gap:5px}.signer-help-button{height:38px;min-height:38px;padding:0 4px;font-size:9px}}


/* V54: signed-install certificate download + copy-link controls. */
.install-cert-action-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;width:100%;margin-top:16px}
.install-cert-action-row .btn{width:100%!important;min-width:0!important;margin-top:0!important;padding-left:8px!important;padding-right:8px!important;white-space:nowrap;overflow:hidden;text-overflow:clip;font-size:clamp(10px,3.25vw,14px)}
.install-copy-link-button{border:1px solid rgba(99,230,255,.34)!important;background:linear-gradient(145deg,rgba(45,68,123,.72),rgba(24,35,75,.82))!important;color:#eef7ff!important;box-shadow:0 10px 22px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.08)!important}
.install-copy-link-button.copied{border-color:rgba(74,222,128,.48)!important;color:#b9ffd1!important}
@media(max-width:380px){.install-cert-action-row{gap:7px}.install-cert-action-row .btn{font-size:10px!important;padding-left:5px!important;padding-right:5px!important}}


/* V55: dual full-width signer guide tabs */
.signer-guide-wrap-dual{width:min(980px,calc(100% - 16px));padding-top:12px}
.signer-guide-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin:12px 0 10px;padding:5px;border:1px solid rgba(96,224,255,.22);border-radius:18px;background:rgba(10,17,39,.88);box-shadow:inset 0 1px rgba(255,255,255,.05)}
.signer-guide-tab{min-width:0;min-height:48px;display:flex;align-items:center;justify-content:center;padding:8px 10px;border:1px solid rgba(255,255,255,.08);border-radius:13px;color:#c4cee3;text-decoration:none;text-align:center;font-size:clamp(11px,3.1vw,15px);font-weight:850;line-height:1.25;background:rgba(255,255,255,.025);transition:.18s ease}
.signer-guide-tab.active{color:#06101e;border-color:rgba(100,227,255,.55);background:linear-gradient(100deg,#55def6,#8e99ff 56%,#d96cff);box-shadow:0 8px 26px rgba(89,108,255,.22)}
.signer-guide-card-full{width:100%;margin-top:0;padding:clamp(12px,3vw,22px);border-radius:22px}
.signer-guide-card-full h1{width:100%;margin:2px 0 14px;padding:0 4px;text-align:center;font-size:clamp(22px,5.7vw,34px);font-weight:950;line-height:1.08;white-space:normal}
.signer-video-shell-full{width:100%;aspect-ratio:16/9;border-radius:18px}
.signer-guide-placeholder-full{width:100%;min-height:min(56vw,430px);font-size:clamp(12px,3vw,16px);line-height:1.55}
@media(max-width:480px){
  .signer-guide-wrap-dual{width:calc(100% - 12px);padding-top:8px}
  .signer-guide-tabs{gap:5px;margin:8px 0 8px;padding:4px;border-radius:15px}
  .signer-guide-tab{min-height:44px;padding:6px 5px;border-radius:11px;font-size:11px}
  .signer-guide-card-full{padding:10px;border-radius:18px}
  .signer-guide-card-full h1{font-size:clamp(20px,6.2vw,27px);margin-bottom:11px}
  .signer-video-shell-full{border-radius:14px}
}


/* V56: guide videos/images use the full viewport instead of a small centered card. */
.signer-guide-wrap-media-full{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  overflow:visible!important;
}
.signer-guide-wrap-media-full .signer-guide-tabs{
  width:calc(100% - 12px)!important;
  max-width:980px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.signer-guide-card-media-full{
  box-sizing:border-box!important;
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding:16px 0 0!important;
  border-left:0!important;
  border-right:0!important;
  border-radius:0!important;
  overflow:hidden!important;
}
.signer-guide-card-media-full h1{
  width:100%!important;
  max-width:none!important;
  margin:0 0 14px!important;
  padding:0 12px!important;
  text-align:center!important;
}
.signer-guide-card-media-full .signer-video-shell,
.signer-guide-card-media-full .signer-video-shell-full{
  box-sizing:border-box!important;
  width:100vw!important;
  max-width:none!important;
  height:clamp(320px,68svh,820px)!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  margin:0!important;
  border-left:0!important;
  border-right:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.signer-guide-card-media-full .signer-video-shell iframe,
.signer-guide-card-media-full .signer-video-shell video{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:contain!important;
  border-radius:0!important;
}
.signer-guide-card-media-full .signer-guide-placeholder,
.signer-guide-card-media-full .signer-guide-placeholder-full{
  box-sizing:border-box!important;
  width:100vw!important;
  max-width:none!important;
  min-height:clamp(320px,68svh,820px)!important;
  margin:0!important;
  border-left:0!important;
  border-right:0!important;
  border-radius:0!important;
}
.developer-guide-card-full .developer-guide-intro,
.developer-guide-card-full .developer-guide-steps{
  width:calc(100% - 24px)!important;
  max-width:760px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.developer-guide-card-full .developer-guide-images{
  display:grid!important;
  gap:0!important;
  width:100vw!important;
  max-width:none!important;
  margin:18px 0 0 calc(50% - 50vw)!important;
  padding:0!important;
}
.developer-guide-card-full .developer-guide-images img{
  display:block!important;
  box-sizing:border-box!important;
  width:100vw!important;
  max-width:none!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  border-left:0!important;
  border-right:0!important;
  border-radius:0!important;
  background:#02060f!important;
}
@media(max-width:480px){
  .signer-guide-card-media-full{padding-top:13px!important}
  .signer-guide-card-media-full h1{padding:0 8px!important;margin-bottom:11px!important}
  .signer-guide-card-media-full .signer-video-shell,
  .signer-guide-card-media-full .signer-video-shell-full,
  .signer-guide-card-media-full .signer-guide-placeholder,
  .signer-guide-card-media-full .signer-guide-placeholder-full{
    height:clamp(330px,66svh,720px)!important;
    min-height:330px!important;
  }
}

/* V69: framed IPA download cards + fast thumbnails */
.ipa-library-page{min-height:100vh;overflow-x:hidden}
.ipa-library-wrap{width:min(760px,calc(100% - 20px));margin:0 auto;padding:18px 0 calc(var(--signer-footer-h,74px) + 26px)}
.ipa-library-head{border-radius:24px;padding:18px 16px;text-align:center;margin-bottom:14px}
.ipa-library-head h1{margin:0;font-size:clamp(24px,6vw,34px);font-weight:900;letter-spacing:.02em}
.ipa-library-head p{margin:8px 0 0;color:var(--muted,#aab5d3);font-size:14px;font-weight:600}
.ipa-library-empty{min-height:180px;border-radius:24px;display:grid;place-items:center;padding:24px;text-align:center;font-size:17px;font-weight:800;line-height:1.55}
.ipa-library-list{display:grid;gap:14px}
.ipa-library-card{border-radius:24px;padding:15px;overflow:hidden}
.ipa-library-main{display:grid;grid-template-columns:82px minmax(0,1fr);gap:14px;align-items:start}
.ipa-library-icon{width:82px;height:82px;object-fit:cover;border-radius:20px;border:1px solid rgba(125,220,255,.28);background:rgba(255,255,255,.06);box-shadow:0 10px 26px rgba(0,0,0,.22)}
.ipa-library-info{min-width:0}
.ipa-library-info h2{margin:1px 0 4px;font-size:20px;line-height:1.2;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:clip}
.ipa-library-filename{color:#c5cde3;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:clip;margin-bottom:8px}
.ipa-library-meta{display:grid;grid-template-columns:76px minmax(0,1fr);gap:8px;align-items:start;margin:4px 0;font-size:12px;line-height:1.35}
.ipa-library-meta span{color:#98a5c3;font-weight:700}.ipa-library-meta b{color:#e9efff;font-weight:750;overflow-wrap:anywhere}
.ipa-library-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.ipa-library-btn{height:40px!important;min-height:40px!important;max-height:40px!important;border-radius:13px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0 8px!important;margin:0!important;text-decoration:none!important;border:1px solid rgba(83,229,255,.5)!important;background:rgba(11,19,43,.88)!important;color:#f7fbff!important;font-size:12px!important;font-weight:900!important;letter-spacing:.02em!important;box-sizing:border-box!important;cursor:pointer!important;text-align:center!important}
.ipa-library-download{background:linear-gradient(100deg,#46d9f2,#7e8dff 55%,#d760ef)!important;color:#06101d!important;border-color:rgba(255,255,255,.7)!important}
.ipa-library-copy:active,.ipa-library-download:active{transform:translateY(1px)}
.ipa-admin-card{max-width:840px;margin:0 auto}
.ipa-admin-upload{margin-top:18px}.ipa-admin-summary{display:flex;align-items:baseline;gap:8px;margin:20px 0 12px}.ipa-admin-summary b{font-size:28px}.ipa-admin-summary span{color:var(--muted,#aab5d3);font-weight:700}
.ipa-admin-list{display:grid;gap:10px}.ipa-admin-row{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:11px;align-items:center;padding:11px;border:1px solid rgba(255,255,255,.1);border-radius:17px;background:rgba(255,255,255,.035)}
.ipa-admin-row img{width:58px;height:58px;border-radius:14px;object-fit:cover;background:#10182e}.ipa-admin-row>div{min-width:0;display:grid;gap:2px}.ipa-admin-row strong,.ipa-admin-row small{white-space:nowrap;overflow:hidden;text-overflow:clip}.ipa-admin-row small{color:var(--muted,#aab5d3)}.ipa-admin-row form{margin:0}.ipa-admin-row .btn{width:auto;min-width:62px;margin:0}.ipa-admin-delete-all{margin-top:16px}.ipa-admin-delete-all .btn{width:100%;min-height:42px}
@media(max-width:520px){.ipa-library-wrap{width:calc(100% - 14px);padding-top:12px}.ipa-library-head{padding:15px 12px;border-radius:20px}.ipa-library-main{grid-template-columns:68px minmax(0,1fr);gap:11px}.ipa-library-icon{width:68px;height:68px;border-radius:17px}.ipa-library-info h2{font-size:18px}.ipa-library-meta{grid-template-columns:68px minmax(0,1fr);font-size:11px}.ipa-library-card{padding:12px;border-radius:20px}.ipa-library-actions{gap:7px}.ipa-library-btn{font-size:11px!important}.ipa-admin-row{grid-template-columns:50px minmax(0,1fr) auto;padding:9px}.ipa-admin-row img{width:50px;height:50px}.ipa-admin-row .btn{min-width:54px;padding-left:7px;padding-right:7px;font-size:11px}}

/* V69: no filename row; build label = Speed by Mr Khói */
.ipa-library-filename{display:none!important}

/* V69 final: stronger frames for download title and every IPA item */
.ipa-library-head{
  border:1.5px solid rgba(92,222,255,.58)!important;
  background:linear-gradient(145deg,rgba(19,31,66,.94),rgba(9,15,35,.91))!important;
  box-shadow:0 0 0 1px rgba(151,103,255,.14),0 14px 34px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.08)!important;
}
.ipa-library-card{
  border:1.5px solid rgba(91,219,255,.42)!important;
  background:linear-gradient(145deg,rgba(18,29,61,.94),rgba(8,14,32,.91))!important;
  box-shadow:0 0 0 1px rgba(149,101,255,.10),0 12px 30px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.065)!important;
}
.ipa-library-list{gap:13px!important}
.ipa-library-meta{grid-template-columns:118px minmax(0,1fr)!important;gap:5px!important}
.ipa-library-meta span{white-space:nowrap!important}
.ipa-library-icon{border:1.5px solid rgba(105,229,255,.55)!important}
.ipa-admin-row{border:1.5px solid rgba(91,219,255,.32)!important;box-shadow:inset 0 1px rgba(255,255,255,.045)!important}
@media(max-width:520px){
  .ipa-library-meta{grid-template-columns:108px minmax(0,1fr)!important;gap:4px!important;font-size:10.5px!important}
  .ipa-library-meta span{font-size:10px!important}
  .ipa-library-head{border-radius:20px!important}
  .ipa-library-card{border-radius:20px!important}
}


/* V69: Speed by / Mr Khói + exact AppIcon60x60@2x thumbnail */
.ipa-library-speed{grid-template-columns:118px minmax(0,1fr)!important}
.ipa-library-speed span{letter-spacing:.02em!important}
.ipa-library-speed b{font-weight:850!important;white-space:nowrap!important}
.ipa-library-head,.ipa-library-card{outline:1px solid rgba(124,113,255,.10)!important;outline-offset:-3px!important}
@media(max-width:520px){.ipa-library-speed{grid-template-columns:108px minmax(0,1fr)!important}}

/* V69: per-app download/copy counters */
.ipa-library-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.ipa-library-stats span{min-height:34px;display:flex;align-items:center;justify-content:center;gap:5px;padding:5px 7px;border:1px solid rgba(102,220,255,.28);border-radius:11px;background:rgba(7,15,34,.48);color:#aebbd8;font-size:11px;font-weight:700;text-align:center}
.ipa-library-stats b{color:#fff;font-size:12px;font-weight:900}
@media(max-width:520px){.ipa-library-stats{gap:6px;margin-top:10px}.ipa-library-stats span{min-height:32px;font-size:10px;padding:4px}.ipa-library-stats b{font-size:11px}}

/* V69: manual thumbnail upload per IPA */
.ipa-admin-info{min-width:0;display:grid;gap:2px}
.ipa-admin-thumb-form{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;margin:4px 0 0;padding-top:9px;border-top:1px solid rgba(108,221,255,.18)}
.ipa-admin-thumb-form label{margin:0;font-size:11px;font-weight:850;color:#c8d4ef;white-space:nowrap}
.ipa-admin-thumb-form input[type=file]{min-width:0;width:100%;margin:0}
.ipa-admin-thumb-form .btn{width:auto;min-width:145px;min-height:38px;margin:0;padding:0 10px;font-size:10px}
.ipa-admin-thumb-preview{border:1.5px solid rgba(91,219,255,.4)}
@media(max-width:520px){
  .ipa-admin-thumb-form{grid-template-columns:1fr;gap:6px}
  .ipa-admin-thumb-form label{text-align:left}
  .ipa-admin-thumb-form .btn{width:100%;min-width:0}
}

/* V76 original IPA filename display */
.ipa-library-appname{margin:2px 0 7px;color:#b8c4dc;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:clip}
