/* Shared fixes for compact screens and reusable content cards. */
.guest-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:18px; margin:24px 0; }
.guest-grid .story-card { min-width:0; margin:0; padding:18px; }
.guest-grid .story-card > a { display:flex; align-items:center; gap:14px; min-width:0; }
.guest-grid .story-card > a > img { display:block; width:64px; height:64px; aspect-ratio:1; object-fit:cover; border-radius:50%; flex:0 0 64px; }
.guest-grid .story-card h2 { min-width:0; font-size:18px; line-height:1.4; overflow-wrap:anywhere; }
.guest-grid time { display:block; margin-top:12px; color:#756780; font-size:13px; }
.discussion__comment > a[data-report-dialog] { display:inline-flex; align-items:center; min-height:36px; margin:8px 0; padding:6px 12px; border:1px solid #e5c8d6; border-radius:10px; color:#a72560; font-size:13px; text-decoration:underline; text-underline-offset:3px; }
.discussion__tools { flex-wrap:wrap; gap:10px; }
.home-feed-author > a:first-child { flex:0 0 48px; width:48px; }
.home-feed-author > a > img { display:block; width:48px; height:48px; min-width:48px; aspect-ratio:1; object-fit:cover; border-radius:50%; }
.home-feed-category { display:inline-block; margin:14px 0 0; }
 .home-story-teaser .home-teaser-quote { display:flex; min-width:0; overflow-x:auto; scroll-snap-type:x mandatory; padding:12px 0; }
.home-story-teaser .home-teaser-quote > a { display:flex; flex:0 0 100%; min-width:0; box-sizing:border-box; padding:0 12px; scroll-snap-align:start; gap:12px; }
.home-story-teaser .home-teaser-quote > a > img { display:block; float:none; width:38px; height:38px; aspect-ratio:1; flex:0 0 38px; object-fit:cover; border-radius:50%; margin:0; }
.home-story-teaser .home-teaser-quote > a > div { min-width:0; }
.home-story-teaser .story-slider-controls { grid-column:1/-1; }
@media(max-width:700px) {
 .home-page .home-story-teaser { grid-template-columns:minmax(0,1fr); }
 .home-page .home-story-teaser > div, .home-page .home-story-teaser > .btn { grid-column:1; grid-row:auto; }
 .home-story-teaser .home-teaser-quote > a > img { width:32px; height:32px; flex-basis:32px; }
}
.story-slider-controls { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:12px; }
.story-slider-controls button { min-height:40px; min-width:44px; padding:8px 12px; border:1px solid #efd7e2; border-radius:10px; background:#fff; color:#a72560; cursor:pointer; }
.report .overflow-report { align-items:flex-start; gap:32px; }
.report #reportForm { min-width:0; padding:24px; border:1px solid #efdeea; border-radius:20px; background:#fff; }
.report #reportForm label[hidden] { display:none; }
.report #reportForm :is(input,textarea) { max-width:100%; box-sizing:border-box; }
.report #reportForm textarea { min-height:160px; resize:vertical; }
.report .report-contact-links { flex-wrap:wrap; }
.report-contact-links a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 18px; border:1px solid #e5c8d6; border-radius:12px; color:#a72560; }
.ad-compose .ad-compose__grid { grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); }
.ad-compose .addingPost, .ad-compose .ad-compose__submit, .ad-compose .ad-compose__navigation { min-width:0; max-width:100%; box-sizing:border-box; }
.ad-compose .ad-compose__messenger input { min-width:0; }
.ad-compose .ad-compose__submit .btn { white-space:normal; height:auto; min-height:44px; }
.ad-related .plank { flex-wrap:wrap; gap:16px; }
.ad-related .ad-related__track { max-width:100%; min-width:0; }
.ad-related .ad-card { min-width:0; box-sizing:border-box; }
.ad-gallery .ad-gallery__prev, .ad-gallery .ad-gallery__next { padding:0; line-height:1; display:flex; justify-content:center; align-items:center; }
@media(max-width:800px) {
 .ad-compose .ad-compose__grid { grid-template-columns:minmax(0,1fr); }
 .ad-compose .ad-compose__grid > section { grid-column:1; grid-row:auto; }
 .ad-compose .ad-compose__heading { flex-wrap:wrap; }
 .ad-compose .ad-compose__panel { padding:16px; }
 .ad-related .ad-related__track > .ad-list { grid-auto-columns:calc((100% - 18px)/2); }
 .report .overflow-report { flex-direction:column; }
 .report #reportForm, .report .socials { width:100%; margin:0; }
 .personal-gallery { gap:12px; }
}
@media(max-width:500px) {
 .ad-compose .ad-compose__fields { grid-template-columns:minmax(0,1fr); }
 .ad-related .ad-related__track > .ad-list { grid-auto-columns:100%; }
 .personal-gallery.personal-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .personal-gallery .personal-gallery__item details[open] form { position:static; transform:none; width:100%; max-width:100%; }
 .honey-feed .honey-feed__heading { flex-wrap:wrap; gap:12px; }
 .honey-feed .honeygram-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .report #reportForm { padding:16px; }
}
@media(max-width:700px) {
 .site-header .top { box-sizing:border-box; height:52px; padding-block:8px; }
 .site-header .top .site-footer__age { margin-inline:auto; }
 body > main { margin-top:132px; padding-top:1px; }
}

/* Report page: override the legacy dark, fixed-width form. */
.report .overflow-report { width:100%; padding:0; background:transparent; box-sizing:border-box; }
.report #reportForm { flex:1 1 560px; width:auto; box-sizing:border-box; }
.report .socials { flex:0 1 280px; padding:24px 0; }
.report .text { width:100%; max-width:760px; margin-bottom:24px; }
.report #reportForm label > span, .report .socials p, .report .upload_imgs p { color:#39323b; }
.report #reportForm :is(input:not([type=file]):not([type=checkbox]),textarea,.files) { border:1px solid #d9cbd5; color:#39323b; }
.report #reportForm :is(input,textarea)::placeholder { color:#776a74; }
.report #reportForm :is(input,textarea):focus-visible { outline:2px solid #ec247b; outline-offset:2px; }
.report #reportForm .files { box-sizing:border-box; min-height:110px; }
.report #reportForm .over_text { box-sizing:border-box; pointer-events:none; }
@media(max-width:800px) {
 .report #reportForm, .report .socials { flex-basis:auto; width:100%; }
 .report .socials { padding:0; }
}
.site-header .top > .site-footer__age { margin-left:auto; flex-shrink:0; }
@media(max-width:700px) { .site-header .top > .site-footer__age { margin-inline:auto; } }

.interest-card__cover.interest-art--generic { background:linear-gradient(135deg,#fff0f7,#eef9f6); display:flex; align-items:center; justify-content:center; gap:12px; padding:20px; box-sizing:border-box; }
.interest-card__cover.interest-art--generic::before { content:'✦'; color:#d12670; font-size:36px; }
.interest-card__cover.interest-art--generic h3 { position:static; width:auto; height:auto; clip-path:none; overflow:visible; color:#493746; overflow-wrap:anywhere; }
.interest-choice .interest-art--generic { background:linear-gradient(135deg,#fff0f7,#eef9f6); display:grid; place-items:center; }
.interest-choice .interest-art--generic::before { content:'✦'; color:#d12670; font-size:28px; }

.ad-related .ad-card__photo { min-height:0; height:180px; align-self:start; }
.ad-related .ad-card__photo img { min-height:0; height:100%; }
.ad-related .ad-card__content { min-height:0; }
.ad-related .ad-card__author { overflow-wrap:anywhere; }
.ad-related .ad-related__controls button { display:flex; align-items:center; justify-content:center; padding:0; line-height:1; }
.honey-feed .honeygram-tile { aspect-ratio:1; }
.honey-feed .honeygram-tile__author { overflow-wrap:anywhere; font-size:14px; }

.profile-review-status p:not([hidden]) { margin:12px 0; padding:12px 16px; border:1px solid #f1d6e3; border-radius:12px; color:#75445b; background:#fff5fa; font-size:14px; line-height:1.5; }

.moderate .images { grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); }
.moderate .images .block { min-width:0; }
.moderate .images .img img { display:block; width:100%; height:220px; object-fit:contain; background:#faf5f8; }
.moderate :is(.users,.posts) .buttons { position:relative; inset:auto; transform:none; grid-column:1/-1; flex-wrap:wrap; justify-content:center; margin:12px 0; z-index:2; }
.moderate .buttons button { height:auto; min-height:44px; padding:10px 14px; white-space:normal; }
.moderate .buttons button:disabled { opacity:.5; cursor:wait; }
@media(max-width:600px) {
 .moderate .images { grid-template-columns:minmax(0,1fr); }
 .moderate :is(.users,.posts) .buttons { width:100%; }
 .moderate :is(.users,.posts) .buttons button { flex:1 1 120px; }
}

/* HEIC files are converted by the server; browsers may not decode their preview. */
.ad-upload-placeholder { display:flex; align-items:center; justify-content:center; aspect-ratio:1; padding:8px; box-sizing:border-box; border-radius:10px; background:#fff0f7; color:#75445b; overflow-wrap:anywhere; font-size:12px; text-align:center; }
.ad-compose .upload_imgs .grid { align-items:start; }
.ad-compose .upload_imgs .img { min-width:0; }
.ad-compose .upload_imgs .img > img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; }
.ad-compose .ad-upload-placeholder { min-width:0; width:100%; padding:30px 8px 8px; }
@media(max-width:600px) {
 .ad-compose .upload_imgs .grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.report #reportForm .over_text span { color:#645564; }
.report #reportForm .over_text .grey { color:#776a74; }
.report #reportForm > .btn { min-height:44px; height:auto; margin-top:18px; }
.report #reportForm .personal { display:flex; align-items:flex-start; gap:10px; }
.report #reportForm .personal input { flex:0 0 20px; width:20px; margin-top:3px; }
.report #reportForm .personal .custom_checkbox { display:none; }
@media(max-width:600px) {
 .ad-compose .ad-compose__preview-photos { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.report #reportForm .personal input[type=checkbox] { display:block; appearance:auto; height:20px; accent-color:#ec247b; }
.report #reportForm .personal { flex-direction:row; }
/* Actions occupy their own top row; the name no longer needs room for the menu. */
@media(max-width:500px) {
 .profile-tab-header .profile-tab-header__name { padding-right:0; font-size:22px; line-height:1.3; }
 .profile-tab-header .profile-tab-header__avatar { align-self:start; }
 .profile-tab-header .profile-tab-header__identity { align-self:start; }
}

/* Keep moderator tools from covering mobile form inputs. */
@media(max-width:700px) {
 #admin-menu-toggle { position:static; display:block; writing-mode:horizontal-tb; transform:none; min-height:44px; margin:16px auto 90px; padding:10px 18px; border-radius:10px; }
 #admin_menu { max-width:calc(100vw - 20px); max-height:calc(100dvh - 20px); overflow:auto; box-sizing:border-box; }
}

@media (max-width: 400px) {
 .home-story-teaser .story-slider-controls { flex-wrap:nowrap; gap:6px; }
 .story-slider-controls button { padding:8px; }
 .story-slider-controls button:nth-child(2) { min-width:0; font-size:12px; }
}

/* The site-wide text color must not hide the counter on the dark viewer. */
.fancybox__container .fancybox__infobar,
.fancybox__container .fancybox__infobar span { color:#fff; text-shadow:0 1px 3px #000; }

/* The feedback form shares report styles but has a light background. */
.callback #callBackForm {
 padding:24px;
 border:1px solid #efdeea;
 border-radius:20px;
 background:#fff;
 box-sizing:border-box;
}
.callback #callBackForm [hidden] { display:none !important; }
.callback #callBackForm label { min-width:0; height:auto; justify-content:space-between; }
.callback #callBackForm label > span { color:#39323b; font-size:14px; line-height:1.5; }
.callback #callBackForm textarea {
 min-height:150px;
 border:1px solid #d9cbd5;
 color:#39323b;
 box-sizing:border-box;
 resize:vertical;
}
.callback #callBackForm textarea:focus-visible { outline:2px solid #ec247b; outline-offset:2px; }
@media (max-width:600px) {
 .callback #callBackForm { padding:16px; }
}
