:root {
  --primary: #1677ff;
  --primary-dark: #0958d9;
  --primary-light: #e8f3ff;
  --accent-green: #00b42a;
  --accent-orange: #ff7d00;
  --accent-red: #f53f3f;
  --text: #1d2129;
  --text-secondary: #4e5969;
  --text-muted: #86909c;
  --border: #e5e6eb;
  --bg: #f4f7fc;
  --card: #ffffff;
  --shadow: 0 8px 28px rgba(22, 119, 255, 0.1);
  --radius: 14px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.portal-body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.portal-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 15% -5%, rgba(22, 119, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 10%, rgba(0, 180, 42, 0.08), transparent 50%),
    linear-gradient(180deg, #f8fafd 0%, var(--bg) 100%);
}

/* ========== Header ========== */
.portal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(229, 230, 235, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.portal-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
  max-width: 220px;
}

.portal-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #69b1ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.35);
}

.portal-brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-search {
  flex: 1;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  min-width: 0;
  z-index: 30;
}

.portal-search-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  background: #f2f3f5;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 0.35rem 0 0.85rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}

.portal-search:focus-within .portal-search-box {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.12);
}

.portal-search-icon {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
  grid-column: 1;
  flex-shrink: 0;
}

.portal-search input {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  padding: 0.55rem 0;
  color: var(--text);
  caret-color: var(--primary);
  position: static;
}

.portal-search input::placeholder {
  color: var(--text-muted);
}

.portal-search-btn {
  grid-column: 3;
  justify-self: end;
  flex-shrink: 0;
  position: static;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.portal-search-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
}

.portal-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.portal-btn-outline {
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
}

.portal-btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.portal-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text-secondary);
  cursor: pointer;
}

.portal-subnav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.portal-subnav-link {
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.2s var(--ease);
}

.portal-subnav-link:hover,
.portal-subnav-link.is-active {
  color: var(--primary);
  background: rgba(22, 119, 255, 0.1);
  font-weight: 600;
}

.portal-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2.5rem;
}

/* ========== Site cards (global) ========== */
.site-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  padding-right: 2.25rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s;
}

.site-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(22, 119, 255, 0.06) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}

.site-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 119, 255, 0.35);
  box-shadow: var(--shadow);
}

.site-card:hover::after { transform: translateX(100%); }

.site-card .card-logo {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
  background: #f2f3f5;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.site-card .flex { display: flex; }
.site-card .items-start { align-items: flex-start; }
.site-card .gap-3 { gap: 0.75rem; }
.site-card .flex-1 { flex: 1; min-width: 0; }
.site-card .min-w-0 { min-width: 0; }
.site-card .flex-wrap { flex-wrap: wrap; }
.site-card .items-center { align-items: center; }
.site-card .gap-1\.5 { gap: 0.375rem; }
.site-card .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.site-card .card-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  transition: color 0.2s;
}

.site-card:hover .card-name { color: var(--primary); }

.badge-top, .badge-hot {
  font-size: 0.625rem;
  color: #fff;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
}

.badge-top { background: linear-gradient(135deg, #ff7d00, #ffb020); }
.badge-hot { background: linear-gradient(135deg, #f53f3f, #ff7875); }

.badge-sale {
  display: inline-block;
  font-size: 0.625rem;
  color: #fff;
  background: linear-gradient(135deg, #ff7d00, #ffb020);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.badge-custom {
  font-size: 0.625rem;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
}

.card-spec {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin: 0.2rem 0 0;
}

.card-meta {
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.card-price {
  color: #00b42a;
  font-weight: 600;
  font-size: 0.75rem;
}

.card-vendor {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.site-detail-spec {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.site-detail-price {
  color: #00b42a;
  font-weight: 600;
}

.site-detail-price-sub {
  color: var(--text-secondary);
}

.site-detail-vendor {
  color: var(--primary);
}

.card-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.45;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-meta .score { color: var(--accent-orange); font-weight: 600; }

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Icon grid card */
.site-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 0.5rem;
  text-decoration: none;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.25s var(--ease);
}

.site-icon-card:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 119, 255, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.site-icon-card-logo {
  position: relative;
  width: 48px;
  height: 48px;
}

.site-icon-card-logo img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  background: #f2f3f5;
  border: 1px solid var(--border);
}

.site-icon-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 0.55rem;
  color: #fff;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.site-icon-badge.top { background: var(--accent-orange); }
.site-icon-badge.hot { background: var(--accent-red); }

.site-icon-card-name {
  font-size: 0.75rem;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.site-icon-card:hover .site-icon-card-name { color: var(--primary); }

/* Reveal animation */
.reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tag chip (other pages) */
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.8125rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
}

.tag-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(22, 119, 255, 0.06);
  transform: translateY(-1px);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-more {
  font-size: 0.875rem;
  color: var(--primary);
  text-decoration: none;
}

/* 内页网格（分类/搜索等，不依赖 Tailwind 加载顺序） */
.page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .page-grid { grid-template-columns: repeat(3, 1fr); }
}

.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.25rem;
}

.page-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* ThinkPHP Bootstrap 分页：<ul class="pagination"><li>…</li></ul> */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination > li {
  list-style: none;
  margin: 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.125rem;
  min-height: 2.125rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.875rem;
  line-height: 1.2;
  text-decoration: none;
  color: var(--text-secondary);
  background: var(--card);
  box-sizing: border-box;
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination li.active span,
.pagination .current {
  background: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
}

.pagination li.disabled span {
  opacity: 0.45;
  cursor: not-allowed;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.info-card h3 {
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* Footer */
.portal-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 2.5rem 1.25rem 1.5rem;
}

.portal-footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}

.portal-footer-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.portal-footer-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.portal-footer-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
}

.portal-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.portal-footer-links li { margin-bottom: 0.4rem; }

.portal-footer-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.portal-footer-links a:hover { color: var(--primary); }

.portal-footer-bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 收藏按钮 */
.card-fav-btn, .detail-fav-btn {
  border: none;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.15s;
  z-index: 2;
}
.card-fav-btn {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.card-fav-btn.is-active, .detail-fav-btn.is-active { color: #f53f3f; }
.card-fav-btn:hover, .detail-fav-btn:hover { transform: scale(1.08); color: #f53f3f; }
.detail-fav-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* 用户抽屉 */
.portal-user-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portal-user-btn:hover { border-color: var(--primary); color: var(--primary); }
.user-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--card);
  z-index: 200;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  padding: 1.25rem 1rem;
  transition: right 0.3s var(--ease);
  overflow-y: auto;
}
.user-drawer.is-open { right: 0; }
.user-drawer-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 199;
}
.user-drawer-mask.is-open { display: block; }
.user-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.user-drawer-head h4 { margin: 0; font-size: 1rem; }
.user-drawer-head button {
  border: none;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-muted);
}
.user-drawer-section { margin-bottom: 1rem; }
.user-drawer-section h5 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0 0 0.5rem;
}
.user-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.user-drawer-list li { margin-bottom: 0.35rem; }
.user-drawer-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.35rem 0;
}
.user-drawer-list a:hover { color: var(--primary); }
.user-drawer-list img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
}
.user-drawer-empty {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.user-drawer-apply {
  display: block;
  text-align: center;
  margin-top: 1rem;
  padding: 0.55rem;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.875rem;
}

/* 服务商 */
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
}
.vendor-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s var(--ease);
}
.vendor-card:hover {
  border-color: rgba(22, 119, 255, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.vendor-card-logo img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
}
.vendor-card-body { flex: 1; min-width: 0; }
.vendor-card-body strong { display: block; font-size: 0.9375rem; }
.vendor-card-meta, .vendor-card-stat {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.vendor-card-arrow { color: var(--text-muted); font-size: 0.75rem; }

.vendor-wall {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.vendor-wall-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.vendor-wall-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(22, 119, 255, 0.1);
}
.vendor-wall-item img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}
.vendor-wall-item strong { display: block; font-size: 0.9rem; }
.vendor-wall-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.vendor-wall-item .fa-arrow-right {
  margin-left: auto;
  color: var(--primary);
}

/* 比价表 */
.compare-table-wrap {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}
.compare-table th,
.compare-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  background: #f7f8fa;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
.compare-table tbody tr:hover { background: rgba(22, 119, 255, 0.04); }
.compare-spec { max-width: 160px; color: var(--text-muted); }
.compare-price { color: #00b42a; font-weight: 600; }
.compare-score { color: var(--accent-orange); white-space: nowrap; }
.compare-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.compare-link:hover { text-decoration: underline; }

/* 入驻 CTA */
.apply-cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f0f7ff, #fff);
  border: 1px solid rgba(22, 119, 255, 0.2);
  border-radius: var(--radius);
}
.apply-cta h3 { margin: 0 0 0.5rem; font-size: 1.125rem; }
.apply-cta p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.apply-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.portal-cta-btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  background: var(--primary);
  color: #fff !important;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}
.portal-cta-btn:hover { background: var(--primary-dark); }
.apply-cta-secondary {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-decoration: none;
}
.apply-cta-secondary:hover { color: var(--primary); }

.portal-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}
.portal-empty i {
  font-size: 2.5rem;
  opacity: 0.35;
  margin-bottom: 0.75rem;
  display: block;
}

.hidden { display: none !important; }
.inline-flex { display: inline-flex; }

@media (max-width: 900px) {
  .portal-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .portal-menu-toggle { display: flex; align-items: center; justify-content: center; }
  .portal-brand-text { display: none; }
  .portal-search { max-width: none; }
  .portal-search-btn { padding: 0.45rem 0.75rem; }
  .portal-subnav {
    display: none;
    flex-direction: column;
    padding-bottom: 0.75rem;
  }
  .portal-subnav.is-open { display: flex; }
}

@media (min-width: 640px) {
  .sm\:inline-flex { display: inline-flex !important; }
  .sm\:hidden { display: none !important; }
}
