/* Additive top weather strip. Scoped to avoid changing the storefront. */
#profi-weather{--prw-bg:rgba(246,252,255,.94);--prw-text:#133540;--prw-muted:#526b73;--prw-line:rgba(28,108,132,.2);--prw-accent:#087ca6;box-sizing:border-box;width:calc(100% - 32px);max-width:1240px;margin:12px auto 18px;padding:12px 16px 10px;border:1px solid var(--prw-line);border-radius:20px;background:var(--prw-bg);color:var(--prw-text);box-shadow:0 5px 22px rgba(14,86,110,.05);font:14px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;position:relative;z-index:1}
body.night-mode #profi-weather{--prw-bg:rgba(10,33,43,.96);--prw-text:#e3f5fc;--prw-muted:#a5c1cd;--prw-line:rgba(121,195,219,.25);--prw-accent:#74d4f3}
#profi-weather *{box-sizing:border-box}
#profi-weather .prw-weather-main{display:flex;align-items:center;gap:12px;min-width:0}
#profi-weather .prw-weather-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:13px;font-size:30px;line-height:1;color:var(--prw-accent);background:rgba(87,184,213,.1);font-family:Arial,sans-serif}
#profi-weather .prw-place{min-width:0;flex:0 1 220px}
#profi-weather .prw-place label{display:block;color:var(--prw-muted);font-size:11px;font-weight:500;letter-spacing:.03em;margin:0;line-height:1.3}
#profi-weather #prw-city{display:block;width:100%;height:30px;min-height:30px;max-width:230px;border:0;border-radius:5px;background:transparent;color:var(--prw-text);font:600 15px/1.3 system-ui,sans-serif;padding:2px 20px 2px 0;margin:0;box-shadow:none;cursor:pointer;text-transform:none;appearance:auto}
#profi-weather #prw-city option{color:#133540;background:#f6fcff}
#profi-weather .prw-reading{display:flex;align-items:baseline;gap:12px;flex:1 1 auto;min-width:0}
#profi-weather #prw-temperature{color:var(--prw-text);font-size:27px;font-weight:650;line-height:1.2;white-space:nowrap;letter-spacing:-.04em}
#profi-weather #prw-condition{color:var(--prw-text);font-size:14px;line-height:1.35;overflow-wrap:anywhere}
#profi-weather .prw-refresh{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;min-width:44px;padding:0;border:1px solid var(--prw-line);border-radius:13px;background:transparent;color:var(--prw-accent);box-shadow:none;cursor:pointer;margin:0;transform:none;transition:background .18s ease}
#profi-weather .prw-refresh:hover{background:rgba(87,184,213,.14);transform:none}
#profi-weather .prw-refresh:disabled{opacity:.55;cursor:wait}
#profi-weather .prw-refresh[aria-busy="true"] svg{animation:prw-turn 1.2s linear infinite}
#profi-weather .prw-weather-foot{display:flex;justify-content:space-between;gap:6px 14px;flex-wrap:wrap;margin-top:5px;color:var(--prw-muted);font-size:11px;line-height:1.5}
#profi-weather #prw-status{flex:1 1 300px}
#profi-weather .prw-attribution{flex:0 0 auto}
#profi-weather a{color:var(--prw-accent);text-decoration:underline;text-underline-offset:2px;font:inherit}
#profi-weather [data-prw-error],#profi-weather[data-prw-state="stale"] #prw-status,#profi-weather[data-prw-state="error"] #prw-status{color:#a55316}
body.night-mode #profi-weather[data-prw-state="stale"] #prw-status,body.night-mode #profi-weather[data-prw-state="error"] #prw-status{color:#ffca8e}
#profi-weather :is(button,select,a):focus-visible{outline:3px solid var(--prw-accent);outline-offset:3px}
#profi-weather noscript{display:block;margin-top:6px}
@keyframes prw-turn{to{transform:rotate(360deg)}}
@media(max-width:620px){#profi-weather{width:calc(100% - 24px);margin:10px auto 14px;padding:10px 12px;border-radius:17px}#profi-weather .prw-weather-main{display:grid;grid-template-columns:32px minmax(0,1fr) auto 40px;gap:8px}#profi-weather .prw-weather-icon{width:32px;height:36px;font-size:26px;border-radius:10px}#profi-weather .prw-place{min-width:0}#profi-weather .prw-place label{font-size:10px}#profi-weather #prw-city{font-size:14px;height:32px;min-height:32px;padding-right:13px}#profi-weather .prw-reading{display:block;max-width:115px}#profi-weather #prw-temperature{display:block;font-size:24px}#profi-weather #prw-condition{display:block;font-size:11px;line-height:1.3}#profi-weather .prw-refresh{width:40px;min-width:40px;height:44px}#profi-weather .prw-weather-foot{font-size:10px;gap:3px 10px;margin-top:6px}#profi-weather #prw-status{flex-basis:100%}}
@media(max-width:360px){#profi-weather .prw-weather-main{grid-template-columns:minmax(0,1fr) auto 40px}#profi-weather .prw-weather-icon{display:none}#profi-weather .prw-reading{max-width:100px}}
@media(prefers-reduced-motion:reduce){#profi-weather .prw-refresh[aria-busy="true"] svg{animation:none}#profi-weather .prw-refresh{transition:none}}
