.circle-page {
  --circle-navy: #153f59;
  --circle-soft-blue: #eef9ff;
  --circle-soft-gold: #fff8dd;
  --circle-soft-coral: #fff0e8;
  --circle-soft-green: #effbea;
}

.circle-shell {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.35rem 0 3.5rem;
}

.circle-hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2.2rem;
  min-height: 360px;
  border: 4px solid rgba(255,255,255,.92);
  border-radius: 38px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,213,79,.38), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(244,143,177,.25), transparent 26%),
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(235,248,255,.92));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.circle-kicker {
  margin: 0 0 .45rem;
  color: var(--coral);
  font-weight: 900;
  letter-spacing: .08em;
  font-size: .82rem;
}

.circle-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: .98;
  color: var(--sky-deep);
}

.circle-hero-copy > p:not(.circle-kicker) {
  max-width: 650px;
  margin: 1rem 0 0;
  font-size: 1.1rem;
  line-height: 1.65;
}

.circle-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.35rem;
}

.circle-hero-card {
  position: relative;
  min-height: 270px;
  display: grid;
  place-items: center;
}

.circle-hero-badge {
  position: relative;
  z-index: 2;
  width: 220px;
  height: 220px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50px;
  border: 5px solid white;
  background:
    linear-gradient(145deg, #ffe16e, #ff9a62 72%);
  box-shadow:
    0 18px 0 rgba(230,74,25,.12),
    0 24px 45px rgba(2,136,209,.15);
  transform: rotate(-3deg);
}

.circle-hero-badge span {
  font-weight: 900;
  letter-spacing: .16em;
  font-size: .78rem;
  color: #8b4e00;
}

.circle-hero-badge strong {
  display: block;
  margin-top: .15rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: white;
  text-shadow: 0 3px 0 rgba(92,55,0,.18);
}

.circle-hero-badge small {
  max-width: 170px;
  margin: .55rem auto 0;
  font-weight: 800;
  color: #694b22;
  line-height: 1.35;
}

.circle-orbit {
  position: absolute;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 3px solid white;
  background: white;
  box-shadow: var(--shadow);
  font-size: 1.75rem;
  animation: floaty 4s ease-in-out infinite;
}

.circle-orbit-one {
  left: 6%;
  top: 10%;
}

.circle-orbit-two {
  right: 4%;
  top: 17%;
  animation-delay: .7s;
}

.circle-orbit-three {
  right: 12%;
  bottom: 6%;
  animation-delay: 1.3s;
}

.circle-notice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0 1.4rem;
  padding: 1rem 1.2rem;
  border-radius: 24px;
  border: 2px solid rgba(246,183,60,.45);
  background:
    linear-gradient(135deg, #fffbe9, #fff3e8);
  box-shadow: 0 10px 24px rgba(126,95,18,.09);
}

.circle-notice-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: white;
  font-size: 1.45rem;
}

.circle-notice h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.circle-notice p:last-child {
  margin: .25rem 0 0;
  color: #557080;
  line-height: 1.45;
}

.circle-text-btn {
  border: 0;
  background: transparent;
  color: var(--sky-deep);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.circle-my-circles-section,
.circle-community-heading {
  margin: 1.7rem 0;
}

.circle-section-heading,
.circle-community-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.circle-section-heading h2,
.circle-community-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
}

.circle-section-heading p:last-child,
.circle-community-heading p:last-child {
  margin: .35rem 0 0;
  color: #557080;
}

.circle-private-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.circle-private-card,
.circle-empty-card {
  min-height: 180px;
  padding: 1.2rem;
  border-radius: 26px;
  border: 3px solid rgba(255,255,255,.94);
  box-shadow: var(--shadow);
  background: var(--panel);
}

.circle-private-card {
  position: relative;
  overflow: hidden;
}

.circle-private-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -45px;
  bottom: -45px;
  border-radius: 50%;
  background: rgba(79,195,247,.12);
}

.circle-private-card h3,
.circle-empty-card h3 {
  margin: .35rem 0;
  font-family: var(--font-display);
}

.circle-private-card p,
.circle-empty-card p {
  margin: .3rem 0 0;
  line-height: 1.45;
  color: #567080;
}

.circle-private-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .8rem;
}

.circle-private-pill {
  padding: .3rem .6rem;
  border-radius: 999px;
  background: rgba(79,195,247,.13);
  font-size: .78rem;
  font-weight: 900;
}

.circle-private-card button {
  margin-top: 1rem;
}

.circle-empty-icon {
  font-size: 2rem;
}

.circle-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 1.2rem;
  align-items: start;
}

.circle-main-column {
  min-width: 0;
}

.circle-composer-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 26px;
  background: var(--panel);
  border: 3px solid rgba(255,255,255,.94);
  box-shadow: var(--shadow);
}

.circle-composer-avatar,
.circle-profile-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  color: white;
  background: linear-gradient(145deg, var(--sky), var(--sky-deep));
  box-shadow: 0 6px 0 rgba(2,119,189,.15);
}

.circle-composer-avatar {
  width: 52px;
  height: 52px;
  font-size: 1.15rem;
}

.circle-composer-prompt {
  width: 100%;
  min-height: 52px;
  padding: .75rem 1rem;
  text-align: left;
  border-radius: 18px;
  border: 3px solid rgba(2,136,209,.13);
  background: #fbfeff;
  color: #708793;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.circle-composer-shortcuts {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.circle-composer-shortcuts button {
  padding: .45rem .7rem;
  border: 0;
  border-radius: 999px;
  background: rgba(79,195,247,.12);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.circle-composer-shortcuts button:nth-child(2) {
  background: rgba(255,213,79,.22);
}

.circle-composer-shortcuts button:nth-child(3) {
  background: rgba(102,187,106,.16);
}

.circle-composer-shortcuts .is-muted {
  background: rgba(26,58,74,.07);
  color: #78909c;
}

.circle-tabs {
  display: flex;
  gap: .45rem;
  overflow-x: auto;
  margin: 1rem 0;
  padding: .35rem;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 2px solid rgba(255,255,255,.9);
  scrollbar-width: thin;
}

.circle-tabs button {
  flex: 0 0 auto;
  padding: .62rem .8rem;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #496778;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.circle-tabs button.active {
  background: var(--sky-deep);
  color: white;
  box-shadow: 0 5px 0 rgba(2,119,189,.16);
}

.circle-feed-status {
  padding: .7rem .2rem;
  color: #6d8795;
  font-weight: 800;
}

.circle-feed {
  display: grid;
  gap: .85rem;
}

.circle-post-card {
  padding: 1.05rem 1.15rem;
  border-radius: 26px;
  border: 3px solid rgba(255,255,255,.94);
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(2,136,209,.1);
}

.circle-post-head {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.circle-post-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg,#e7f8ff,#fff2de);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--sky-deep);
}

.circle-post-author strong {
  display: block;
  font-family: var(--font-display);
}

.circle-post-author small {
  color: #78909c;
  font-weight: 800;
}

.circle-post-type-pill {
  margin-left: auto;
  padding: .3rem .6rem;
  border-radius: 999px;
  background: var(--circle-soft-blue);
  color: var(--sky-deep);
  font-size: .72rem;
  font-weight: 900;
}

.circle-post-card h3 {
  margin: .85rem 0 .35rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
}

.circle-post-body {
  margin: 0;
  color: #36596c;
  line-height: 1.55;
  white-space: pre-wrap;
}

.circle-post-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .8rem;
}

.circle-status-pill {
  padding: .28rem .55rem;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 900;
  background: #f1f7fa;
  color: #617a89;
}

.circle-status-pill.solved {
  background: #e9f8e6;
  color: #2e7d32;
}

.circle-status-pill.pick {
  background: #fff5cf;
  color: #8b6500;
}

.circle-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .85rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(2,136,209,.1);
}

.circle-post-actions button {
  padding: .42rem .58rem;
  border: 0;
  border-radius: 999px;
  background: #f4f9fb;
  color: #496778;
  font: inherit;
  font-size: .82rem;
  font-weight: 900;
  cursor: pointer;
}

.circle-post-actions button:hover {
  background: #e8f6fc;
}

.circle-post-actions .report {
  margin-left: auto;
  color: #9b6250;
}

.circle-post-actions .delete {
  color: #c0392b;
}

.circle-empty-feed {
  padding: 2rem;
  text-align: center;
  border-radius: 28px;
  border: 3px dashed rgba(2,136,209,.2);
  background: rgba(255,255,255,.7);
}

.circle-empty-feed span {
  font-size: 2.3rem;
}

.circle-empty-feed h3 {
  margin: .5rem 0 .2rem;
  font-family: var(--font-display);
}

.circle-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 100px;
}

.circle-profile-card,
.circle-how-points-work {
  padding: 1.15rem;
  border-radius: 26px;
  background: var(--panel);
  border: 3px solid rgba(255,255,255,.94);
  box-shadow: var(--shadow);
}

.circle-profile-top {
  display: flex;
  gap: .8rem;
  align-items: center;
}

.circle-profile-avatar {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  font-size: 1.35rem;
}

.circle-profile-top h2 {
  margin: .1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.circle-member-identity {
  margin: .15rem 0 0;
  color: var(--coral);
  font-size: .82rem;
  font-weight: 900;
}

.circle-reputation-box {
  margin-top: 1rem;
  padding: .95rem;
  text-align: center;
  border-radius: 20px;
  background:
    linear-gradient(145deg, #fff7d4, #eefaff);
  border: 2px solid rgba(246,183,60,.28);
}

.circle-reputation-box span {
  display: block;
  color: #607d8b;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.circle-reputation-box strong {
  display: block;
  margin: .1rem 0;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--coral);
}

.circle-reputation-box small {
  font-weight: 900;
  color: var(--circle-navy);
}

.circle-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .45rem;
  margin-top: .8rem;
}

.circle-profile-stats div {
  padding: .6rem .3rem;
  text-align: center;
  border-radius: 16px;
  background: #f7fbfd;
}

.circle-profile-stats strong {
  display: block;
  font-family: var(--font-display);
  color: var(--sky-deep);
  font-size: 1.2rem;
}

.circle-profile-stats span {
  display: block;
  margin-top: .12rem;
  font-size: .69rem;
  color: #78909c;
  font-weight: 900;
}

.circle-profile-button {
  width: 100%;
  margin-top: .85rem;
}

.circle-how-points-work h3 {
  margin: .2rem 0 .6rem;
  font-family: var(--font-display);
}

.circle-how-points-work ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .5rem;
}

.circle-how-points-work li {
  padding: .55rem .65rem;
  border-radius: 14px;
  background: #f8fbfc;
  line-height: 1.4;
  font-size: .85rem;
  font-weight: 800;
}

/* Dialogs */

.circle-dialog {
  width: min(680px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 0;
  padding: 0;
  border-radius: 28px;
  background: transparent;
}

.circle-dialog::backdrop {
  background: rgba(18,49,66,.5);
  backdrop-filter: blur(5px);
}

.circle-dialog-card {
  position: relative;
  margin: 0;
  padding: 1.4rem;
  background: white;
  border-radius: 28px;
  border: 4px solid rgba(255,255,255,.94);
  box-shadow: 0 25px 60px rgba(11,68,96,.24);
}

.circle-dialog-card h2 {
  margin: .2rem 0;
  font-family: var(--font-display);
}

.circle-dialog-copy {
  margin: .2rem 0 1rem;
  color: #607d8b;
  line-height: 1.45;
}

.circle-dialog-close {
  position: absolute;
  right: .8rem;
  top: .6rem;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f2f7f9;
  color: #587383;
  font-size: 1.45rem;
  cursor: pointer;
}

.circle-dialog-card label {
  margin-top: .75rem;
}

.circle-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: .6rem;
  margin-top: 1rem;
}

.circle-media-preview-note {
  margin-top: .85rem;
  padding: .75rem .85rem;
  border-radius: 16px;
  background: #f8fbfd;
  color: #657d8a;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.45;
}

.circle-rule-list {
  display: grid;
  gap: .65rem;
}

.circle-rule-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .7rem;
  padding: .75rem;
  border-radius: 18px;
  background: #f8fbfd;
}

.circle-rule-list article > span {
  font-size: 1.4rem;
}

.circle-rule-list h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
}

.circle-rule-list p {
  margin: .15rem 0 0;
  color: #607d8b;
  line-height: 1.4;
  font-size: .85rem;
}

.circle-rules-warning {
  padding: .75rem .85rem;
  border-radius: 16px;
  background: #fff3e9;
  color: #895838;
  font-weight: 900;
  line-height: 1.45;
}

.circle-rules-enter {
  width: 100%;
}

.circle-detail-card {
  min-height: 300px;
}

.circle-detail-post {
  padding-right: 2.5rem;
}

.circle-detail-post h2 {
  font-size: 1.55rem;
}

.circle-answer-list {
  display: grid;
  gap: .65rem;
  margin-top: 1rem;
}

.circle-answer {
  padding: .8rem;
  border-radius: 18px;
  background: #f8fbfd;
  border: 2px solid rgba(2,136,209,.08);
}

.circle-answer.accepted {
  background: #effbe9;
  border-color: rgba(76,175,80,.24);
}

.circle-answer-head {
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  font-size: .78rem;
  font-weight: 900;
  color: #66808e;
}

.circle-answer p {
  margin: .45rem 0 0;
  line-height: 1.5;
  white-space: pre-wrap;
}

.circle-answer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .55rem;
}

.circle-answer-actions button {
  border: 0;
  border-radius: 999px;
  padding: .38rem .55rem;
  background: white;
  font: inherit;
  font-size: .75rem;
  font-weight: 900;
  cursor: pointer;
}

.circle-answer-actions .report {
  margin-left: auto;
  color: #9b6250;
}

.circle-answer-actions .delete {
  margin-left: auto;
  color: #c0392b;
}

.circle-answer-form {
  display: grid;
  gap: .6rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px dashed rgba(2,136,209,.14);
}

.circle-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  max-width: 360px;
  padding: .85rem 1rem;
  border-radius: 16px;
  background: #163f58;
  color: white;
  box-shadow: 0 15px 35px rgba(0,0,0,.18);
  font-weight: 900;
  animation: popIn .25s ease both;
}

@media (max-width: 1020px) {
  .circle-layout {
    grid-template-columns: 1fr;
  }

  .circle-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .circle-private-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .circle-shell {
    width: min(100% - 1rem, 1240px);
  }

  .circle-hero {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .circle-hero-card {
    min-height: 230px;
  }

  .circle-notice {
    grid-template-columns: auto 1fr;
  }

  .circle-notice .circle-text-btn {
    grid-column: 2;
    justify-self: start;
  }

  .circle-section-heading,
  .circle-community-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .circle-private-grid {
    grid-template-columns: 1fr;
  }

  .circle-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .circle-composer-card {
    grid-template-columns: auto 1fr;
  }

  .circle-composer-shortcuts {
    grid-column: 1 / -1;
  }

  .circle-dialog-actions {
    flex-direction: column-reverse;
  }

  .circle-dialog-actions .btn {
    width: 100%;
  }
}


/* ============================================================
   CIRCLE NOTIFICATION CENTER
============================================================ */

.circle-notification-nav {
  position: relative;
  display: flex;
  align-items: center;
}

.circle-notification-trigger {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition:
    background .18s ease,
    transform .18s ease;
}

.circle-notification-trigger:hover,
.circle-notification-trigger[aria-expanded="true"] {
  background: rgba(2, 136, 209, .09);
}

.circle-notification-trigger:active {
  transform: scale(.96);
}

.circle-notification-bell {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}

.circle-notification-badge {
  position: absolute;
  top: -4px;
  right: -5px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 999px;
  background: #ef382f;
  color: white;
  font-size: .68rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(239, 56, 47, .25);
}

.circle-notification-panel {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 14px);
  right: -92px;
  width: min(430px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid rgba(21, 63, 89, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .98);
  box-shadow:
    0 22px 60px rgba(25, 63, 84, .18),
    0 4px 14px rgba(25, 63, 84, .08);
  backdrop-filter: blur(14px);
}

.circle-notification-panel::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 102px;
  width: 16px;
  height: 16px;
  border-left: 1px solid rgba(21, 63, 89, .12);
  border-top: 1px solid rgba(21, 63, 89, .12);
  background: white;
  transform: rotate(45deg);
}

.circle-notification-panel[hidden] {
  display: none;
}

.circle-notification-panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: 1rem 1.05rem;
  border-bottom: 1px solid #e7eef2;
  background: rgba(255, 255, 255, .98);
}

.circle-notification-panel-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--ink);
}

.circle-notification-read-all {
  padding: .25rem;
  border: 0;
  background: transparent;
  color: var(--sky-deep);
  font: inherit;
  font-size: .8rem;
  font-weight: 900;
  cursor: pointer;
}

.circle-notification-read-all:disabled {
  color: #a9bac3;
  cursor: default;
}

.circle-notification-list {
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.circle-notification-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 44px minmax(0, 1fr);
  gap: .7rem;
  width: 100%;
  padding: .9rem 1rem;
  border: 0;
  border-bottom: 1px solid #edf2f5;
  background: white;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.circle-notification-item:hover {
  background: #f8fcfe;
}

.circle-notification-item.unread {
  background:
    linear-gradient(
      90deg,
      rgba(238, 249, 255, .9),
      rgba(255, 255, 255, .98) 44%
    );
}

.circle-notification-dot {
  width: 9px;
  height: 9px;
  margin-top: .5rem;
  border-radius: 50%;
  background: transparent;
}

.circle-notification-item.unread .circle-notification-dot {
  background: #2196f3;
  box-shadow: 0 0 0 4px rgba(33, 150, 243, .08);
}

.circle-notification-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef8ff;
  font-size: 1.2rem;
}

.circle-notification-icon.hidden {
  background: #fff0e8;
}

.circle-notification-icon.report {
  background: #eef8ff;
}

.circle-notification-icon.restored {
  background: #e9faef;
}

.circle-notification-icon.coupon {
  background: #fff6e6;
}

.circle-notification-icon.verify {
  background: #fff8e1;
}

.circle-notification-copy {
  min-width: 0;
}

.circle-notification-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: .9rem;
  color: var(--ink);
}

.circle-notification-message {
  display: -webkit-box;
  margin: .24rem 0 0;
  overflow: hidden;
  color: #496778;
  font-size: .8rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.circle-notification-code {
  display: inline-flex;
  margin-top: .4rem;
  padding: .22rem .55rem;
  border-radius: 999px;
  background: #fff3e0;
  color: #c75b12;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.circle-notification-time {
  display: block;
  margin-top: .38rem;
  color: #879ba6;
  font-size: .72rem;
  font-weight: 800;
}

.circle-notification-empty {
  padding: 2rem 1.1rem;
  text-align: center;
  color: #718995;
  font-size: .85rem;
  font-weight: 800;
}

.circle-notification-footer {
  padding: .75rem 1rem;
  text-align: center;
  background: #fbfdfe;
  color: #78909c;
  font-size: .76rem;
  font-weight: 900;
}

@media (max-width: 900px) {
  .circle-notification-panel {
    position: fixed;
    top: 74px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100vh - 96px);
  }

  .circle-notification-panel::before {
    display: none;
  }

  .circle-notification-list {
    max-height: calc(100vh - 210px);
  }
}

@media (max-width: 520px) {
  .circle-notification-trigger {
    width: 38px;
    height: 38px;
  }

  .circle-notification-item {
    grid-template-columns: auto 38px minmax(0, 1fr);
    padding: .8rem;
  }

  .circle-notification-icon {
    width: 38px;
    height: 38px;
  }
}


/* ============================================================
   FINAL NOTIFICATION PREVIEW POLISH
   Bell dropdown = compact preview only.
============================================================ */

/* Never show a zero/hidden unread badge. */
.circle-notification-badge[hidden] {
  display: none !important;
}

/* Full notification actions belong on /circle-notifications.html. */
.circle-notification-read-all {
  display: none !important;
}

/* Keep the preview compact enough to show 3 items + footer/link. */
.circle-notification-list {
  max-height: 410px;
}

/* Prevent any generic utility class from collapsing the
   content_hidden notification icon. */
.circle-notification-icon.hidden {
  display: grid !important;
  visibility: visible !important;
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px;
  background: #fff0e8;
}

/* Make each preview row compact and readable. */
.circle-notification-item {
  grid-template-columns: 9px 44px minmax(0, 1fr);
  align-items: start;
  gap: .7rem;
  padding: .82rem 1rem;
}

.circle-notification-copy {
  display: block;
  min-width: 0;
  width: 100%;
}

.circle-notification-title {
  display: block;
  overflow-wrap: normal;
  word-break: normal;
}

.circle-notification-message {
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}

/* The JS-generated View all notifications link. */
.circle-notification-list > [data-view-all-notifications] {
  position: sticky;
  bottom: 0;
  z-index: 3;
  box-sizing: border-box;
  min-height: 46px;
  margin-top: 0 !important;
  padding: .8rem 1rem !important;
  border-top: 1px solid #e7eef2 !important;
  background: #fbfdfe;
  color: var(--sky-deep) !important;
  font-family: var(--font-display);
  font-size: .84rem !important;
  font-weight: 900 !important;
}

.circle-notification-list > [data-view-all-notifications]:hover {
  background: #eef9ff;
}

@media (max-width: 520px) {
  .circle-notification-icon.hidden {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px;
  }

  .circle-notification-item {
    grid-template-columns: 9px 38px minmax(0, 1fr);
  }
}

.share-center-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 1rem;
}

.share-center-item {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid #e3eef4;
  border-radius: 20px;
  background: #f9fcfd;
  color: #173d54;
  font: inherit;
  cursor: pointer;
}

.share-center-item:hover {
  transform: translateY(-2px);
  border-color: #9fdcff;
}

.share-center-icon {
  font-size: 1.5rem;
}

.share-center-item strong {
  font-family: var(--font-display);
  font-size: .82rem;
}

.share-center-hint {
  margin: .85rem 0 0;
  color: #5a7380;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.45;
}

.share-center-link-box {
  display: flex;
  gap: .5rem;
  margin-top: .85rem;
}

.share-center-link-box input {
  flex: 1;
  min-width: 0;
  border: 2px solid #d7e8ef;
  border-radius: 14px;
  padding: .55rem .7rem;
  font: inherit;
  font-weight: 700;
}

.share-center-message {
  min-height: 1.2em;
  margin-top: .7rem;
  color: #2e7d32;
  font-weight: 800;
}

@media (max-width: 640px) {
  .share-center-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
