@font-face {
  font-family: BabyDoll;
  src: url('/media/fontba/Baby Doll.otf') format('opentype');
  font-display: swap;
}
:root {
  --bg: #060607;
  --surface: #111114;
  --surface-2: #18181c;
  --red: #a80f1d;
  --red-bright: #e42b3b;
  --blue: #75a9ff;
  --text: #f7f7f8;
  --muted: #b8b8c2;
  --border: #34343c;
  --success: #36c98f;
  --warning: #ffcb5b;
  --danger: #ff6675;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -15%, rgba(168, 15, 29, 0.25), transparent 38%),
    linear-gradient(180deg, #050506, #0c090a 55%, #070708);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
img {
  max-width: 100%;
}
a {
  color: var(--blue);
}
button,
input,
textarea,
select {
  font: inherit;
}
.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}
.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  overflow: visible;
  margin: 0;
  left: 16px;
  top: 10px;
  z-index: 100;
  background: #fff;
  color: #000;
  padding: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 3, 4, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 11px;
}
.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav > a,
.nav-user > a,
.logout-button {
  color: #eee;
  text-decoration: none;
  font-weight: 700;
  padding: 9px 11px;
  border-radius: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.main-nav > a:hover,
.main-nav > a.active,
.nav-user > a:hover,
.logout-button:hover {
  background: rgba(228, 43, 59, 0.15);
  color: #fff;
}
.nav-user {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-avatar,
.avatar {
  border-radius: 50%;
  object-fit: cover;
  background: #28282f;
  border: 1px solid #484852;
}
.nav-avatar {
  width: 34px;
  height: 34px;
}
.avatar {
  width: 72px;
  height: 72px;
}
.avatar-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--red), #42141a);
  font-weight: 900;
}
.inline-form {
  display: inline;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: #292930;
  color: #eee;
  font-size: 0.77rem;
  font-weight: 800;
}
.pill-admin,
.pill-superadmin {
  background: #72121c;
  color: #fff;
}
.pill-moderator {
  background: #263c68;
  color: #fff;
}
.pill-pending {
  background: #66511b;
}
.pill-approved {
  background: #17583e;
}
.pill-rejected,
.pill-cancelled {
  background: #64212a;
}
.hero {
  min-height: 390px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 78px 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.07), transparent 42%);
}
.hero-content {
  max-width: 900px;
}
.hero h1,
.page-hero h1 {
  font-family: BabyDoll, Arial, sans-serif;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.95;
  margin: 12px 0 0;
  text-shadow:
    3px 3px #000,
    0 0 22px rgba(228, 43, 59, 0.8);
}
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: #e8e8eb;
  max-width: 690px;
  margin: 24px auto 30px;
}
.page-hero {
  padding: 74px 0 34px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
}
.page-hero p {
  color: var(--muted);
  font-size: 1.1rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero .actions {
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #555;
  border-radius: 999px;
  background: #1a1a1e;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: #fff;
}
.btn-primary {
  background: linear-gradient(135deg, #8f0d18, #c81628);
  border-color: #f05160;
  box-shadow: 0 0 24px rgba(200, 22, 40, 0.3);
}
.btn-secondary {
  background: #222228;
}
.btn-danger {
  background: #68141d;
  border-color: #a62a36;
}
.btn-small {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 0.87rem;
}
.link-danger {
  color: var(--danger);
}
main {
  min-height: 58vh;
}
.section {
  padding: 56px 0;
}
.section-tight {
  padding: 26px 0;
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin: 0 0 24px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}
.section-head h2 {
  margin: 0;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  color: #ff7b87;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 900;
  font-size: 0.76rem;
}
.empty {
  padding: 40px;
  text-align: center;
  border: 1px dashed #454550;
  border-radius: var(--radius);
  color: var(--muted);
}
.grid {
  display: grid;
  gap: 22px;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3,
.home-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.home-grid:has(> :only-child) {
  grid-template-columns: minmax(0, 520px);
}
.home-grid:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card {
  background: linear-gradient(180deg, rgba(25, 25, 29, 0.97), rgba(10, 10, 12, 0.97));
  border: 1px solid #34343b;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-body {
  padding: 22px;
}
.card h2,
.card h3 {
  margin-top: 0;
}
.media-card {
  color: #fff;
  text-decoration: none;
}
.media-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #202026;
}
.media-card:hover {
  border-color: #8c2630;
  transform: translateY(-2px);
}
.card-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}
.prose {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 1.06rem;
}
.prose-card {
  padding: clamp(22px, 5vw, 46px);
}
.feature-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) 1.2fr;
}
.feature-card img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.staff-card {
  text-align: center;
}
.staff-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.staff-card .card-body {
  padding: 18px;
}
.staff-card h3 {
  margin-bottom: 4px;
}
.photo-card {
  cursor: pointer;
}
.photo-card img {
  height: 240px;
}
.photo-card button {
  all: unset;
  display: block;
  width: 100%;
}
.flash {
  margin: 18px auto 0;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid;
}
.flash-success {
  background: #113b2d;
  border-color: #247452;
}
.flash-warning {
  background: #3e3111;
  border-color: #755e20;
}
.flash-error {
  background: #43151b;
  border-color: #842631;
}
.form-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(20px, 5vw, 38px);
}
.form-card.wide {
  max-width: 1000px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.field {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}
.field label {
  font-weight: 800;
}
.field small {
  color: var(--muted);
}
input,
textarea,
select {
  width: 100%;
  background: #09090b;
  color: #fff;
  border: 1px solid #45454e;
  border-radius: 10px;
  padding: 12px 13px;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #b72a37;
  outline-offset: 1px;
}
.error-box {
  padding: 12px 15px;
  background: #47171d;
  border: 1px solid #8f2e39;
  border-radius: 10px;
  color: #ffd9dc;
  margin-bottom: 18px;
}
.auth-shell {
  padding: 70px 0;
}
.auth-card {
  max-width: 500px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--border);
}
.google-auth-button {
  width: 100%;
  justify-content: center;
  border-color: #d4d7dc;
  background: #fff;
  color: #202124;
}
.google-auth-button:hover {
  border-color: #fff;
  background: #f5f7fa;
  color: #111;
}
.google-mark {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #4285f4;
  font-weight: 900;
  font-family: Arial, sans-serif;
}
.divider {
  height: 1px;
  background: #33333a;
  margin: 28px 0;
}
.profile-head {
  display: flex;
  align-items: center;
  gap: 22px;
}
.profile-head .avatar {
  width: 112px;
  height: 112px;
}
.profile-name h1 {
  margin: 0;
}
.profile-meta {
  color: var(--muted);
}
.topic-list {
  display: grid;
  gap: 12px;
}
.topic-row,
.category-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  background: #151519;
  border: 1px solid #34343c;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
}
.topic-row:hover,
.category-row:hover {
  border-color: #7e2932;
}
.topic-row h3,
.category-row h2 {
  margin: 0 0 4px;
}
.post {
  display: grid;
  grid-template-columns: 180px 1fr;
  border: 1px solid #37373e;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111114;
}
.post-author {
  padding: 22px;
  background: #17171c;
  text-align: center;
}
.post-author .avatar {
  width: 80px;
  height: 80px;
  margin: auto;
}
.post-content {
  padding: 24px;
  min-width: 0;
}
.post-content .prose {
  min-height: 70px;
}
.post-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.reply-edit {
  margin-top: 15px;
}
.status-banner {
  padding: 14px 18px;
  border-radius: 12px;
  background: #3d3010;
  border: 1px solid #6f581d;
  margin-bottom: 20px;
}
.punishment-banner {
  display: grid;
  gap: 5px;
  border-color: #9b3743;
  background: #43171d;
  color: #ffe1e4;
}
.container.narrow {
  max-width: 920px;
}
.history-hero {
  padding-bottom: 24px;
  text-align: center;
}
.history-hero h1 {
  margin: 8px 0;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
}
.history-timeline {
  position: relative;
  display: grid;
  gap: 30px;
  padding: 10px 0 20px;
}
.history-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 23px;
  width: 2px;
  background: linear-gradient(var(--red-bright), rgba(183, 42, 55, 0.14));
}
.history-entry {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.history-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid #e1505e;
  border-radius: 50%;
  background: #17171b;
  box-shadow: 0 0 0 6px rgba(183, 42, 55, 0.12);
  font-weight: 900;
}
.history-card {
  overflow: hidden;
}
.history-image {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
.history-card-body {
  padding: clamp(20px, 4vw, 34px);
}
.history-card-body time {
  color: #ff7581;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.history-card-body h2 {
  margin: 7px 0 14px;
}
.history-content {
  white-space: pre-line;
  overflow-wrap: anywhere;
  line-height: 1.75;
}
[hidden] {
  display: none !important;
}
.admin-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 28px;
  padding: 36px 0 70px;
}
.admin-nav {
  align-self: start;
  position: sticky;
  top: 100px;
  background: #111114;
  border: 1px solid #323239;
  border-radius: 16px;
  padding: 12px;
}
.admin-nav a {
  display: block;
  color: #ddd;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 9px;
  font-weight: 700;
}
.admin-nav a:hover,
.admin-nav a.active {
  background: #45141a;
  color: #fff;
}
.admin-content {
  min-width: 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.stat {
  padding: 20px;
  background: linear-gradient(145deg, #1b1b20, #101012);
  border: 1px solid #37373f;
  border-radius: 14px;
}
.stat strong {
  display: block;
  font-size: 2rem;
}
.admin-recent,
.settings-section {
  margin-top: 30px;
}
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #34343b;
  border-radius: 14px;
}
table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #111114;
}
th,
td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid #2d2d34;
  vertical-align: top;
}
th {
  background: #1a1a1f;
  color: #eee;
}
tr:last-child td {
  border-bottom: 0;
}
.thumb {
  width: 62px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  background: #222;
}
.search {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.search input {
  max-width: 420px;
}
.danger-zone {
  margin-top: 34px;
  padding: 20px;
  border: 1px solid #73232c;
  background: #281014;
  border-radius: 14px;
}
.superadmin-note {
  padding: 14px;
  background: #341016;
  border: 1px solid #8d2632;
  border-radius: 12px;
}
.submission {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
}
.submission img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin: 18px;
}
.toggle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #111114;
  cursor: pointer;
}
.check-row input {
  width: 20px;
  height: 20px;
  margin: 0;
}
.check-row > span {
  display: grid;
  gap: 3px;
}
.check-row small {
  color: var(--muted);
  font-weight: 400;
}
.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.asset-card {
  min-width: 0;
}
.asset-card img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: #050506;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}
.asset-card .card-body {
  padding: 16px;
}
.asset-card h3 {
  font-size: 1rem;
  min-height: 2.8em;
  margin-bottom: 10px;
}
.asset-card input[type='file'] {
  font-size: 0.85rem;
  padding: 9px;
}
.template-list {
  display: grid;
  gap: 18px;
}
.moderation-notice {
  display: grid;
  gap: 2px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid #6f581d;
  border-radius: 12px;
  background: #3d3010;
}
.moderation-notice span {
  color: #f2e5ba;
}
.profile-password {
  margin-top: 28px;
}
.upload-dialog {
  width: min(560px, calc(100% - 28px));
  color: var(--text);
  background: #121216;
  border: 1px solid #51515c;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
}
.upload-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
}
.upload-dialog h2 {
  margin: 0 40px 10px 0;
}
.dialog-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #292930;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
.upload-progress {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}
.upload-progress progress {
  width: 100%;
  height: 14px;
  accent-color: var(--red-bright);
}
.grid.home-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 320px)) !important;
  justify-content: center;
  align-items: start;
}
.home-grid .media-card {
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
}
.home-grid .media-card img {
  height: 48%;
  min-height: 0;
  flex: 0 0 48%;
  object-fit: cover;
}
.home-grid .media-card .card-body {
  flex: 1;
  padding: 18px;
  overflow: hidden;
}
.home-grid .media-card h3 {
  margin-bottom: 8px;
}
.home-grid .media-card p {
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.admin-content .submission img {
  width: 160px;
  height: 160px;
  margin: 10px;
  object-fit: cover;
}
.admin-content .submission .card-body {
  min-width: 0;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  place-items: center;
  padding: 30px;
}
.lightbox.open {
  display: grid;
}
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 85vh;
  border-radius: 14px;
}
.lightbox-close {
  position: absolute;
  right: 24px;
  top: 18px;
  background: #fff;
  color: #000;
  border: 0;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.4rem;
  cursor: pointer;
}
.site-footer {
  margin-top: 70px;
  padding: 50px 0;
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid #27272d;
  text-align: center;
}
.footer-brand {
  justify-content: center;
  font-size: 1.5rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 20px 0;
}
.footer-links a {
  color: #ddd;
}
.partner-logo {
  width: 110px;
  border-radius: 14px;
}
.footer-small {
  color: var(--muted);
  font-size: 0.88rem;
}
@media (max-width: 960px) {
  .grid-4,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3,
  .home-grid,
  .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .admin-nav a {
    white-space: nowrap;
  }
  .feature-card {
    grid-template-columns: 1fr;
  }
  .feature-card img {
    max-height: 330px;
    width: 100%;
  }
}
@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1180px);
  }
  .nav-shell {
    min-height: 68px;
    flex-wrap: wrap;
    padding-block: 9px;
  }
  .nav-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    width: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 5px 0 14px;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-user {
    flex-wrap: wrap;
  }
  .main-nav > a,
  .nav-user > a,
  .logout-button {
    text-align: left;
    width: 100%;
  }
  .hero {
    min-height: 340px;
    padding: 52px 0;
  }
  .hero h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }
  .page-hero {
    padding: 50px 0 24px;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .home-grid,
  .form-grid,
  .stat-grid,
  .asset-grid,
  .toggle-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 38px 0;
  }
  .post {
    grid-template-columns: 1fr;
  }
  .post-author {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
  }
  .post-author .avatar {
    width: 52px;
    height: 52px;
    margin: 0;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
  }
  .submission {
    grid-template-columns: 1fr;
  }
  .profile-head {
    align-items: flex-start;
  }
  .profile-head .avatar {
    width: 84px;
    height: 84px;
  }
  .topic-row,
  .category-row {
    grid-template-columns: 1fr;
  }
  .table-wrap {
    border-radius: 10px;
  }
  .media-card img {
    height: 210px;
  }
  .actions > .btn {
    flex-grow: 1;
  }
  .upload-dialog {
    padding: 22px;
  }
  .site-footer {
    margin-top: 40px;
  }
  .form-card {
    padding: 20px;
  }
}
@media (max-width: 480px) {
  input,
  textarea,
  select {
    font-size: 16px;
  }
  .hero .actions,
  .hero .actions .btn,
  .search,
  .search .btn {
    width: 100%;
  }
  .search {
    flex-direction: column;
  }
  .media-card img {
    height: 190px;
  }
  .card-body {
    padding: 18px;
  }
  .admin-layout {
    padding-top: 22px;
  }
  .stat {
    padding: 16px;
  }
  .profile-head {
    flex-direction: column;
  }
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
  .history-entry {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }
  .history-marker {
    width: 34px;
    height: 34px;
    font-size: 0.78rem;
  }
  .history-timeline::before {
    left: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
