/*
Theme Name: Uto Favorites Flow
Theme URI: https://streetartutopia.com
Author: Uto
Author URI: https://streetartutopia.com
Description: Superenkelt, snabbt och bilddrivet tema för Google Discover med kort text.
Version: 1.58-favorites-flow
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: uto-discover-canvas
*/

:root {
  --bg: #f7f8fb;
  --card: #ffffff;
  --text: #121722;
  --muted: #5b6678;
  --accent: #2f6fff;
  --line: #dde3ee;
  --max: 690px;
  --radius: 14px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  clip: auto !important;
  width: auto;
  height: auto;
  margin: 0;
  padding: .5rem .75rem;
  position: static !important;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  z-index: 100000;
}

.site-wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.site-header { padding: .85rem 0; border-bottom: 1px solid var(--line); background: #fff; }

.header-row { display: flex; align-items: center; gap: .8rem; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; letter-spacing: .2px; white-space: nowrap; }
.brand-logo { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; border: 1px solid var(--line); }
.brand-text { font-size: .94rem; }

.site-header .mini-tools { margin-left: auto; min-width: 0; display: inline-flex !important; align-items: center; gap: .55rem; flex-wrap: nowrap !important; }
.site-header .mini-tools .mini-search { min-width: 0; display: block; }
.site-header .mini-tools .search-form { display: inline-flex !important; gap: .55rem; align-items: center; flex-wrap: nowrap !important; margin: 0 !important; }
.site-header .mini-tools .search-form label { margin: 0 !important; display: block !important; }
.site-header .search-field {
  background: #fff;
  border: 2px solid #bfcde2;
  color: var(--text);
  border-radius: 999px;
  padding: .38rem .72rem;
  width: 150px;
  max-width: 34vw;
}
.site-header .search-submit {
  border: 2px solid #bfcde2;
  background: #fff;
  color: #243247;
  border-radius: 999px;
  padding: .33rem .62rem;
  cursor: pointer;
  white-space: nowrap;
}

.floating-dice {
  position: fixed;
  right: 14px;
  bottom: 16px;
  z-index: 130;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #c9d6ee;
  background: linear-gradient(180deg,#ffffff,#f3f7ff);
  color: #233754;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 6px 18px rgba(22,42,76,.18);
}
.floating-dice:active { transform: translateY(1px); }

.sau-auto-links {
  margin: 1rem 0;
  padding: .65rem .75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.sau-auto-links strong { display: block; margin: 0 0 .35rem; font-size: .86rem; color: #3d4f68; }
.sau-auto-links ul { margin: 0; padding-left: 1rem; }
.sau-auto-links li { margin: .2rem 0; }

@media (max-width: 760px) {
  .header-row { flex-wrap: nowrap; gap: .45rem; }
  .brand-text { display: inline; font-size: .86rem; max-width: 34vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .site-header .mini-tools { gap: .35rem; flex-wrap: nowrap !important; }
  .site-header .mini-tools .search-form { gap: .35rem; flex-wrap: nowrap !important; }
  .search-field { width: 80px; }

  .single-hero,
  .single-content img {
    width: calc(100% + 1.2rem);
    max-width: calc(100% + 1.2rem);
    margin-left: -.6rem;
    margin-right: -.6rem;
    border-radius: 6px;
  }
}

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 99;
  background: rgba(47,111,255,.08);
}
.read-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  background: linear-gradient(90deg,#2f6fff,#6b55db);
}


.global-vibe-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.vibe-row {
  padding: .55rem 0 .62rem;
}
.vibe-main-actions {
  display: flex;
  gap: .42rem;
  flex-wrap: wrap;
}
.index-random-btn {
  display: inline-flex;
  align-items: center;
  gap: .34rem;
  border: 1px solid #c9d6ee;
  border-radius: 999px;
  background: linear-gradient(180deg,#ffffff,#f3f7ff);
  color: #233754;
  font-weight: 800;
  letter-spacing: .01em;
  font-size: .83rem;
  padding: .38rem .65rem;
  box-shadow: 0 3px 10px rgba(22,42,76,.08);
}
.index-random-btn:hover { animation: glitch-shake .18s linear 2; }
.index-random-btn--ghost {
  background: #fff;
  color: #314761;
  border-style: dashed;
}
.index-random-btn:active { transform: translateY(1px); }
.index-oracle {
  margin: .48rem 0 .35rem;
  color: #4a5870;
  font-size: .82rem;
}
/* Tiny punk detail under brand */
.brand-text {
  position: relative;
}
.brand-text::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg,#2f6fff,#8d3bff,#ff4d6d);
  opacity: .5;
  transform-origin: left center;
  animation: punk-underline 12s steps(1,end) infinite;
}

@keyframes glitch-shake {
  0% { transform: translate(0,0); }
  25% { transform: translate(-1px,0); }
  50% { transform: translate(1px,0); }
  75% { transform: translate(-1px,0); }
  100% { transform: translate(0,0); }
}

@keyframes punk-underline {
  0%, 74% { transform: scaleX(.35); opacity: .25; }
  75%, 82% { transform: scaleX(1); opacity: .85; }
  83%, 100% { transform: scaleX(.5); opacity: .35; }
}

.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.25rem 0 2rem;
}
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: clip;
}
.card-top-reaction-badge,
.card-total-reaction-badge {
  position: absolute;
  z-index: 2;
  background: rgba(255,255,255,.92);
  color: #243247;
  font-size: .67rem;
  font-weight: 700;
  padding: .18rem .42rem;
  border-radius: 999px;
  border: 1px solid #d2dbeb;
  box-shadow: 0 3px 10px rgba(24,42,77,.10);
}
.card-top-reaction-badge { top: .45rem; left: .45rem; }
.card-total-reaction-badge { top: .45rem; right: .45rem; }
.card-media img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.card-body { padding: .8rem .9rem 1rem; }
@media (max-width: 760px) {
  .card-top-reaction-badge,
  .card-total-reaction-badge { font-size: .63rem; padding: .16rem .36rem; }
}
.card h2 { margin: 0 0 .45rem; font-size: 1.05rem; line-height: 1.25; }
.card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.38;
  max-height: 2.76em !important;
  min-height: 2.76em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.index-feed-divider {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: .4rem 0 .25rem;
  color: #5e6a7d;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.index-feed-divider::before,
.index-feed-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1 1 auto;
}

.single {
  width: min(100% - 2rem, 690px);
  margin-inline: auto;
  padding: 1.25rem 0 3rem;
}

.wiki-wrap {
  width: min(100% - 2rem, 1120px);
  margin: 1rem auto 3rem;
  display: grid;
  grid-template-columns: minmax(0, 690px) 280px;
  justify-content: center;
  gap: 1.1rem;
}
.wiki-main { width: 100%; max-width: 690px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.wiki-header h1 { margin: 0 0 .35rem; }
.wiki-subtitle { margin: 0 0 .8rem; color: var(--muted); }
.wiki-hero img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.wiki-aside {
  position: sticky;
  top: 72px;
  align-self: start;
  display: grid;
  gap: .8rem;
  max-height: calc(100vh - 84px);
  overflow: auto;
  padding-right: .2rem;
}
.wiki-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem .9rem; }
.wiki-box h3 { margin: 0 0 .55rem; font-size: .95rem; }
.wiki-box dl { margin: 0; display: grid; grid-template-columns: 84px 1fr; row-gap: .35rem; column-gap: .4rem; }
.wiki-box dt { color: var(--muted); font-size: .82rem; }
.wiki-box dd { margin: 0; font-size: .9rem; }
.wiki-sources p { margin: 0 0 .45rem; font-size: .9rem; }
@media (max-width: 900px) {
  .wiki-wrap { grid-template-columns: 1fr; }
  .wiki-main,
  .wiki-aside {
    width: min(100%, 690px);
    margin-inline: auto;
  }
  .wiki-aside { position: static; max-height: none; overflow: visible; padding-right: 0; }
}
.single h1 { line-height: 1.15; margin: 0 0 .8rem; font-size: clamp(1.6rem, 3.5vw, 2.35rem); }
.drop-kicker {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8e2f3;
  color: #2c4261;
  background: #f5f8ff;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  padding: .16rem .48rem;
  margin: 0 0 .55rem;
}
.single-meta-row { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; margin-bottom: .9rem; }
.single-meta { color: var(--muted); font-size: .92rem; }
.author-chip { display: inline-flex; align-items: center; gap: .38rem; color: #2f3f58; font-size: .82rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .14rem .5rem .14rem .18rem; }
.author-chip img, .author-chip .avatar { width: 24px; height: 24px; border-radius: 50%; }
.single-hero { margin: 0 0 1rem; border-radius: var(--radius); overflow: clip; border: 1px solid var(--line); }
.single-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.single-content { font-size: 1.04rem; }
.single-content p { margin: 0 0 1rem; }
.single-content figure { margin: .2rem auto .9rem; text-align: center; }
.single-content img { border-radius: 10px; margin: .25rem auto .85rem; }

.single-content a {
  color: #1f64ff;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  text-decoration-color: rgba(31,100,255,.65);
  text-decoration-skip-ink: auto;
  font-weight: 600;
}
.single-content a:visited { color: #6b55db; }
.single-content a:hover,
.single-content a:focus-visible {
  text-decoration-thickness: 3px;
  background: rgba(31,100,255,.08);
  border-radius: 4px;
  outline: none;
}
.single-content a[href^="http"]:not([href*="streetartutopia.com"])::after { content: " ↗"; font-size: .85em; }
.single-content h3 + p a:first-of-type,
.single-content h2 + p a:first-of-type {
  background: rgba(47,111,255,.08);
  border: 1px solid rgba(47,111,255,.2);
  border-radius: 6px;
  padding: .05rem .28rem;
}
.single-content p.more-line { color: #33435d; font-weight: 600; }
.single-content p.more-line a { font-weight: 700; }

/* Artwork descriptions: fast summary first, full editorial depth on demand. */
.artwork-details__summary { position: relative; }
.artwork-details__summary.is-collapsed {
  max-height: var(--artwork-collapsed-height, 6.4em);
  overflow: hidden;
  margin-bottom: 0;
}
.artwork-details__summary.is-collapsed.has-overflow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.55em;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(247,248,251,0), var(--bg) 92%);
}
.artwork-details__extra[hidden],
.artwork-details__utility[hidden],
.artwork-details__toggle-row[hidden] { display: none !important; }
.artwork-details__toggle-row {
  position: relative;
  margin: .02rem 0 .78rem;
}
.artwork-details__toggle-row.is-expanded { margin-top: -.38rem; }
.artwork-details__toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: #294f7d;
  min-height: 44px;
  max-width: 100%;
  padding: .42rem 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: .38rem;
  font: inherit;
  font-size: .84rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  cursor: pointer;
  touch-action: manipulation;
}
.artwork-details__toggle:hover { color: #173d70; }
.artwork-details__toggle:focus-visible {
  outline: 3px solid rgba(47,111,255,.3);
  outline-offset: 3px;
  border-radius: 5px;
}
.artwork-details__toggle-icon {
  flex: 0 0 auto;
  font-size: 1.08em;
  line-height: 1;
}

@media (max-width: 520px) {
  .artwork-details__summary.is-collapsed {
    max-height: var(--artwork-collapsed-height, 4.8em);
  }
  .artwork-details__toggle-row { margin-bottom: .72rem; }
  .artwork-details__toggle { font-size: .86rem; }
}

.social-proof {
  display: inline-block;
  margin: .05rem 0 .85rem;
  padding: .36rem .62rem;
  border: 1px solid #d3dced;
  border-radius: 999px;
  background: linear-gradient(180deg,#ffffff,#f5f8ff);
  color: #244a9b;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.social-proof:hover { background: #eef4ff; }

.share-row {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  margin: .35rem 0 1rem;
  color: var(--muted);
  font-size: .86rem;
}
.share-row__prompt {
  flex: 0 0 100%;
  color: #334861;
  font-size: .82rem;
  font-weight: 800;
}
.share-action,
.share-row a,
.share-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .36rem;
  border: 1px solid #d2dbeb;
  background: #fff;
  color: #243247;
  border-radius: 999px;
  min-height: 40px;
  padding: .34rem .72rem;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
}
.share-action--facebook,
.share-row .share-action--facebook {
  border-color: #2864c7;
  background: #2864c7;
  color: #fff;
}
.share-action--facebook:hover,
.share-row .share-action--facebook:hover { border-color: #1e50a4; background: #1e50a4; color: #fff; }
.share-action--native:hover,
.share-row .share-action--native:hover { border-color: #aebed6; background: #f5f8fc; }
.share-action:focus-visible { outline: 3px solid rgba(47,111,255,.28); outline-offset: 2px; }

@media (max-width: 600px) {
  .share-row { display: grid; grid-template-columns: minmax(0,1fr); gap: .42rem; }
  .share-row__prompt { width: 100%; }
  .share-row .share-action { width: 100%; min-height: 46px; }
}

.reality-proof { margin: .65rem 0 1rem; border:1px solid var(--line); border-radius:12px; background:#f8fbff; padding:.65rem .75rem; }
.reality-proof__head { display:flex; justify-content:space-between; gap:.5rem; flex-wrap:wrap; align-items:center; }
.reality-proof__score { font-size:.82rem; color:#4b617f; }
.reality-proof details { margin-top:.35rem; }
.reality-proof summary { cursor:pointer; color:#24486f; font-weight:600; }
.reality-proof__body { margin-top:.5rem; font-size:.92rem; }
.reality-proof__body ul { margin:.3rem 0 .5rem 1rem; }

.related-stories {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.related-stories h2 { margin: 0 0 .8rem; font-size: 1rem; color: #243247; }
.related-grid { display: grid; gap: .75rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
.related-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.related-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.pick-badge { position: absolute; top: .45rem; left: .45rem; z-index: 2; background: rgba(18,23,34,.78); color: #fff; font-size: .67rem; font-weight: 700; padding: .18rem .4rem; border-radius: 999px; letter-spacing: .01em; }
.reaction-badge { position: absolute; top: .45rem; right: .45rem; z-index: 2; background: rgba(255,255,255,.9); color: #243247; font-size: .67rem; font-weight: 700; padding: .18rem .4rem; border-radius: 999px; border: 1px solid #d2dbeb; }
.related-card h3 { margin: .55rem .6rem .7rem; font-size: .88rem; line-height: 1.25; }
@media (max-width: 760px) { .related-grid { grid-template-columns: 1fr; } }

.subscribe-custom {
  margin: 1.35rem 0 .4rem;
  padding: .95rem .95rem;
  border: 1px solid #d5e0f5;
  border-radius: 14px;
  background: linear-gradient(180deg,#f7faff,#edf4ff);
  box-shadow: 0 6px 18px rgba(31,58,104,.06);
}
.subscribe-custom h3 {
  margin: 0 0 .35rem;
  font-size: .9rem;
  color: #44556f;
}
.subscribe-custom p {
  margin: 0 0 .45rem;
  color: #556781;
  font-size: .84rem;
}
.subscribe-custom input[type="email"],
.subscribe-custom input[type="text"] {
  border: 1px solid #ccd7e8;
  border-radius: 999px;
  padding: .45rem .7rem;
}
.subscribe-custom input[type="submit"],
.subscribe-custom button {
  border: 1px solid #ccd7e8;
  border-radius: 999px;
  background: #fff;
  color: #243247;
  padding: .42rem .8rem;
}

.single-keep-exploring { margin-top: 1.35rem; }
.single-keep-exploring .index-feed-divider { margin-bottom: .75rem; }

.single-view-switch { display: flex; gap: .35rem; flex-wrap: wrap; margin: .55rem 0 .75rem; }
.single-view-switch a { border: 1px solid #d0dbed; border-radius: 999px; padding: .22rem .54rem; font-size: .75rem; color: #35506f; }
.single-view-switch a.active { background: #eef4ff; border-color: #a9bfe2; font-weight: 700; }
.gallery-note { margin: .2rem 0 .65rem; font-size: .78rem; color: #4b5f79; }

.single-content--gallery img { border-radius: 14px; margin-bottom: .35rem; }
.single-content [id^="photo-"] { scroll-margin-top: 1rem; }
.single-content .uto-photo-target {
  outline: 4px solid rgba(242,202,85,.9);
  outline-offset: 5px;
  border-radius: 14px;
  box-shadow: 0 0 0 9px rgba(242,202,85,.2);
  transition: outline-color .35s ease, box-shadow .35s ease;
}
@media (prefers-reduced-motion:reduce) {
  .single-content .uto-photo-target { transition: none; }
}
.single-content .wp-block-image {
  margin: .75rem 0 .35rem;
}
.single-content .wp-block-image:not(:first-of-type) {
  border-top: 2px solid #e6edf8;
  padding-top: .65rem;
  margin-top: 1rem;
}
.single-content--mag p:first-of-type { font-size: 1.08rem; color: #2a3b52; }

.img-like-row { margin: .10rem 0 .82rem; display: flex; align-items: center; gap: .48rem; flex-wrap: wrap; }

/* Wall Topic (Street Art News) single: compact like row */
.wall-topic-like-row{margin:.25rem 0 .9rem}
.wall-topic-title{font-size:1.65rem;line-height:1.12;margin:.25rem 0 .45rem}

.img-like-actions { width: 100%; display: flex; gap: .55rem; flex-wrap: nowrap; align-items: center; justify-content: flex-start; }
.img-like-actions .img-like-btn, .img-like-actions .img-comment-link, .img-like-actions .img-share-btn { display: inline-flex; align-items: center; justify-content: center; }

.img-like-btn, .img-comment-link, .img-share-btn {
  border: 1px solid rgba(36,50,71,.14);
  background: #fff;
  border-radius: 999px;
  font-size: .98rem;
  padding: .34rem .70rem;
  color: #243247;
  font-weight: 900;
  min-height: 38px;
  letter-spacing: .01em;
  gap: .45rem;
}
.single-content .img-share-btn {
  color: #243247;
  font-weight: 900;
  text-decoration: none;
}
.single-content a.img-share-btn[href]::after { content: none !important; }
.img-like-btn:hover, .img-comment-link:hover, .img-share-btn:hover { background: rgba(36,50,71,.04); }
.img-like-btn:disabled { opacity: .78; cursor: default; }
.img-comment-link:disabled{opacity:.65;cursor:wait}

.img-like-btn.is-liked{color:#d63b3b;border-color:rgba(214,59,59,.28);background:rgba(214,59,59,.06)}

.img-like-btn.is-pop{animation:utoHeartPop .22s ease-out}
@keyframes utoHeartPop{0%{transform:scale(1)}60%{transform:scale(1.18)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.img-like-btn.is-pop{animation:none}}

.img-like-icon{font-size:1.05em;line-height:1}
.img-like-label, .img-comment-label, .img-share-label{font-weight:900}
.img-comment-icon{display:inline-flex;align-items:center;line-height:1}
.img-comment-icon svg{width:18px;height:18px;display:block}
.img-share-icon{display:inline-flex;align-items:center;justify-content:center;font-size:1.02em;line-height:1}

.img-like-btn[data-count]:not([data-count="0"])::after,
.img-comment-link[data-count]:not([data-count="0"])::after{content:attr(data-count);margin-left:.35rem;min-width:1.3rem;height:1.3rem;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:rgba(36,50,71,.08);border:1px solid rgba(36,50,71,.15);font-size:.72rem;font-weight:900;line-height:1;color:#243247;padding:0 .12rem;flex:0 0 auto}

@media (max-width: 520px) {
  /* Counts make Comment wider than the other actions. Give each control an
     explicit column so its contents can never push into a neighbour. */
  .img-like-actions {
    display: grid;
    grid-template-columns: minmax(0,1.04fr) minmax(0,1.18fr) minmax(0,.9fr);
    gap: .28rem;
    align-items: stretch;
  }
  .img-like-btn, .img-comment-link, .img-share-btn {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    font-size: .86rem;
    padding: .40rem .22rem;
    gap: .20rem;
    flex: none;
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    text-align: center;
  }
  .img-like-btn[data-count]:not([data-count="0"])::after,
  .img-comment-link[data-count]:not([data-count="0"])::after {
    margin-left: 0;
    min-width: 1.18rem;
    height: 1.18rem;
    padding: 0 .10rem;
    font-size: .66rem;
  }
  .img-comment-icon svg { width: 16px; height: 16px; }
  .img-like-icon, .img-share-icon { font-size: 1em; }
}

@media (max-width: 380px) {
  .img-like-actions {
    grid-template-columns: minmax(0,1fr) minmax(0,1.32fr) minmax(0,.8fr);
  }
}

@media (max-width: 350px) {
  .img-like-actions {
    grid-template-columns: minmax(0,.98fr) minmax(0,1.34fr) minmax(0,.8fr);
    gap: .20rem;
  }
  .img-like-btn, .img-comment-link, .img-share-btn {
    font-size: .80rem;
    padding-inline: .12rem;
    gap: .14rem;
  }
}

.post-share-cta {
  width: 100%;
  margin: .85rem 0 1rem;
  padding: .68rem;
  border: 1px solid #d8e2f1;
  border-radius: 12px;
  background: linear-gradient(180deg,#fff,#f7faff);
}
.post-share-cta__prompt { margin: 0 0 .45rem; color: #334861; font-size: .82rem; font-weight: 850; }
.post-share-cta__actions { display: flex; flex-wrap: wrap; gap: .42rem; }
.single-content .post-share-cta .share-action {
  color: #243247;
  font-weight: 800;
  text-decoration: none;
}
.single-content .post-share-cta .share-action--facebook { color: #fff; }
.single-content .post-share-cta .share-action::after { content: none; }
@media (max-width: 600px) {
  .post-share-cta { padding: .58rem; }
  .post-share-cta__actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .post-share-cta .share-action { width: 100%; min-height: 46px; }
}
@media (max-width: 350px) {
  .post-share-cta__actions { grid-template-columns: minmax(0,1fr); }
}

.img-comment-nudge{width:100%;font-size:.74rem;color:#2f4361;background:#fff7dd;border:1px solid #f1df9b;border-radius:10px;padding:.32rem .5rem;margin-top:.25rem;display:flex;gap:.4rem;align-items:center;justify-content:space-between}
.img-comment-nudge__btn{border:1px solid rgba(36,50,71,.25);background:#fff;border-radius:999px;padding:.22rem .6rem;font-weight:900;cursor:pointer;font-size:.74rem;white-space:nowrap}
.img-comment-nudge.is-fade{opacity:.0;transition:opacity 1.2s ease}
@media (prefers-reduced-motion:reduce){.img-comment-nudge.is-fade{transition:none}}

.img-reality-proof { width: 100%; font-size: .66rem; color: #4f607b; background: #f5f9ff; border: 1px dashed #cfdced; border-radius: 8px; padding: .2rem .4rem; }
.img-comment-hint { width: 100%; font-size: .72rem; color: #5e6f88; margin-top: -.1rem; }
.img-comments-preview { width: 100%; display: grid; gap: .3rem; min-width: 0; }
.img-comments-preview:empty { display: none; }
.img-comment-preview-item {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: .88rem;
  line-height: 1.48;
  color: #2f4361;
  background: #f8fbff;
  border: 1px solid #dbe5f2;
  border-radius: 10px;
  padding: .42rem .5rem;
}
.img-comment-preview-item > b,
.img-comment-item > b { color: #243b5a; }
.img-comment-preview-cta{justify-self:start;border:0;background:transparent;color:#355d92;padding:.08rem 0;font-size:.74rem;font-weight:900;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.img-comment-preview-cta:hover{color:#173f75}
.img-comments-box { width: 100%; border: 1px solid #dbe5f2; border-radius: 12px; background: #f9fbff; padding: .55rem; margin-top: .28rem; }

/* Bottom-sheet comments (mobile) */
.img-sheet-overlay{position:fixed;inset:0;background:rgba(15,20,32,.38);z-index:9998;touch-action:none}
body.img-sheet-open{overflow:hidden}
.img-comments-box .img-sheet-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:.45rem;padding-bottom:.35rem;border-bottom:1px solid rgba(219,229,242,.8)}
.img-comments-box.is-sheet{position:fixed;left:0;right:0;bottom:0;z-index:9999;isolation:isolate;margin:0;border-radius:16px 16px 0 0;max-height:78vh;max-height:78dvh;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scroll-padding-bottom:calc(4.5rem + env(safe-area-inset-bottom));box-shadow:0 -18px 40px rgba(15,20,32,.22);padding:.55rem .55rem max(.7rem,env(safe-area-inset-bottom))}
.img-comments-box.is-sheet .img-sheet-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:.4rem;position:sticky;top:0;z-index:2;background:rgba(249,251,255,.97);backdrop-filter:saturate(1.1) blur(10px);padding:.28rem .1rem .38rem;border-bottom:1px solid rgba(219,229,242,.9)}
.img-sheet-title{font-weight:900;color:#243247}
.img-sheet-close{border:0;background:transparent;border-radius:999px;width:44px;height:44px;font-size:1.4rem;line-height:1;cursor:pointer;color:#243247}
.img-sheet-close:hover{background:rgba(36,50,71,.06)}
.img-comments-summary{font-size:.7rem;color:#6a7890;margin:.5rem 0 .25rem;font-weight:700}
.img-comments-list { display: grid; gap: .42rem; margin-bottom: .35rem; min-width: 0; }
.img-comment-item {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: .88rem;
  line-height: 1.48;
  color: #2f4361;
  background: #fff;
  border: 1px solid #dbe5f2;
  border-radius: 10px;
  padding: .48rem .55rem;
}
.img-comment-item.muted { color: #6b7891; }
.img-comment-item.pending { color: #5b4d2b; background: #fff9e8; border-color: #eadb9e; }
.img-comment-form { display: grid; gap: .4rem; }
.img-comment-form textarea,.img-comment-form input { width:100%;border:1px solid #cfdced;border-radius:10px;padding:.58rem .65rem;font:inherit;font-size:.88rem;background:#fff;color:#243247;box-sizing:border-box }
.img-comment-form textarea{min-height:72px;resize:vertical;line-height:1.35}
.img-comment-form textarea:focus,.img-comment-form input:focus{outline:2px solid rgba(53,93,146,.22);outline-offset:1px;border-color:#8eaad0}
.img-comment-identity{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem}
.img-comment-identity-toggle{justify-self:start;border:0;background:transparent;color:#355d92;padding:.1rem 0;font-size:.72rem;font-weight:800;cursor:pointer}
.img-comment-submit{justify-self:start;min-height:40px;border:1px solid #355d92;border-radius:999px;background:#355d92;color:#fff;padding:.42rem .82rem;font-size:.78rem;font-weight:900;cursor:pointer}
.img-comment-submit:hover{background:#284b7a}
.img-comment-submit:disabled{opacity:.6;cursor:wait}
.img-comment-status{min-height:1.05rem;margin-top:.28rem;font-size:.74rem;font-weight:800;color:#355d92}
.img-comment-note { margin-top: .05rem; font-size: .68rem; color: #6a7890; }

@media (max-width:720px){
  .img-comments-box.is-sheet{max-height:84vh;max-height:84dvh;padding:.58rem .68rem max(.8rem,env(safe-area-inset-bottom))}
  .img-comment-form textarea,.img-comment-form input{font-size:16px}
  .img-comment-identity{grid-template-columns:1fr}
  .img-comment-submit{min-height:44px}
  .img-sheet-close{width:44px;height:44px;min-width:44px;min-height:44px}
  .img-comment-preview-cta{min-height:32px}
}


.top-images-strip { margin: .9rem 0 .75rem; }
.top-images-strip h3 { margin: 0 0 .45rem; font-size: .9rem; color: #415772; }
.top-images-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .45rem; }
.top-images-grid article { background: #fff; border: 1px solid #d8e2f1; border-radius: 10px; overflow: hidden; }
.top-images-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.top-images-grid div { font-size: .73rem; color: #41546e; padding: .25rem .4rem; }

.reaction-bar { display: flex; flex-wrap: wrap; gap: .35rem; margin: .4rem 0 .45rem; }
.reaction-pill {
  border: 1px solid #d2dbeb;
  background: #fff;
  color: #34445b;
  border-radius: 999px;
  padding: .22rem .52rem;
  font-size: .82rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
}
.reaction-pill b { font-weight: 600; color: #4e5d74; }
.reaction-pill.active { border-color: #9fb8ef; background: #eef4ff; }


.story-divider { height: 1px; background: linear-gradient(90deg, transparent, #ccd7e8, transparent); margin: 1.2rem 0 1rem; }
.comments-area { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.comments-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem; font-size: 1.08rem; margin: 0 0 .8rem; }
.comments-title-count { color: var(--muted); font-size: .78rem; font-weight: 700; }
.comment-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin: -.18rem 0 .8rem;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 750;
}
.comment-order[hidden],
.comment-order-more[hidden] { display: none; }
.comment-order__choices {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f4f1eb;
}
.comment-order__button {
  min-width: 72px;
  min-height: 44px;
  margin: 0;
  padding: .25rem .7rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #625c53;
  font: inherit;
  cursor: pointer;
}
.comment-order__button.is-active,
.comment-order__button[aria-pressed="true"] {
  background: #fff;
  color: #292620;
  box-shadow: 0 1px 5px rgba(40,34,27,.1);
}
.comment-order__button:focus-visible,
.comment-order-more__button:focus-visible {
  outline: 3px solid rgba(47,111,255,.28);
  outline-offset: 2px;
}
.comment-order-more {
  display: flex;
  justify-content: center;
  margin: .85rem 0 .25rem;
}
.comment-order-more__button {
  min-height: 44px;
  margin: 0;
  padding: .48rem .9rem;
  border: 1px solid #d1c9bd;
  border-radius: 999px;
  background: #fffdf8;
  color: #3e3933;
  font: inherit;
  font-size: .78rem;
  font-weight: 850;
  cursor: pointer;
}
.comment-order-more__button:hover { background: #f3eee5; }
.comment-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.comment { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .75rem; }
.comment-list .children {
  list-style: none;
  display: grid;
  gap: .65rem;
  margin: .7rem 0 0;
  padding-left: .8rem;
  border-left: 2px solid #e4eaf3;
}
.comment .avatar { border-radius: 50%; border: 1px solid #d9e2f1; }
.comment-meta { color: var(--muted); font-size: .85rem; margin-bottom: .4rem; }
.comment-metadata a { color: #5b6a83; font-size: .8rem; }
.comment-photo-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: .65rem;
  min-height: 48px;
  margin: .15rem 0 .65rem;
  padding: .48rem .58rem;
  color: #263d5c;
  background: #f6f9fe;
  border: 1px solid #d8e3f2;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.comment-photo-context.has-thumbnail { grid-template-columns: 56px minmax(0, 1fr); }
.comment-photo-context:hover { color: #173f75; background: #f0f6ff; border-color: #b8cce7; }
.comment-photo-context:focus-visible { outline: 3px solid rgba(47,111,255,.28); outline-offset: 2px; border-color: #7da5e4; }
.comment-photo-context__thumbnail {
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 1px solid #d4deed;
  border-radius: 8px;
  background: #fff;
}
.comment-photo-context__image { width: 100%; height: 100%; object-fit: cover; }
.comment-photo-context__copy { display: grid; min-width: 0; line-height: 1.25; }
.comment-photo-context__eyebrow { color: #5c6e87; font-size: .66rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.comment-photo-context__label { margin-top: .08rem; color: #203653; font-size: .84rem; overflow-wrap: anywhere; }
.comment-photo-context__action { margin-top: .15rem; color: #355d92; font-size: .7rem; font-weight: 800; }
.comment-author,
.comment-content,
.latest-comment-card { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.comment-content p { margin: .35rem 0; }
.comment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin-top: .42rem;
}
.comment-reply-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid #d3dceb;
  border-radius: 999px;
  padding: .16rem .56rem;
  font-size: .75rem;
  font-weight: 800;
  color: #334861;
}
.comment-love-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .28rem;
  min-height: 32px;
  margin: 0;
  border: 1px solid #d3dceb;
  border-radius: 999px;
  background: #fff;
  color: #355d92;
  padding: .16rem .56rem;
  font: inherit;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.comment-love-btn .comment-love-icon {
  display: inline-flex;
  align-items: center;
  color: #2f6fff;
  font-size: 1.08em;
  line-height: 1;
}
.comment-love-btn .comment-love-count {
  min-width: 1.08rem;
  padding: 0 .17rem;
  border-radius: 999px;
  background: rgba(36,50,71,.08);
  color: #355d92;
  font-size: .68rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.08rem;
  text-align: center;
}
.comment-love-btn .comment-love-count[hidden] { display: none; }
.comment-love-btn[aria-pressed="true"],
.comment-love-btn.is-loved {
  border-color: #9cbcf0;
  background: #edf4ff;
  color: #174fba;
}
.comment-love-btn[aria-pressed="true"] .comment-love-count,
.comment-love-btn.is-loved .comment-love-count {
  background: rgba(47,111,255,.12);
  color: #174fba;
}
.comment-love-btn[aria-pressed="true"] .comment-love-icon,
.comment-love-btn.is-loved .comment-love-icon { color: #174fba; }
.comment-love-btn.is-loading,
.comment-love-btn:disabled { opacity: .62; cursor: wait; }
.comment-love-btn:focus-visible,
.comment-reply-link:focus-visible,
.img-sheet-close:focus-visible,
.img-comment-preview-cta:focus-visible {
  outline: 3px solid rgba(47,111,255,.28);
  outline-offset: 2px;
}

/* Latest Comments keeps the post context separate from the compact actions. */
.latest-comment-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .45rem .75rem;
}
.latest-comment-source {
  min-width: 0;
  color: #2f4e76;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.latest-comment-source:hover { color: #1f5bd6; text-decoration: underline; text-underline-offset: 2px; }
.latest-comment-actions { flex: 0 0 auto; margin-top: 0; }
.latest-comment-reply { font-size: .75rem; text-decoration: none; }

/* Trusted location and local-source references attached by SAU editors. */
.comment-reference-links {
  display: grid;
  gap: .32rem;
  min-width: 0;
  margin: .45rem 0 .18rem;
}
.comment-reference-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .2rem .65rem;
  min-width: 0;
  min-height: 38px;
  max-width: 100%;
  box-sizing: border-box;
  padding: .34rem .58rem;
  border: 1px solid #cbdcf4;
  border-radius: 10px;
  background: #f3f8ff;
  color: #244d84;
  font-size: .76rem;
  line-height: 1.35;
  font-weight: 800;
  text-decoration: none;
}
.comment-reference-link--source { background: #f7faff; }
.comment-reference-main {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.comment-reference-action {
  flex: 0 0 auto;
  margin-left: auto;
  color: #245fae;
  font-size: .72rem;
  font-weight: 900;
  white-space: nowrap;
}
.comment-reference-link:hover {
  border-color: #9ebbe3;
  background: #eaf3ff;
  color: #173f75;
}
.comment-reference-link:focus-visible {
  outline: 3px solid rgba(47,111,255,.3);
  outline-offset: 2px;
  border-color: #77a4e5;
}
.img-comment-preview-item .comment-reference-links,
.img-comment-item .comment-reference-links { margin-block: .38rem .08rem; }
.img-comment-preview-item .comment-reference-link,
.img-comment-item .comment-reference-link { font-size: .75rem; }
.latest-comment-card .comment-reference-links { margin-bottom: .55rem; }

/* Compact comment Like controls inside per-photo previews and the mobile sheet. */
.img-comment-preview-actions,
.img-comment-item__actions,
.img-comment-love-action,
.img-comment-preview-item .comment-actions,
.img-comment-item .comment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
  margin-top: .32rem;
}
.img-comment-preview-item .img-comment-preview-actions,
.img-comment-item .img-comment-item__actions {
  padding-top: .3rem;
  border-top: 1px solid rgba(207,220,238,.72);
}
.comment-love-btn--compact,
.img-comment-preview-item .comment-love-btn,
.img-comment-item .comment-love-btn,
.img-comment-preview-actions .comment-love-btn,
.img-comment-item__actions .comment-love-btn,
.img-comment-love-action .comment-love-btn {
  min-height: 32px;
  padding: .12rem .48rem;
  font-size: .75rem;
}
.img-comments-box.is-sheet .comment-love-btn,
.img-comments-box.is-sheet .comment-reply-link { min-height: 44px; }

@media (hover:hover) {
  .comment-love-btn:hover,
  .comment-reply-link:hover { border-color: #b9c8dd; background: #f5f8fc; }
  .comment-love-btn[aria-pressed="true"]:hover,
  .comment-love-btn.is-loved:hover { border-color: #78a5eb; background: #e4efff; }
}

@media (pointer:coarse) {
  .comment-love-btn,
  .comment-reply-link { min-height: 44px; padding-inline: .65rem; }
  .comment-reference-link { min-height: 44px; padding-block: .42rem; }
}

@media (max-width:720px) {
  .img-comment-preview-cta,
  .img-comment-identity-toggle {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .comment-reference-link {
    min-height: 44px;
    padding: .42rem .55rem;
    font-size: .84rem;
  }
  .comment-reference-action { font-size: .76rem; }
}

@media (max-width:520px) {
  .img-comments-box.is-sheet {
    border-radius: 14px 14px 0 0;
    padding-inline: .58rem;
    scroll-padding-top: 3.25rem;
  }
  .img-comments-box.is-sheet .img-sheet-header { margin-bottom: .3rem; }
  .img-comments-summary { margin: .35rem 0 .22rem; }
  .img-comments-list { gap: .35rem; margin-bottom: .28rem; }
  .img-comment-item,
  .img-comment-preview-item {
    padding: .42rem .48rem;
    font-size: .9rem;
    line-height: 1.48;
  }
  .img-comment-form { gap: .28rem; }
  .img-comment-form textarea,
  .img-comment-form input { padding: .46rem .56rem; }
  .img-comment-form textarea { min-height: 56px; }
  .img-comment-identity { gap: .28rem; }
  .img-comment-submit { min-height: 44px; padding: .38rem .75rem; }
  .img-comment-status { min-height: .9rem; margin-top: .18rem; }
  .img-comment-note { margin-top: 0; line-height: 1.3; }
  .comment { padding: .65rem; }
  .comment-list .children { margin-top: .55rem; padding-left: .42rem; }
  .latest-comment-footer { align-items: flex-start; flex-direction: column; }
  .latest-comment-actions { width: 100%; }
  .latest-comment-actions .comment-love-btn,
  .latest-comment-actions .comment-reply-link { min-height: 44px; }
  .img-comments-box.is-sheet .comment-love-btn,
  .img-comments-box.is-sheet .comment-reply-link { min-height: 44px; }
}
.comment-notes { color: #5d6b84; font-size: .82rem; }
.comment-form input, .comment-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #ccd7e8;
  color: var(--text);
  border-radius: 10px;
  padding: .55rem .65rem;
}
.comment-form-media { margin-top: .45rem; }
.comment-media {
  display: inline-flex;
  flex-direction: column;
  gap: .35rem;
  border: 1px solid #d7e1f0;
  border-radius: 10px;
  background: #f9fbff;
  padding: .35rem;
  margin-top: .5rem;
  max-width: 320px;
}
.comment-media img { width: 100%; border-radius: 8px; }
.comment-media--video span {
  font-size: .75rem;
  font-weight: 700;
  color: #2b3f5b;
}
.comment-media--link {
  display: inline-flex;
  font-size: .78rem;
  color: #29496e;
  padding: .3rem .45rem;
}
.comment-form .submit {
  border: 1px solid #ccd7e8;
  background: #fff;
  color: #243247;
  border-radius: 999px;
  padding: .45rem .8rem;
  cursor: pointer;
}

@media (max-width:420px) {
  .comment-order { margin-bottom: .65rem; }
  .comment-order__button { min-width: 68px; padding-inline: .65rem; }
  .comment-photo-context.has-thumbnail { grid-template-columns: 48px minmax(0, 1fr); }
  .comment-photo-context__thumbnail { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion:reduce) {
  .comment-photo-context,
  .comment-love-btn { transition: none; }
  .img-comments-box.is-sheet { scroll-behavior: auto; }
}

/* wpDiscuz 7 light-touch polish (keep native layout) */
#wpdcom {
  margin-top: .5rem;
  --wpd-primary-color: #2f6fff;
}
#wpdcom .wpd-comment-author,
#wpdcom .wpd-comment-text,
#wpdcom .wpd-thread-info {
  color: #243247;
}
#wpdcom .wpd-comment-date,
#wpdcom .wpd-comment-footer,
#wpdcom .wpd-vote,
#wpdcom .wpd-sbs-title {
  color: #5b6678;
}
#wpdcom textarea,
#wpdcom input[type="text"],
#wpdcom input[type="email"] {
  border-color: #ccd7e8;
}

.site-footer { border-top: 1px solid var(--line); color: var(--muted); padding: 1rem 0 2rem; font-size: .9rem; }
.footer-main { display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; align-items: baseline; }
.footer-copy { font-weight: 600; letter-spacing: .02em; }
.footer-links { display: flex; gap: .8rem; flex-wrap: wrap; padding-top: .45rem; color: #4e5d74; font-size: .82rem; }
.footer-links a { color: #4e5d74; }
.footer-links a:hover { color: #1f64ff; text-decoration: underline; }

.pagination { display: flex; justify-content: space-between; margin: 1rem 0 2rem; color: var(--muted); }
.feed-header { margin: .6rem 0 .8rem; }
.wall-talk-auth,
.wall-talk-cta { margin: .35rem 0 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .75rem; }
.wall-talk-auth .login-username,
.wall-talk-auth .login-password,
.wall-talk-auth .login-remember { margin: .32rem 0; }
.wall-talk-auth input[type="text"],
.wall-talk-auth input[type="password"] {
  width: 100%; border: 1px solid #c8d3e7; border-radius: 9px; padding: .4rem .56rem; font-size: .9rem;
}
.wall-talk-auth .button { border: 1px solid #ccd7e8; border-radius: 999px; background: #fff; color: #243247; padding: .28rem .62rem; font-size: .84rem; }
.wall-talk-auth-compact { padding: .42rem .55rem; margin-bottom: .45rem; }
.wall-talk-auth-compact h3 { margin: 0 0 .2rem; font-size: .88rem; }
.wall-talk-auth-compact label { font-size: .78rem; }
.wall-talk-auth-compact .wall-auth-links { margin: .25rem 0 0; font-size: .74rem; }
.wall-topic-form { display: grid; gap: .55rem; }
.wall-topic-form input,
.wall-topic-form textarea {
  width: 100%;
  border: 1px solid #c8d3e7;
  border-radius: 10px;
  padding: .55rem .65rem;
  font: inherit;
  background: #fff;
}
.wall-topic-form label { font-size: .86rem; color: #31445f; display: grid; gap: .3rem; }
.wall-topic-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.wall-topic-card .card-media img { aspect-ratio: auto; max-height: 420px; object-fit: contain; background: #eef2f7; }
.wall-topic-card h2 { display: none; }
.wall-topic-single .wall-talk-replies { margin-top: 1.2rem; }
.wall-related-links { margin: .9rem 0 .3rem; background:#fff; border:1px solid var(--line); border-radius:12px; padding:.7rem .8rem; }
.wall-related-links h3 { margin:.35rem 0 .3rem; font-size:.86rem; color:#304760; }
.wall-related-links ul { margin:.2rem 0 .45rem 1rem; }
.wall-related-links li { margin:.15rem 0; font-size:.82rem; }
.wall-related-links a {
  color: #1f4d8b;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}
.wall-related-links a::after {
  content: ' ↗';
  font-size: .75em;
}

.uto-toast {
  position: fixed;
  right: 14px;
  bottom: 14px;
  background: rgba(18,23,34,.92);
  color: #fff;
  padding: .46rem .62rem;
  border-radius: 8px;
  font-size: .78rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all .18s ease;
  z-index: 120;
}
.uto-toast.show { opacity: 1; transform: translateY(0); }

/* Browser-local photo favorites */
.index-favorites-btn[hidden] { display: none !important; }
.index-favorites-btn { border-style: solid; color: #9f303d; }
.img-favorite-status {
  width: 100%;
  margin-top: -.08rem;
  color: #455a76;
  font-size: .74rem;
  font-weight: 750;
}
.img-favorite-status[hidden] { display: none; }
.img-favorite-status a { color: #275b9c; text-decoration: underline; text-underline-offset: 2px; }

.favorites-page { padding-top: 1.15rem; padding-bottom: 2.5rem; }
.favorites-page__header h1 { margin: 0 0 .25rem; font-size: clamp(1.75rem, 6vw, 2.25rem); line-height: 1.1; }
.favorites-page__intro { margin: .35rem 0 .18rem; color: #334861; }
.favorites-page__community-note { margin: 0; color: #66758b; font-size: .84rem; }
.favorites-page__loading { margin: 1.25rem 0; color: #5b6678; }
.favorites-page__unavailable,
.favorites-empty {
  margin: 1.2rem 0;
  padding: 1rem;
  border: 1px solid #d8e2f1;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}
.favorites-page__unavailable h2,
.favorites-empty h2 { margin: 0 0 .25rem; font-size: 1.1rem; }
.favorites-page__unavailable p,
.favorites-empty p { margin: .2rem 0 .7rem; color: #5b6678; }
.favorites-page__explore,
.favorites-action,
.favorite-card__open,
.favorite-card__remove,
.favorites-status__undo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #c7d4e8;
  border-radius: 999px;
  background: #fff;
  color: #29496e;
  padding: .42rem .72rem;
  font: inherit;
  font-size: .78rem;
  font-weight: 850;
  cursor: pointer;
}
.favorites-page__explore,
.favorite-card__open { background: #2f6fff; border-color: #2f6fff; color: #fff; }
.favorites-action--primary { background: #2f6fff; border-color: #2f6fff; color: #fff; }
.favorites-action:hover,
.favorite-card__remove:hover,
.favorites-status__undo:hover { background: #f1f5fb; }
.favorites-page__explore:hover,
.favorite-card__open:hover,
.favorites-action--primary:hover { background: #2459d7; color: #fff; }
.favorites-action:focus-visible,
.favorite-card a:focus-visible,
.favorite-card button:focus-visible,
.favorites-status__undo:focus-visible {
  outline: 3px solid rgba(47,111,255,.28);
  outline-offset: 2px;
}
.favorites-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 1rem 0 .7rem;
  padding: .6rem .7rem;
  border: 1px solid #dbe4f1;
  border-radius: 12px;
  background: #fff;
}
.favorites-toolbar[hidden] { display: none; }
.favorites-toolbar__count { margin: 0; color: #3e526e; font-size: .82rem; font-weight: 800; }
.favorites-toolbar__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; }
.favorites-action--danger,
.favorite-card__remove { color: #91313a; }
.favorites-status {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: .6rem 0;
  padding: .5rem .65rem;
  border: 1px solid #ead996;
  border-radius: 10px;
  background: #fff8df;
}
.favorites-status[hidden] { display: none; }
.favorites-status__message { flex: 1; margin: 0; color: #5f5123; font-size: .8rem; font-weight: 750; }
.favorites-share-panel {
  margin: .65rem 0 .85rem;
  padding: .8rem;
  border: 1px solid #cddbf0;
  border-radius: 12px;
  background: #f8fbff;
}
.favorites-share-panel[hidden],
.favorites-share-panel__actions[hidden],
.favorites-share-panel__url-wrap[hidden] { display: none; }
.favorites-share-panel[aria-busy="true"] { opacity: .72; }
.favorites-share-panel[aria-busy="true"] button { cursor: wait; }
.favorites-share-panel__title { margin: 0 0 .2rem; font-size: 1rem; line-height: 1.25; }
.favorites-share-panel__message { margin: .2rem 0 0; color: #455a76; font-size: .8rem; line-height: 1.45; }
.favorites-share-panel__actions {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-top: .65rem;
}
.favorites-share-panel__actions .favorites-action { width: 100%; min-height: 44px; }
.favorites-share-panel__url-wrap { margin-top: .65rem; }
.favorites-share-panel__url-wrap label {
  display: block;
  margin-bottom: .25rem;
  color: #455a76;
  font-size: .75rem;
  font-weight: 800;
}
.favorites-share-panel__url {
  width: 100%;
  min-height: 44px;
  border: 1px solid #b8c9e0;
  border-radius: 9px;
  background: #fff;
  color: #263b58;
  padding: .55rem .65rem;
  font: inherit;
  font-size: .78rem;
}
.favorites-share-panel__title:focus-visible,
.favorites-share-panel__url:focus-visible {
  outline: 3px solid rgba(47,111,255,.28);
  outline-offset: 2px;
}
.favorites-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.favorite-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d8e2f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(28,48,78,.05);
}
.favorite-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef2f7;
}
.favorite-card__image { width: 100%; height: 100%; object-fit: contain; }
.favorite-card__placeholder { color: #7a8799; font-size: .76rem; }
.favorite-card__body { padding: .58rem; }
.favorite-card__title { margin: 0; font-size: .9rem; line-height: 1.3; overflow-wrap: anywhere; }
.favorite-card__title a:hover { color: #1f5bd6; text-decoration: underline; text-underline-offset: 2px; }
.favorite-card__source { margin: .25rem 0 0; color: #6a7890; font-size: .7rem; line-height: 1.35; }
.favorite-card__actions { display: flex; gap: .38rem; margin-top: .55rem; }
.favorite-card__open,
.favorite-card__remove { flex: 1 1 0; min-width: 0; }
.favorites-show-more { display: flex; justify-content: center; margin: 1rem 0; }
.favorites-show-more[hidden] { display: none; }
.favorites-action--show-more { min-width: min(100%, 220px); }
.favorites-page__storage-note { margin: 1rem 0 0; color: #6b7890; font-size: .74rem; text-align: center; }

@media (max-width: 560px) {
  .favorites-toolbar { align-items: flex-start; flex-direction: column; }
  .favorites-toolbar__actions { width: 100%; justify-content: flex-start; }
  .favorites-toolbar__actions .favorites-action { width: 100%; min-height: 44px; }
  .favorites-grid { grid-template-columns: minmax(0, 1fr); }
  .favorite-card__media { aspect-ratio: 16 / 11; }
}

@media (min-width: 561px) {
  .favorites-share-panel__actions { flex-direction: row; }
  .favorites-share-panel__actions .favorites-action { width: auto; min-width: 132px; }
}

@media (max-width: 410px) {
  .favorites-link-label { display: none; }
}

/* Anonymous, read-only shared favorites */
.shared-favorites-page { padding-top: 1.15rem; padding-bottom: 2.8rem; }
.shared-favorites-page__header { margin-bottom: 1rem; }
.shared-favorites-page__eyebrow {
  margin: 0 0 .25rem;
  color: #9f303d;
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.shared-favorites-page__header h1,
.shared-favorites-state h1 {
  margin: 0 0 .35rem;
  font-size: clamp(1.72rem, 7vw, 2.3rem);
  line-height: 1.08;
}
.shared-favorites-page__intro { margin: 0; color: #334861; font-size: 1rem; }
.shared-favorites-page__privacy-note {
  margin: .38rem 0 0;
  color: #66758b;
  font-size: .84rem;
  line-height: 1.45;
}
.shared-favorites-page__notice {
  margin: .8rem 0;
  padding: .68rem .75rem;
  border: 1px solid #ead996;
  border-radius: 10px;
  background: #fff8df;
  color: #5f5123;
  font-size: .8rem;
  font-weight: 750;
}
.shared-favorites-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .85rem;
}
.shared-favorite-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d8e2f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(28,48,78,.05);
}
.shared-favorite-card[hidden] { display: none; }
.shared-favorite-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #eef2f7;
}
.shared-favorite-card__image { width: 100%; height: 100%; object-fit: contain; }
.shared-favorite-card__placeholder { color: #6d7b90; font-size: .8rem; }
.shared-favorite-card__body { padding: .68rem; }
.shared-favorite-card__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.shared-favorite-card__title a:hover {
  color: #1f5bd6;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.shared-favorite-card__source {
  margin: .25rem 0 0;
  color: #69778d;
  font-size: .76rem;
  line-height: 1.4;
}
.shared-favorite-card__open,
.shared-favorites-show-more__button,
.shared-favorites-cta__primary,
.shared-favorites-cta__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #c7d4e8;
  border-radius: 999px;
  padding: .48rem .85rem;
  font: inherit;
  font-size: .82rem;
  font-weight: 850;
  text-align: center;
  cursor: pointer;
}
.shared-favorite-card__open {
  width: 100%;
  margin-top: .62rem;
  border-color: #2f6fff;
  background: #2f6fff;
  color: #fff;
}
.shared-favorite-card__open:hover,
.shared-favorites-cta__primary:hover { background: #2459d7; color: #fff; }
.shared-favorites-show-more {
  display: flex;
  justify-content: center;
  margin: 1rem 0 0;
}
.shared-favorites-show-more[hidden] { display: none; }
.shared-favorites-show-more__button {
  width: 100%;
  max-width: 260px;
  background: #fff;
  color: #29496e;
}
.shared-favorites-show-more__button:hover,
.shared-favorites-cta__secondary:hover { background: #f1f5fb; }
.shared-favorites-cta,
.shared-favorites-state {
  margin: 1.35rem 0 0;
  padding: 1rem;
  border: 1px solid #d8e2f1;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}
.shared-favorites-cta h2 { margin: 0 0 .25rem; font-size: 1.16rem; }
.shared-favorites-cta p,
.shared-favorites-state > p { margin: .25rem auto .85rem; max-width: 560px; color: #5b6678; }
.shared-favorites-cta__actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.shared-favorites-cta__primary { border-color: #2f6fff; background: #2f6fff; color: #fff; }
.shared-favorites-cta__secondary { background: #fff; color: #29496e; }
.shared-favorite-card a:focus-visible,
.shared-favorites-show-more__button:focus-visible,
.shared-favorites-cta a:focus-visible,
.shared-favorites-state a:focus-visible {
  outline: 3px solid rgba(47,111,255,.28);
  outline-offset: 2px;
}

@media (min-width: 560px) {
  .shared-favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shared-favorite-card__media { aspect-ratio: 4 / 3; }
  .shared-favorites-cta__actions { flex-direction: row; justify-content: center; }
  .shared-favorites-cta__primary,
  .shared-favorites-cta__secondary { min-width: 170px; }
}

/*
 * Living Gallery experiment
 * A bolder, editorial mobile-first skin. The selectors are deliberately scoped
 * to the experimental body class so the proven component contracts remain
 * intact and easy to compare with the stable theme.
 */
body.sau-living-gallery {
  --bg: #f2efe8;
  --card: #fffdf8;
  --text: #171716;
  --muted: #67635b;
  --accent: #2458e8;
  --line: #d9d3c7;
  --max: 760px;
  --radius: 18px;
  background:
    radial-gradient(circle at 12% 0, rgba(255,255,255,.9), transparent 25rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sau-living-gallery .read-progress { z-index: 200; background: rgba(255,255,255,.12); }
.sau-living-gallery .read-progress__bar {
  background: linear-gradient(90deg,#ff5b52,#ffcc62,#5d7cff);
}

/* Calm, static masthead: the dark discovery rail supplies the contrast. */
.sau-living-gallery .site-header {
  position: static;
  top: auto;
  z-index: auto;
  padding: .62rem 0;
  border: 0;
  border-bottom: 1px solid #d9d3c7;
  background: #fffdf8;
  color: #171716;
  box-shadow: none;
}
.sau-living-gallery .site-header .site-wrap,
.sau-living-gallery .global-vibe-bar .site-wrap,
.sau-living-gallery .site-footer .site-wrap {
  width: min(100% - 2rem, 1040px);
}
.sau-living-gallery .header-row { position: relative; min-height: 44px; gap: .65rem; }
.sau-living-gallery .brand { gap: .55rem; color: #171716; min-width: 0; }
.sau-living-gallery .brand-logo {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1px solid #d5cec2;
  border-radius: 9px;
}
.sau-living-gallery .brand-lockup { display: block; min-width: 0; line-height: 1; }
.sau-living-gallery .brand-text {
  color: #171716;
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .025em;
  text-transform: none;
}
.sau-living-gallery .brand-text::after { display: none; }
.sau-living-gallery .sau-explore-menu { position: static; margin-left: auto; }
.sau-living-gallery .sau-explore-menu summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .7rem;
  border: 1px solid #171716;
  border-radius: 9px;
  background: #171716;
  color: #fffdf8;
  font-size: .76rem;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}
.sau-living-gallery .sau-explore-menu summary::-webkit-details-marker { display: none; }
.sau-living-gallery .sau-explore-menu summary::after { content: "+"; font-size: 1.05em; }
.sau-living-gallery .sau-explore-menu[open] summary::after { content: "−"; }
.sau-living-gallery .sau-explore-menu nav {
  position: absolute;
  top: calc(100% + .55rem);
  right: 0;
  z-index: 150;
  width: min(290px, calc(100vw - 2rem));
  display: grid;
  gap: .15rem;
  padding: .55rem;
  border: 1px solid #d7d0c4;
  border-radius: 16px;
  background: #fffdf8;
  color: #171716;
  box-shadow: 0 18px 45px rgba(15,15,14,.24);
}
.sau-living-gallery .sau-explore-menu nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: .5rem .65rem;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 780;
}
.sau-living-gallery .sau-explore-menu nav a:hover,
.sau-living-gallery .sau-explore-menu nav a:focus-visible {
  background: #eee9df;
  outline: none;
}
.sau-living-gallery .sau-explore-menu summary:focus-visible,
.sau-living-gallery .sau-inline-favorites a:focus-visible,
.sau-living-gallery .sau-inline-favorites button:focus-visible,
.sau-living-gallery .sau-next-walls a:focus-visible {
  outline: 3px solid #ff8178;
  outline-offset: 3px;
}
.sau-living-gallery .site-header .mini-tools { margin-left: 0; }
.sau-living-gallery .site-header .search-field {
  width: 126px;
  max-width: 20vw;
  min-height: 44px;
  border: 1px solid #d0c8bb;
  background: #f2eee6;
  color: #171716;
}
.sau-living-gallery .site-header .search-field::placeholder { color: #756e64; }
.sau-living-gallery .site-header .search-submit {
  min-height: 44px;
  border: 1px solid #d0c8bb;
  background: #fffdf8;
  color: #171716;
  font-weight: 850;
}

.sau-living-gallery .global-vibe-bar {
  border: 0;
  background: #171716;
  color: #fffdf8;
}
.sau-living-gallery .vibe-row {
  overflow-x: auto;
  padding: .36rem 0 .55rem;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.sau-living-gallery .vibe-row::-webkit-scrollbar { display: none; }
.sau-living-gallery .vibe-main-actions { flex-wrap: nowrap; width: max-content; }
.sau-living-gallery .index-random-btn {
  min-height: 44px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.07);
  color: #fffdf8;
  box-shadow: none;
}
.sau-living-gallery .index-random-btn:first-child {
  border-color: #ff6b62;
  background: #ff6259;
  color: #171716;
}
.sau-living-gallery .index-favorites-btn { color: #ffaaa5; border-color: rgba(255,142,135,.55); }

/* Editorial home page: one lead story, then a broader desktop grid. */
.sau-living-gallery .sau-home-intro {
  max-width: 760px;
  margin: 2rem 0 1.3rem;
}
.sau-living-gallery .sau-home-intro__eyebrow,
.sau-living-gallery .card-kicker {
  display: block;
  margin: 0 0 .42rem;
  color: #a13b35;
  font-size: .67rem;
  font-weight: 950;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.sau-living-gallery .sau-home-intro h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  font-weight: 950;
  letter-spacing: -.055em;
  line-height: .96;
}
.sau-living-gallery .sau-home-intro > p:last-child {
  max-width: 620px;
  margin: .85rem 0 0;
  color: #555149;
  font-size: 1.02rem;
}
.sau-living-gallery .card {
  border-color: #d7d0c4;
  background: #fffdf8;
  box-shadow: 0 10px 30px rgba(42,36,29,.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.sau-living-gallery .card-body { padding: .9rem 1rem 1.05rem; }
.sau-living-gallery .card h2 { color: #171716; font-weight: 900; letter-spacing: -.018em; }
.sau-living-gallery .card p { color: #686158; }
.sau-living-gallery .card-kicker { margin-bottom: .45rem; }

@media (min-width: 780px) {
  .sau-living-gallery.home main.site-wrap,
  .sau-living-gallery.blog main.site-wrap { width: min(100% - 2rem, 1120px); }
  .sau-living-gallery.home .post-grid,
  .sau-living-gallery.blog .post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; }
  .sau-living-gallery .card--lead { grid-column: 1 / -1; }
  .sau-living-gallery .card--lead .card-media img { aspect-ratio: 2.05 / 1; }
  .sau-living-gallery .card--lead .card-body { padding: 1.15rem 1.25rem 1.3rem; }
  .sau-living-gallery .card--lead h2 { max-width: 850px; font-size: 1.7rem; }
  .sau-living-gallery .card--lead p { max-width: 690px; font-size: 1rem; }
  .sau-living-gallery .post-grid > ins.adsbygoogle,
  .sau-living-gallery .post-grid > .google-auto-placed,
  .sau-living-gallery .post-grid > [data-ad-client],
  .sau-living-gallery .post-grid > [data-ad-status],
  .sau-living-gallery .post-grid > [data-google-query-id],
  .sau-living-gallery .post-grid > [id^="google_ads"],
  .sau-living-gallery .post-grid > iframe[src*="googleads"] { grid-column: 1 / -1; }
}
@media (hover:hover) {
  .sau-living-gallery .post-grid .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(42,36,29,.11);
  }
}

/* Discover story opener. */
.sau-living-gallery .single { width: min(100% - 2rem, 760px); padding-top: 1.6rem; }
.sau-living-gallery .single h1 {
  max-width: 730px;
  margin-bottom: .9rem;
  font-size: clamp(2.1rem, 8.2vw, 3.2rem);
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: 1.04;
}
.sau-living-gallery .single-meta { color: #716c63; }
.sau-living-gallery .author-chip {
  border-color: #d5cec1;
  background: rgba(255,253,248,.82);
  color: #3b3833;
}
.sau-living-gallery .social-proof {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfc6b7;
  background: #fffdf8;
  color: #224ea8;
  box-shadow: 0 6px 18px rgba(42,36,29,.05);
}
.sau-living-gallery .share-row {
  margin: .55rem 0 .75rem;
  padding: .68rem;
  border: 1px solid #d7d0c4;
  border-radius: 16px;
  background: rgba(255,253,248,.86);
}
.sau-living-gallery .share-row__prompt { color: #4d4942; }
.sau-living-gallery .share-row .share-action { min-height: 44px; }
.sau-living-gallery .share-row .share-action--facebook { background: #2458c8; border-color: #2458c8; }

/* Each artwork becomes one mobile visual stage without wrapping its DOM. */
.sau-living-gallery .single-content { font-size: 1.08rem; line-height: 1.64; }
.sau-living-gallery #sau-story-start,
.sau-living-gallery .single-content [id^="photo-"] { scroll-margin-top: 1rem; }
.sau-living-gallery .single-content .sau-artwork-visual {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-top-color: #cbc2b4;
}
.sau-living-gallery .single-content .sau-artwork-visual img,
.sau-living-gallery .single-content img.sau-artwork-visual {
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  border-radius: 20px;
}
.sau-living-gallery .img-like-row.sau-artwork-tray {
  position: static;
  z-index: auto;
  width: 100%;
  margin: .5rem 0 1.15rem;
  padding: .48rem;
  border: 1px solid #d6cfc3;
  border-radius: 15px;
  background: #fffdf8;
  box-shadow: 0 5px 18px rgba(40,34,27,.07);
}
.sau-living-gallery .img-like-row.sau-artwork-tray--detached {
  margin-top: .65rem;
}
.sau-living-gallery .img-like-actions { gap: .38rem; }
.sau-living-gallery .img-like-btn,
.sau-living-gallery .img-comment-link,
.sau-living-gallery .img-share-btn {
  min-height: 44px;
  border-color: #d4ccbf;
  background: #fffdf8;
  color: #23211e;
}
.sau-living-gallery .img-like-btn.is-liked {
  border-color: #f2a19b;
  background: #fff0ee;
  color: #b83431;
}
.sau-living-gallery .img-favorite-status {
  margin: .15rem .12rem 0;
  color: #514b43;
  font-size: .77rem;
}
.sau-living-gallery .img-comment-hint { margin: .1rem .12rem 0; color: #6c655b; }
.sau-living-gallery .sau-artwork-tray:has(.img-comment-preview-item) .img-comment-hint { display: none; }
.sau-living-gallery .img-comment-nudge {
  margin-top: .38rem;
  border-color: #dfcf9a;
  background: #fff6d8;
}
.sau-living-gallery .img-comments-preview { margin-top: .08rem; }
.sau-living-gallery .img-comment-preview-item {
  border-color: #d9d1c5;
  background: #f8f4ec;
  color: #3e3933;
}
.sau-living-gallery .img-comment-preview-item::before {
  content: "From the discussion";
  display: block;
  margin-bottom: .18rem;
  color: #8e3d37;
  font-size: .59rem;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.sau-living-gallery .single-content .sau-artwork-heading {
  margin: .2rem 0 .75rem;
  color: #171716;
  font-size: clamp(1.25rem, 5vw, 1.62rem);
  font-weight: 930;
  letter-spacing: -.022em;
  line-height: 1.18;
}
.sau-living-gallery .single-content .sau-artwork-heading::before {
  content: attr(data-sau-artwork-order);
  display: block;
  margin-bottom: .28rem;
  color: #a13b35;
  font-size: .6rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sau-living-gallery .artwork-details__toggle-row { margin: .08rem 0 .9rem; }
.sau-living-gallery .artwork-details__toggle-row.is-expanded { margin-top: -.15rem; }
.sau-living-gallery .artwork-details__toggle {
  width: 100%;
  min-height: 48px;
  justify-content: space-between;
  padding: .62rem .72rem;
  border: 1px solid #d5ccbf;
  border-radius: 12px;
  background: #eae5db;
  color: #29251f;
  font-size: .84rem;
  text-decoration: none;
}
.sau-living-gallery .artwork-details__toggle:hover { background: #e1dbcf; color: #171716; }
.sau-living-gallery .post-share-cta {
  border-color: #d3cabb;
  border-radius: 16px;
  background: #fffdf8;
}

/* Quiet, browser-local collection at the end of a story. */
.sau-living-gallery .sau-inline-favorites {
  margin: 1.45rem 0 1.7rem;
  padding: 1rem 0;
  border-block: 1px solid #d8d0c4;
}
.sau-living-gallery .sau-inline-favorites[hidden] { display: none; }
.sau-living-gallery .sau-inline-favorites__eyebrow {
  color: #9a403a;
  font-size: .61rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sau-living-gallery .sau-inline-favorites h2 {
  margin: .16rem 0 .08rem;
  color: #191816;
  font-size: 1.12rem;
  letter-spacing: -.018em;
}
.sau-living-gallery .sau-inline-favorites header p {
  margin: 0;
  color: #6b655d;
  font-size: .78rem;
}
.sau-living-gallery .sau-inline-favorites__grid {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: .42rem;
  margin: .8rem 0 .7rem;
}
.sau-living-gallery .sau-inline-favorites__cell { min-width: 0; }
.sau-living-gallery .sau-inline-favorites__item {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 9px;
  background: #ece7de;
}
.sau-living-gallery .sau-inline-favorites__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: opacity .16s ease;
}
.sau-living-gallery .sau-inline-favorites__item:hover img { opacity: .86; }
.sau-living-gallery .sau-inline-favorites__controls { margin: -.1rem 0 .65rem; }
.sau-living-gallery .sau-inline-favorites__toggle {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #405169;
  padding: .25rem 0;
  font: inherit;
  font-size: .76rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.sau-living-gallery .sau-inline-favorites__actions,
.sau-living-gallery .sau-inline-favorites__ready {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
}
.sau-living-gallery .sau-inline-favorites__ready { margin-top: .5rem; }
.sau-living-gallery .sau-inline-favorites__ready[hidden] { display: none; }
.sau-living-gallery .sau-inline-favorites__share,
.sau-living-gallery .sau-inline-favorites__manage,
.sau-living-gallery .sau-inline-favorites__ready button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2c2924;
  border-radius: 999px;
  background: #fffdf8;
  color: #292621;
  padding: .42rem .78rem;
  font: inherit;
  font-size: .76rem;
  font-weight: 880;
  text-decoration: none;
  cursor: pointer;
}
.sau-living-gallery .sau-inline-favorites__share {
  background: #26231f;
  color: #fffdf8;
}
.sau-living-gallery .sau-inline-favorites__share[hidden] { display: none; }
.sau-living-gallery .sau-inline-favorites__share:disabled { opacity: .65; cursor: wait; }
.sau-living-gallery .sau-inline-favorites__manage { border-color: transparent; }
.sau-living-gallery .sau-inline-favorites__feedback {
  margin: .55rem 0 0;
  color: #5f5a52;
  font-size: .75rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.sau-living-gallery .sau-inline-favorites__feedback[hidden] { display: none; }
.sau-living-gallery .sau-inline-favorites__feedback[data-state="error"] { color: #943832; }

/* One deliberate story ending instead of two disconnected promos. */
.sau-living-gallery .sau-next-walls {
  margin: 1.65rem 0 1.2rem;
  padding-top: 1.1rem;
  border-top: 3px solid #1b1a18;
}
.sau-living-gallery .sau-next-walls__heading span {
  color: #a13b35;
  font-size: .63rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sau-living-gallery .sau-next-walls__heading h2 {
  margin: .16rem 0 .75rem;
  font-size: 1.45rem;
  letter-spacing: -.03em;
}
.sau-living-gallery .sau-next-walls__rail { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.sau-living-gallery .sau-next-wall-card .card-media img { aspect-ratio: 4 / 3; }
.sau-living-gallery .sau-next-wall-card h2 { font-size: .95rem; }
.sau-living-gallery .sau-next-wall-card p { font-size: .78rem; }
.sau-living-gallery .sau-next-walls__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .75rem;
}
.sau-living-gallery .sau-next-walls__actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: .42rem .7rem;
  border: 1px solid #cfc6b8;
  border-radius: 999px;
  background: #fffdf8;
  color: #37332d;
  font-size: .78rem;
  font-weight: 850;
}
.sau-living-gallery .subscribe-custom {
  border-color: #d4cbbd;
  border-radius: 18px;
  background: #e8e2d7;
  box-shadow: none;
}
.sau-living-gallery .subscribe-custom h3 { color: #292620; font-size: 1rem; }
.sau-living-gallery .subscribe-custom p { color: #615b51; }

.sau-living-gallery .comments-area {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 3px solid #1b1a18;
}
.sau-living-gallery .comment,
.sau-living-gallery .img-comments-box { border-color: #d6cfc3; background: #fffdf8; }

.sau-living-gallery .site-footer {
  margin-top: 1.5rem;
  padding: 1.4rem 0 2.4rem;
  border: 0;
  background: #171716;
  color: #d3cdc3;
}
.sau-living-gallery .footer-main { align-items: center; }
.sau-living-gallery .footer-brand { display: grid; line-height: 1.25; }
.sau-living-gallery .footer-brand strong { color: #fffdf8; font-size: .84rem; letter-spacing: .07em; }
.sau-living-gallery .footer-copy { color: #8f8a82; font-size: .74rem; }
.sau-living-gallery .footer-links { padding-top: .8rem; color: #d3cdc3; }
.sau-living-gallery .footer-links a { color: #d3cdc3; min-height: 44px; display: inline-flex; align-items: center; }
.sau-living-gallery .footer-links a:hover { color: #ff8178; }

@media (max-width: 760px) {
  .sau-living-gallery .site-header .site-wrap,
  .sau-living-gallery .global-vibe-bar .site-wrap,
  .sau-living-gallery .site-footer .site-wrap { width: min(100% - 1rem, 1040px); }
  .sau-living-gallery .brand-text { max-width: 32vw; font-size: .77rem; }
  .sau-living-gallery .sau-explore-menu nav {
    left: auto;
    right: 0;
    width: min(260px, calc(100vw - 1rem));
    transform: none;
  }
  .sau-living-gallery .site-header .search-field { width: 78px; max-width: 19vw; padding-inline: .52rem; }
  .sau-living-gallery .site-header .search-submit { padding-inline: .5rem; }
  .sau-living-gallery .sau-explore-menu summary { padding-inline: .58rem; }
  .sau-living-gallery .single { width: min(100% - 1.35rem, 760px); }
  .sau-living-gallery .share-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sau-living-gallery .share-row__prompt { grid-column: 1 / -1; }
  .sau-living-gallery .share-row .share-action { min-width: 0; padding-inline: .45rem; font-size: .75rem; }
  .sau-living-gallery .single-content .sau-artwork-visual {
    width: calc(100% + 1.35rem);
    max-width: calc(100% + 1.35rem);
    margin-left: -.675rem !important;
    margin-right: -.675rem !important;
  }
  .sau-living-gallery .single-content .sau-artwork-visual img,
  .sau-living-gallery .single-content img.sau-artwork-visual {
    width: 100%;
    max-width: 100%;
    margin-inline: 0 !important;
    border-radius: 0;
  }
  .sau-living-gallery .single-content img.sau-artwork-visual {
    width: calc(100% + 1.35rem);
    max-width: calc(100% + 1.35rem);
    margin-left: -.675rem !important;
    margin-right: -.675rem !important;
  }
  .sau-living-gallery .img-like-row.sau-artwork-tray {
    width: 100%;
    margin-top: .45rem;
    padding: .42rem;
  }
  .sau-living-gallery .img-like-row.sau-artwork-tray--detached { margin-top: .65rem; }
  .sau-living-gallery .single-content .sau-artwork-heading { margin-top: .1rem; }
  .sau-living-gallery .sau-next-walls__rail {
    width: calc(100% + .675rem);
    display: flex;
    gap: .65rem;
    overflow-x: auto;
    padding: .1rem .675rem .65rem 0;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .sau-living-gallery .sau-next-walls__rail::-webkit-scrollbar { display: none; }
  .sau-living-gallery .sau-next-wall-card { flex: 0 0 min(82vw, 350px); scroll-snap-align: start; }
}

@media (max-width: 430px) {
  .sau-living-gallery .sau-inline-favorites {
    width: calc(100% + 1.35rem);
    margin-left: -.675rem;
    margin-right: -.675rem;
    padding: .9rem .675rem;
  }
  .sau-living-gallery .sau-inline-favorites__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .sau-living-gallery .sau-inline-favorites__share,
  .sau-living-gallery .sau-inline-favorites__manage { flex: 1 1 0; }
}

@media (max-width: 520px) {
  .sau-living-gallery .site-header .search-submit { display: none; }
  .sau-living-gallery .site-header .search-field { width: 78px; max-width: 22vw; }
}

@media (max-width: 390px) {
  .sau-living-gallery .brand { gap: .45rem; }
  .sau-living-gallery .brand-text { max-width: 34vw; font-size: .7rem; }
  .sau-living-gallery .site-header .mini-tools .search-form { gap: .22rem; }
  .sau-living-gallery .site-header .search-field { width: 72px; max-width: 20vw; }
  .sau-living-gallery .share-row { grid-template-columns: minmax(0,1fr); }
  .sau-living-gallery .share-row__prompt { grid-column: auto; }
}

@media (prefers-reduced-motion:reduce) {
  .sau-living-gallery .card { transition: none; }
  .sau-living-gallery .post-grid .card:hover { transform: none; }
}

/*
 * v1.56 Minimal Frame
 * One wordmark, one search and one featured route. These late overrides keep
 * the proven content and interaction components byte-for-byte compatible.
 */
.sau-living-gallery .site-header {
  padding: .55rem 0;
  border-bottom-color: #ddd7cc;
  background: #fffdf8;
}

.sau-living-gallery .header-row {
  display: grid;
  grid-template-columns: auto minmax(0, 360px);
  justify-content: space-between;
  gap: .65rem;
  min-height: 44px;
}

.sau-living-gallery .brand {
  min-width: 0;
  gap: 0;
  color: #1f1d1a;
}

.sau-living-gallery .brand-text {
  max-width: none;
  color: inherit;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
  white-space: nowrap;
}

.sau-living-gallery .site-header .mini-tools,
.sau-living-gallery .site-header .mini-search,
.sau-living-gallery .site-header .search-form {
  width: 100%;
  min-width: 0;
}

.sau-living-gallery .site-header .mini-tools { margin-left: 0; }
.sau-living-gallery .site-header .search-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: .4rem;
}
.sau-living-gallery .site-header .search-form label { min-width: 0; }
.sau-living-gallery .site-header .search-field {
  width: 100%;
  max-width: none;
  min-height: 44px;
  padding: .55rem .78rem;
  border: 1px solid #d5cec2;
  border-radius: 999px;
  background: #f4f0e8;
  color: #1f1d1a;
  font-size: 1rem;
}
.sau-living-gallery .site-header .search-field::placeholder { color: #777168; }
.sau-living-gallery .site-header .search-submit {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #cbd3ec;
  border-radius: 999px;
  background: #e9edfb;
  color: #244aa8;
}
.sau-living-gallery .site-header .search-submit:hover { background: #dfe6fb; }
.sau-living-gallery .brand:focus-visible,
.sau-living-gallery .site-header .search-field:focus-visible,
.sau-living-gallery .site-header .search-submit:focus-visible,
.sau-living-gallery .sau-top100-link:focus-visible {
  outline: 3px solid #2458e8;
  outline-offset: 3px;
}

.sau-living-gallery .global-vibe-bar {
  border: 0;
  border-bottom: 1px solid #ddd7cc;
  background: #eee9df;
  color: #34312c;
}
.sau-living-gallery .vibe-row {
  display: flex;
  justify-content: center;
  overflow: visible;
  padding: 0;
}
.sau-living-gallery .sau-top100-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  padding: .35rem .8rem;
  color: #34312c;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .035em;
  text-transform: uppercase;
  text-decoration: none;
}
.sau-living-gallery .sau-top100-link:hover { color: #2458e8; }
.sau-living-gallery .sau-top100-link span:last-child {
  color: #d45047;
  font-size: 1rem;
  transform: translateY(-.03em);
}

.sau-living-gallery .site-footer {
  margin-top: clamp(2.5rem, 7vw, 5rem);
  padding: 0;
  border: 0;
  border-top: 1px solid #d9d3c7;
  background: #eee9e0;
  color: #38352f;
}
.sau-living-gallery .site-footer .footer-inner {
  padding-top: clamp(1.55rem, 4vw, 2.35rem);
  padding-bottom: max(1.75rem, env(safe-area-inset-bottom));
}
.sau-living-gallery .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem 2rem;
  align-items: start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #d3cdc2;
}
.sau-living-gallery .footer-brand {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #171716;
  line-height: 1.1;
  text-decoration: none;
}
.sau-living-gallery .footer-brand strong {
  color: inherit;
  font-size: clamp(1rem, 2vw, 1.16rem);
  font-weight: 900;
  letter-spacing: -.035em;
  text-transform: none;
}
.sau-living-gallery .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 1.15rem;
  padding: 0;
  color: inherit;
  font-size: .8rem;
}
.sau-living-gallery .footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: .25rem 0;
  color: #38352f;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}
.sau-living-gallery .footer-links a:hover {
  color: #171716;
  text-decoration-color: currentColor;
}
.sau-living-gallery .footer-bottom {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .75rem;
}
.sau-living-gallery .footer-copy {
  color: #6d685f;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .01em;
}
.sau-living-gallery .footer-favorites {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  color: #4a463f;
  font-size: .76rem;
  font-weight: 800;
}
.sau-living-gallery .footer-favorites[hidden] { display: none; }
.sau-living-gallery .footer-brand:focus-visible,
.sau-living-gallery .footer-links a:focus-visible,
.sau-living-gallery .footer-favorites:focus-visible {
  border-radius: 4px;
  outline: 3px solid #2458e8;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .sau-living-gallery .header-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: .55rem;
  }
  .sau-living-gallery .brand-text { max-width: none; font-size: .78rem; }
  .sau-living-gallery .site-header .search-submit {
    width: 44px;
    min-width: 44px;
    display: inline-flex;
  }
  .sau-living-gallery .site-header .search-field {
    width: 100%;
    max-width: none;
    padding-inline: .7rem;
  }
  .sau-living-gallery .footer-main {
    grid-template-columns: 1fr;
    gap: .65rem;
  }
  .sau-living-gallery .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 0 1rem;
  }
  .sau-living-gallery .footer-links a { border-top: 1px solid #d3cdc2; }
}

@media (max-width: 390px) {
  .sau-living-gallery .brand { gap: 0; }
  .sau-living-gallery .brand-text { max-width: none; font-size: .72rem; }
  .sau-living-gallery .site-header .mini-tools .search-form {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: .32rem;
  }
  .sau-living-gallery .site-header .search-field {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 350px) {
  .sau-living-gallery .footer-links { grid-template-columns: 1fr; }
  .sau-living-gallery .footer-bottom { align-items: flex-start; flex-direction: column; gap: .15rem; }
}

/* 1.57: clearer mobile footer navigation without adding more destinations. */
.sau-living-gallery .site-footer {
  margin-top: clamp(2.75rem, 7vw, 5rem);
  border-top-color: #d8d1c5;
  background: #efeae1;
  color: #39352f;
}
.sau-living-gallery .site-footer .footer-inner {
  padding-top: clamp(1.35rem, 4vw, 2.2rem);
  padding-bottom: calc(1.4rem + env(safe-area-inset-bottom));
}
.sau-living-gallery .footer-main {
  gap: 1.25rem 2rem;
  padding-bottom: 1.2rem;
  border-bottom-color: #d2cabd;
}
.sau-living-gallery .footer-brand { color: #171614; }
.sau-living-gallery .footer-brand strong {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  letter-spacing: -.03em;
}
.sau-living-gallery .footer-links { gap: 0 1.1rem; }
.sau-living-gallery .footer-links a {
  color: #39352f;
  font-weight: 780;
  line-height: 1.2;
}
.sau-living-gallery .footer-links a:hover { color: #171614; }
.sau-living-gallery .footer-bottom { gap: .75rem 1rem; }
.sau-living-gallery .footer-copy { color: #6b655c; }
.sau-living-gallery .footer-favorites {
  padding: 0 .7rem;
  border: 1px solid #cfc6b8;
  border-radius: 999px;
  background: rgba(255,253,248,.55);
  color: #39352f;
  text-decoration: none;
}
.sau-living-gallery .footer-favorites:hover {
  border-color: #aaa092;
  background: #fffdf8;
  color: #171614;
}

@media (max-width: 700px) {
  .sau-living-gallery .site-footer {
    margin-top: 2.75rem;
    background: #eee8de;
  }
  .sau-living-gallery .site-footer .footer-inner {
    width: min(100% - 1.25rem, 1040px);
    padding-top: 1.2rem;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  }
  .sau-living-gallery .footer-main {
    grid-template-columns: 1fr;
    gap: .65rem;
    padding-bottom: 1rem;
  }
  .sau-living-gallery .footer-brand {
    min-height: 46px;
    padding-inline: .15rem;
  }
  .sau-living-gallery .footer-brand strong { font-size: 1.05rem; }
  .sau-living-gallery .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    font-size: .78rem;
  }
  .sau-living-gallery .footer-links a {
    min-width: 0;
    min-height: 48px;
    justify-content: space-between;
    gap: .4rem;
    padding: .6rem .72rem;
    border: 1px solid #d4ccbf;
    border-radius: 12px;
    background: rgba(255,253,248,.66);
    color: #312e29;
    text-decoration: none;
  }
  .sau-living-gallery .footer-links a::after {
    content: '\203A';
    flex: 0 0 auto;
    color: #9c4f48;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-.03em);
  }
  .sau-living-gallery .footer-links a:last-child { grid-column: 1 / -1; }
  .sau-living-gallery .footer-links a:hover {
    border-color: #bdb3a4;
    background: #fffdf8;
  }
  .sau-living-gallery .footer-bottom {
    min-height: 52px;
    padding-top: .65rem;
  }
}

@media (max-width: 350px) {
  .sau-living-gallery .site-footer .footer-inner { width: min(100% - 1rem, 1040px); }
  .sau-living-gallery .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .4rem;
    font-size: .74rem;
  }
  .sau-living-gallery .footer-links a { padding-inline: .58rem; }
  .sau-living-gallery .footer-bottom {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: .1rem;
    padding-top: .75rem;
  }
}

/* 1.58: compact, mobile-first personal collection. */
.favorites-page {
  --favorites-ink: #1b1b19;
  --favorites-muted: #6d6962;
  --favorites-line: #d9d2c7;
  --favorites-paper: #fffdf8;
  max-width: 760px;
  padding-top: 1.4rem;
  padding-bottom: 3rem;
}
.favorites-page__header {
  max-width: 580px;
  margin-bottom: 1.15rem;
}
.favorites-page__header h1 {
  margin: 0;
  color: var(--favorites-ink);
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.favorites-page__intro {
  max-width: 520px;
  margin: .55rem 0 0;
  color: var(--favorites-muted);
  font-size: .96rem;
  line-height: 1.5;
}
.favorites-page__loading {
  margin: 1.25rem 0;
  color: var(--favorites-muted);
}
.favorites-toolbar {
  align-items: center;
  margin: 0 0 1rem;
  padding: .75rem 0;
  border: 0;
  border-top: 1px solid var(--favorites-line);
  border-bottom: 1px solid var(--favorites-line);
  border-radius: 0;
  background: transparent;
}
.favorites-toolbar__count {
  color: var(--favorites-ink);
  font-size: .8rem;
  letter-spacing: .01em;
}
.favorites-toolbar__actions { gap: .45rem; }
.favorites-page .favorites-action,
.favorites-page__explore,
.favorites-status__undo {
  border-color: var(--favorites-line);
  background: var(--favorites-paper);
  color: var(--favorites-ink);
  box-shadow: none;
}
.favorites-page .favorites-action--primary {
  border-color: var(--favorites-ink);
  background: var(--favorites-ink);
  color: #fff;
}
.favorites-page .favorites-action--primary:hover {
  border-color: #3b3935;
  background: #3b3935;
}
.favorites-page .favorites-action--danger {
  border-color: transparent;
  background: transparent;
  color: #8b3f3b;
}
.favorites-page .favorites-action--danger:hover { background: #f2ece5; }
.favorites-page__explore {
  border-color: var(--favorites-ink);
  background: var(--favorites-ink);
  color: #fff;
}
.favorites-page .favorites-page__explore:hover {
  border-color: #3b3935;
  background: #3b3935;
  color: #fff;
}
.favorites-page__unavailable,
.favorites-empty {
  margin: 1rem 0;
  padding: 1.2rem 1rem;
  border-color: var(--favorites-line);
  border-radius: 16px;
  background: var(--favorites-paper);
  box-shadow: none;
}
.favorites-share-panel {
  margin: 0 0 1rem;
  padding: 1rem;
  border-color: var(--favorites-line);
  border-radius: 16px;
  background: var(--favorites-paper);
}
.favorites-share-panel__title {
  color: var(--favorites-ink);
  font-size: 1rem;
}
.favorites-share-panel__message { color: var(--favorites-muted); }
.favorites-share-panel__url {
  border-color: var(--favorites-line);
  background: #fff;
  color: var(--favorites-ink);
}
.favorites-status {
  border-color: #dfd3ae;
  border-radius: 12px;
  background: #faf4df;
}
.favorites-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .72rem;
}
.favorite-card {
  position: relative;
  border-color: var(--favorites-line);
  border-radius: 14px;
  background: var(--favorites-paper);
  box-shadow: none;
}
.favorite-card__media {
  aspect-ratio: 1 / 1;
  background: #eee9e0;
}
.favorite-card__image { object-fit: contain; }
.favorite-card__body { padding: .55rem .62rem .65rem; }
.favorite-card__title {
  display: -webkit-box;
  min-height: 2.55em;
  margin: 0;
  overflow: hidden;
  color: var(--favorites-ink);
  font-size: .86rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.favorite-card__remove {
  position: absolute;
  top: .35rem;
  right: .35rem;
  z-index: 2;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0 0 .12rem;
  border: 1px solid rgba(43,39,35,.18);
  border-radius: 999px;
  background: rgba(255,253,248,.93);
  color: #403d38;
  box-shadow: 0 2px 9px rgba(31,27,23,.12);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
  backdrop-filter: blur(5px);
}
.favorite-card__remove:hover { background: #fff; color: #8b3f3b; }
.favorites-show-more { margin: 1.15rem 0; }
.favorites-action--show-more { min-width: min(100%, 240px); }
.favorites-page__storage-note {
  max-width: 540px;
  margin: 1.2rem auto 0;
  color: var(--favorites-muted);
  font-size: .76rem;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .favorites-page.site-wrap { width: min(100% - 1rem, 760px); }
  .favorites-page { padding-top: .9rem; padding-bottom: 2.4rem; }
  .favorites-page__header { margin-bottom: .9rem; padding-inline: .15rem; }
  .favorites-page__header h1 { font-size: clamp(1.9rem, 9vw, 2.35rem); }
  .favorites-page__intro { margin-top: .42rem; font-size: .86rem; }
  .favorites-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: .55rem;
    margin-bottom: .75rem;
    padding: .65rem .15rem;
  }
  .favorites-toolbar__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    gap: .45rem;
  }
  .favorites-toolbar__actions .favorites-action {
    width: auto;
    min-height: 44px;
  }
  .favorites-toolbar__actions .favorites-action--danger { padding-inline: .62rem; }
  .favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }
  .favorite-card { border-radius: 12px; }
  .favorite-card__body { padding: .48rem .5rem .55rem; }
  .favorite-card__title { font-size: .82rem; }
  .favorite-card__remove { top: .25rem; right: .25rem; }
  .favorites-share-panel { padding: .85rem; }
  .favorites-share-panel__actions { gap: .4rem; }
}

@media (min-width: 640px) {
  .favorites-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
