/* =========================================================
   ZDKHot — 中考·高考资讯聚合
   版式参考 aihot.news：左栏导航 + 省份筛选 + 热点榜 + 时间线精选流
   ========================================================= */

:root {
  --bg:            #ffffff;
  --bg-side:       #fcfcfd;
  --bg-soft:       #f6f7f9;
  --bg-hover:      #f4f5f8;
  --border:        #ebecf0;
  --border-strong: #e2e3e9;

  --text:   #16161a;
  --text-2: #55565f;
  --text-3: #9298a3;

  --brand:      #1f6feb;
  --brand-dark: #1557bf;
  --brand-soft: #eef4ff;
  --brand-line: #d7e6ff;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow:    0 6px 20px rgba(16, 24, 40, .08);
}

* { box-sizing: border-box; }

/* 关键：display:flex/grid 会覆盖 [hidden] 的默认 display:none，
   导致 hidden 元素仍然显示（解锁面板、工具栏都会中招），这里统一兜住。 */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  height: 100%;
}

body {
  display: flex;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ============================ 左侧导航 ============================ */

.sidebar {
  width: 218px;
  flex: none;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-side);
  border-right: 1px solid var(--border);
  padding: 14px 12px 12px;
  overflow-y: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 8px 16px;
}

.brand-logo {
  width: 28px; height: 28px;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
}
.brand-accent { color: var(--brand); }
/* 品牌名 + 中文主题词竖排两行，让「ZDKHot = 中大考热点」一眼对上 */
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.brand-tagline {
  font-size: 11px;
  line-height: 1.25;
  color: var(--text-3);
  letter-spacing: .12em;
  white-space: nowrap;
}

.nav { flex: 1; }

.nav-group { margin-bottom: 14px; }

.nav-group-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: .04em;
  padding: 6px 10px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-2);
  transition: background .14s, color .14s;
}
.nav-item svg { width: 15px; height: 15px; opacity: .78; }
.nav-item:hover { background: var(--bg-hover); color: var(--text); }
.nav-item.is-active {
  background: #eef0f4;
  color: var(--text);
  font-weight: 600;
}
.nav-item.is-active svg { opacity: 1; }

/* RSS 订阅项右侧的小标记，跟「反馈」那类纯功能项区分开 */
.nav-rss-hint {
  margin-left: auto; font-style: normal; font-size: 11px;
  color: var(--text-3); border: 1px solid var(--border);
  border-radius: 999px; padding: 0 7px; line-height: 16px;
}

.sidebar-foot { padding-top: 8px; }

.foot-note {
  margin-top: 10px;
  padding: 0 4px;
  font-size: 11px;
  color: #b3b7c0;
  line-height: 1.5;
}

/* 后台入口：做得低调一点，别抢主导航的视线 */
.foot-admin {
  display: inline-block;
  margin: 6px 4px 0;
  font-size: 11px;
  color: #c2c6ce;
  text-decoration: none;
}
.foot-admin:hover { color: var(--brand); text-decoration: underline; }

/* ============================ 主区 ============================ */

.main {
  flex: 1;
  min-width: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 26px 34px 80px;
}

/* ---------- 顶栏（右上角登录 / 账号） ----------
   sticky 在滚动容器 .main 里，负边距让底色铺满整个主区宽度，
   否则内容滚上去会从两侧漏出来。 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* 高度写死 44：答题页的 .ex-bar 靠这个数做 sticky 偏移，不能让它随内容变 */
  height: 44px;
  margin: -26px -34px 10px;
  padding: 6px 34px 4px;
  /* 整条透明：滚动时左侧的页面标题不再被这长条盖住。
     毛玻璃底挪到 .topbar-right，只罩住右上角登录入口那一小块。 */
  background: transparent;
  pointer-events: none;   /* 空白区不拦截点击，压在下面的标题照样可点 */
}

.topbar-search {
  pointer-events: auto;   /* 搜索框自身必须可点：父级 .topbar 是 pointer-events:none，不恢复就点不了、也输不进 */
}

/* 返回按钮：只有浏览过 >1 个视图时才显示，靠 app.js 控制 topBack.hidden */
.topbar-back {
  pointer-events: auto;   /* 同上，父级 .topbar 是 pointer-events:none */
  margin-right: 8px;
  display: flex;
  align-items: center;
}
.topbar-back .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  font-size: 13px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: .15s;
}
.topbar-back .back-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
}
.topbar-back .back-btn:disabled {
  opacity: .45;
  cursor: default;
  border-color: #e5e7eb;
  color: #9ca3af;
}
.topbar-back .back-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;   /* 登录入口自身仍可点 */
  padding: 4px 12px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(to bottom, var(--bg) 62%, rgba(255, 255, 255, .86) 100%);
  backdrop-filter: blur(8px);
}

@media (max-width: 1080px) {
  .topbar { margin: -24px -22px 8px; padding: 6px 22px 4px; }
}

@media (max-width: 820px) {
  .topbar { margin: -20px -16px 6px; padding: 6px 16px 4px; }
}

.page-head { margin-bottom: 18px; }

.page-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.page-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-3);
}

/* ---------- 工具栏：省份标签 + 搜索 ---------- */

.toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1px;
  padding: 3px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #fff;
  max-width: 100%;
}

.tab {
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 12.5px;
  color: var(--text-2);
  white-space: nowrap;
  transition: background .14s, color .14s;
}
.tab:hover { background: var(--bg-hover); color: var(--text); }
.tab.is-active {
  background: #eef0f4;
  color: var(--text);
  font-weight: 600;
}

/* 「更多地区」下拉 */
.more-wrap { position: relative; }
.more-btn { display: inline-flex; align-items: center; gap: 4px; }
.more-btn svg { width: 13px; height: 13px; }
.more-wrap.is-open .more-btn { background: #eef0f4; color: var(--text); }
.more-wrap.is-open .more-btn svg { transform: rotate(180deg); }

.more-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  width: 396px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.more-panel[hidden] { display: none; }
.more-panel-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-3);
  padding: 0 4px 8px;
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.more-grid .tab { text-align: center; padding: 6px 4px; }

.search {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
  width: 224px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: #fff;
  transition: border-color .14s, box-shadow .14s;
}
.search:focus-within {
  border-color: var(--brand-line);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, .09);
}
.search svg { width: 15px; height: 15px; color: var(--text-3); }
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
  color: var(--text);
}
.search input::placeholder { color: var(--text-3); }

/* ---------- 当前热点 ---------- */

.hot { margin-bottom: 30px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}
.hot-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #e5484d;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, .14);
}
.section-more { font-size: 12px; color: var(--text-3); }

.hot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.hot-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .14s;
}
.hot-item:hover { background: #fafbfd; }

.hot-rank {
  flex: none;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hot-rank i {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: block;
}

.hot-title {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hot-item:hover .hot-title { color: var(--brand); }

.hot-prov {
  flex: none;
  font-size: 11px;
  color: var(--text-3);
  padding: 1px 7px;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
}

.hot-avatars {
  flex: none;
  display: flex;
  align-items: center;
  padding-left: 6px;
}
.hot-avatars .av {
  width: 17px; height: 17px;
  margin-left: -6px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
}

.hot-heat {
  flex: none;
  display: flex;
  align-items: center;
  gap: 7px;
  width: 122px;
  justify-content: flex-end;
}
.hot-bar {
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #a9c9ff, #1f6feb);
  min-width: 6px;
}
.hot-num {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.hot-num small { font-size: 10.5px; font-weight: 500; color: var(--text-3); margin-left: 1px; }

/* ---------- 日期分组 + 时间线精选流 ---------- */

.day {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 30px 0 6px;
}
.day:first-child { margin-top: 0; }

.day-date { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.day-meta { font-size: 12.5px; color: var(--text-3); }

.day-action {
  margin-left: auto;
  border: 1px solid var(--border-strong);
  background: #fff;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12.5px;
  color: var(--text-2);
  transition: background .14s, color .14s, border-color .14s;
}
.day-action:hover { background: var(--bg-hover); color: var(--text); }
.day-action.is-on {
  background: var(--brand-soft);
  border-color: var(--brand-line);
  color: var(--brand-dark);
  font-weight: 600;
}

.item {
  display: grid;
  grid-template-columns: 46px 18px minmax(0, 1fr);
  align-items: stretch;
}

.item-time {
  padding-top: 15px;
  font-size: 12px;
  color: var(--text-3);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.item-rail {
  position: relative;
  display: flex;
  justify-content: center;
}
.item-rail::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}
.item:last-child .item-rail::before { bottom: 50%; }

.item-dot {
  position: relative;
  z-index: 1;
  margin-top: 19px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #d2d4dc;
  transition: border-color .14s, background .14s;
}
.item:hover .item-dot { border-color: var(--brand); background: var(--brand-soft); }
.item.is-read .item-dot { background: #e8e9ee; border-color: #d2d4dc; }

.item-card {
  margin: 5px 0;
  padding: 12px 14px 13px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background .14s, border-color .14s;
}
.item-card:hover { background: #fafbfd; border-color: var(--border); }

.item.is-read .item-card { opacity: .62; }

.item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.item-src {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 12px;
  color: var(--text-3);
}
.src-name { font-weight: 600; color: var(--text-2); }
.src-sep { color: #d5d7de; }

.tag-featured {
  flex: none;
  font-size: 10.5px;
  font-weight: 600;
  color: #b25b00;
  background: #fff5e6;
  border: 1px solid #ffe0b8;
  border-radius: 5px;
  padding: 0 5px;
  line-height: 16px;
}

.item-flags {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.prov-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.score-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-size: 11px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 6px;
  padding: 1px 7px;
  white-space: nowrap;
}
.score-badge b { font-size: 12.5px; font-variant-numeric: tabular-nums; }

.item-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--text);
}
.item-card:hover .item-title { color: var(--brand-dark); }

.item-sum {
  margin: 5px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-2);
}

.item-refs {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-3);
}

/* 原文附件（从附件里解析出正文的通知） */
.item-attach {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
}
.attach-tag {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border: 1px solid var(--brand-line);
  font-size: 11px;
}

.item-reason {
  margin-top: 9px;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
}
.item-reason b { font-weight: 600; color: var(--text-3); }

/* ---------- 数据状态条 ---------- */

.data-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  font-size: 12px;
  color: var(--text-3);
}
.data-bar code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 5px;
  color: var(--text-2);
}
.data-bar .dot { color: #d5d7de; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  padding: 2px 9px;
  border: 1px solid transparent;
}
.pill::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.pill-live { color: #1a7f4b; background: #eafaf1; border-color: #c9f0da; }
.pill-demo { color: #b25b00; background: #fff5e6; border-color: #ffe0b8; }

/* ---------- 工具栏右侧 ---------- */

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.icon-btn {
  width: 34px; height: 34px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--text-2);
  transition: background .14s, color .14s, border-color .14s;
}
.icon-btn:hover { background: var(--bg-hover); color: var(--text); }
.icon-btn svg { width: 15px; height: 15px; }
.icon-btn.is-spin svg { animation: zdk-spin 0.9s linear infinite; }
@keyframes zdk-spin { to { transform: rotate(360deg); } }

/* 标签上的条数徽标 */
.tab em {
  font-style: normal;
  font-size: 11px;
  color: var(--text-3);
  margin-left: 5px;
  font-variant-numeric: tabular-nums;
}
.tab.is-active em { color: var(--brand-dark); }
.tab.is-empty { color: #a8adb8; }

/* 「待接入」徽标：灰而不隐，明确告诉用户这个省点开是空的
   （仍可点击，点进去会看到原因和替代入口） */
.tab em.tab-todo {
  color: #ad7a45;
  background: #faf3ea;
  border-radius: 6px;
  padding: 1px 4px;
  margin-left: 4px;
  font-size: 10px;
}
.tab.is-active em.tab-todo { color: #8a5a2b; background: #f5ebdd; }

/* 「暂无」徽标：源已接入、只是当前没有符合条件的资讯。
   和「待接入」区分开，不把「源是通的」说成「没接」 */
.tab em.tab-none {
  color: #8d939f;
  background: #f2f3f6;
  border-radius: 6px;
  padding: 1px 4px;
  margin-left: 4px;
  font-size: 10px;
}
.tab.is-active em.tab-none { color: #626873; background: #e7e9ee; }

.empty-hint {
  font-size: 12.5px !important;
  color: #9aa0ac;
  margin-top: 6px !important;
  max-width: 460px;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.7;
}

/* 空状态页的替代入口：别让「信源待接入」变成死路 */
.empty-alt {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.empty-alt-title {
  font-size: 12px;
  color: var(--text-3);
  margin: 0 0 10px !important;
}
.empty-alt-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.empty-alt-btn {
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background: #fff;
  color: var(--text-2);
  font-size: 12.5px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background .14s, color .14s, border-color .14s;
}
.empty-alt-btn:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-color: var(--brand-line);
}

.item-title a { color: inherit; }
.item-title a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 空状态 / 页脚 ---------- */

.empty {
  padding: 70px 0;
  text-align: center;
  color: var(--text-3);
}
.empty-emoji { font-size: 30px; opacity: .5; }
.empty p { margin: 10px 0 0; font-size: 13.5px; }

.feed-end {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12.5px;
  color: var(--text-3);
}

/* ============================ 学段（中考 / 高考） ============================ */

/* 筛选条：资讯流与各功能页共用，所以放在全局样式里而不是某个页面样式里。 */
.stage-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
}
.stage-lab {
  font-size: 12px;
  color: var(--text-3);
  margin-right: 2px;
}
.stage-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--text-2);
  cursor: pointer;
  transition: background .14s, color .14s, border-color .14s;
}
.stage-btn:hover { background: var(--bg-hover); color: var(--text); }
.stage-btn em {
  font-style: normal;
  font-size: 11px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.stage-btn.is-on {
  background: var(--brand-soft);
  border-color: var(--brand-line);
  color: var(--brand-dark);
  font-weight: 600;
}
.stage-btn.is-on em { color: var(--brand-dark); opacity: .8; }

/* 学段角标：热点行（.hot-stage）与资讯卡片（.stage-tag）共用一套配色。
   中考走青、高考走橙，两色都取自站内既有色板，不引入新色系。 */
.hot-stage, .stage-tag {
  flex: none;
  font-size: 11px;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.hot-stage.is-zs, .stage-tag.is-zs { background: #e8f7f9; color: #0d7d8c; border-color: #cfeaee; }
.hot-stage.is-gk, .stage-tag.is-gk { background: #fff5e6; color: #b25b00; border-color: #f6e3c6; }

/* ============================ 响应式 ============================ */

@media (max-width: 1080px) {
  .main { padding: 24px 22px 70px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar-right { width: 100%; }
  .search { width: auto; flex: 1; }
}

@media (max-width: 820px) {
  .sidebar {
    position: fixed;
    z-index: 60;
    transform: translateX(-100%);
    transition: transform .22s;
    box-shadow: var(--shadow);
  }
  .sidebar.is-open { transform: none; }
  .main { padding: 20px 16px 70px; }
  .hot-heat { width: 92px; }
  .item { grid-template-columns: 40px 16px minmax(0, 1fr); }
  .more-panel { width: min(88vw, 360px); }
}
