/* ============================================================
   Solar System Weather — the Sun + space-weather & near-Earth alerts.
   Builds on astro.css (cards, pills, grid). Page-specific styling only.
   ============================================================ */

.sw-intro { color: var(--muted); max-width: 760px; font-size: 14.5px; }
.sw-updated { margin-top: 8px; font-size: 12px; color: var(--faint); }
.sw-updated .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--good); margin-right: 6px; box-shadow: 0 0 8px var(--good); vertical-align: middle; }

/* per-section explanatory hint */
.sw-hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: -6px 0 16px; max-width: 880px; }
.sw-hint b { color: var(--text); font-weight: 700; }
/* ---- NOAA storm scales: current level + that scale's 3-day forecast, per card ---- */
.sw-scales { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sw-scale { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 15px; position: relative; overflow: hidden; }
.sw-scale::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--lvl, var(--good)); }
.sw-scale .k { font-size: 11.5px; text-transform: uppercase; letter-spacing: .7px; color: var(--faint); font-weight: 700; }
.sw-scale-now { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.sw-scale-now .lvl { font-size: 27px; font-weight: 800; color: #fff; line-height: 1.05; }
.sw-scale-now .lvl b { color: var(--lvl, var(--good)); }
.sw-scale-now .txt { font-size: 13px; color: var(--muted); text-transform: capitalize; }
.sw-scale-fc { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--border); }
.sw-fc-lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: var(--faint); font-weight: 700; }
.sw-fcp-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 7px; }
.sw-fcp { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 12.5px; font-weight: 700; padding: 5px 4px; border-radius: 7px; border: 1px solid var(--lvl, var(--good)); color: var(--lvl, var(--good)); background: rgba(255,255,255,.03); font-variant-numeric: tabular-nums; }
.sw-fcp i { font-size: 9px; font-style: normal; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .3px; }

/* scale level colours (0 quiet → 5 extreme) */
.lvl-0 { --lvl: #34d399; }
.lvl-1 { --lvl: #a3e635; }
.lvl-2 { --lvl: #fbbf24; }
.lvl-3 { --lvl: #fb923c; }
.lvl-4 { --lvl: #f87171; }
.lvl-5 { --lvl: #ef4444; }

/* ---- The Sun: imagery + stats ---- */
.sw-sun { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 18px; align-items: start; }
.sw-sun-img { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
/* Symmetric grid of filter tiles (name + wavelength), aligned to the image width */
.sw-wave-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.sw-wave {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 11.5px; color: var(--muted); text-align: center;
  background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px;
  padding: 7px 4px; cursor: pointer; transition: .15s;
}
.sw-wave:hover { color: var(--text); border-color: var(--border-2); }
.sw-wave.active { color: #fff; background: linear-gradient(135deg, rgba(251,146,60,.35), rgba(139,92,246,.25)); border-color: var(--border-2); }
.sw-wave-name { font-weight: 700; line-height: 1.15; }
.sw-wave-tag { font-size: 10px; color: var(--faint); letter-spacing: .3px; }
.sw-wave.active .sw-wave-tag { color: rgba(255,255,255,.85); }
.sw-sun-frame { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #05070d; border: 1px solid var(--border); }
.sw-sun-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sw-sun-frame .sw-img-load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 13px; }
.sw-sun-controls { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.sw-play { padding: 6px 15px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font: inherit; font-size: 12.5px; font-weight: 650; cursor: pointer; transition: .15s; white-space: nowrap; }
.sw-play:hover { border-color: var(--border-2); background: rgba(251,146,60,.16); }
.sw-play.playing { background: linear-gradient(135deg, rgba(251,146,60,.4), rgba(139,92,246,.3)); color: #fff; border-color: var(--border-2); }
.sw-sun-time { font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.sw-sun-stills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.sw-still { position: relative; padding: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; cursor: pointer; background: #05070d; aspect-ratio: 1 / 1; }
.sw-still img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sw-still span { position: absolute; left: 4px; bottom: 4px; font-size: 9.5px; font-weight: 700; color: #fff; background: rgba(0,0,0,.55); padding: 1px 5px; border-radius: 4px; }
.sw-still:hover { border-color: var(--accent-2); }
.sw-sun-cap { font-size: 12px; color: var(--faint); margin-top: 10px; line-height: 1.45; text-align: center; }

/* ---- The Sun: right column holds stats + the cycle panel, beside the image ---- */
.sw-sun-right { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* ---- Solar cycle & trends (nested in the right column) ---- */
.sw-cycle { background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 15px 15px; }
.sw-cycle-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.sw-cycle-head h3 { margin: 0; font-size: 16px; font-weight: 750; }
.sw-cycle-head .meta { font-size: 11.5px; color: var(--faint); }
.sw-cycle-grid { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center; }
.sw-cyc-svg { width: 100%; height: 88px; display: block; }
.sw-cyc-area { fill: rgba(251,146,60,.14); stroke: none; }
.sw-cyc-line { fill: none; stroke: #fb923c; stroke-width: 2; vector-effect: non-scaling-stroke; }
.sw-cyc-peak { fill: #fff; stroke: #fb923c; stroke-width: 2; }
.sw-cyc-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); margin-top: 4px; }
.sw-cyc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sw-cyc-tile { background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 11px; text-align: center; }
.sw-cyc-tile .k { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: var(--faint); font-weight: 700; }
.sw-cyc-tile .v { font-size: 20px; font-weight: 800; color: #fff; margin: 3px 0 1px; font-variant-numeric: tabular-nums; }
.sw-cyc-tile .s { font-size: 10.5px; color: var(--muted); }
.sw-cyc-tile .trend-up { color: #34d399; font-size: 14px; } .sw-cyc-tile .trend-dn { color: #fb923c; font-size: 14px; } .sw-cyc-tile .trend-flat { color: var(--muted); font-size: 14px; }
.sw-cycle-text { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 14px 0 0; }
.sw-cycle-text strong { color: var(--text); }
.sw-cyc-records { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 12px; color: var(--faint); }
.sw-cyc-rec b { color: var(--muted); }

/* ---- Active-region & flare watch (solar-disk map) ---- */
.sw-flares { margin-top: 18px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px 18px; }
.sw-frhead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.sw-frhead h3 { margin: 0; font-size: 17px; font-weight: 750; }
.sw-frsum { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; margin-left: auto; }
.sw-frtoggle { display: inline-flex; gap: 2px; padding: 3px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 999px; }
.sw-frtoggle button { appearance: none; border: 0; background: none; color: var(--muted); font: inherit; font-size: 12px; font-weight: 650; padding: 4px 13px; border-radius: 999px; cursor: pointer; transition: .15s; }
.sw-frtoggle button:hover { color: var(--text); }
.sw-frtoggle button.active { color: #fff; background: linear-gradient(135deg, rgba(251,146,60,.4), rgba(139,92,246,.3)); }
.sw-frview.hidden { display: none; }
/* solar-plane (top-down) view */
.sw-pl-ring { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1; }
.sw-pl-lbl { fill: var(--muted); font-size: 9.5px; font-weight: 600; text-anchor: middle; paint-order: stroke; stroke: rgba(5,8,14,.85); stroke-width: 2.5px; }
.sw-pl-lbl.earth { fill: #9cc2ff; font-weight: 800; }
.sw-frbody { display: grid; grid-template-columns: 300px 1fr; gap: 18px; align-items: start; }
.sw-frdisk { display: flex; flex-direction: column; gap: 10px; }
.sw-frsvg { width: 100%; height: auto; display: block; background: radial-gradient(circle at 50% 45%, rgba(255,157,47,.06), transparent 70%); border-radius: 12px; }
.sw-fr-disk { cursor: grab; touch-action: none; }
.sw-fr-disk.grabbing { cursor: grabbing; }
.sw-frgrid { stroke: rgba(255,255,255,.14); stroke-width: 1; stroke-dasharray: 3 4; }
.sw-frcard { fill: #ffd27a; font-size: 11px; font-weight: 800; text-anchor: middle; }
.sw-frnum { fill: #fff; font-size: 9.5px; font-weight: 700; text-anchor: middle; paint-order: stroke; stroke: rgba(0,0,0,.7); stroke-width: 2px; }
.sw-frmark circle { stroke: rgba(0,0,0,.5); stroke-width: 1; cursor: help; }
.sw-frmark.flaring circle { stroke: #fff; stroke-width: 1.5; animation: sw-pulse 1.6s ease-in-out infinite; }
@keyframes sw-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.sw-frlegend { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; }
.sw-frleg { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); }
.sw-frdot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.sw-frlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; align-content: start; }
.sw-frchip { background: var(--panel-2); border: 1px solid var(--border); border-left: 3px solid var(--border); border-radius: var(--radius-sm); padding: 9px 11px; }
.sw-frchip.tier-c { border-left-color: #fbbf24; }
.sw-frchip.tier-m { border-left-color: #fb923c; }
.sw-frchip.tier-x { border-left-color: #f87171; }
.sw-frchip.flaring { box-shadow: 0 0 0 1px rgba(248,113,113,.4); }
.sw-frchip-head { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.sw-frchip-head b { color: #fff; }
.sw-frloc { color: var(--faint); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.sw-frflag { margin-left: auto; font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: #f87171; background: rgba(248,113,113,.16); padding: 2px 7px; border-radius: 999px; }
.sw-frprob { font-size: 12px; color: var(--muted); margin-top: 5px; font-variant-numeric: tabular-nums; }
.sw-frmeta { font-size: 11px; color: var(--faint); margin-top: 3px; }
.sw-frnote { font-size: 11.5px; color: var(--faint); line-height: 1.5; margin-top: 14px; }

.sw-sun-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sw-stat { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 13px 15px; }
.sw-stat .k { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--faint); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.sw-stat .v { font-size: 23px; font-weight: 800; color: #fff; margin: 5px 0 1px; font-variant-numeric: tabular-nums; }
.sw-stat .v small { font-size: 13px; font-weight: 600; color: var(--muted); }
.sw-stat .s { font-size: 12px; color: var(--muted); }
.sw-stat.hot .v { color: #fb923c; }
.sw-stat.warn .v { color: #fbbf24; }
.sw-stat.calm .v { color: #34d399; }

/* ---- Aurora ---- */
.sw-aurora { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.sw-aurora .kp-dial {
  flex: 0 0 auto; width: 110px; height: 110px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.06), transparent 70%);
  border: 3px solid var(--lvl, var(--good));
}
.sw-aurora .kp-dial b { font-size: 34px; font-weight: 800; color: #fff; line-height: 1; }
.sw-aurora .kp-dial span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--faint); margin-top: 3px; }
.sw-aurora .aur-text { flex: 1 1 260px; }
.sw-aurora .aur-text h3 { margin: 0 0 5px; font-size: 17px; }
.sw-aurora .aur-text p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* polar ovals (both poles) + worldwide live-source cards */
.sw-aur-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 16px; align-items: start; }
.sw-aur-sub { display: flex; align-items: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--faint); margin-bottom: 10px; }
.sw-aur-ovals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* Expanded on a phone: side-by-side would squeeze both maps smaller than
   they already are in-page, defeating the point — stack them instead so
   each gets the full width. */
@media (max-width: 640px) { .astro-expand-body .sw-aur-ovals { grid-template-columns: 1fr; overflow-y: auto; } }
.sw-oval { margin: 0; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.sw-oval img { width: 100%; height: auto; display: block; background: #05070d; }
.sw-oval figcaption { font-size: 11px; color: var(--muted); padding: 6px 8px; text-align: center; }
.sw-aur-camrow { display: flex; flex-direction: column; gap: 8px; }
.sw-aur-cam { display: flex; gap: 10px; align-items: center; padding: 8px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; text-decoration: none; transition: .15s; }
.sw-aur-cam:hover { border-color: var(--border-2); background: rgba(139,92,246,.14); }
.sw-aur-thumb { flex: 0 0 auto; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: #05070d; display: flex; align-items: center; justify-content: center; }
.sw-aur-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sw-aur-ph { font-size: 10.5px; font-weight: 700; color: var(--accent-2); text-align: center; padding: 4px; }
.sw-aur-cam .meta2 { min-width: 0; display: flex; flex-direction: column; }
.sw-aur-cam .nm { font-size: 13px; font-weight: 700; color: var(--text); }
.sw-aur-cam .lon { font-size: 10.5px; font-weight: 600; color: var(--faint); }
.sw-aur-cam .pl { font-size: 11.5px; color: var(--accent-2); margin-top: 2px; }
.sw-aur-camnote { font-size: 10.5px; color: var(--faint); margin-top: 8px; line-height: 1.4; }
.sw-aur-camnote a { color: var(--accent-2); }

/* ---- NEO alerts ---- */
.sw-controls { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.sw-controls select {
  background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 9px;
  color: var(--text); padding: 7px 10px; font-size: 12.5px; cursor: pointer; outline: none;
}
/* NEO section: map (left) + chronological cards (right) */
.sw-neo-layout { display: grid; grid-template-columns: minmax(0, 480px) 1fr; gap: 18px; align-items: start; }
.sw-neo-map { position: relative; display: flex; flex-direction: column; align-items: center; }
.sw-neo-svg { width: 100%; max-width: 480px; height: auto; display: block; background: radial-gradient(circle at 50% 50%, rgba(120,150,255,.05), transparent 70%); border: 1px solid var(--border); border-radius: var(--radius); cursor: grab; touch-action: none; }
.sw-neo-svg.grabbing { cursor: grabbing; }
.sw-neo-orbit { fill: none; stroke: rgba(160,180,220,.32); stroke-width: 1; cursor: pointer; transition: opacity .12s; }
.sw-neo-orbit.near { stroke-width: 1.6; }
.sw-neo-orbit.sel { stroke-width: 2.6; opacity: 1; }
.sw-neo-orbit.dim { opacity: .16; }
.sw-neo-dot { fill: #8fb6ff; stroke: rgba(0,0,0,.6); stroke-width: 1; cursor: pointer; transition: opacity .12s; }
.sw-neo-dot:hover { stroke: #fff; stroke-width: 1.4; }
.sw-neo-dot.sel { stroke: #fff; stroke-width: 1.6; }
.sw-neo-dot.dim { opacity: .3; }
/* traced-object annotations: ◦ now ring, ✦ closest-approach mark, connector + labels */
.sw-neo-nowring { fill: none; stroke-width: 1.8; opacity: .95; }
.sw-neo-ca { fill: rgba(8,12,20,.65); stroke-width: 2; }
.sw-neo-annoline { stroke: rgba(255,255,255,.4); stroke-width: 1; stroke-dasharray: 3 3; }
.sw-neo-annolbl { fill: var(--text); font-size: 9.5px; font-weight: 700; text-anchor: middle; paint-order: stroke; stroke: rgba(5,8,14,.85); stroke-width: 2.5px; }
.sw-neo-annolbl.now { fill: #cfe1ff; }
.sw-neo-tipdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.sw-neo-zoom { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 4px; }
.sw-neo-zoom button { width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--border); background: rgba(12,16,26,.9); color: var(--text); font-size: 16px; font-weight: 700; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .15s; }
.sw-neo-zoom button:hover { background: var(--panel-2); border-color: var(--border-2); }
.sw-neo-maplegend { font-size: 11.5px; color: var(--faint); margin-top: 9px; text-align: center; line-height: 1.5; }
.sw-neo-tip { position: absolute; z-index: 6; pointer-events: none; background: rgba(12,16,26,.97); border: 1px solid var(--border-2); border-radius: 10px; padding: 9px 11px; font-size: 12px; min-width: 220px; box-shadow: 0 8px 28px rgba(0,0,0,.5); }
.sw-neo-tip b { color: #fff; font-size: 13px; display: block; margin-bottom: 5px; }
.sw-neo-tip .r { display: flex; justify-content: space-between; gap: 14px; margin-top: 3px; }
.sw-neo-tip .r span:first-child { color: var(--faint); }
.sw-neo-tip .r span:last-child { color: var(--text); font-weight: 600; text-align: right; }
.sw-neo-tip small { color: var(--faint); font-weight: 500; }

/* compact, chronological cards */
.sw-neo-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.sw-neo-when { font-size: 12px; color: var(--accent-2); font-weight: 600; margin-left: auto; }
.sw-neo-line { display: flex; flex-wrap: wrap; gap: 3px 12px; align-items: baseline; margin-top: 6px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sw-neo-line .big { font-size: 15px; font-weight: 700; color: var(--text); }
.sw-neo-line .sub { color: var(--faint); }
.sw-neo-meta { display: flex; flex-wrap: wrap; gap: 3px 12px; margin-top: 5px; font-size: 11.5px; color: var(--faint); }
.sw-neo-links { display: flex; gap: 12px; margin-top: 7px; font-size: 12px; }
.sw-neo-links a { color: var(--accent-2); text-decoration: none; font-weight: 600; }
.sw-neo-links a:hover { text-decoration: underline; }
.sw-neo { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 15px; position: relative; overflow: hidden; transition: border-color .12s, box-shadow .12s; }
.sw-neo[data-i] { cursor: pointer; }
.sw-neo[data-i]:hover { border-color: var(--border-2); }
.sw-neo.sel { border-color: var(--accent-2); box-shadow: 0 0 0 1px var(--accent-2) inset; }
.sw-neo.near::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--warm); }
.sw-neo.near { padding-left: 19px; }
.sw-neo-swatch { width: 10px; height: 10px; border-radius: 50%; flex: none; align-self: center; box-shadow: 0 0 0 1px rgba(0,0,0,.4); }
.sw-neo-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sw-neo-head h3 { margin: 0; font-size: 16px; font-weight: 700; flex: 1; }

/* ---- alerts feed ---- */
.sw-alerts { display: flex; flex-direction: column; gap: 8px; }
.sw-alert { display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 11px 14px; }
.sw-alert .badge { flex: 0 0 auto; font-size: 10px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-top: 1px; }
.badge-alert   { background: rgba(248,113,113,.18); color: #f87171; }
.badge-warning { background: rgba(251,146,60,.18); color: #fb923c; }
.badge-watch   { background: rgba(251,191,36,.18); color: #fbbf24; }
.badge-summary { background: rgba(56,189,248,.16); color: var(--cool); }
.sw-alert .a-body { flex: 1; min-width: 0; }
.sw-alert .a-title { font-size: 13.5px; color: var(--text); font-weight: 600; }
.sw-alert .a-time { font-size: 11.5px; color: var(--faint); margin-top: 2px; }

/* ---- 3-day forecast ---- */

.sw-sources { margin: 30px 0 10px; font-size: 12.5px; color: var(--faint); border-top: 1px solid var(--border); padding-top: 14px; line-height: 1.55; }
.sw-sources a { color: var(--accent-2); }
.sw-err { color: var(--faint); font-size: 13px; padding: 14px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm); }

@media (max-width: 760px) {
  .sw-scales { grid-template-columns: 1fr; }
  .sw-sun { grid-template-columns: 1fr; }
  .sw-aur-extra { grid-template-columns: 1fr; }
  .sw-frbody { grid-template-columns: 1fr; }
  .sw-frdisk { max-width: 320px; margin: 0 auto; }
  .sw-neo-layout { grid-template-columns: 1fr; }
  .sw-neo-map { max-width: 480px; margin: 0 auto; }
  .sw-cycle-grid { grid-template-columns: 1fr; }
}
