/* El Contraataque — unified public app style, August 2026 */
:root,
body[data-theme="light"] {
  --bg: #f4f2ec;
  --panel: #ffffff;
  --panel-2: #f7f5f0;
  --line: rgba(22, 20, 17, 0.1);
  --line-strong: rgba(178, 119, 24, 0.34);
  --text: #111111;
  --muted: #69665f;
  --gold: #c98a24;
  --gold-2: #9c650f;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html,
body,
body[data-theme="light"] {
  background: #f4f2ec;
}

body[data-theme="light"] .phone-frame {
  background: #f4f2ec;
}

.phone-frame {
  overflow: hidden;
  border-color: rgba(17, 17, 17, 0.88);
  border-radius: 2.45rem;
  box-shadow: 0 1.6rem 4rem rgba(28, 22, 14, 0.16);
}

.mobile-content {
  background: #f4f2ec;
}

.screen {
  color: #111;
}

/* Header */
.mobile-header,
body[data-theme="light"] .mobile-header {
  min-height: 4.9rem;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(20, 18, 15, 0.06);
  backdrop-filter: blur(18px);
}

.mobile-header-title .eyebrow {
  color: #9c650f;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.mobile-header-title h2,
.mobile-header h2 {
  margin-top: 0.12rem;
  color: #111;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.icon-button,
body[data-theme="light"] .icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(20, 18, 15, 0.09);
  border-radius: 50%;
  color: #111;
  background: #fff;
  box-shadow: 0 0.4rem 1rem rgba(27, 20, 10, 0.06);
}

.real-madrid-shortcut img {
  width: 1.35rem;
  height: 1.35rem;
}

.whatsapp-header-button,
body[data-theme="light"] .whatsapp-header-button {
  color: #22c968 !important;
  border-color: rgba(20, 18, 15, 0.08) !important;
  background: #ffffff !important;
  box-shadow: 0 0.45rem 1rem rgba(31, 112, 61, 0.1) !important;
}

.whatsapp-header-button svg {
  display: block;
  width: 1.48rem;
  height: 1.48rem;
  fill: currentColor;
  transform: none;
}

.whatsapp-header-button:hover,
.whatsapp-header-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0.55rem 1.15rem rgba(31, 112, 61, 0.14) !important;
}

/* Shared surfaces */
body[data-theme="light"] .status-card,
body[data-theme="light"] .offer-card,
body[data-theme="light"] .product-card,
body[data-theme="light"] .post-card,
body[data-theme="light"] .member-card,
body[data-theme="light"] .join-form,
body[data-theme="light"] .list-row,
body[data-theme="light"] .event-card,
body[data-theme="light"] .ticket-card,
body[data-theme="light"] .detail-copy,
body[data-theme="light"] .detail-meta div,
body[data-theme="light"] .message-card,
body[data-theme="light"] .football-featured,
body[data-theme="light"] .football-section,
body[data-theme="light"] .football-fixture,
body[data-theme="light"] .community-profile-strip,
body[data-theme="light"] .community-channel-card,
body[data-theme="light"] .community-topic-card,
body[data-theme="light"] .membership-active-card,
body[data-theme="light"] .membership-plan-card,
body[data-theme="light"] #screen-draws .draw-list-card {
  --text: #111111;
  --muted: #69665f;
  --line: rgba(22, 20, 17, 0.1);
  --gold: #c98a24;
  --gold-2: #9c650f;
  color: #111 !important;
  border-color: rgba(22, 20, 17, 0.09) !important;
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: 0 0.45rem 1.35rem rgba(52, 41, 23, 0.055);
}

.status-card,
.offer-card,
.product-card,
.post-card,
.event-card,
.ticket-card,
.detail-copy,
.detail-meta div,
.message-card,
.football-featured,
.football-section,
.football-fixture,
.membership-active-card,
.membership-plan-card,
#screen-draws .draw-list-card {
  border-radius: 1rem;
}

body[data-theme="light"] .membership-active-card > strong,
body[data-theme="light"] .membership-plan-head h3,
body[data-theme="light"] .membership-feature-chips span,
body[data-theme="light"] #screen-draws .draw-list-body h3 {
  color: #111 !important;
}

body[data-theme="light"] .membership-plan-head p,
body[data-theme="light"] .membership-plan-head small,
body[data-theme="light"] .membership-plan-description,
body[data-theme="light"] .membership-active-card p,
body[data-theme="light"] .membership-active-card small,
body[data-theme="light"] #screen-draws .draw-list-body p:not(.kicker),
body[data-theme="light"] #screen-draws .draw-list-body small {
  color: #69665f !important;
}

body[data-theme="light"] .membership-plan-head p strong,
body[data-theme="light"] .membership-price,
body[data-theme="light"] .membership-plan-icon,
body[data-theme="light"] .membership-chip-icon,
body[data-theme="light"] .membership-link-icon,
body[data-theme="light"] #screen-draws .draw-list-body .kicker {
  color: #b67817 !important;
}

.membership-plan-card.is-popular {
  border-color: rgba(198, 132, 28, 0.68) !important;
  box-shadow: 0 0 0 1px rgba(198, 132, 28, 0.08), 0 0.5rem 1.4rem rgba(52, 41, 23, 0.06) !important;
}

.membership-popular {
  color: #7d510c;
  background: #fff5dc;
}

/* Buttons */
.primary-action,
body[data-theme="light"] .primary-action,
body[data-theme="light"] .membership-plan-action.primary-action,
body[data-theme="light"] .membership-active-card .primary-action,
body[data-theme="light"] #screen-draws .offer-actions .primary-action {
  border-color: transparent !important;
  color: #fff !important;
  background: linear-gradient(135deg, #d79a38, #bb7814) !important;
  box-shadow: 0 0.35rem 0.85rem rgba(172, 106, 10, 0.15);
  text-shadow: none;
}

.outline-action,
.ghost-action,
body[data-theme="light"] .outline-action,
body[data-theme="light"] .ghost-action,
body[data-theme="light"] #screen-draws .offer-actions .outline-action {
  color: #171512 !important;
  border-color: rgba(23, 21, 18, 0.2) !important;
  background: #ffffff !important;
  box-shadow: none;
}

.primary-action,
.outline-action,
.ghost-action {
  border-radius: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.segmented,
.community-home-tabs,
.football-season-switcher,
.football-competition-tabs {
  border-color: rgba(22, 20, 17, 0.09);
  background: #fff;
  box-shadow: 0 0.35rem 1rem rgba(52, 41, 23, 0.04);
}

.segmented button.is-selected,
.community-home-tabs button.is-selected {
  color: #a56b0f;
}

/* Home */
#screen-home > .section-title,
#screen-home > .home-benefit-grid,
#screen-home .home-instagram-panel {
  display: none !important;
}

#screen-home {
  padding-top: 0.2rem;
}

.home-hero-card,
body[data-theme="light"] .home-hero-card {
  position: relative;
  min-height: 14.4rem;
  overflow: hidden;
  border: 0;
  border-radius: 1.15rem;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 7, 8, 0.92) 0%, rgba(7, 7, 8, 0.74) 50%, rgba(7, 7, 8, 0.25) 100%),
    var(--home-hero-image) center/cover no-repeat !important;
  box-shadow: 0 0.75rem 1.6rem rgba(20, 16, 10, 0.14);
}

.home-hero-copy {
  max-width: 73%;
}

.home-hero-copy h3 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(1.72rem, 7vw, 2.15rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.home-hero-copy h3 span {
  color: #e0a13a;
}

.home-hero-copy p {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.8rem;
  font-weight: 650;
}

.home-hero-actions {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 0.65rem;
}

.home-hero-actions .outline-action {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.48) !important;
  background: rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(6px);
}

.home-live-metrics {
  gap: 0;
  margin: 0.75rem 0 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(22, 20, 17, 0.08);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.5rem 1.25rem rgba(52, 41, 23, 0.05);
}

.home-live-metrics button,
body[data-theme="light"] .home-live-metrics button {
  min-height: 5.25rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-live-metrics button + button {
  border-left: 1px solid rgba(22, 20, 17, 0.08);
}

.home-live-metrics span {
  color: #111;
  font-size: 1.18rem;
}

.home-live-metrics strong {
  color: #111;
  font-size: 1.22rem;
  font-weight: 900;
}

.home-live-metrics small {
  color: #3f3c37;
  font-size: 0.62rem;
  font-weight: 650;
  text-transform: none;
}

.home-dashboard-stack {
  display: grid;
  gap: 0.75rem;
}

.home-section-card,
.home-v2-block {
  border: 1px solid rgba(22, 20, 17, 0.08);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.45rem 1.25rem rgba(52, 41, 23, 0.05);
}

.home-section-card {
  padding: 0.85rem;
}

.home-section-head,
.home-v2-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.home-section-head h3,
.home-v2-section-title strong {
  margin: 0;
  color: #171512;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home-section-head > button,
.home-v2-section-title > button {
  border: 0;
  color: #a56b0f;
  background: transparent;
  font-size: 0.65rem;
  font-weight: 850;
  text-transform: uppercase;
}

.home-v2-match-card .home-match-button {
  border: 0;
  background: transparent;
}

.home-match-team strong,
.home-match-vs {
  color: #111;
}

.home-match-meta {
  color: #5e5a53;
}

.home-inline-actions {
  gap: 0.55rem;
}

.home-v2-quick-access {
  padding: 0.75rem;
}

.home-v2-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.home-v2-quick-grid > button {
  display: grid;
  min-width: 0;
  min-height: 5.8rem;
  place-items: center;
  align-content: center;
  gap: 0.2rem;
  border: 1px solid rgba(22, 20, 17, 0.07);
  border-radius: 0.85rem;
  color: #111;
  background: #fbfaf7;
  padding: 0.55rem 0.32rem;
  text-align: center;
}

.home-v2-quick-icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: #111;
  font-size: 1.05rem;
}

.home-v2-quick-grid strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.65rem;
  line-height: 1.05;
  text-overflow: ellipsis;
}

.home-v2-quick-grid small {
  max-width: 100%;
  overflow: hidden;
  color: #77726a;
  font-size: 0.52rem;
  line-height: 1.08;
  text-overflow: ellipsis;
}

.home-v2-now-list {
  display: grid;
}

.home-v2-now-row {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(22, 20, 17, 0.08);
}

.home-v2-now-row:first-child {
  border-top: 0;
}

.home-v2-now-icon {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 50%;
  color: #aa6e10;
  background: #fff4df;
  font-size: 1rem;
}

.home-v2-now-row > span:nth-child(2) {
  min-width: 0;
}

.home-v2-now-row em,
.home-v2-now-row strong,
.home-v2-now-row small {
  display: block;
}

.home-v2-now-row em {
  color: #af7418;
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.home-v2-now-row strong {
  margin-top: 0.08rem;
  overflow: hidden;
  color: #171512;
  font-size: 0.73rem;
  line-height: 1.14;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-v2-now-row small {
  margin-top: 0.12rem;
  overflow: hidden;
  color: #77726a;
  font-size: 0.58rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-v2-now-row > button {
  min-height: 2.15rem;
  border: 1px solid rgba(172, 112, 18, 0.24);
  border-radius: 0.62rem;
  color: #3c2b0d;
  background: #fffaf0;
  padding: 0.35rem 0.55rem;
  font-size: 0.58rem;
  font-weight: 750;
  white-space: nowrap;
}

.home-v2-now-row > button b {
  margin-left: 0.2rem;
  color: #af7418;
}

.home-madrid-card {
  background: #fff !important;
}

.home-virtual-cta {
  overflow: hidden;
  border-radius: 1rem;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 7, 8, 0.96), rgba(7, 7, 8, 0.82)),
    var(--home-merch-image) center/cover no-repeat !important;
  box-shadow: 0 0.65rem 1.4rem rgba(20, 16, 10, 0.13);
}

.home-virtual-cta h3,
.home-virtual-cta p,
.home-virtual-cta small {
  color: #fff !important;
}

/* Community — clean Instagram-like discussion */
#screen-community,
#screen-communityPostDetail {
  color: #111;
}

.community-channel-home,
.community-channel-screen,
.community-post-detail {
  color: #111;
}

body[data-theme="light"] #screen-community .community-profile-strip {
  border: 0 !important;
  border-radius: 0.9rem;
  background: #fff !important;
  box-shadow: 0 0.35rem 1rem rgba(52, 41, 23, 0.04);
}

.community-home-tabs {
  display: flex;
  gap: 0;
  margin: 0.6rem 0 0.8rem;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(22, 20, 17, 0.09);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.community-home-tabs button {
  flex: 1;
  min-height: 2.8rem;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #77726a;
  background: transparent;
  font-size: 0.69rem;
  font-weight: 750;
}

.community-home-tabs button.is-selected {
  border-bottom-color: #111;
  color: #111;
  background: transparent;
}

.community-section-head {
  padding-inline: 0.25rem;
}

.community-section-head span {
  color: #9c650f;
}

.community-feed,
.community-channel-list {
  overflow: hidden;
  border: 1px solid rgba(22, 20, 17, 0.08);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.4rem 1.2rem rgba(52, 41, 23, 0.045);
}

body[data-theme="light"] #screen-community .community-topic-card,
body[data-theme="light"] #screen-community .community-channel-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.community-topic-card,
.community-channel-card {
  min-height: 4.8rem;
  padding: 0.78rem 0.85rem;
  border-bottom: 1px solid rgba(22, 20, 17, 0.08) !important;
}

.community-topic-card:last-child,
.community-channel-card:last-child {
  border-bottom: 0 !important;
}

.community-topic-card {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
}

.community-topic-card em {
  padding: 0;
  color: #a56b0f;
  background: transparent;
  font-size: 0.58rem;
  letter-spacing: 0.02em;
}

.community-topic-card strong {
  margin-top: 0.14rem;
  color: #111 !important;
  font-size: 0.86rem;
  line-height: 1.18;
}

.community-topic-card small,
.community-topic-card__activity small {
  color: #77726a !important;
  font-size: 0.63rem;
}

.community-post-detail,
body[data-theme="light"] #screen-communityPostDetail .community-post-detail {
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.community-post-hero {
  overflow: hidden;
  border: 1px solid rgba(22, 20, 17, 0.08);
  border-radius: 1rem;
  box-shadow: 0 0.4rem 1.2rem rgba(52, 41, 23, 0.045);
}

.community-post-detail__body {
  margin-top: 0.65rem;
  border: 1px solid rgba(22, 20, 17, 0.08);
  border-radius: 1rem;
  color: #1b1916;
  background: #fff;
  padding: 0.85rem;
  box-shadow: 0 0.4rem 1.2rem rgba(52, 41, 23, 0.04);
}

.post-comments {
  margin-top: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(22, 20, 17, 0.08);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.45rem 1.25rem rgba(52, 41, 23, 0.05);
}

.post-comments__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  border-bottom: 1px solid rgba(22, 20, 17, 0.08);
  background: #fff;
  padding: 0.65rem 0.8rem;
}

.post-comments__head > span:first-child {
  color: #111;
  font-size: 0.72rem;
  font-weight: 850;
}

.comment-order-switch {
  display: flex;
  justify-content: flex-start;
  gap: 0.25rem;
}

.comment-order-switch button {
  min-height: 2rem;
  border: 0;
  border-radius: 999px;
  color: #77726a;
  background: #f4f2ee;
  padding: 0.3rem 0.62rem;
  font-size: 0.63rem;
  font-weight: 750;
}

.comment-order-switch button.is-selected {
  color: #fff;
  background: #111;
}

.post-comments__head > small,
.community-comment-steps {
  display: none !important;
}

.post-comments__list {
  display: block;
  background: #fff;
}

.post-comment-thread {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.post-comment,
body[data-theme="light"] .post-comment {
  position: relative;
  display: grid;
  grid-template-columns: 2.65rem minmax(0, 1fr);
  gap: 0.7rem;
  width: 100%;
  min-width: 0;
  border: 0 !important;
  border-bottom: 1px solid rgba(22, 20, 17, 0.08) !important;
  border-radius: 0 !important;
  color: #111;
  background: #fff !important;
  padding: 0.78rem 3.15rem 0.78rem 0.8rem !important;
  box-shadow: none !important;
}

.post-comment-thread:last-child .post-comment {
  border-bottom: 0 !important;
}

.post-comment > .avatar {
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(22, 20, 17, 0.08);
  color: #3d3324;
  background: #f0ece4;
  font-size: 0.72rem;
  box-shadow: none;
}

.post-comment > span:nth-child(2) {
  min-width: 0;
}

.post-comment strong {
  color: #111;
  font-size: 0.8rem;
  font-weight: 800;
}

.post-comment small {
  display: inline;
  margin-left: 0.28rem;
  color: #85817a;
  font-size: 0.68rem;
}

.post-comment__body {
  margin: 0.25rem 0 0;
  color: #1a1815;
  font-size: 0.88rem;
  line-height: 1.35;
}

.post-comment__actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.32rem;
}

.post-comment__actions button {
  min-height: auto !important;
  color: #77726a;
  background: transparent;
  padding: 0 !important;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}

.post-comment__actions [data-comment-like] {
  position: absolute;
  top: 0.75rem;
  right: 0.7rem;
  display: grid;
  width: 2.1rem;
  height: 3rem;
  place-items: start center;
  color: #111 !important;
  font-size: 0 !important;
  line-height: 1;
}

.post-comment__actions [data-comment-like]::before {
  content: "♡";
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
}

.post-comment__actions [data-comment-like].is-active::before {
  content: "♥";
  color: #ed1d37;
}

.post-comment__actions [data-comment-like-count] {
  position: absolute;
  top: 1.9rem;
  color: #6e6a64;
  font-size: 0.65rem;
  font-weight: 650;
}

.comment-quote,
.comment-quote--jump {
  border-color: rgba(22, 20, 17, 0.08) !important;
  border-radius: 0.65rem;
  color: #57534c;
  background: #f8f7f4 !important;
}

.community-level-badge {
  color: #5e430f;
  background: #fff4da;
}

.post-comment-form {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(22, 20, 17, 0.08);
  border-radius: 0;
  background: #fff;
  padding: 0.75rem 0.8rem;
}

.post-comment-form textarea {
  border-color: rgba(22, 20, 17, 0.13);
  border-radius: 1rem;
  color: #111;
  background: #faf9f6;
}

.comment-emoji-row {
  overflow-x: auto;
  scrollbar-width: none;
}

.comment-emoji-row::-webkit-scrollbar {
  display: none;
}

.community-comment-pagination {
  border-top: 1px solid rgba(22, 20, 17, 0.08);
  background: #fff;
  padding: 0.65rem 0.8rem;
}

.community-comment-pagination button.is-selected {
  color: #fff;
  background: #111;
}

/* Draws */
body[data-theme="light"] #screen-draws .draw-list-card {
  overflow: hidden;
  padding: 0.7rem;
}

#screen-draws .draw-list-art {
  overflow: hidden;
  border-radius: 0.85rem;
}

body[data-theme="light"] #screen-draws .draw-list-body h3 {
  font-size: 1.02rem;
}

body[data-theme="light"] #screen-draws .offer-actions .primary-action:disabled {
  opacity: 1;
  color: #fff !important;
  background: #c98a24 !important;
}

/* Forms and detail pages */
.module-screen-head h3,
.section-title,
.detail-copy h3,
.product-detail-copy h3,
.football-section__head h3 {
  color: #111 !important;
}

.module-screen-head p,
.detail-copy p,
.product-detail-copy p {
  color: #69665f !important;
}

input,
select,
textarea {
  border-color: rgba(22, 20, 17, 0.13) !important;
  border-radius: 0.72rem;
  color: #111 !important;
  background: #fff !important;
}

.menu-list button,
.mobile-quick-menu button {
  border-color: rgba(22, 20, 17, 0.08);
  color: #111 !important;
  background: #fff !important;
}

/* Bottom navigation */
.bottom-nav,
body[data-theme="light"] .bottom-nav {
  right: 0.55rem;
  bottom: 0.5rem;
  left: 0.55rem;
  min-height: 4.15rem;
  overflow: hidden;
  border: 1px solid rgba(22, 20, 17, 0.09);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.97);
  padding: 0.25rem 0.2rem;
  box-shadow: 0 0.7rem 1.8rem rgba(31, 24, 13, 0.12);
  backdrop-filter: blur(18px);
}

.bottom-nav button {
  min-width: 0;
  border: 0;
  color: #55514a;
  background: transparent;
}

.bottom-nav .nav-icon {
  color: #292622;
  font-size: 0.9rem;
}

.bottom-nav span {
  color: inherit;
  font-size: 0.53rem;
  font-weight: 650;
}

.bottom-nav .is-active,
.bottom-nav .is-active .nav-icon {
  color: #bd7d17;
}

.mobile-menu-fab {
  border-color: rgba(179, 117, 20, 0.28);
  color: #9d650f;
  background: #fff;
  box-shadow: 0 0.55rem 1.2rem rgba(52, 41, 23, 0.09);
}

@media (max-width: 720px) {
  .bottom-nav,
  body[data-theme="light"] .bottom-nav {
    right: calc(0.5rem + env(safe-area-inset-right));
    bottom: calc(0.45rem + env(safe-area-inset-bottom));
    left: calc(0.5rem + env(safe-area-inset-left));
  }

  .mobile-content {
    padding-bottom: calc(var(--mobile-nav-height) + 1.7rem + env(safe-area-inset-bottom));
  }

  .home-hero-card {
    min-height: 13.5rem;
  }

  .home-v2-quick-grid {
    gap: 0.38rem;
  }

  .home-v2-quick-grid > button {
    min-height: 5.35rem;
    padding-inline: 0.2rem;
  }

  .home-v2-now-row {
    grid-template-columns: 2.25rem minmax(0, 1fr) auto;
    gap: 0.5rem;
  }

  .home-v2-now-icon {
    width: 2.1rem;
    height: 2.1rem;
  }

  .post-comments__head {
    grid-template-columns: 1fr;
  }

  .comment-order-switch {
    width: 100%;
  }

  .comment-order-switch button {
    flex: 1;
  }

  .community-topic-card {
    grid-template-columns: 1fr;
  }

  .community-topic-card__activity {
    justify-items: start;
    text-align: left;
  }
}
