/* Use the site's Arco surfaces and typography in both appearance modes. */
.nn-weather-trigger{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:36px;height:36px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:rgb(var(--primary-6,22,93,255));font-family:inherit;font-size:13px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;transition:background .16s ease}
.nn-weather-trigger:hover,.nn-weather-trigger[aria-expanded=true]{background:var(--color-fill-2,#f2f3f5)}
.nn-weather-trigger:focus-visible,.nn-weather-panel button:focus-visible,.nn-weather-panel a:focus-visible{outline:2px solid rgb(var(--primary-6,22,93,255));outline-offset:2px}
.nn-weather-trigger svg{width:20px;height:20px;flex:none}
.nn-weather-panel{position:fixed;z-index:1100;box-sizing:border-box;width:min(320px,calc(100vw - 24px));padding:0;border:1px solid var(--color-border-2,#e5e6eb);border-radius:12px;background:var(--color-bg-2,#fff);color:var(--color-text-1,#1d2129);box-shadow:0 8px 28px rgba(0,0,0,.14);font-family:inherit;font-size:14px;line-height:1.5;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
.nn-weather-panel *, .nn-weather-panel *::before, .nn-weather-panel *::after{box-sizing:border-box}
.nn-weather-panel[hidden]{display:none}
.nn-weather-head,.nn-weather-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}
.nn-weather-head{padding:13px 16px 10px;border-bottom:1px solid var(--color-border-1,#f2f3f5)}
.nn-weather-title{margin:0;font-size:14px;font-weight:600;line-height:22px;color:var(--color-text-1,#1d2129)}
.nn-weather-close{display:grid;place-items:center;flex:none;width:32px;height:32px;margin:-4px -6px -4px 0;padding:0;border:0;border-radius:6px;background:transparent;color:var(--color-text-3,#86909c);cursor:pointer;appearance:none}
.nn-weather-close svg{width:16px;height:16px}
.nn-weather-close:hover{background:var(--color-fill-2,#f2f3f5);color:var(--color-text-1,#1d2129)}
.nn-weather-body{display:flex;align-items:center;gap:14px;padding:19px 18px 15px;min-height:111px}
.nn-weather-symbol{display:grid;place-items:center;width:56px;height:56px;flex:none;border-radius:14px;background:rgba(var(--primary-6,22,93,255),.08);color:rgb(var(--primary-6,22,93,255))}
.nn-weather-symbol svg{width:36px;height:36px}
.nn-weather-details{min-width:0;flex:1}
.nn-weather-temp{display:flex;align-items:baseline;gap:4px;font-size:36px;line-height:1.15;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.04em}
.nn-weather-temp small{font-size:14px;font-weight:400;letter-spacing:0;color:var(--color-text-3,#86909c)}
.nn-weather-condition,.nn-weather-empty{font-size:12px;color:var(--color-text-3,#86909c);line-height:1.65;overflow-wrap:anywhere}
.nn-weather-condition{margin-top:5px}
.nn-weather-updated{display:flex;align-items:center;gap:5px;padding:0 18px 14px;color:var(--color-text-3,#86909c);font-size:11px;line-height:16px;font-variant-numeric:tabular-nums}
.nn-weather-updated svg{width:12px;height:12px;flex:none}
.nn-weather-foot{padding:12px 16px;border-top:1px solid var(--color-border-1,#f2f3f5)}
.nn-weather-refresh{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 11px;border:0;border-radius:7px;background:rgba(var(--primary-6,22,93,255),.08);color:rgb(var(--primary-6,22,93,255));cursor:pointer;appearance:none;font-family:inherit;font-size:12px;font-weight:500;line-height:20px;white-space:nowrap;transition:background .16s ease}
.nn-weather-refresh:hover{background:rgba(var(--primary-6,22,93,255),.14)}
.nn-weather-refresh svg{width:14px;height:14px;flex:none}
.nn-weather-refresh:disabled{opacity:.65;cursor:wait}
.nn-weather-attribution{display:flex;flex-direction:column;align-items:flex-end;gap:4px;color:var(--color-text-3,#86909c);font-size:10px;line-height:14px;text-decoration:none;white-space:nowrap}
.nn-weather-attribution:hover{color:rgb(var(--primary-6,22,93,255));text-decoration:underline}
.nn-weather-attribution img{display:block;width:64px;height:16px;object-fit:contain}
.nn-weather-attribution .nn-weather-mark-dark{display:none}
body[arco-theme=dark] .nn-weather-attribution .nn-weather-mark-light{display:none}
body[arco-theme=dark] .nn-weather-attribution .nn-weather-mark-dark{display:block}
.nn-weather-error{display:flex;align-items:flex-start;gap:7px;margin:0 16px 14px;padding:9px 10px;border-radius:7px;background:rgba(var(--warning-6,255,125,0),.08);color:var(--color-text-2,#4e5969);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.nn-weather-error svg{width:15px;height:15px;margin-top:2px;flex:none;color:rgb(var(--warning-6,255,125,0))}
.nn-weather-refresh[aria-busy=true] svg{animation:nn-weather-spin .9s linear infinite}
@keyframes nn-weather-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){.nn-weather-trigger{width:36px;min-width:36px;padding:0}.nn-weather-trigger span{display:none}.nn-weather-panel{right:12px!important}.nn-weather-close{width:36px;height:36px}.nn-weather-refresh{min-height:40px}}
@media(prefers-reduced-motion:reduce){.nn-weather-trigger,.nn-weather-refresh{transition:none}.nn-weather-refresh[aria-busy=true] svg{animation:none}}
