@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@500;700&family=Sora:wght@300;400;500;600&display=swap');

:root {
  --bg: #f2efe7;
  --surface: #fffdf8;
  --surface-2: #fff7e6;
  --ink: #182327;
  --muted: #5c6b6f;
  --accent: #0f9ea6;
  --accent-dark: #0a6a71;
  --accent-2: #6c7cf5;
  --accent-3: #f07b6a;
  --warm: #f4a261;
  --border: #e1d7c9;
  --shadow: 0 24px 60px rgba(24, 35, 39, 0.12);
  --shadow-soft: 0 14px 30px rgba(24, 35, 39, 0.1);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Sora', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(244, 162, 97, 0.3), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(108, 124, 245, 0.25), transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(15, 158, 166, 0.25), transparent 45%),
    linear-gradient(180deg, #fff6ee 0%, #f3efe8 45%, #e6f3f1 100%);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(24, 35, 39, 0.08) 1px, transparent 0),
    linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent 60%);
  background-size: 28px 28px, 100% 100%;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4, h5 {
  font-family: 'Fraunces', serif;
  margin: 0;
}

p {
  margin: 0;
  line-height: 1.6;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  animation: fadeUp 0.8s ease;
  position: relative;
  overflow-x: hidden;
  z-index: 1;
}

.page::before,
.page::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: 0;
}

.page::before {
  background: radial-gradient(circle, #f4a261 0%, transparent 70%);
  top: -180px;
  right: -120px;
}

.page::after {
  background: radial-gradient(circle, #0f9ea6 0%, transparent 70%);
  bottom: -200px;
  left: -160px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  z-index: 2;
  backdrop-filter: blur(12px);
}

.brand {
  display: grid;
  gap: 4px;
  font-family: 'Fraunces', serif;
}

.brand small {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: 'Sora', sans-serif;
}

.nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  text-decoration: none;
  color: var(--ink);
}

.user-chip__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--warm));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  overflow: hidden;
}

.user-chip__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-chip__info {
  display: grid;
  gap: 2px;
  font-size: 0.78rem;
}

.user-chip__info strong {
  font-size: 0.85rem;
}

.nav__link {
  text-decoration: none;
  color: var(--accent-dark);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.4);
}

.nav__link:hover,
.nav__link--active {
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 8px 16px rgba(15, 158, 166, 0.12);
}

.nav__cta {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  border-color: transparent;
}

.nav__cta:hover {
  color: #fff;
  box-shadow: 0 10px 18px rgba(15, 158, 166, 0.2);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero__content {
  padding: 8px 0;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.hero__lead {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero__chips {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__chips span {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.hero__card {
  background: linear-gradient(150deg, #ffffff, #f3f9f8);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(244, 162, 97, 0.15), rgba(15, 158, 166, 0.12), transparent 70%);
  opacity: 0.8;
  pointer-events: none;
}

.hero__avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent), var(--warm));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 600;
  overflow: hidden;
}

.hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__meta {
  margin-top: 12px;
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero__glow {
  position: absolute;
  inset: auto 0 -40px 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(15, 158, 166, 0.7), rgba(244, 162, 97, 0.7), transparent);
  filter: blur(1px);
  z-index: 0;
  opacity: 0.6;
}

.auth {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.6fr);
  gap: 28px;
  align-items: start;
}

.auth__card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.auth__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.auth__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--accent-dark);
  text-decoration: none;
}

.auth__link:hover {
  text-decoration: underline;
}

.auth__links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.auth__link-form {
  margin: 0;
}

.auth__link-button {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent-dark);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
}

.auth__link-button:hover {
  text-decoration: underline;
}

.auth__tabs button {
  flex: 1;
  background: #f0f4f4;
  color: var(--muted);
  border: 1px solid var(--border);
}

.auth__tabs button.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.auth__note {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.feed-page {
  display: grid;
  gap: 20px;
  position: relative;
}

.feed__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.feed__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 0.68fr);
  gap: 24px;
  align-items: start;
}

.feed__main {
  position: relative;
  padding-top: 90px;
}

.superpower-cloud {
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px;
  pointer-events: none;
  z-index: 2;
}

.superpower-cloud span {
  position: absolute;
  left: var(--x, 20%);
  top: var(--y, 20%);
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--accent-dark);
  box-shadow: 0 16px 30px rgba(15, 158, 166, 0.15);
  backdrop-filter: blur(8px);
  transform: translateY(0) scale(var(--s, 1));
  animation: cloudFloat 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.profile-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 0;
  box-shadow: var(--shadow);
  position: relative;
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.profile-card__cover {
  height: 84px;
  background:
    linear-gradient(120deg, rgba(15, 158, 166, 0.95), rgba(244, 162, 97, 0.9)),
    radial-gradient(circle at 80% 20%, rgba(108, 124, 245, 0.7), transparent 50%);
}

.profile-card__avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  font-weight: 600;
  overflow: hidden;
  border: 4px solid #fff;
  margin: -40px 0 0 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.profile-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card__body {
  padding: 16px 20px 20px;
}

.profile-card__name {
  font-size: 1.15rem;
}

.profile-card__headline {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.profile-card__subtitle {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.profile-card__meta {
  margin-top: 12px;
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

.profile-card__about {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 0.9rem;
  color: var(--ink);
}

.profile-card__stats {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  text-align: center;
}

.profile-card__stats strong {
  display: block;
  font-size: 1.1rem;
}

.profile-card__stats span {
  font-size: 0.75rem;
  color: var(--muted);
}

.feed__sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.feed__list {
  display: grid;
  gap: 18px;
}

.panel {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.78));
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  height: fit-content;
  backdrop-filter: blur(8px);
}

.form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.form__hint {
  font-size: 0.75rem;
  color: var(--muted);
}

.form__hint--warn {
  color: #a5482b;
  font-weight: 500;
}

.password-field {
  position: relative;
  display: grid;
}

.password-field input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  color: var(--muted);
  padding: 0;
}

.password-toggle .icon-hide {
  display: none;
}

.password-toggle.is-visible .icon-show {
  display: none;
}

.password-toggle.is-visible .icon-hide {
  display: block;
}

.password-toggle svg {
  width: 18px;
  height: 18px;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}

input,
textarea {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(15, 158, 166, 0.3);
  border-color: var(--accent);
}

.file span {
  font-size: 0.78rem;
  color: var(--muted);
}

button {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border: none;
  color: #fff;
  padding: 12px 16px;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(15, 158, 166, 0.2);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

button.ghost {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
}

.notice {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  display: block;
}

.notice.success {
  background: #e6f5f4;
  color: #0c6e74;
}

.notice.error {
  background: #ffe9e2;
  color: #a5482b;
}

.notice:empty {
  display: none;
}

.feed__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.post {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 230, 0.85));
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  animation: cardRise 0.6s ease both;
  animation-delay: calc(var(--i, 0) * 0.05s);
  position: relative;
  overflow: hidden;
}

.post::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(244, 162, 97, 0.18), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.post:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 50px rgba(24, 35, 39, 0.16);
}

.post__header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.post__avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--accent-dark);
  border: 1px solid var(--border);
}

.post__date {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.post__team {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}

.post__headline {
  margin: 8px 0 12px;
  font-size: 1.1rem;
}

.post__message {
  font-size: 1rem;
  margin-bottom: 12px;
}

.post__block {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
  box-shadow: 0 10px 20px rgba(24, 35, 39, 0.05);
}

.post__block strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}

.post__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.post__image img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 14px 26px rgba(24, 35, 39, 0.12);
  max-height: 420px;
  object-fit: contain;
  background: #fff;
}

.post__caption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.post__actions {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.post__actions-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.post__actions button {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
}

.empty {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
}

.muted {
  color: var(--muted);
}

.newpost {
  display: grid;
  gap: 24px;
}

.newpost__intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin {
  display: grid;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.admin__hero {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.admin__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.admin__card {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow);
}

.admin__card h3 {
  font-size: 2rem;
  margin-bottom: 6px;
}

.admin__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.admin__panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.admin__tabs {
  display: flex;
  gap: 12px;
}

.admin__form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.admin__form input,
.admin__form textarea,
.admin__form select {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: 'Sora', sans-serif;
}

.admin__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.admin__table {
  overflow-x: auto;
  margin-top: 12px;
}

.admin__table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.admin__table th,
.admin__table td {
  border-bottom: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  font-size: 0.9rem;
}

.admin__table th {
  color: var(--muted);
  font-weight: 600;
}

.inline {
  display: inline;
}

.admin__panel ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
}

.admin__panel li {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
}

.admin__panel li span {
  font-size: 0.85rem;
  color: var(--muted);
}

.admin__panel li em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--accent-dark);
}

.newpost__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr);
  gap: 24px;
  align-items: start;
}

.newpost__aside {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  height: fit-content;
}

.newpost .form textarea {
  resize: none;
  overflow: hidden;
}

.newpost__card {
  margin-top: 20px;
  padding: 14px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.preview-card {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.post--preview {
  box-shadow: var(--shadow-soft);
}

.tiplist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.tiplist li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.is-hidden {
  display: none;
}

.profile-page {
  display: grid;
  gap: 24px;
}

.profile__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.profile__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.5fr);
  gap: 24px;
  align-items: start;
}

.profile__card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  text-align: center;
}

.profile__avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent), var(--warm));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile__bio {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cloudFloat {
  0% {
    transform: translateY(0) scale(var(--s, 1));
  }
  50% {
    transform: translateY(-10px) scale(var(--s, 1));
  }
  100% {
    transform: translateY(0) scale(var(--s, 1));
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .auth {
    grid-template-columns: 1fr;
  }

  .feed__layout {
    grid-template-columns: 1fr;
  }

  .feed__main {
    padding-top: 70px;
  }

  .profile-card {
    position: relative;
    top: 0;
  }

  .newpost__grid {
    grid-template-columns: 1fr;
  }

  .profile__grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar__right {
    width: 100%;
    justify-content: space-between;
  }

  .admin__stats {
    grid-template-columns: 1fr;
  }

  .admin__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 24px 16px 60px;
  }

  .hero__card {
    flex-direction: column;
    align-items: flex-start;
  }

  .post__actions {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .feed__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .user-chip__info {
    display: none;
  }

  .feed__main {
    padding-top: 60px;
  }

  .newpost__intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile__head {
    flex-direction: column;
    align-items: flex-start;
  }
}
