#san-install{box-sizing:border-box;width:min(440px,calc(100% - 24px));max-height:88dvh;overflow:auto;padding:22px;border:2px solid #bc480c;border-radius:18px;background:#fffaf5;color:#173c45;font:15px/1.65 system-ui,sans-serif}#san-install::backdrop{background:#1238}#san-install h2{font-size:21px;margin:12px 0}#san-install h3{font-size:17px;margin:18px 0 8px}#san-install ol{padding-left:22px}#san-install li{margin:8px 0}#san-install button,.san-install-launcher{border:1px solid #bc480c;border-radius:9px;padding:10px 14px;cursor:pointer;font-weight:700}#san-install [data-install]{width:100%;background:#bc480c;color:white;font-size:17px}#san-install [hidden]{display:none!important}.san-install-launcher{background:#fff0df;color:#873404}

/* Phone install shortcut sits beside language selection, above navigation. */
@media(max-width:800px){
.header-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;width:100%}
.header-actions>.san-install-launcher{grid-column:1;grid-row:1;min-width:0;min-height:46px;padding:7px 8px;font-size:12px;line-height:1.35;word-break:keep-all;white-space:normal;background:#fff0df;border:1px solid #dfb18a;border-radius:12px;box-shadow:0 3px 10px #bf763015}
.header-actions>.language-switch{grid-column:2;grid-row:1;align-self:stretch;justify-content:center;padding:4px;gap:3px}
.header-actions>.language-switch>span{font-size:24px;padding:0 2px}.header-actions>.language-switch button{font-size:12px;padding:8px 9px;min-height:36px}
.header-actions>nav{grid-column:1/-1;grid-row:2;width:100%}
}
@media(max-width:350px){.header-actions>.san-install-launcher{font-size:11px;padding:6px}.header-actions>.language-switch button{padding:8px 6px}.header-actions>.language-switch>span{font-size:21px}}

@media(min-width:801px){.header-actions>.san-install-launcher{min-height:48px;max-width:135px;padding:8px 12px;font-size:13px;line-height:1.4;flex-shrink:0;border-radius:12px}.header-actions{flex-wrap:wrap;justify-content:flex-end}}

/* Keep the install shortcut compact while a warm light travels across it. */
.header-actions>.san-install-launcher{position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;border:3px solid #c47732;font-size:11px;font-weight:900;line-height:1.25;padding:4px 8px;color:#713005;background:#fff0df}
.san-install-launcher>span{position:relative;z-index:1}
.san-install-launcher::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 25%,#ffd46599 43%,#fffad9 50%,#ffd46599 57%,transparent 75%);transform:translateX(-100%);animation:san-install-light 2s linear infinite}
@keyframes san-install-light{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@media(min-width:801px){.header-actions>.san-install-launcher{width:135px;height:48px}}
@media(max-width:800px){.header-actions>.san-install-launcher{font-size:11px;min-height:46px}}
@media(prefers-reduced-motion:reduce){.san-install-launcher::before{animation:none;transform:none;opacity:.25}}
