/* EXITFEED 1.4: club photography, clear controls and generous room. */
:root { --muted: #aaa6a0; --line: #ffffff17; }
body { font-size: 16px; }
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.mobile-search-button,.mobile-menu-button { display:none; }
.header-actions .icon-button { min-width:44px; min-height:44px; }
.nav-link.active { background:#f0b46f0d; border-color:#efb36e25; }
.nav-link,.lane { min-height:46px; }
.user-link strong { font-size:15px; }
.user-link small { color:#b7afa5; font-size:13px; }
.post-style { color:#d2c4b3; font-size:13px; }
.post-card { border-color:#ffffff16; box-shadow:0 4px 20px #00000016; }
.post-photo { aspect-ratio:4 / 3; }
.post-photo>img { transition:transform .35s ease; }
.post-actions { padding:12px 16px 8px; }
.post-actions .icon-button { min-width:44px; min-height:44px; gap:8px; }
.caption { color:#d6d0c8; line-height:1.75; font-size:16px; margin-top:4px; }
.caption strong { font-size:15px; color:var(--text); }
.caption-collapsed { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.caption-more { margin:-12px 18px 14px; padding:4px 0; min-height:36px; color:var(--accent); font-size:14px; font-weight:650; }
.caption-more:hover { color:#ffcc93; }
.member-welcome { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:44px; align-items:center; padding:14px 0 34px; margin-bottom:24px; border-bottom:1px solid var(--line); }
.member-welcome h1 { font-size:clamp(38px,4vw,66px); margin:12px 0 18px; letter-spacing:-.05em; }
.member-welcome p { font-size:17px; max-width:48ch; margin-bottom:24px; line-height:1.65; }
.member-welcome .eyebrow { font-size:13px; color:#c6b7a5; }
.welcome-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.welcome-garage { position:relative; display:block; background:var(--panel); border:1px solid var(--line); border-radius:14px; overflow:hidden; transition:border-color .2s; }
.welcome-garage:hover { border-color:#efb36e69; }
.welcome-garage-photo { height:110px; overflow:hidden; }
.welcome-garage-photo>img { width:100%; height:100%; object-fit:cover; }
.welcome-garage-label { display:flex; align-items:center; gap:12px; padding:18px; }
.welcome-garage-label>span:not(.avatar) { min-width:0; flex:1; }
.welcome-garage-label small { display:block; color:var(--muted); font-size:12px; letter-spacing:.1em; margin-bottom:4px; }
.welcome-garage-label strong { display:block; font-size:15px; overflow-wrap:anywhere; color:var(--text); }
.discovery-tile { min-height:104px; }
.feed-tabs a { min-height:44px; display:inline-flex; align-items:center; }
.chip { min-height:42px; font-size:14px; padding:9px 16px; }
.chips { gap:10px; }
.feed-utilities { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin:-6px 0 26px; }
#feed-status { font-size:14px; color:var(--muted); margin:0; }
.view-switch { display:flex; align-items:center; background:#181719; border:1px solid var(--line); padding:4px; border-radius:10px; gap:4px; }
.view-switch button { display:flex; align-items:center; justify-content:center; gap:8px; min-height:38px; font-size:13px; padding:8px 12px; border-radius:7px; color:var(--muted); }
.view-switch .icon { width:17px; height:17px; }
.view-switch button[aria-pressed=true] { background:#33302b; color:#f5e5d2; box-shadow:0 1px 3px #00000020; }
html[data-feed-view=large] .posts-grid { grid-template-columns:minmax(0,1fr); }
html[data-feed-view=large] .post-photo { aspect-ratio:16 / 9; }
html[data-feed-view=large] .post-user { padding:22px; }
html[data-feed-view=large] .car-label strong { font-size:clamp(24px,3vw,40px); }
html[data-feed-view=large] .caption { max-width:85ch; }
.settings-card[id] { scroll-margin-top:115px; }
.settings-card>p,.settings-avatar p { font-size:15px; line-height:1.75; }
.settings-card h2 { font-size:24px; font-weight:650; }
.settings-card.danger { border-color:#ba766135; background:#201a18; }
.settings-card.danger .button { color:#edb7a4; border-color:#b9836b57; }
label { font-size:15px; }
input,textarea,select { font-size:16px; }
.password-control { display:block; position:relative; width:100%; }
.password-control>input { width:100%; padding-right:54px; }
.password-toggle { position:absolute; right:5px; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:7px; display:flex; align-items:center; justify-content:center; color:#b2a89a; }
.password-toggle:hover,.password-toggle[aria-pressed=true] { color:var(--accent); background:#ffffff08; }
.form-error:not(:empty) { padding:12px 14px; background:#46211d55; border:1px solid #f29b8050; border-radius:8px; font-size:15px; }
.status-chip { border-radius:6px; color:#e5d5bd; background:#b8935010; }
.garage-cover { height:clamp(230px,24vw,390px); }
.garage-cover .eyebrow { font-size:13px; }
.garage-info>p:not(.garage-handle) { font-size:16px; color:#c8bfb3; line-height:1.75; max-width:60ch; }
.garage-stats { gap:30px; flex-wrap:wrap; padding-top:10px; }
.garage-controls { min-width:0; flex-wrap:wrap; gap:10px; justify-content:flex-start; align-items:flex-start; }
.detail-media { min-width:0; background:#0c0c0e; }
.detail-media .detail-image { min-height:0; aspect-ratio:4 / 3; }
.detail-media .detail-image>img { height:100%; object-fit:contain; }
.photo-expand { position:absolute; top:16px; right:16px; display:flex; gap:8px; align-items:center; padding:10px 14px; min-height:44px; border-radius:8px; border:1px solid #ffffff30; background:#181615e8; font-size:14px; color:#f7eddf; }
.photo-expand .icon { width:18px; height:18px; }
.photo-thumbs { display:flex; gap:10px; padding:16px; flex-wrap:wrap; }
.photo-thumbs button { width:70px; height:58px; border:2px solid transparent; padding:3px; border-radius:8px; opacity:.6; }
.photo-thumbs button[aria-pressed=true] { opacity:1; border-color:var(--accent); }
.photo-thumbs button:hover { opacity:1; }
.photo-thumbs img { width:100%; height:100%; object-fit:cover; border-radius:4px; }
.detail-copy { border-left:1px solid var(--line); }
.detail-caption { font-size:16px; color:#d0c8bf; }
.photo-viewer { width:min(1480px,96vw); max-width:none; padding:24px; }
.photo-viewer .modal-head h2 { font-size:22px; }
.viewer-image { background:#0b0b0c; border-radius:8px; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.viewer-image img { width:100%; height:65dvh; object-fit:contain; }
.viewer-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:16px; flex-wrap:wrap; }
.viewer-footer p { font-size:14px; margin:0; }
.viewer-controls { display:flex; align-items:center; gap:16px; }
.viewer-controls .icon-button { min-height:44px; min-width:44px; }
.viewer-controls button:first-child .icon { transform:rotate(180deg); }
#viewer-counter { font-size:14px; min-width:50px; text-align:center; }
.menu-identity { display:flex; align-items:center; gap:14px; padding:0 0 24px; }
.menu-identity strong { display:block; font-size:17px; overflow-wrap:anywhere; }
.menu-identity span { display:block; color:var(--muted); font-size:14px; margin-top:4px; }
.menu-identity .avatar { width:48px; height:48px; }
.mobile-menu-links { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.mobile-menu-links a { display:flex; align-items:center; gap:12px; min-height:56px; border:1px solid var(--line); border-radius:9px; padding:12px; font-size:15px; }
.mobile-menu-links a>span { flex:1; }
.mobile-menu-links a>.icon:last-child { width:16px; color:var(--muted); }
.mobile-menu-links a.active { color:var(--accent); background:#efb36e0c; border-color:#efb36e40; }
.menu-styles { border-top:1px solid var(--line); margin-top:24px; padding-top:22px; }
.menu-styles .eyebrow { font-size:12px; color:var(--muted); }
.menu-styles .chips { margin:16px 0 24px; flex-wrap:wrap; }
.menu-styles .chip { display:flex; align-items:center; font-size:14px; }
.page-loading { padding:20px 0; }
.loading-label { display:block; font-size:15px; color:var(--muted); margin-bottom:24px; }
.skeleton-title { width:40%; min-width:150px; height:28px; background:#ffffff08; border-radius:6px; margin-bottom:30px; }
.skeleton-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.skeleton-card { border:1px solid var(--line); padding:18px; border-radius:12px; }
.skeleton-card div { aspect-ratio:4 / 3; background:#ffffff06; border-radius:8px; margin-bottom:18px; }
.skeleton-card span { display:block; background:#ffffff08; height:12px; width:75%; border-radius:4px; margin:12px 0; }
.skeleton-card span:last-child { width:45%; }
#toast { background:#28231d; border-color:#d5aa694f; box-shadow:0 10px 30px #0005; }
@media(min-width:1201px) { .feed-aside { position:sticky; top:116px; align-self:start; } }
@media(max-width:1100px) { .member-welcome { grid-template-columns:minmax(0,1fr) 250px; gap:24px; } }
@media(max-width:800px) {
 .mobile-menu-button { display:flex; }
 .header-actions>[data-action=activity],.header-actions>[data-action=upload] { display:none; }
 .member-welcome { grid-template-columns:minmax(0,1fr); padding-top:8px; gap:24px; }
 .welcome-garage { display:none; }
 .member-welcome h1 { font-size:48px; }
 .member-welcome p { font-size:16px; }
 .detail-copy { border-left:0; border-top:1px solid var(--line); }
 .skeleton-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 #mobile-nav { padding-bottom:env(safe-area-inset-bottom,0px); min-height:calc(70px + env(safe-area-inset-bottom,0px)); }
 #footer { padding-bottom:calc(110px + env(safe-area-inset-bottom,0px)); }
 #toast { bottom:calc(86px + env(safe-area-inset-bottom,0px)); }
}
@media(max-width:540px) {
 body { font-size:16px; }
 .top-inner { padding:0 16px; gap:8px; }
 .wordmark { font-size:27px; }
 .header-actions { gap:4px; }
 .header-actions>.quiet { padding:8px; }
 .header-actions .icon-button { padding:10px; }
 .mobile-search-button { display:flex; }
 .member-welcome { margin-bottom:12px; padding-bottom:24px; }
 .member-welcome h1 { font-size:40px; }
 .member-welcome .eyebrow { font-size:12px; letter-spacing:.13em; }
 .welcome-actions { gap:8px; }
 .welcome-actions .button { font-size:14px; padding:11px 14px; }
 .discovery-strip { gap:10px; }
 .discovery-tile { min-height:92px; }
 .feed-tabs { gap:22px; }
 .feed-tabs a { font-size:15px; }
 .chips { flex-wrap:nowrap; overflow-x:auto; padding:2px 0 12px; margin-bottom:16px; scrollbar-width:thin; scrollbar-color:#6c5140 transparent; }
 .chips .chip { flex-shrink:0; }
 .feed-utilities { margin-bottom:20px; gap:10px; }
 .view-switch button { padding:8px 10px; }
 .post-user { padding:16px; }
 .post-style { font-size:12px; max-width:95px; }
 .post-photo { aspect-ratio:4 / 3; }
 html[data-feed-view=large] .post-photo { aspect-ratio:4 / 3; }
 .post-actions { padding:10px 12px; }
 .caption { font-size:16px; padding:0 16px; }
 .caption-more { margin-left:16px; }
 .garage-cover { height:200px; }
 .garage-cover .eyebrow { letter-spacing:.1em; }
 .garage-body { padding:24px 18px; gap:20px; }
 .garage-info h1 { font-size:32px; }
 .garage-stats { gap:18px; }
 .garage-stats span { font-size:14px; }
 .garage-controls { gap:10px; }
 .garage-controls>.button { flex:1 1 auto; }
 .photo-expand { top:12px; right:12px; padding:10px 12px; }
 .photo-thumbs { gap:8px; padding:12px; }
 .photo-thumbs button { width:56px; height:50px; }
 .photo-viewer { padding:16px; }
 .viewer-image img { height:55dvh; }
 .viewer-footer { padding-top:12px; gap:8px; }
 .viewer-footer p { font-size:13px; }
 .mobile-menu-links { grid-template-columns:minmax(0,1fr); }
 .navigation-dialog { padding:22px; }
 .menu-identity { padding-bottom:18px; }
 .skeleton-grid { grid-template-columns:minmax(0,1fr); }
 .skeleton-card:nth-child(n+2) { display:none; }
}
@media(prefers-reduced-motion:reduce) { .post-photo>img { transition:none; } }

.welcome-garage-label .avatar { flex:0 0 40px; width:40px; height:40px; }
@media(max-width:800px) {
 .member-welcome~.discovery-strip { display:none; }
}
@media(max-width:540px) {
 .garage-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
 .garage-stats span { font-size:12px; }
 .garage-stats strong { display:block; font-size:20px; margin-bottom:4px; }
}

/* EXITFEED 1.5: reliable profile actions and cross-platform finishing. */
html {
  min-height: 100%;
  scrollbar-gutter: stable;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100dvh;
  overflow-x: clip;
}
.button,
.icon-button,
.nav-link,
#mobile-nav a,
#mobile-nav button,
.action-list button {
  min-height: 44px;
}
.garage-header {
  overflow: hidden;
  isolation: isolate;
}
.garage-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
}
.garage-info {
  min-width: 0;
}
.garage-title {
  min-width: 0;
}
.garage-title h1 {
  margin-bottom: 7px;
}
.rank-tag {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  min-width: max-content;
  padding: 4px 9px 4px 5px;
  border: 1px solid #77716a;
  border-radius: 6px;
  background: linear-gradient(135deg, #34302c, #242220);
  color: #eee7de;
  box-shadow: inset 0 1px 0 #ffffff0d, 0 2px 3px #00000024;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .02em;
  vertical-align: middle;
  white-space: nowrap;
}
.rank-tag-admin {
  border-color: #b99158;
  background: linear-gradient(135deg, #4b3721, #302619);
  color: #ffe0ae;
}
.rank-tag-moderator {
  border-color: #827351;
  background: #252119;
  color: #e7d4a5;
}
.rank-tag-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background: #ffffff0a;
}
.rank-tag .icon {
  width: 14px;
  height: 14px;
}
.rank-tag-text {
  display: inline-block;
  flex: none;
}
.user-link .rank-tag,
.comment-identity .rank-tag {
  gap: 4px;
  padding: 2px 7px 2px 3px;
}
.user-link .rank-tag-mark,
.comment-identity .rank-tag-mark {
  flex-basis: 17px;
  width: 17px;
  height: 17px;
}
.garage-bio {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.garage-controls {
  max-width: 420px;
  justify-content: flex-end;
}
.garage-controls .button {
  min-height: 46px;
}
.garage-menu {
  white-space: nowrap;
}
.garage-menu .icon,
.garage-share .icon {
  width: 18px;
  height: 18px;
}

/* Menu actions live above every clipped card and fixed navigation surface. */
.sheet-overlay {
  z-index: 120;
}
.action-sheet {
  width: min(100%, 470px);
  overflow-x: hidden;
}
.sheet-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 20px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff05;
}
.sheet-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border: 1px solid #b9855d55;
  border-radius: 50%;
  background: #493528;
  color: #f4dfc9;
  font-size: 14px;
}
.sheet-profile > div {
  min-width: 0;
}
.sheet-profile strong,
.sheet-profile > div > span {
  display: block;
  overflow-wrap: anywhere;
}
.sheet-profile strong {
  color: var(--text);
  font-size: 16px;
}
.sheet-profile div span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}
.action-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #141416;
}
.action-list button {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.action-list button:last-child {
  border-bottom: 0;
}
.action-list button:hover,
.action-list button:focus-visible {
  background: #ffffff08;
}
.action-list button > .icon:first-child {
  width: 22px;
  height: 22px;
  color: #e3b47d;
}
.action-list button > .icon:last-child {
  width: 17px;
  height: 17px;
  color: #766f68;
}
.action-list button > span {
  min-width: 0;
}
.action-list strong,
.action-list small {
  display: block;
}
.action-list strong {
  margin-bottom: 3px;
  color: var(--text);
  font-size: 15px;
}
.action-list small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.action-list .danger-action > .icon:first-child,
.action-list .danger-action strong {
  color: #e9a996;
}
.sheet-cancel {
  margin-top: 12px;
}

/* Clearer phone navigation and safer dynamic viewport handling. */
@media (max-width: 800px) {
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }
  .top-inner,
  .app-layout {
    padding-left: max(18px, env(safe-area-inset-left, 0px));
    padding-right: max(18px, env(safe-area-inset-right, 0px));
  }
  #mobile-nav {
    height: auto;
    min-height: 70px;
    padding: 7px max(6px, env(safe-area-inset-right, 0px)) max(7px, env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px));
    background: #151416f7;
    box-shadow: 0 -12px 30px #00000030;
  }
  #mobile-nav a,
  #mobile-nav button {
    position: relative;
    flex: 1 1 20%;
    min-width: 0;
    max-width: 96px;
    padding: 7px 3px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.2;
  }
  #mobile-nav .active {
    background: #efb36e0d;
  }
  #mobile-nav .active:before {
    content: "";
    position: absolute;
    top: 1px;
    width: 18px;
    height: 2px;
    border-radius: 4px;
    background: var(--accent);
  }
  #footer {
    padding-bottom: 42px;
  }
  .garage-header {
    border-radius: 13px;
  }
  .garage-cover {
    height: clamp(190px, 34vw, 255px);
  }
  .garage-cover .eyebrow {
    top: 18px;
    left: 20px;
    right: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .garage-body {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 15px 18px;
    padding: 0 22px 24px;
  }
  .avatar.garage-avatar {
    grid-column: 1;
    grid-row: 1;
    width: 80px;
    height: 80px;
    margin-top: -30px;
    border-width: 5px;
  }
  .garage-info {
    display: contents;
  }
  .garage-title {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    padding-top: 10px;
  }
  .garage-title h1 {
    font-size: clamp(27px, 6vw, 38px);
    margin: 0 0 6px;
  }
  .garage-title h1 .rank-tag {
    padding: 3px 8px 3px 4px;
    font-size: 12px;
  }
  .garage-handle {
    margin: 0;
    font-size: 14px;
  }
  .garage-bio {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin: 3px 0 0;
    color: #ccc4bb;
    font-size: 16px;
    line-height: 1.7;
  }
  .garage-stats {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin: 3px 0 0;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    gap: 0;
  }
  .garage-stats span {
    min-width: 0;
    padding: 0 8px;
    border-right: 1px solid var(--line);
    text-align: center;
    font-size: 12px;
  }
  .garage-stats span:first-child {
    padding-left: 0;
  }
  .garage-stats span:last-child {
    padding-right: 0;
    border-right: 0;
  }
  .garage-stats strong {
    display: block;
    margin: 0 0 4px;
    font-size: 21px;
  }
  .garage-controls {
    grid-column: 1 / -1;
    grid-row: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
    max-width: none;
    padding: 2px 0 0;
    gap: 10px;
  }
  .garage-controls .button {
    width: 100%;
    min-width: 0;
    padding: 11px 13px;
    justify-content: center;
  }
  .garage-share {
    grid-column: 2;
  }
  .sheet-overlay {
    align-items: flex-end;
    padding: 0;
    overflow: hidden;
  }
  .action-sheet {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 14px);
    padding: 13px max(18px, env(safe-area-inset-right, 0px)) max(18px, env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -25px 80px #000c;
  }
  .action-sheet:before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    margin: 0 auto 8px;
    border-radius: 4px;
    background: #ffffff38;
  }
  .action-sheet .modal-head {
    padding-top: 2px;
  }
  .action-sheet .modal-head h2 {
    font-size: 24px;
  }
  .sheet-profile {
    margin: 16px 0 14px;
  }
  .action-list button {
    min-height: 66px;
    padding: 13px 14px;
  }
  .sheet-cancel {
    min-height: 50px;
  }
}

@media (max-width: 430px) {
  .top-inner {
    height: 70px;
    gap: 5px;
  }
  .wordmark {
    font-size: clamp(24px, 7vw, 28px);
  }
  .header-actions .icon-button,
  .header-actions .quiet {
    min-width: 40px;
    padding: 8px;
  }
  .header-actions .quiet[data-action="login"] {
    width: auto;
    min-width: 58px;
    padding-inline: 7px;
    font-size: 14px;
  }
  .garage-cover {
    height: 180px;
  }
  .garage-body {
    grid-template-columns: 68px minmax(0, 1fr);
    padding: 0 18px 20px;
    gap: 13px 15px;
  }
  .avatar.garage-avatar {
    width: 68px;
    height: 68px;
    margin-top: -24px;
  }
  .garage-title h1 {
    font-size: clamp(25px, 7vw, 31px);
  }
  .garage-title h1 .rank-tag {
    margin-top: 2px;
  }
  .garage-bio {
    font-size: 15px;
  }
  .garage-controls-public {
    grid-template-columns: minmax(0, 1fr) 54px;
  }
  .garage-controls-own {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .garage-menu {
    padding: 10px;
  }
  .garage-menu span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .garage-menu .icon {
    width: 20px;
    height: 20px;
  }
  .garage-share {
    grid-column: 2;
  }
  .section-head h2 {
    font-size: 22px;
  }
  #mobile-nav a,
  #mobile-nav button {
    font-size: 12px;
  }
}

@media (max-width: 350px) {
  .app-layout,
  .top-inner {
    padding-right: 12px;
    padding-left: 12px;
  }
  .header-actions {
    gap: 0;
  }
  .garage-body {
    grid-template-columns: 60px minmax(0, 1fr);
    padding-inline: 14px;
  }
  .avatar.garage-avatar {
    width: 60px;
    height: 60px;
  }
  .garage-title h1 {
    font-size: 24px;
  }
}

@media (max-height: 540px) and (orientation: landscape) {
  .action-sheet {
    max-height: calc(100dvh - 8px);
  }
  .sheet-profile {
    display: none;
  }
  .action-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .action-list button {
    grid-template-columns: 22px minmax(0, 1fr);
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
  .action-list button:last-child {
    border-right: 0;
  }
  .action-list button > .icon:last-child,
  .action-list small {
    display: none;
  }
}

@media (hover: none) {
  .post-photo:hover > img {
    transform: none;
  }
}
