/* One calm icon language for the community and safety actions. */
.support-circle > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 520px;
  gap: 4px;
  padding: 10px;
  border: 1px solid #edd6e2;
  border-radius: 14px;
  background: #fff8fb;
  box-shadow: 0 4px 10px #7f28430a;
}
.support-circle [data-support-action] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 70px;
  padding: 3px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #78284f;
  font-size: 12px;
  line-height: 1.3;
  box-shadow: none;
}
.support-circle [data-support-action] svg { width: 34px; height: 34px; flex: none; }
.support-circle [data-support-action]:hover { background: #f9e8ef; }
.support-circle [data-support-action]:focus-visible { outline: 3px solid #005fcc; outline-offset: 3px; }
.top .foundation-identity { display: contents; }

@media (max-width: 720px) {
  .top { position: relative; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 16px; }
  .top > .brand {
    display: flex !important;
    grid-column: 1 / -1;
    grid-row: 1;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    min-width: 0;
    text-align: center;
  }
  .top .foundation-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(210px, calc(100% - 72px));
    flex: none;
  }
  .top .foundation-emblem { width: 140px; height: 107px; max-width: 100%; flex: none; }
  .top .foundation-emblem .foundation-brand-img { width: 140px !important; height: 140px !important; }
  .top .foundation-lockup { width: 100%; }
  .top .foundation-lockup strong { margin: 0; font-size: 12px !important; line-height: 1.4; }
  .top .brand-mission { margin-top: 5px; max-width: none; font-size: 11px !important; line-height: 1.55; }
  .top .brand-mission b { font-size: 12px; }
  .top > .brand > .brand-domain { width: 190px; max-width: 100%; margin: 6px 0 0 !important; padding-top: 5px; font-size: 12px; }
  .top .mobile-greeting { margin: 7px 0 0; font-size: 20px; line-height: 1.3; }
  .top .header-settings { position: absolute; top: 14px; right: 16px; margin: 0; }
  .header-safety.safety-card { grid-column: 1 / -1; grid-row: 2; }
  .top > .header-spotlights .spotlight-card:first-child { grid-column: 1; }
  .top > .header-spotlights .spotlight-card:last-child { grid-column: 2; }
  .support-circle > div { max-width: none; padding: 10px 6px; gap: 2px; }
  .support-circle [data-support-action] { font-size: 11px; }
  .support-circle [data-support-action] span { max-width: 80px; }
  body.sakhi-large .support-circle [data-support-action] { font-size: 13px; min-height: 84px; }
  .quiet-settings .settings-popover { width: min(275px, calc(100vw - 32px)); }
}

@media (max-width: 360px) {
  .top .foundation-identity { width: calc(100% - 48px); }
  .top .foundation-emblem { width: 130px; height: 100px; }
  .top .foundation-emblem .foundation-brand-img { width: 130px !important; height: 130px !important; }
}
