.auth-body {
  background:
    linear-gradient(135deg, rgba(46, 204, 113, 0.13), transparent 34%),
    var(--bg);
}

.auth-main {
  min-height: calc(100vh - 76px);
}

.auth-shell,
.dashboard-shell {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: 70px 0;
}

.auth-shell {
  display: grid;
  place-items: center;
}

.auth-card,
.dashboard-hero,
.dashboard-grid article,
.recent-card,
.profile-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
}

.auth-card {
  width: min(100%, 520px);
  padding: clamp(24px, 5vw, 42px);
  animation: fadeUp 0.32s ease both;
}

.auth-card-wide {
  width: min(100%, 760px);
}

.auth-card h1,
.dashboard-hero h1,
.profile-card h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.02;
}

.auth-lede,
.dashboard-hero p,
.recent-card p {
  color: var(--muted);
  line-height: 1.62;
}

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

.auth-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
}

.auth-row,
.check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.check-row {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--primary);
}

.auth-row a,
.auth-switch a {
  color: var(--primary);
  font-weight: 900;
}

.auth-button,
.nav-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(30, 130, 76, 0.22);
}

.auth-button {
  width: 100%;
}

.auth-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.auth-link-button {
  margin-top: 10px;
}

.secondary-auth-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.danger-auth-button {
  background: var(--red);
}

.nav-logout {
  width: auto;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
}

.auth-message {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-weight: 850;
  line-height: 1.45;
}

.auth-message-error {
  color: #7c2018;
  background: #fff0ee;
  border-color: #ffd1cc;
}

.auth-message-warning {
  color: #634100;
  background: #fff6db;
  border-color: #ffe2a3;
}

.auth-message-success {
  color: #0c4b2c;
  background: #e5f8ed;
  border-color: #bfe8cf;
}

.auth-switch {
  margin: 22px 0 0;
  color: var(--muted);
  text-align: center;
}

.success-card {
  text-align: center;
}

.success-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #e5f8ed;
  color: var(--primary);
  font-size: 2rem;
  font-weight: 950;
}

.auth-highlight {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #eef7f1;
  color: var(--ink);
  font-weight: 900;
}

.dashboard-shell {
  display: grid;
  gap: 24px;
}

.dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 5vw, 42px);
}

.dashboard-search {
  width: auto;
  min-width: 180px;
}

.hero-actions,
.section-heading-row,
.page-heading,
.card-title-row,
.pagination-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.page-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
}

.compact-button {
  width: auto;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

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

.dashboard-grid article,
.recent-card,
.profile-card {
  padding: 24px;
}

.dashboard-grid span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #e8f7ee;
  font-size: 1.25rem;
}

.dashboard-grid h2,
.recent-card h2 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.dashboard-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.dashboard-card-link {
  display: block;
  height: 100%;
}

.dashboard-card-link article {
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-card-link:hover article {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-body {
  display: grid;
  gap: 8px;
  margin: 12px 0 16px;
}

.card-body p,
.mini-row span,
.management-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.text-action {
  color: var(--primary);
  font-weight: 900;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.stat-card strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.dashboard-loading,
.dashboard-toast,
.empty-state {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--muted);
  font-weight: 850;
}

.dashboard-toast-success {
  color: #0c4b2c;
  background: #e5f8ed;
  border-color: #bfe8cf;
}

.dashboard-toast-error {
  color: #7c2018;
  background: #fff0ee;
  border-color: #ffd1cc;
}

.mini-list,
.management-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.mini-row,
.management-card,
.notification-preferences,
.planner-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.mini-row {
  grid-template-columns: minmax(160px, 0.5fr) 1fr auto;
  align-items: center;
}

.management-card {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.management-card h2,
.profile-card h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.row-actions a,
.row-actions button,
.pagination-row button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.row-actions a:first-child {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.management-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 220px) auto;
  gap: 12px;
}

.management-toolbar input,
.management-toolbar select,
.planner-panel input,
.planner-panel select,
.profile-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}

.notification-preferences {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.notification-preferences label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 850;
}

.notification-preferences input {
  min-height: 38px;
  accent-color: var(--primary);
}

.notification-preferences input[data-airport-input] {
  width: 100%;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}

.notification-preferences input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
}

.notification-preferences select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.notification-preferences .airport-picker {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 7px;
}

.airport-picker > span {
  color: var(--muted);
  font-weight: 850;
}

.airport-suggestions {
  position: absolute;
  z-index: 25;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  max-height: 248px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.airport-suggestions button,
.airport-suggestion-empty {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.airport-suggestions button {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.airport-suggestions button:hover,
.airport-suggestions button:focus-visible {
  background: #eef7f1;
  outline: none;
}

.airport-suggestions button:last-child {
  border-bottom: 0;
}

.airport-suggestions strong {
  color: var(--primary);
  font-weight: 950;
}

.airport-suggestions span,
.airport-suggestion-empty {
  color: var(--muted);
  font-weight: 800;
}

.unread-card {
  border-color: #bfe8cf;
  background: #fbfffd;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef5f1;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
}

.status-triggered {
  background: #fff6db;
  color: var(--amber);
}

.status-disabled {
  background: #f2f3f2;
  color: var(--muted);
}

.planner-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.planner-panel label,
.profile-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
}

.full-span {
  grid-column: 1 / -1;
}

.profile-card {
  max-width: 820px;
  margin: 0 auto;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.profile-layout .profile-card {
  width: 100%;
  max-width: none;
}

.profile-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.profile-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfdfc;
}

.profile-list dt {
  color: var(--muted);
  font-weight: 850;
}

.profile-list dd {
  margin: 0;
  font-weight: 900;
}

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

.stacked-actions {
  grid-template-columns: 1fr;
}

.profile-account-form {
  display: grid;
  gap: 28px;
}

.profile-section {
  display: grid;
  gap: 18px;
}

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

.profile-photo-manager {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfc;
}

.profile-avatar-large {
  display: inline-grid;
  place-items: center;
  width: 132px;
  height: 132px;
  overflow: hidden;
  border: 4px solid #e8f7ee;
  border-radius: 50%;
  background: #dff4e7;
  color: var(--primary);
  font-size: 2.8rem;
  font-weight: 950;
  box-shadow: var(--shadow-sm);
}

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

.profile-save-button {
  min-height: 58px;
  font-size: 1.02rem;
}

.lounge-shell {
  width: min(100% - 32px, 980px);
}

.lounge-composer,
.lounge-post,
.lounge-profile-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

.lounge-composer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px;
}

.lounge-composer form {
  display: grid;
  gap: 14px;
}

.lounge-composer textarea {
  min-height: 116px;
}

.lounge-composer label > span {
  color: var(--ink);
  font-size: 1.08rem;
}

.lounge-composer-actions,
.lounge-action-row,
.lounge-post-header,
.lounge-post-actions,
.lounge-comment-meta,
.lounge-comment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.lounge-composer-actions,
.lounge-post-header,
.lounge-post-actions {
  justify-content: space-between;
}

.lounge-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid #cfe3d7;
  border-radius: 50%;
  background: #e8f7ee;
  color: var(--primary);
  font-weight: 950;
}

.lounge-avatar-small {
  width: 34px;
  height: 34px;
  font-size: 0.86rem;
}

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

.lounge-photo-preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(64px, 1fr));
  gap: 10px;
}

.lounge-photo-preview button {
  position: relative;
  min-height: 92px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}

.lounge-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lounge-photo-preview span {
  position: absolute;
  top: 6px;
  right: 6px;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(19, 32, 25, 0.78);
  color: #fff;
}

.lounge-toolbar {
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px) auto;
}

.lounge-active-filter {
  padding: 12px 14px;
  border: 1px solid #bfe8cf;
  border-radius: var(--radius-sm);
  background: #f3fbf6;
  color: var(--muted);
  font-weight: 850;
}

.lounge-feed {
  display: grid;
  gap: 16px;
}

.lounge-post {
  padding: 18px;
  animation: fadeUp 0.28s ease both;
}

.lounge-author {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.lounge-author strong,
.lounge-author small {
  display: block;
}

.lounge-author small,
.lounge-post-meta,
.lounge-comment-meta,
.lounge-comment-actions {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.reputation-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef5f1;
  color: var(--primary);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 950;
  vertical-align: middle;
}

.reputation-explorer {
  background: #e8f1ff;
  color: #2556a3;
}

.reputation-frequent-flyer {
  background: #fff4d6;
  color: #7a4f00;
}

.reputation-travel-expert {
  background: #e7f8f7;
  color: #0d6761;
}

.reputation-gowild-pro {
  background: #fff0d9;
  color: #9b4d00;
}

.reputation-community-leader {
  background: #f2ecff;
  color: #6540b8;
}

.lounge-post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.lounge-post-meta button,
.lounge-post-actions button,
.lounge-comment-meta button,
.lounge-comment-actions button,
.hashtag-link {
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-weight: 900;
}

.lounge-post-text {
  margin: 16px 0;
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.hashtag-link {
  display: inline;
  min-height: 0;
  vertical-align: baseline;
}

.lounge-gallery {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.lounge-gallery-1 {
  grid-template-columns: 1fr;
}

.lounge-gallery-2,
.lounge-gallery-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lounge-gallery-3,
.lounge-gallery-5 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.lounge-gallery-3 .lounge-gallery-item,
.lounge-gallery-5 .lounge-gallery-item {
  grid-column: span 3;
}

.lounge-gallery-5 .lounge-gallery-item:nth-child(n+3) {
  grid-column: span 2;
}

.lounge-gallery-item {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-sm);
  background: #eef5f1;
  cursor: zoom-in;
}

.lounge-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.lounge-gallery-1 img {
  height: min(520px, 56vw);
}

.lounge-post-actions {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.lounge-post-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
}

.lounge-post-actions button.active {
  border-color: #ffcad0;
  background: #fff1f3;
  color: #a52335;
}

.lounge-comments {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.lounge-comment-list {
  display: grid;
  gap: 10px;
}

.lounge-comment {
  display: grid;
  gap: 10px;
  margin-left: calc(var(--reply-depth, 0) * 22px);
}

.lounge-comment-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfdfc;
}

.lounge-comment p {
  margin: 6px 0;
  color: var(--ink);
  line-height: 1.55;
  white-space: pre-wrap;
}

.lounge-comment-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.lounge-comment-form input {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.lounge-reply-form {
  margin-top: 8px;
}

.lounge-skeletons {
  display: grid;
  gap: 14px;
}

.lounge-skeletons div {
  height: 160px;
  border-radius: 24px;
  background: linear-gradient(90deg, #eef5f1, #fff, #eef5f1);
  background-size: 200% 100%;
  animation: loungeShimmer 1.2s linear infinite;
}

.lounge-load-more {
  justify-self: center;
}

.lounge-profile-modal {
  width: min(100%, 420px);
}

.lounge-auth-modal {
  width: min(100%, 520px);
}

.lounge-auth-card {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.lounge-auth-card h2 {
  margin: 0;
  font-size: 1.6rem;
}

.lounge-auth-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.lounge-auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.lounge-lightbox-backdrop {
  z-index: 80;
  background: rgba(10, 18, 14, 0.84);
}

.lounge-lightbox {
  position: relative;
  display: grid;
  place-items: center;
  width: min(96vw, 1100px);
  height: min(90vh, 760px);
}

.lounge-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-sm);
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}

.lounge-lightbox-arrow {
  position: absolute;
  top: 50%;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 2rem;
  cursor: pointer;
}

.lounge-lightbox-prev {
  left: 12px;
}

.lounge-lightbox-next {
  right: 12px;
}

.lounge-profile-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
  box-shadow: none;
}

.lounge-profile-card .lounge-avatar {
  width: 84px;
  height: 84px;
  font-size: 1.8rem;
}

.lounge-profile-card h2 {
  margin: 0;
  font-size: 1.6rem;
}

.lounge-profile-card p {
  margin: 0;
  color: var(--primary);
  font-weight: 900;
}

.lounge-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.lounge-profile-stats span {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.lounge-profile-stats strong {
  display: block;
  color: var(--ink);
}

@keyframes loungeShimmer {
  to {
    background-position: -200% 0;
  }
}

@media (max-width: 820px) {
  .auth-shell,
  .dashboard-shell {
    width: min(100% - 24px, 720px);
    padding: 44px 0;
  }

  .auth-two-col,
  .dashboard-grid,
  .profile-actions,
  .profile-field-grid,
  .stat-grid,
  .management-toolbar,
  .lounge-toolbar,
  .notification-preferences,
  .planner-panel,
  .profile-layout,
  .mini-row,
  .management-card,
  .lounge-composer,
  .lounge-comment-form,
  .lounge-profile-stats {
    grid-template-columns: 1fr;
  }

  .dashboard-hero,
  .page-heading,
  .section-heading-row {
    display: grid;
  }

  .dashboard-search,
  .compact-button,
  .lounge-action-row .auth-button {
    width: 100%;
  }

  .row-actions,
  .hero-actions {
    justify-content: stretch;
  }

  .row-actions a,
  .row-actions button {
    flex: 1 1 140px;
    text-align: center;
  }

  .profile-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .lounge-composer-actions,
  .lounge-action-row,
  .lounge-post-header,
  .lounge-post-actions {
    display: grid;
  }

  .lounge-gallery,
  .lounge-gallery-2,
  .lounge-gallery-3,
  .lounge-gallery-4,
  .lounge-gallery-5 {
    grid-template-columns: 1fr;
  }

  .lounge-gallery img,
  .lounge-gallery-3 .lounge-gallery-item,
  .lounge-gallery-5 .lounge-gallery-item,
  .lounge-gallery-5 .lounge-gallery-item:nth-child(n+3) {
    grid-column: auto;
    height: 220px;
  }

  .lounge-comment {
    margin-left: min(calc(var(--reply-depth, 0) * 12px), 48px);
  }

  .lounge-photo-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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