body {
    font-family: 'Roboto', sans-serif;
  }
  
  a {
    position: relative;
    color: #9ffcb9; 
    text-decoration: none; 
    display: inline-block; 
  }
  
  a::after {
    content: '';
    position: absolute;
    bottom: 1px; 
    width: 0;
    height: 2px; 
    background: #9ffcb9; 
    transition: all 0.3s ease; 
  }
  
  a:hover::after {
    width: 100%;
    left: 0;
  }
  
  .brand-logo img {
    height: 50px; 
    width: auto;
  }
  
  
  nav, .page-footer {
    background-color: #000;
  }
  
  .header-text {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .header-subtext {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .cool-line-animation {
    width: 50px;
    height: 3px;
    background-color: #9ffcb9;
    margin-bottom: 20px;
    z-index: 1001;
  }
  
  .sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #000;
    padding: 10px 0;
    z-index: 1000;
  }
  
  .search-input-wrapper {
    position: relative;
  }
  
  #search-results, #search-results-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    width: 200px;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1001; 
  }
  
  #search-results a, #search-results-mobile a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    color: #333;
  }
  
  #search-results a:hover, #search-results-mobile a:hover {
    background-color: #f5f5f5;
  }
  
  .icon-wrapper {
    display: flex;
    align-items: center;
  }
  
  .material-icons {
    margin-right: 10px;
  }
  
  .search-input-wrapper input::placeholder {
    color: #ffffff;
  }
  
  .search-input-wrapper input {
    color: #ffffff;
  }
  
  .weatherContainer {
    padding: 20px;
    max-width: 600px;
    margin: 50px auto;
  }
  
  .weatherCard {
    background-color: #000;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .weatherInput, .weatherSubmit {
    display: block;
    margin: 10px 0;
    padding: 10px;
    width: 100%;
    background: #07062e;
    border: none;
    color: #fff;
    border-radius: 8px;
    transition: background 0.3s ease;
  }
  
  .weatherInput:hover, .weatherSubmit:hover {
    background: #667;
  }
  
  .weatherInput:focus {
    outline: none;
    box-shadow: 0 0 5px #9ffcb9;
  }
  
  .weatherLabel, .weatherInput, .weatherSubmit {
    opacity: 0;
    transform: translateY(50px);
  }
  
  .weatherTitle {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; 
    z-index: -1;
    background-attachment: fixed;
    background-position: center center;
    height: 150%; 
    top: -25%;  
  }
  
  .parallax-title, .parallax-paragraph {
    z-index: 9999; 
    opacity: 1; 
    transform: translateY(50px);
    text-shadow: 2px 2px 4px #9ffcb9;
    padding: 30px;
    border-radius: 5px; 
    display: inline-block; 
  }
  .sidenav .search-input-wrapper input[type="text"] {
    color: black;
  }
  .current-weather-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    margin: 20px auto;
    background-color: #ffffff;
  }
  
  .current-weather-card-title {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .current-weather-card-content {
    text-align: center;
    font-size: 18px;
  }
  
  .search-result-item a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 5px 0;
  }
  
  .search-result-item a:hover {
    color: #9ffcb9;
  }
  
  .search-result-item.active-result {
    background-color: #f5f5f5;
  }
  
  .nav-wrapper {
    position: relative;
  }
  
  .search-input-wrapper {
    position: relative; 
  }
  
  .search-input-wrapper {
    position: relative;
  }
  
  #search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    background-color: white;
    z-index: 10; 
    max-height: 200px;
    overflow-y: scroll;
  }
  
  /* Styles for links inside the search results container */
  #search-results a {
    display: block;             
    padding: 10px;             
    color: #000;             
    text-decoration: none;    
    transition: all 1.0s ease;
  }
  
  
  #search-results a:hover {
    color: #9ffcb9;              
    background-image: linear-gradient(60deg, #d4d4d4, #aaaaaa, #d4d4d4); 
    background-size: 300% 100%;
    animation: shimmer 6s infinite;
  }
  
  
  @keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
  }
  
  #search-results div {
    padding: 5px;
    cursor: pointer;
  }
  
  .search-input-wrapper {
    position: relative;
  }
  
  #search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    background-color: white;
    z-index: 10; 
    max-height: 200px;
    overflow-y: scroll;
  }
  
  #search-results div {
    padding: 5px;
    cursor: pointer;
  }
  
  /* Styles for the mobile sidenav search results */
  
  .sidenav .search-input-wrapper {
    position: relative;
    padding: 10px;
  }
  
  .sidenav #mobile-search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    background-color: white;
    z-index: 10; 
    max-height: 200px;
    overflow-y: scroll;
    width: 100%; 
  }
  
  /* Initial State */
  .sidenav #mobile-search-results a {
    display: flex;              
    justify-content: center;    
    align-items: center;       
    color: #07062e;               
    text-decoration: none;     
    background-color: white;  
    transition: all 3.0s ease; 
  }
  
  /* Hovered State */
  .sidenav #mobile-search-results a:hover {
    color: white;  
    background-image: linear-gradient(60deg, #d4d4d4, #aaaaaa, #d4d4d4); 
    background-size: 300% 100%; 
    animation: shimmer 6s infinite; 
  }
  
  /* Shimmering Gradient Animation */
  @keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
  }
  .shadow-text {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
  
    .sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000; 
    padding: 5px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .unique-bar-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  
  .unique-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 14px;
  }
  
  .material-icons {
    font-size: 24px;
    margin-bottom: 5px;
  }
  
  .brand-logo .logo-container {
    max-width: 100px; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .brand-logo img {
    height: 5.0rem; 
    width: auto;  
  }
  
  #location {
    font-weight: bold; 
    opacity: 0; 
    animation: fadeIn 2s ease forwards; 
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1; 
    }
  }
  .weather-container {
      border-bottom: 2px solid transparent; 
      padding: 10px;
      margin-bottom: 10px;
      background-image: linear-gradient(to right, #c0c0c0, #d3d3d3, #f0f0f0); 
      background-size: 0 2px; 
      background-repeat: no-repeat;
      background-position: bottom;
      transition: background-size 0.5s;
  }
  
  
  .weather-container.animated {
      background-size: 100% 2px;
  }
  
  .weather-icon {
      width: 50px;
      height: auto;
  }
  
  @keyframes expandLine {
      from { border-bottom-width: 0; }
      to { border-bottom-width: 2px; }
  }

  .email-link {
    color: #007bff; 
}

  .report-link {
    color: #007bff; 
}

.dropdown-content {
  display: none;
}

.dropdown-content.show {
  display: block;
}

/* ---------- Orbital 7-Day (futuristic layout, Oct 2026) ---------- */
.ofx {
  --mint: #9ffcb9;
  --mint-dim: rgba(159, 252, 185, 0.18);
  --glass: rgba(255, 255, 255, 0.045);
  --ink: #e8f0ff;
  --muted: #93a1b8;
  position: relative;
  overflow: hidden;
  padding: 0 16px 56px;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(159, 252, 185, 0.14), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(80, 120, 255, 0.12), transparent 60%),
    linear-gradient(180deg, #04050b 0%, #070b18 55%, #04050b 100%);
}

.ofx-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(159, 252, 185, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 252, 185, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  animation: ofxGridDrift 30s linear infinite;
  pointer-events: none;
}

@keyframes ofxGridDrift {
  to { background-position: 44px 44px, 44px 44px; }
}

.ofx-hero, .ofx-section {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.ofx-hero { padding-top: 36px; }

.ofx-kicker {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
  padding: 5px 12px;
  border: 1px solid var(--mint-dim);
  border-radius: 999px;
  background: rgba(159, 252, 185, 0.06);
}

.ofx-title {
  margin: 14px 0 6px;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ffffff 0%, var(--mint) 60%, #7fd7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ofx-loc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 1rem;
}

#ofxLocation { color: var(--ink); font-weight: 500; }

.ofx-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(159, 252, 185, 0.6);
  animation: ofxPulse 2s infinite;
}

@keyframes ofxPulse {
  70% { box-shadow: 0 0 0 12px rgba(159, 252, 185, 0); }
  100% { box-shadow: 0 0 0 0 rgba(159, 252, 185, 0); }
}

.ofx-locate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--mint-dim);
  background: transparent;
  color: var(--mint);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.ofx-locate .material-icons { font-size: 18px; margin: 0; }
.ofx-locate:hover { background: rgba(159, 252, 185, 0.1); box-shadow: 0 0 18px rgba(159, 252, 185, 0.25); }

.ofx-glass {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ofx-now {
  position: relative;
  margin-top: 26px;
  padding: 24px;
  overflow: hidden;
}

.ofx-now::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, var(--mint), transparent 40%, transparent 60%, #7fd7ff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
}

.ofx-now-main { display: flex; align-items: center; gap: 22px; }

.ofx-now-icon {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  box-shadow: 0 0 40px rgba(159, 252, 185, 0.22);
  animation: ofxFloat 6s ease-in-out infinite;
}

@keyframes ofxFloat {
  50% { transform: translateY(-6px); }
}

.ofx-now-temp { font-size: clamp(3rem, 9vw, 4.6rem); font-weight: 700; line-height: 1; }
.ofx-now-sum { font-size: 1.25rem; color: var(--mint); margin-top: 4px; }
.ofx-now-station { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }

.ofx-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.ofx-stat {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ofx-stat span { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ofx-stat b { font-weight: 500; }

.ofx-now-next { margin: 18px 0 0; color: #cdd7ea; line-height: 1.55; }
.ofx-now-next b { color: var(--mint); font-weight: 500; }
.ofx-updated { margin-top: 12px; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; }

.ofx-skeleton {
  height: 150px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(159,252,185,0.08), rgba(255,255,255,0.03));
  background-size: 300% 100%;
  animation: shimmer 2.4s infinite;
}

.ofx-section { margin-top: 44px; }

.ofx-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ofx-section-head h3 { margin: 0; font-size: 1.35rem; font-weight: 500; letter-spacing: 0.02em; }
.ofx-line { width: 36px; height: 3px; border-radius: 3px; background: var(--mint); box-shadow: 0 0 12px var(--mint); }

.ofx-week {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.ofx-day {
  padding: 16px 14px;
  text-align: center;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease var(--d, 0ms);
}

.ofx-day:hover {
  transform: translateY(-4px);
  border-color: var(--mint-dim);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), 0 0 24px rgba(159, 252, 185, 0.12);
}

.ofx-day-name { font-weight: 500; letter-spacing: 0.04em; }
.ofx-day-icon { width: 76px; height: 76px; margin: 10px auto 6px; display: block; border-radius: 18px; }
.ofx-day-short { min-height: 2.6em; font-size: 0.82rem; color: var(--muted); line-height: 1.3; }
.ofx-temps { display: flex; justify-content: center; gap: 10px; margin-top: 6px; font-size: 1.15rem; }
.ofx-hi { font-weight: 700; }
.ofx-lo { color: #7fd7ff; }

.ofx-bar {
  position: relative;
  height: 6px;
  margin: 10px 4px 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.ofx-bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #7fd7ff, var(--mint), #ffea70);
  box-shadow: 0 0 10px rgba(159, 252, 185, 0.5);
}

.ofx-chip {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ofx-chip.wet { color: #bde0fe; border-color: rgba(189, 224, 254, 0.35); background: rgba(189, 224, 254, 0.08); }

.ofx-details { display: grid; gap: 12px; }

.ofx-period {
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--mint);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease var(--d, 0ms), transform 0.6s ease var(--d, 0ms);
}

.ofx-period.night { border-left-color: #7fd7ff; background: rgba(80, 120, 255, 0.05); }
.ofx-period[open] { border-color: rgba(159, 252, 185, 0.2); }
.ofx-period.ofx-flash { box-shadow: 0 0 0 1px var(--mint), 0 0 28px rgba(159, 252, 185, 0.35); }

.ofx-period summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

.ofx-period summary::-webkit-details-marker { display: none; }
.ofx-period-icon { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 15px; }
.ofx-period-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ofx-period-title b { font-weight: 500; font-size: 1.05rem; }
.ofx-period-title small { color: var(--muted); font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ofx-period-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.ofx-period-temp { font-size: 1.35rem; font-weight: 700; line-height: 1; }
.ofx-period-temp.hi { color: #ffea70; }
.ofx-period-temp.lo { color: #7fd7ff; }
.ofx-period-rain { font-size: 0.72rem; color: #bde0fe; }
.ofx-chevron { color: var(--muted); margin: 0 !important; font-size: 22px !important; transition: transform 0.3s ease; }
.ofx-period[open] .ofx-chevron { transform: rotate(180deg); color: var(--mint); }
.ofx-period-body { padding: 0 16px 14px 84px; animation: ofxOpen 0.35s ease; }
.ofx-period p { margin: 0; color: #cdd7ea; line-height: 1.55; }

@keyframes ofxOpen {
  from { opacity: 0; transform: translateY(-6px); }
}

.ofx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.ofx-hint {
  margin-left: auto;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.ofx-day { cursor: pointer; }
.ofx-day:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }

.ofx-trend { padding: 10px 6px 4px; }
.ofx-trend svg { display: block; width: 100%; height: auto; }
.ofx-tline { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ofx-tline.hi { stroke: #ffea70; filter: drop-shadow(0 0 6px rgba(255, 234, 112, 0.6)); }
.ofx-tline.lo { stroke: #7fd7ff; filter: drop-shadow(0 0 6px rgba(127, 215, 255, 0.6)); }
.ofx-trend circle.hi { fill: #04050b; stroke: #ffea70; stroke-width: 2.5; }
.ofx-trend circle.lo { fill: #04050b; stroke: #7fd7ff; stroke-width: 2.5; }
.ofx-tl { font: 600 15px Roboto, sans-serif; text-anchor: middle; }
.ofx-tl.hi { fill: #ffea70; }
.ofx-tl.lo { fill: #7fd7ff; }
.ofx-td { font: 500 13px Roboto, sans-serif; fill: var(--muted); text-anchor: middle; letter-spacing: 0.08em; text-transform: uppercase; }
.ofx-trend svg.small .ofx-tl { font-size: 30px; }
.ofx-trend svg.small .ofx-td { font-size: 25px; }
.ofx-trend svg.small .ofx-tline { stroke-width: 5; }

/* Dark About block so the page reads as one surface */
.ofx-about {
  padding: 10px 0 30px;
  color: #cdd7ea;
  background: linear-gradient(180deg, #04050b, #000);
  border-top: 1px solid rgba(159, 252, 185, 0.1);
}

.ofx-about h3 { font-size: 1.6rem; font-weight: 500; color: #fff; }
.ofx-about .material-icons { color: var(--mint, #9ffcb9); }
.ofx-about .icon-wrapper { margin-bottom: 8px; }
.ofx-about .report-link, .ofx-about .email-link { color: #9ffcb9; }

/* Glass bottom bar with the current page lit up */
.sticky-bottom-bar {
  background: rgba(4, 5, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(159, 252, 185, 0.14);
  padding-bottom: calc(5px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.unique-nav-item { color: rgba(255, 255, 255, 0.72); transition: color 0.25s ease; }
.unique-nav-item.active { color: #9ffcb9; text-shadow: 0 0 12px rgba(159, 252, 185, 0.5); }
.unique-nav-item::after { display: none; }
.ofx-tags span { font-size: 0.75rem; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); color: var(--muted); }
.ofx-status { margin-top: 18px; color: var(--muted); font-size: 0.85rem; text-align: center; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease var(--d, 0ms), transform 0.6s ease var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

.ofx-america { margin-top: 18px; text-align: center; }

.ofx-flagline {
  display: block;
  width: min(220px, 60%);
  height: 2px;
  margin: 0 auto 8px;
  background: linear-gradient(90deg, #b22234 0 33%, #ffffff 33% 66%, #3c3b6e 66% 100%);
  opacity: 0.8;
}

.ofx-america-text { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: #9e9e9e; }

.ofx-hint { display: none; }

@media (max-width: 600px) {
  .ofx { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .ofx-hero { padding-top: 22px; }
  .ofx-title { margin: 10px 0 4px; }
  .ofx-loc { font-size: 0.92rem; }
  .ofx-now { margin-top: 18px; padding: 16px; border-radius: 20px; }
  .ofx-now-main { gap: 14px; }
  .ofx-now-icon { width: 84px; height: 84px; border-radius: 20px; }
  .ofx-stats { grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
  .ofx-stat { padding: 8px 6px; text-align: center; border-radius: 12px; }
  .ofx-stat span { font-size: 0.58rem; letter-spacing: 0.08em; }
  .ofx-stat b { font-size: 0.82rem; }
  .ofx-now-next { font-size: 0.92rem; margin-top: 14px; }
  .ofx-section { margin-top: 30px; }
  .ofx-section-head { margin-bottom: 12px; }
  .ofx-section-head h3 { font-size: 1.15rem; }
  .ofx-hint { display: inline; }

  /* Swipeable week strip */
  .ofx-week {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -16px;
    padding: 4px 16px 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent);
  }
  .ofx-week::-webkit-scrollbar { display: none; }
  .ofx-day { flex: 0 0 118px; scroll-snap-align: start; padding: 14px 10px; }
  .ofx-day-icon { width: 64px; height: 64px; }
  .ofx-day-short { font-size: 0.76rem; }

  .ofx-trend { padding: 6px 0 0; }
  .ofx-period summary { gap: 12px; padding: 10px 12px; }
  .ofx-period-icon { width: 48px; height: 48px; flex-basis: 48px; border-radius: 13px; }
  .ofx-period-body { padding: 0 14px 14px 14px; }
  .ofx-about h3 { font-size: 1.3rem; }
}

@media (max-width: 360px) {
  .ofx-stats { grid-template-columns: repeat(2, 1fr); }
  .ofx-now-icon { width: 70px; height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .ofx-grid, .ofx-pulse, .ofx-now-icon { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
