/* ─── VARIABLES & RESET ──────────────────── */
:root {
  --bg: #F9F7F4;
  --surface: #FFFEFB;
  --surface-hover: #F3F0EC;
  --border: #E8E4DF;
  --border-strong: #D4CFCA;
  --text-1: #0A0A0A;
  --text-2: #6B6860;
  --text-3: #A8A5A0;
  --green: #2D6A4F;
  --green-bg: #E8F3EE;
  --green-border: #BFD9CB;
  --blue: #2C5F8A;
  --blue-bg: #E6EEF6;
  --amber: #C17D3C;
  --amber-bg: #FAF0E4;
  --purple: #5B4F8A;
  --purple-bg: #EDEAF5;
  --coral: #C45C3C;
  --coral-bg: #FAEAE4;
  --teal: #2A7A6F;
  --teal-bg: #E6F3F1;
  --rose: #8A2C5F;
  --rose-bg: #F5E6EF;
  --lime: #4A7A2A;
  --lime-bg: #EDF5E6;
  --navy: #2C3F8A;
  --navy-bg: #E6EAF6;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Geist', 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text-1);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  text-decoration: none;
}

/* ─── NAV ────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(247, 246, 243, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--border);
  padding: 0 16px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  width: 26px;
  height: 26px;
  background: var(--text-1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg {
  width: 14px;
  height: 14px;
}

.logo-name {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  letter-spacing: -.02em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 13px;
  color: var(--text-2);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  display: none;
  transition: background .15s, color .15s;
}

.nav-link:hover {
  background: var(--surface-hover);
  color: var(--text-1);
}

.nav-btn {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--text-1);
  border: none;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: opacity .15s;
}

.nav-btn:hover {
  opacity: .8;
}

/* ─── HERO ───────────────────────────────── */
.hero {
  padding: 36px 16px 28px;
  text-align: center;
  animation: fadeUp .45s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-1);
  font-size: 12px;
  font-weight: 500;
  padding: 0;
  border-radius: 0;
  margin-bottom: 16px;
  border: none;
  background: none;
}

.hero-badge .badge-dot {
  width: 20px;
  height: 1px;
  background: var(--green);
  border-radius: 0;
  animation: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.025em;
  margin-bottom: 12px;
}

.hero h1 em {
  font-style: italic;
  color: var(--green);
}

.hero p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 20px;
  font-weight: 300;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── SEARCH ─────────────────────────────── */
.search-wrap {
  padding: 0 16px 4px;
  animation: fadeUp .45s .08s ease both;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 0.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}

.search-bar:focus-within {
  border-color: var(--text-1);
  box-shadow: 0 0 0 3px rgba(26, 26, 24, .06);
}

.search-icon {
  padding: 0 12px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-1);
  background: transparent;
  padding: 12px 0;
  min-width: 0;
}

.search-bar input::placeholder {
  color: var(--text-3);
}

.search-btn {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--text-1);
  border: none;
  padding: 10px 16px;
  margin: 3px;
  border-radius: 7px;
  white-space: nowrap;
  transition: opacity .15s;
}

.search-btn:hover {
  opacity: .8;
}

/* ─── STATS ──────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 18px 16px;
  border-bottom: 0.5px solid var(--border);
  animation: fadeUp .45s .12s ease both;
}

.stat-item {
  text-align: center;
  padding: 0 6px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  letter-spacing: -.02em;
  display: block;
}

.stat-label {
  font-size: 10px;
  color: var(--text-3);
  line-height: 1.3;
  margin-top: 2px;
}

/* ─── FILTROS ────────────────────────────── */
.filters-wrap {
  padding: 14px 16px 0;
  position: relative;
  animation: fadeUp .45s .16s ease both;
}

.filters-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 14px;
}

.filters-scroll::-webkit-scrollbar {
  display: none;
}

.chip {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  border: 0.5px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  transition: all .15s;
  -webkit-tap-highlight-color: transparent;
}

.chip:hover {
  border-color: var(--border-strong);
  color: var(--text-1);
}

.chip.active {
  background: var(--text-1);
  color: #fff;
  border-color: var(--text-1);
}

.chip-sort {
  border-style: dashed;
}

.chip-sort.active {
  background: var(--text-1);
  color: #fff;
  border-color: var(--text-1);
  border-style: solid;
}

.cdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cdot.data { background: var(--green); }
.cdot.tech { background: var(--blue); }
.cdot.neg  { background: var(--amber); }
.cdot.dis  { background: var(--purple); }
.cdot.emp  { background: var(--teal); }
.cdot.inv  { background: var(--rose); }
.cdot.sal  { background: var(--lime); }
.cdot.der  { background: var(--navy); }
.cdot.art  { background: var(--coral); }
.cdot.soc  { background: #E07B8A; }

.filters-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 0.5px solid var(--border-strong);
  color: var(--text-1);
  font-size: 16px;
  cursor: pointer;
  z-index: 12;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: opacity .2s;
}

.filters-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

.filters-arrow:hover {
  opacity: .7;
}

.filters-arrow-left  { left: 32px; }
.filters-arrow-right { right: 32px; }

.filters-fade-left {
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 72px;
  background: linear-gradient(to right, var(--bg) 40%, transparent);
  pointer-events: none;
  z-index: 11;
  display: none;
}

.filters-fade-right {
  position: absolute;
  right: 28px;
  top: 0;
  bottom: 0;
  width: 72px;
  background: linear-gradient(to left, var(--bg) 40%, transparent);
  pointer-events: none;
  z-index: 11;
  display: none;
}

/* ─── SECCIONES MOBILE ───────────────────── */
.mobile-content {
  padding: 0 16px 100px;
}

.section-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 12px;
}

.section-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-count {
  font-size: 10px;
  color: var(--text-3);
  background: var(--surface-hover);
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.view-all {
  font-size: 12px;
  color: var(--text-3);
}

.view-all:hover {
  color: var(--text-1);
}

/* ─── UPCOMING STRIP ─────────────────────── */
.upcoming-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}

.upcoming-scroll::-webkit-scrollbar {
  display: none;
}

.upc-mini {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  flex-shrink: 0;
  width: 158px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  box-shadow: var(--shadow);
}

.upc-mini:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.upc-date {
  font-size: 10px;
  color: var(--text-3);
  margin-bottom: 4px;
  font-weight: 500;
}

.upc-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.upc-inst {
  font-size: 10px;
  color: var(--text-3);
}

/* ─── INSTITUCIONES STRIP ────────────────── */
.inst-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}

.inst-scroll::-webkit-scrollbar {
  display: none;
}

.inst-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: 6px 12px 6px 8px;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color .15s;
  box-shadow: var(--shadow);
}

.inst-pill:hover {
  border-color: var(--border-strong);
}

.inst-av {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--surface-hover);
  border: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: var(--text-2);
  flex-shrink: 0;
}

.inst-pname {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-1);
}

.inst-pcount {
  font-size: 10px;
  color: var(--text-3);
}

/* ─── FEED ───────────────────────────────── */
.feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feed-section-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 8px;
}

.feed-section-label:first-child {
  margin-top: 4px;
}

.feed-section-label::before,
.feed-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── CARDS ──────────────────────────────── */
.ecard-new {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: row;
  height: 150px;
  animation: fadeUp .4s ease both;
}

.ecard-new:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.ecard-new.pasado {
  opacity: .55;
}

.ecard-new .ec-img-wrap {
  position: relative;
  width: 120px;
  min-width: 120px;
  flex-shrink: 0;
  background: #f5f5f5;
  overflow: hidden;
}

.ecard-new .ec-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.ecard-new:hover .ec-img-wrap img {
  transform: scale(1.03);
}

.ec-tag {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.ec-tag-cat   { background: var(--blue-bg);  color: var(--blue); }
.ec-tag-green { background: #EAF3E0;          color: #3A7D20; }
.ec-tag-gray  { background: var(--surface-hover); color: var(--text-2); }

.ecard-new .ec-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.ecard-new .ec-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.ecard-new .ec-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-1);
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ecard-new .ec-inst {
  font-size: 11px;
  color: var(--text-2);
}

.ecard-new .ec-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 0.5px solid var(--border);
}

.ecard-new .ec-date {
  font-size: 11px;
  color: var(--text-3);
}

.ecard-new .ec-cta {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  transition: background .15s;
  background: none;
  border: none;
}

.ecard-new .ec-cta:hover {
  background: var(--blue-bg);
}

/* ─── SKELETON ───────────────────────────── */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--surface-hover) 25%,
    var(--border) 50%,
    var(--surface-hover) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.sk-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 14px 12px 17px;
  box-shadow: var(--shadow);
}

/* ─── NEWSLETTER MOBILE ──────────────────── */
.nl-mobile {
  padding: 24px 0 0;
}

.nl-box {
  background: var(--text-1);
  border-radius: var(--radius);
  padding: 18px 16px;
}

.nl-title {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.nl-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 14px;
  line-height: 1.5;
}

.nl-row {
  display: flex;
  gap: 8px;
}

.nl-input {
  flex: 1;
  font-family: inherit;
  font-size: 13px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  outline: none;
  min-width: 0;
  transition: border-color .15s;
}

.nl-input::placeholder {
  color: rgba(255, 255, 255, .3);
}

.nl-input:focus {
  border-color: rgba(255, 255, 255, .35);
}

.nl-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: none;
  background: #fff;
  color: var(--text-1);
  white-space: nowrap;
  transition: opacity .15s;
}

.nl-btn:hover {
  opacity: .85;
}

.nl-meta {
  font-size: 10px;
  color: rgba(255, 255, 255, .3);
  text-align: center;
  margin-top: 10px;
}

/* ─── BOTTOM NAV ─────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(247, 246, 243, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
  z-index: 100;
}

.bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 16px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
}

.bn-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
}

.bn-item.active .bn-icon  { color: var(--text-1); }
.bn-item.active .bn-label { color: var(--text-1); }

.bn-label {
  font-size: 9px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: .02em;
}

/* ─── MODAL ──────────────────────────────── */
.ev-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.ev-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.ev-modal {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  border: 0.5px solid var(--border);
  transform: translateY(12px) scale(.98);
  transition: transform .22s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.ev-modal-overlay.open .ev-modal {
  transform: translateY(0) scale(1);
}

.ev-modal-imgwrap {
  position: relative;
  width: 100%;
  background: #f5f5f5;
  overflow: hidden;
  cursor: zoom-in;
  flex-shrink: 0;
}

.ev-modal-imgwrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  max-height: 60vh;
}

.ev-modal-imgwrap.fs {
  position: fixed;
  inset: 0;
  z-index: 600;
  border-radius: 0;
  cursor: zoom-out;
  background: rgba(0, 0, 0, .85);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
}

.ev-modal-imgwrap.fs img {
  width: auto !important;
  height: auto !important;
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain !important;
  display: block;
  border-radius: 8px;
}

.ev-modal-imgwrap.fs .ev-modal-close {
  display: none;
}

.ev-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .42);
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ev-modal-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: opacity .22s ease;
}

.ev-modal-body.faded {
  opacity: 0;
  pointer-events: none;
}

.ev-modal-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.ev-modal-title {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-1);
}

.ev-modal-inst {
  font-size: 12px;
  color: var(--text-2);
  margin-top: -4px;
}

.ev-modal-divider {
  height: 1px;
  background: var(--border);
}

.ev-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ev-modal-metarow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-2);
}

.ev-modal-metarow svg {
  color: var(--text-3);
  flex-shrink: 0;
}

.ev-modal-desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.65;
}

.ev-modal-btn {
  width: 100%;
  padding: 10px;
  background: var(--text-1);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: opacity .15s;
}

.ev-modal-btn:hover {
  opacity: .8;
}

/* ─── ESTADOS VACÍOS ─────────────────────── */
.state-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.state-icon  { font-size: 32px; margin-bottom: 12px; }
.state-title { font-size: 14px; font-weight: 500; color: var(--text-1); margin-bottom: 6px; }
.state-desc  { font-size: 13px; color: var(--text-3); line-height: 1.6; }

/* ─── ANIMACIONES ────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── DESKTOP ────────────────────────────── */
.desktop-grid {
  display: none;
}

@media (min-width: 768px) {
  nav { padding: 0 32px; }

  .nav-link { display: flex; }

  .hero {
    padding: 52px 32px 36px;
    max-width: 760px;
    margin: 0 auto;
  }

  .hero h1 { font-size: 40px; }

  .hero p {
    font-size: 15px;
    max-width: 480px;
  }

  .search-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 32px 4px;
  }

  .stats-bar {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 32px;
    display: flex;
    justify-content: center;
    gap: 0;
    border-bottom: none;
    grid-template-columns: unset;
  }

  .stat-item {
    border-right: none;
    padding: 0 32px;
    border-left: 1px solid var(--border);
    text-align: left;
  }

  .stat-item:first-child {
    border-left: none;
    padding-left: 0;
  }

  .stat-num {
    font-size: 24px;
    display: inline;
  }

  .stat-label {
    display: inline;
    margin-left: 8px;
    font-size: 12px;
    margin-top: 0;
  }

  .filters-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px;
    overflow: hidden;
  }

  .filters-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 16px;
    scrollbar-width: none;
  }

  .filters-scroll::-webkit-scrollbar { display: none; }

  .filters-arrow { display: flex; }

  .filters-fade-left,
  .filters-fade-right { display: none; }

  .desktop-grid {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px 60px;
    display: grid;
    grid-template-columns: 1fr 268px;
    gap: 24px;
    align-items: start;
  }

  .mobile-content,
  .bottom-nav { display: none; }

  .sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .sb-card {
    background: var(--surface);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
  }

  .sb-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
  }

  .upc-list { display: flex; flex-direction: column; }

  .upc-row {
    display: flex;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 0.5px solid var(--border);
    cursor: pointer;
    transition: opacity .15s;
  }

  .upc-row:last-child  { border-bottom: none; padding-bottom: 0; }
  .upc-row:first-child { padding-top: 0; }
  .upc-row:hover       { opacity: .7; }

  .upc-cal {
    flex-shrink: 0;
    width: 36px;
    text-align: center;
    background: var(--surface-hover);
    border-radius: var(--radius-sm);
    padding: 4px 0;
    border: 0.5px solid var(--border);
  }

  .upc-day {
    font-family: 'DM Serif Display', serif;
    font-size: 16px;
    color: var(--text-1);
    line-height: 1;
  }

  .upc-mon {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .05em;
  }

  .upc-info { flex: 1; min-width: 0; }

  .upc-t {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-1);
    line-height: 1.35;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .upc-s {
    font-size: 11px;
    color: var(--text-3);
  }

  .inst-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .inst-row {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 4px 0;
    transition: opacity .15s;
  }

  .inst-row:hover { opacity: .7; }

  .inst-av-lg {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: var(--surface-hover);
    border: 0.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-2);
    flex-shrink: 0;
  }

  .inst-info { flex: 1; min-width: 0; }

  .inst-nm {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-1);
  }

  .inst-ct {
    font-size: 11px;
    color: var(--text-3);
  }

  .inst-arr {
    color: var(--text-3);
    font-size: 14px;
  }

  .sb-nl {
    background: var(--text-1);
    border-radius: var(--radius);
    padding: 16px;
  }

  .sb-nl .nl-title {
    font-family: 'DM Serif Display', serif;
    font-size: 15px;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.3;
  }

  .sb-nl .nl-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 12px;
    line-height: 1.5;
  }

  .sb-nl .nl-input {
    width: 100%;
    font-family: inherit;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    outline: none;
    display: block;
    margin-bottom: 8px;
  }

  .sb-nl .nl-input::placeholder {
    color: rgba(255, 255, 255, .3);
  }

  .sb-nl .nl-btn {
    width: 100%;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    padding: 8px;
    border-radius: var(--radius-sm);
    border: none;
    background: #fff;
    color: var(--text-1);
  }

  .sb-nl .nl-meta {
    font-size: 10px;
    color: rgba(255, 255, 255, .3);
    text-align: center;
    margin-top: 8px;
  }
}
