.home-install-dialog{box-sizing:border-box;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--paper,#fff);color:var(--text,#000);box-shadow:0 20px 80px #0004;font-size:15px;line-height:1.7}
.home-install-dialog::backdrop{background:#07101bc2}.home-install-heading{display:flex;align-items:center;gap:12px}.home-install-heading img{border-radius:12px;flex-shrink:0}.home-install-heading p{font-size:12px;margin:0}.home-install-heading h2{font-size:21px;margin:0;line-height:1.4}.home-install-close{margin-left:auto;align-self:flex-start;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:inherit;font-size:24px;cursor:pointer}.home-install-dialog ol{padding-left:24px}.home-install-dialog li+li{margin-top:12px}.home-install-dialog strong{color:inherit}.home-install-primary{width:100%;min-height:48px;padding:12px;border:0;border-radius:12px;background:#172e47;color:#fff;font-weight:700;cursor:pointer}.home-install-note:empty{display:none}.home-install-note{font-size:13px}.home-install-dialog button:focus-visible,.home-install-entry button:focus-visible{outline:3px solid #b34924;outline-offset:3px}
html[data-theme=dark] .home-install-primary{background:#e2edf6;color:#122236}html[data-theme=dark] .home-install-dialog button:focus-visible,html[data-theme=dark] .home-install-entry button:focus-visible{outline-color:#ffb598}
/* Inline header action, directly before the theme toggle. */
.home-install-entry{display:flex;flex:none;margin:0;padding:0}
.home-install-entry[hidden],.home-install-dialog [hidden]{display:none!important}
.header-actions .home-install-entry button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 13px;border:1px solid #d26928;border-radius:999px;background:#ffb96a;color:#231707;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer;box-shadow:0 3px 10px #ba5b1824;transition:background .15s ease,box-shadow .15s ease}
.header-actions .home-install-entry button:hover{background:#ffa94d;box-shadow:0 4px 14px #ba5b1840}
.install-hand{display:inline-block;font-size:20px;line-height:1;animation:install-point 1.5s ease-in-out 3}
@keyframes install-point{0%,60%,100%{transform:translateX(0) rotate(-7deg)}25%,40%{transform:translateX(4px) rotate(0)}}
html[data-theme=dark] .header-actions .home-install-entry button{background:#ffd18b;border-color:#e6ae5b;color:#241907;box-shadow:0 3px 14px #0005}
html[data-theme=dark] .header-actions .home-install-entry button:hover{background:#ffdfaa}
@media(max-width:700px){.header-actions{gap:5px}.header-actions .home-install-entry button{min-height:38px;padding:7px 8px;font-size:11px;gap:3px}.install-hand{font-size:18px}}
@media(max-width:420px){.header-inner{column-gap:6px;padding-inline:12px}.header-actions{gap:3px}.header-actions .my-links{padding:8px 7px;font-size:10px}.header-actions .theme-toggle{width:43px}.header .brand{font-size:17px;gap:5px}.header .brand-icon{width:30px;height:30px;font-size:24px}.header .brand small{font-size:6px;letter-spacing:1.5px}.header-actions .home-install-entry button{padding:7px 6px;font-size:10px;gap:2px}.install-hand{font-size:17px}}
@media(display-mode:standalone),(display-mode:fullscreen){.home-install-entry{display:none!important}}
@media(prefers-reduced-motion:reduce){.install-hand{animation:none}.header-actions .home-install-entry button{transition:none}}
