/* long words only break when they don't fit at all (no hyphens, no letter-by-letter columns) */
* { overflow-wrap: break-word; word-wrap: break-word; }
.comment-text, .item-desc, .card-text, .post-text, .notif, .lb-cap { overflow-wrap: anywhere; }

.border-top-info {
	border-top: .25rem solid #36b9cc !important;
}

/* Boostrap overwrite */

@media (min-width:356px) {
	.card-columns {
			column-count: 1;
		}
	}

	@media (min-width:576px) {
	.card-columns {
			column-count: 3;
	}
		.card-columns-sm-2 {
			column-count: 2;
		}
	}
	@media (min-width:768px) {
		.card-columns-md-4 {
			column-count: 4;
		}
	}
	@media (min-width:992px) {
		.card-columns-lg-6 {
			column-count: 6;
		}
	}
	@media (min-width:1200px) {

	}
.font-weight-bold {
	font-weight: 600!important;
}

.custom-file-input~.custom-file-label#usr_avatar_label::after{font-family: "Font Awesome 7 Free";content:"\f2bd"!important;}
.custom-file-input~.custom-file-label#collection_cover_label::after{font-family: "Font Awesome 7 Free";content:"\f03e"!important;}
.custom-file-input~.custom-file-label#item_pictures_label::after{font-family: "Font Awesome 7 Free";content:"\f302"!important;}

.dropdown-item.active, .dropdown-item:active, .dropdown-item.hover, .dropdown-item:hover {

	background-color: transparent!important;

}

.dropdown-item.active a, .dropdown-item a:active, .dropdown-item.hover a, .dropdown-item a:hover {

	background-color: #f8f9fa;

}

.dropdown-divider {
	margin-top: 0!important;
	margin-bottom: 0!important;
}

/* SB overwrite */

.border-left-primary {
	border-left: .25rem solid #4e73df!important
}
.border-bottom-primary {
	border-bottom: .25rem solid #4e73df!important
}
.border-left-secondary {
	border-left: .25rem solid #858796!important
}
.border-bottom-secondary {
	border-bottom: .25rem solid #858796!important
}
.border-left-success {
	border-left: .25rem solid #1cc88a!important
}
.border-bottom-success {
	border-bottom: .25rem solid #1cc88a!important
}
.border-left-info {
	border-left: .25rem solid #36b9cc!important
}
.border-bottom-info {
	border-bottom: .25rem solid #36b9cc!important
}
.border-left-warning {
	border-left: .25rem solid #f6c23e!important
}
.border-bottom-warning {
	border-bottom: .25rem solid #f6c23e!important
}
.border-left-danger {
	border-left: .25rem solid #e74a3b!important
}
.border-bottom-danger {
	border-bottom: .25rem solid #e74a3b!important
}
.border-left-light {
	border-left: .25rem solid #f8f9fc!important
}
.border-bottom-light {
	border-bottom: .25rem solid #f8f9fc!important
}

.border-left-dark {
	border-left: .25rem solid #5a5c69!important
}

.border-bottom-dark {
	border-bottom: .25rem solid #5a5c69!important
}

/* Gallery */

.modal-dialog,
.modal-content {
}

.modal-body img {
	/* 100% = dialog height, 120px = header + footer */
	max-height: calc(80vh); 
	max-width: 100%; 
	margin: auto;
}

/* keep the photo proportions when width/height attributes are set (avoids layout jumps) */
.card-img-top[width][height], img.img-fluid[width][height] { height: auto; }
.card-img-top[width] { width: 100%; }

/* Item photo gallery: always in the middle of the screen, whatever the photo size */


/* =====================================================================
   VISUAL REFRESH (update 8)
   Colours: teal #36b9cc (actions), dark #3a3b45 (text), grey #858796
   ===================================================================== */

/* Brand font for headings (self-hosted, no Google requests) */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("/css/fonts/nunito-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("/css/fonts/nunito-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("/css/fonts/nunito-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("/css/fonts/nunito-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("/css/fonts/nunito-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("/css/fonts/nunito-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

body { color: #3a3b45; background: #fbfcfe; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .navbar-brand, .modal-title, .btn-lg {
	font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-weight: 700;
}
a { color: #258a99; }
a:hover { color: #1b6874; }

/* Buttons: teal for actions, red for destructive, grey outline for cancel */
.btn { border-radius: .5rem; }
.btn-info { background-color: #36b9cc; border-color: #36b9cc; }
.btn-info:hover, .btn-info:focus { background-color: #2a9fb0; border-color: #2a9fb0; }
.btn-outline-info { color: #258a99; border-color: #36b9cc; }
.btn-outline-info:hover { background-color: #36b9cc; border-color: #36b9cc; color: #fff; }
.badge-info { background-color: #36b9cc; }

/* Page headers: one compact title row */
.page-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
	padding: .25rem 0 .6rem; margin-bottom: .25rem; border-bottom: 2px solid #e3e6f0; }
.page-header h1, .page-header .h2 { margin: 0; font-size: 1.6rem; color: #3a3b45; }
.page-header h1 small { font-size: 100%; }
.page-header h1 small small { font-size: 70%; color: #858796; }
.page-header-side { text-align: right; }
.page-header-side h3 { font-size: .95rem; margin: 0; color: #858796; font-weight: 600; }
.page-header-side h3 br { display: none; }

/* Cards and photo grids */
.card { border: 1px solid #e9ecf3; border-radius: .75rem; box-shadow: 0 1px 3px rgba(58,59,69,.06); overflow: hidden; }
.card-columns .card, .collection-card { transition: transform .15s ease, box-shadow .15s ease; }
.card-columns .card:hover, .collection-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(58,59,69,.12); }
.cover-crop { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* grey block while a photo loads */
.card-img-top, .card-columns img, .cover-crop, .modalItemGallery .carousel-item img { background-color: #eef0f5; }
.list-group-item:first-child { border-top-left-radius: .75rem; border-top-right-radius: .75rem; }
.list-group-item:last-child { border-bottom-left-radius: .75rem; border-bottom-right-radius: .75rem; }

/* Home page for visitors */
.hero { background: linear-gradient(135deg, #36b9cc 0%, #2a8fc7 100%); color: #fff; border-radius: 1rem; padding: 2.5rem 2rem; }
.hero h1 { font-size: 2.2rem; font-weight: 800; line-height: 1.2; }
.hero h1 small { display: block; font-size: 1.3rem; font-weight: 600; opacity: .95; margin-top: .5rem; }
.hero p.lead { opacity: .95; }
.hero .btn-light { color: #1b6874; font-weight: 700; }
.hero-card { border-radius: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
@media (max-width: 767.98px) { .hero { padding: 1.5rem 1.25rem; } .hero h1 { font-size: 1.6rem; } }

/* Empty states */
.empty-state { text-align: center; padding: 2.5rem 1rem; color: #858796; }
.empty-state img { max-width: 260px; width: 70%; height: auto; margin-bottom: 1.25rem; opacity: .9; }
.empty-state h4 { color: #3a3b45; }

/* Phone: bottom navigation bar */
.bottom-nav { display: none; }
@media (max-width: 767.98px) {
	.bottom-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: #fff;
		border-top: 1px solid #e3e6f0; box-shadow: 0 -2px 10px rgba(0,0,0,.05); padding-bottom: env(safe-area-inset-bottom); }
	.bottom-nav a { flex: 1; text-align: center; padding: .45rem 0 .35rem; color: #858796; font-size: .7rem; text-decoration: none; position: relative; }
	.bottom-nav a .fa-solid, .bottom-nav a .fa-regular { display: block; font-size: 1.25rem; margin-bottom: .1rem; }
	.bottom-nav a.active, .bottom-nav a:hover { color: #258a99; }
	.bottom-nav .badge { position: absolute; top: .2rem; left: 55%; font-size: .6rem; }
	body { padding-bottom: 4.5rem; }
}
/* headings and hero text: no automatic hyphenation */
h1, h2, h3, h4, h5, .hero, .hero * , .page-header * { -webkit-hyphens: manual; -ms-hyphens: manual; hyphens: manual; word-break: normal; }
.page-header-side h3 small { margin-right: .25rem; }
@media (max-width: 767.98px) { #chatBox { height: calc(100vh - 21rem); min-height: 220px; } }
/* phones: photo grids in two columns instead of one long column */
@media (max-width: 575.98px) { .card-columns.card-columns-sm-2 { column-count: 2; column-gap: .5rem; } .card-columns.card-columns-sm-2 .card { margin-bottom: .5rem; } }

/* sale status + "Ask about this item" shown together */
.sale-box{border:1px solid #bfe3ea;background:#f3fafb;border-radius:.5rem;padding:.6rem .75rem}
/* item opened from a #galleryN link */
[id^="gallery"].card{scroll-margin-top:80px}
@keyframes itemPulse{0%,100%{box-shadow:0 0 0 3px rgba(23,162,184,1)}50%{box-shadow:0 0 0 7px rgba(23,162,184,.25)}}

/* ===== social: feed, posts, comments, notifications ===== */
.min-w-0{min-width:0}
.feed-card{border-radius:.75rem;border:1px solid #e3eef0}
.post-form textarea{resize:vertical}
.post-form .btn-group-toggle .btn{border-radius:999px!important;margin:0 .35rem .35rem 0}
.post-type{font-weight:700;border-radius:999px;padding:.3em .7em}
.post-type-1{background:#fff3cd;color:#8a6100}
.post-type-2{background:#e7f1ff;color:#1d5fb8}
.post-type-3{background:#e0f5f2;color:#17766f}
.post-group{background:#eef6f7;color:#17766f;font-weight:700;border-radius:999px;padding:.3em .7em}
a.post-group:hover{background:#d8eef0;color:#0f5a54;text-decoration:none}
.group-chip{font-size:.8rem;font-weight:400;margin-right:.25rem;padding:.4em .75em}
.group-card .btn{white-space:nowrap}
.like-btn{cursor:pointer}
.like-count{font-weight:700}
.post-group-select{max-width:12rem}
.post-text{white-space:normal;word-wrap:break-word;overflow-wrap:anywhere}
.post-photos{display:grid;gap:4px;border-radius:.5rem;overflow:hidden}
.post-photos-1{grid-template-columns:1fr}
.post-photos-2,.post-photos-4{grid-template-columns:1fr 1fr}
.post-photos-3{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr}
.post-photos-3 a:first-child{grid-row:span 2}
.post-photos img{width:100%;height:100%;max-height:420px;object-fit:cover;display:block;aspect-ratio:1/1}
.post-photos-1 img{aspect-ratio:auto;max-height:520px;object-fit:contain;background:#f4f8f9}
.feed-items{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}
.feed-item{position:relative;display:block;border-radius:.4rem;overflow:hidden;aspect-ratio:1/1;background:#f4f8f9}
.feed-item img{width:100%;height:100%;object-fit:cover}
.feed-item-ph{display:flex;align-items:center;justify-content:center;height:100%;color:#b7c4c7;font-size:1.5rem}
.feed-more{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(23,119,117,.6);color:#fff;font-weight:800;font-size:1.25rem}
.comment-bubble{background:#f1f6f7;border-radius:.9rem;padding:.4rem .75rem;display:inline-block;max-width:100%;overflow-wrap:anywhere}
.comment-meta{font-size:.75rem;padding-left:.75rem}
.comment-meta form,.comment-meta .btn-link{font-size:.75rem}
.comment-form textarea{min-height:34px;resize:none;border-radius:1rem}
.mention{font-weight:700}
.featured-card{border:2px solid #bfe3ea;border-radius:.75rem;overflow:hidden}
.featured-card-big .card-img-top{max-height:320px}
.nav-bell{position:relative;color:#5a5c69;font-size:1.2rem}
.nav-bell .badge{position:absolute;top:2px;right:-6px;font-size:.6rem}
a.nav-bell.d-md-none{padding:.25rem .4rem}
.notif{background:#fff;border:1px solid #edf2f3;text-decoration:none!important}
.notif:hover{background:#f6fbfb}
.notif-unread{background:#eef9f8;border-color:#bfe3ea}
.notif-icon{position:absolute;right:-4px;bottom:-4px;background:#17a2b8;color:#fff;border-radius:50%;width:20px;height:20px;font-size:.6rem;display:flex;align-items:center;justify-content:center;border:2px solid #fff}
.item-comments-toggle{display:inline-block}
.feed-card .cover-crop{max-height:300px}
.comment-form .btn,.post-form .btn{white-space:nowrap}
/* items of a collection: a grid that reads left-to-right, in the order the owner chose */
.items-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:1rem;align-items:start}
.items-grid>.card{margin-bottom:0!important}
@media (max-width:575.98px){.items-grid{grid-template-columns:1fr 1fr;gap:.5rem}}
/* custom item order (Edit collection) */
/* long names without spaces (e.g. "AlteregoDiego2209") must never push a column below the other */
.row>.col,.row>[class*="col-"]{min-width:0}
h1,h2,h3,h4,h5{overflow-wrap:anywhere}
/* group page: Items tab */
.group-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:6px}
.group-item{position:relative;display:block;aspect-ratio:1/1;border-radius:.5rem;overflow:hidden;background:#f4f8f9}
.group-item img{width:100%;height:100%;object-fit:cover}
.group-item-name{position:absolute;left:0;right:0;bottom:0;padding:.25rem .4rem;font-size:.75rem;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.65));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* post attachments */
.post-links{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px}
.post-link{display:flex;align-items:center;border:1px solid #e3eef0;border-radius:.6rem;padding:.4rem;background:#fbfdfd;color:#3a3b45;text-decoration:none!important;min-width:0}
.post-link:hover{border-color:#17a2b8;background:#f3fafb}
.post-link img,.post-link-ph{width:56px;height:56px;border-radius:.4rem;object-fit:cover;flex:none;margin-right:.6rem;background:#eef4f5;display:flex;align-items:center;justify-content:center;color:#b7c4c7}
.post-link-text{display:flex;flex-direction:column;min-width:0;font-size:.8rem;line-height:1.3}
.post-link-kind{color:#17a2b8;font-size:.7rem;font-weight:700;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.post-link-name{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.post-link-owner{color:#858796}
.attach-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.4rem;cursor:pointer}
.attach-row img{width:40px;height:40px;object-fit:cover;border-radius:.35rem}
.attach-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:6px}
.attach-item{position:relative;display:block;cursor:pointer;margin:0;border-radius:.4rem;overflow:hidden;background:#f4f8f9;aspect-ratio:1/1}
.attach-item img{width:100%;height:100%;object-fit:cover}
.attach-item input{position:absolute;top:6px;left:6px;z-index:2;transform:scale(1.2)}
.attach-item .attach-name{position:absolute;left:0;right:0;bottom:0;font-size:.65rem;color:#fff;background:rgba(0,0,0,.55);padding:.1rem .3rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.attach-item input:checked~img{outline:3px solid #17a2b8;outline-offset:-3px}
.attach-chip-x{text-decoration:none!important;font-weight:800}
/* item/collection cards: the name stands out from the description */
.card-title.item-card-name{font-size:.95rem;font-weight:700;color:#1f2d3d;line-height:1.25;margin-bottom:.35rem}
.card-title.item-card-name a{color:#1f2d3d!important}
.card-text.item-card-desc{font-size:.8rem;color:#8a94a6;line-height:1.4}
.post-attach-chips .attach-chip{font-size:.85rem;font-weight:400;padding:.4em .8em;max-width:100%;white-space:normal;text-align:left;line-height:1.3}
.post-attach-chips .attach-chip-x{display:inline-block;font-size:1.15rem;line-height:1;margin-left:.45rem!important;vertical-align:-.1em;padding:0 .1rem}
.attach-row{justify-content:flex-start!important;text-align:left}.attach-row .attach-name{flex:1;text-align:left}
/* password boxes: eye button to show/hide (placed over the box by bott.php) */
.pw-input{padding-right:2.4rem!important}
/* one eye per password box: hide the browser's own (Edge) */
input[type=password]::-ms-reveal,input[type=password]::-ms-clear,.pw-input::-ms-reveal,.pw-input::-ms-clear{display:none}
.pw-wrap{position:relative;display:inline-block}
.pw-eye{position:absolute;width:2.2rem;border:0;background:transparent;color:#858796;display:flex;align-items:center;justify-content:center;padding:0;z-index:5}
.pw-eye:hover,.pw-eye:focus{color:#17a2b8;outline:none}
/* unpublished collections / items (seen only by the owner and admins) */
.item-unpublished{border:2px dashed #f6c23e!important;position:relative}
.item-unpublished img{opacity:.55}
.unpublished-ribbon{display:inline-block;align-self:flex-start;margin:.5rem .5rem 0;background:#f6c23e;color:#3a3b45;font-size:.7rem;font-weight:400;text-transform:uppercase;border-radius:999px;padding:.15rem .6rem}
.collection-unpublished{border:2px dashed #f6c23e!important}
.collection-unpublished .card-img-top{opacity:.55}
/* profile picture in the top menu, same size as the other menu icons */
.nav-avatar{width:1.25em;height:1.25em;border-radius:50%;object-fit:cover;vertical-align:-.2em;border:1px solid #dfe7e9}
/* item card actions: icons only, the name appears on hover / keyboard focus */
.item-actions small{display:flex;align-items:center;flex-wrap:wrap;gap:.9rem}
.item-actions .act{position:relative;display:inline-flex;align-items:center;font-size:14px;text-decoration:none!important} /* same size in grid and list views */
.item-actions .like-label{display:none}
.item-actions .like-btn .mr-1{margin-right:.2rem!important}
.item-actions .act[data-tip]:hover::after,.item-actions .act[data-tip]:focus-within::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);background:#3a3b45;color:#fff;font-size:.7rem;font-weight:600;white-space:nowrap;padding:.15rem .5rem;border-radius:.3rem;pointer-events:none;z-index:10}
/* profile picture in the menu: 5% bigger */
.nav-avatar{width:1.31em;height:1.31em}

/* item cards: step through the photos (the card keeps the size of the first photo) */
.card-gallery{position:relative;cursor:zoom-in;background:#f4f8f9;border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden}
.card-gallery .cg-current{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#f4f8f9}
.cg-arrow{position:absolute;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;border:0;background:rgba(255,255,255,.9);color:#3a3b45;box-shadow:0 2px 8px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center;font-size:.75rem;opacity:0;transition:opacity .15s;z-index:2;cursor:pointer}
.cg-prev{left:6px}.cg-next{right:6px}
.card-gallery:hover .cg-arrow,.card-gallery:focus-within .cg-arrow:focus-visible{opacity:1}
/* keyboard: when one arrow has the focus, both show */
.card-gallery:has(.cg-arrow:focus-visible) .cg-arrow{opacity:1}
@media (hover:none){.cg-arrow{opacity:.85}}
.cg-count{position:absolute;right:6px;bottom:6px;background:rgba(0,0,0,.6);color:#fff;font-size:.7rem;font-weight:700;border-radius:999px;padding:.1rem .5rem;z-index:2;pointer-events:none}

/* photo viewer: white frame on a blurred dark background */
body.lb-open{overflow:hidden}
.lb{position:fixed;inset:0;z-index:1080;display:flex;flex-direction:column;align-items:center;justify-content:center}
.lb[hidden]{display:none}
.lb-back{position:absolute;inset:0;background:rgba(20,24,28,.82);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.lb-frame{position:relative;margin:0;background:#fff;padding:12px 12px 8px;border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.45);max-width:calc(100vw - 140px)}
.lb-img{display:block;max-width:100%;max-height:calc(100vh - 190px);border-radius:8px;margin:0 auto;background:#f4f8f9}
.lb-single .lb-img{max-height:calc(100vh - 120px)}
[data-zoom]{cursor:zoom-in} /* update 101 */
.lb-img{width:auto;height:auto} /* small photos at their real size, never stretched */
.lb-cap{display:flex;justify-content:space-between;gap:1rem;font-size:.9rem;color:#3a3b45;padding:8px 2px 0}
.lb-btn{position:absolute;z-index:2;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#3a3b45;box-shadow:0 4px 14px rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center;font-size:1rem;cursor:pointer}
.lb-btn:hover{background:#fff;color:#17a2b8}
.lb-close{top:16px;right:18px;width:38px;height:38px}
.lb-prev{left:22px;top:50%;transform:translateY(-50%)}.lb-next{right:22px;top:50%;transform:translateY(-50%)}
.lb-single .lb-prev,.lb-single .lb-next{display:none}
.lb-thumbs{position:relative;z-index:2;display:flex;gap:6px;margin-top:14px;max-width:calc(100vw - 32px);overflow-x:auto;padding:2px}
.lb-thumbs img{width:48px;height:48px;object-fit:cover;border-radius:6px;border:2px solid transparent;opacity:.65;cursor:pointer;flex:none}
.lb-thumbs img.on{border-color:#fff;opacity:1}
@media (max-width:575.98px){.lb-frame{max-width:calc(100vw - 20px);padding:8px 8px 6px}.lb-prev{left:6px}.lb-next{right:6px}.lb-btn{width:38px;height:38px}}

/* drag & drop pictures onto file boxes */
.dnd-zone{position:relative}
.dnd-zone.dnd-over{outline:2px dashed #17a2b8;outline-offset:3px;border-radius:.4rem}
.dnd-zone.dnd-over::after{content:attr(data-drop-text);position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(232,247,249,.92);color:#17766f;font-weight:700;font-size:.85rem;border-radius:.4rem;z-index:5;pointer-events:none}
/* add several items */
.bulk-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:2px dashed #9fd3dc;border-radius:.75rem;background:#f3fafb;color:#17766f;padding:1.6rem 1rem;cursor:pointer;width:100%}
.bulk-drop.over{background:#e2f4f6;border-color:#17a2b8}
.bulk-drop small{max-width:640px;margin-top:.3rem}
.bulk-blocks{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.75rem;align-items:start}
.bulk-block{border:1px solid #e3eef0;border-radius:.6rem;overflow:hidden}
.bulk-block.over{border-color:#17a2b8;box-shadow:0 0 0 3px rgba(23,162,184,.25)}
.bulk-block.saved{opacity:.6}
.bulk-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:3px;padding:3px;background:#f4f8f9;min-height:70px}
.bulk-photo{aspect-ratio:1/1;border-radius:.35rem;overflow:hidden;cursor:grab;border:2px solid transparent}
.bulk-photo img{width:100%;height:100%;object-fit:cover;pointer-events:none}
.bulk-photo.dragging{opacity:.35}
.bulk-photo.picked{border-color:#f6c23e}
.bulk-photos .bulk-photo:first-child:last-child{grid-column:1/-1;aspect-ratio:4/3}
.bulk-defaults textarea{min-height:calc(1.5em + .75rem + 2px);resize:vertical}.bulk-defaults label.mb-1{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
/* transfers: picture | text | buttons on one line; on phones the buttons go under the text, to the right */
.transfer-card{display:grid;grid-template-columns:72px 1fr auto;gap:.5rem 1rem;align-items:center}
.transfer-card>img{margin:0!important}
.transfer-card .transfer-actions{justify-self:end}
@media (max-width:575.98px){.transfer-card{grid-template-columns:72px 1fr}.transfer-card .transfer-actions{grid-column:1/-1}}
/* item page */
.item-photos{background:#fff;border-radius:.75rem;padding:.6rem;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.item-main{display:block;width:100%;border:0;padding:0;background:#f4f8f9;border-radius:.5rem;overflow:hidden;cursor:zoom-in}
.item-main img{display:block;width:100%;max-height:72vh;object-fit:contain;margin:auto}
/* update 114: one fixed 4:3 box for every photo, so the thumbnails under it never move */
.item-main{aspect-ratio:4/3;max-height:72vh}
.item-main img{height:100%;max-height:none}
.item-thumbs{display:flex;flex-wrap:wrap;gap:6px;margin-top:.5rem}
.item-thumb{width:64px;height:64px;padding:0;border:2px solid transparent;border-radius:.4rem;overflow:hidden;background:#f4f8f9;opacity:.7}
.item-thumb.on,.item-thumb:hover{border-color:#17a2b8;opacity:1}
.item-thumb img{width:100%;height:100%;object-fit:cover}
.item-nophoto{display:flex;align-items:center;justify-content:center;height:260px;border-radius:.75rem;background:#f4f8f9;color:#b8c4c8}
.item-desc{white-space:normal;overflow-wrap:anywhere}
.item-more{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.card-gallery[data-href]{cursor:pointer}
/* item page on phones: photos, details, comments, more (in that order) */
@media (max-width:991.98px){.item-col{display:contents}.item-a1,.item-a2,.item-a3,.item-a4{flex:0 0 100%;max-width:100%;padding:0 .25rem}.item-a1{order:1}.item-a2{order:2}.item-a3{order:3}.item-a4{order:4}}
/* phones: Search / Add bars that slide up above the bottom navigation */
.bn-sheet{display:none}
@media (max-width:767.98px){
	.bn-sheet{display:block;position:fixed;left:0;right:0;bottom:calc(3.6rem + env(safe-area-inset-bottom));z-index:1029;background:#fff;padding:.75rem 1rem;border-top:1px solid #e3e6f0;box-shadow:0 -4px 12px rgba(0,0,0,.08);transform:translateY(130%);visibility:hidden;transition:transform .2s ease,visibility .2s}
	.bn-sheet.open{transform:none;visibility:visible}
	.bottom-nav a.active-sheet{color:#258a99}
	.navbar .dropdown-menu{max-width:calc(100vw - 1rem)}
}
/* comment boxes grow instead of scrolling */
.comment-form textarea{overflow-y:hidden}
.navbar .dropdown-menu .text-truncate{max-width:min(18rem,calc(100vw - 3rem))}
.msg-tabs a{color:#858796;margin-right:1.25rem;text-decoration:none}
.msg-tabs a:hover{color:#6e707e;text-decoration:underline}
.msg-tabs a.active,.msg-tabs a.active:hover{color:#17a2b8;text-decoration:none}
.msg-tabs .badge{font-size:.55em;vertical-align:middle}
/* bell / envelope popups */
.navbar .menu-pop{width:26rem;max-width:calc(100vw - 1rem)}
.navbar .menu-pop .text-wrap{white-space:normal;line-height:1.3}
.navbar .menu-pop .nav-link.notif-unread{background:#eef9f8}
/* follow buttons never wrap ("Following" on one line) */
.follow-form .btn,.follow-form{white-space:nowrap;flex-shrink:0}
/* back-to-top arrow */
.to-top{position:fixed;right:1rem;bottom:1.25rem;z-index:1025;width:2.75rem;height:2.75rem;border-radius:50%;border:0;background:#17a2b8;color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.2);opacity:.9}
.to-top:hover{opacity:1}
@media (max-width:767.98px){.to-top{bottom:calc(4.4rem + env(safe-area-inset-bottom));right:.75rem}}
.comments-earlier{font-size:inherit}
/* buttons and table headers never split words */
.btn, .table th, .badge, .nav-link { white-space: nowrap; }
.transfer-actions .btn { white-space: nowrap; }
/* post composer: even gaps between the tool buttons; group select + Publish on one line */
.post-tools { gap: .4rem; }
.post-tools .post-group-select { width: auto; max-width: 12rem; }
.post-textarea { overflow-y: hidden; resize: none; }
.search-page-box { max-width: 40rem; }

/* Admin > All users: search, sort and Show spaced apart; wraps to two rows on phones */
.admin-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.admin-filter .form-control { flex: 1 1 14rem; width: auto; min-width: 0; }
.admin-filter .custom-select { flex: 1 1 auto; width: auto; max-width: 16rem; }

/* Edit collection > Edit several items: checkboxes in the item list and the actions bar */
.batch-row{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem}
.batch-row .custom-select,.batch-row .form-control{flex:1 1 12rem;width:auto;min-width:0;max-width:22rem}

/* inline forms (admin, transfers, translations...): even gaps, and on phones fields share the row instead of stacking glued together */
.form-inline{flex-wrap:wrap;gap:.5rem}
.form-inline>*{max-width:100%}
.form-inline .mr-1,.form-inline .mr-2,.form-inline .mr-sm-2{margin-right:0!important}
/* ...but icons inside buttons keep their space before the text */
.form-inline .btn [class*="fa-"].mr-1,.form-inline label.btn [class*="fa-"].mr-1{margin-right:.25rem!important}
.form-inline .btn [class*="fa-"].mr-2{margin-right:.5rem!important}
.form-inline .pw-wrap.mr-2{margin-right:.5rem!important}
.form-inline .mb-1,.form-inline .mb-2{margin-bottom:0!important}
@media (max-width:575.98px){
	.form-inline>.form-control,.form-inline>.custom-select,.form-inline>.input-group{flex:1 1 12rem;width:auto;min-width:0!important}
	/* form labels sit above their field on phones: align them left, close to it */
	.col-form-label.text-right{text-align:left!important;padding-bottom:.15rem}
}
/* admin tables: one line per cell (they scroll sideways); only long text columns wrap */
.table-tidy td{white-space:nowrap}
.table-tidy td.td-wrap{white-space:normal;min-width:12rem}

/* Edit collection: "choose the cover" picture window */
.cover-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:.5rem}
.cover-pick{all:unset;box-sizing:border-box;display:block;min-width:0;cursor:pointer;border:2px solid transparent;border-radius:.5rem;padding:.2rem;text-align:center;color:#5a5c69}
.cover-pick img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:.35rem;background:#f4f8f9}
.cover-pick:hover,.cover-pick:focus-visible{border-color:#17a2b8}
.cover-pick[hidden]{display:none}
/* Edit item: move pictures to another item */
.move-pics{display:flex;flex-wrap:wrap;gap:.4rem}
.move-pics .custom-select{flex:0 1 13rem;min-width:0}

/* links to a part of the same page (#comments, #explore...) glide there instead of jumping,
   and stop below the sticky header; people who ask their device for less motion still jump */
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
[id]{scroll-margin-top:70px}

/* Group page, "All" tab: posts, collections and items mixed in one grid (4 / 3 / 2 per row) */
.mix-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-bottom:1rem}
@media (max-width:991.98px){.mix-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:575.98px){.mix-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}}
.mix-card{position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid #e3eef0;border-radius:.6rem;overflow:hidden;background:#fff;font-size:.8rem;transition:box-shadow .15s}
.mix-card:hover{box-shadow:0 2px 10px rgba(23,119,117,.12)}
.mix-post{background:#eef8f7;border-color:#cfe9e6}
.mix-collection{background:#eef0f5;border-color:#dfe3ec}
.mix-item{background:#fff}
.mix-img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:#f4f8f9}
.mix-ph{display:flex;align-items:center;justify-content:center;color:#b7c4c7;font-size:1.6rem}
.mix-body{padding:.5rem .6rem .6rem;min-width:0}
.mix-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mix-text{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.mix-label{position:absolute;top:.4rem;left:.4rem;z-index:3;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;padding:.1rem .45rem;border-radius:1rem;background:rgba(255,255,255,.92);color:#258a99;pointer-events:none}
.mix-post .mix-body{padding-top:2rem}
.mix-post .mix-img+.mix-body{padding-top:.5rem}
.mix-collection .mix-label{color:#5a5c69}
.mix-item .mix-label{color:#5a5c69}
/* links inside a card stay clickable above the card's own link */
.mix-card a:not(.stretched-link){position:relative;z-index:2}

/* "Ask about this item" never runs out of its box (long translations wrap) */
.sale-box .btn{white-space:normal;display:block;width:100%;text-align:center;line-height:1.25}

/* nothing spills out of its box: multi-word buttons in narrow places (side columns of the edit pages,
   cards, windows) wrap between words when they don't fit; one-word buttons never split.
   Long badges (group names...) end in "..." instead of running out of the card. */
[class*="col-sm-3"] .btn,.card-body .btn,.sale-box .btn,.modal-footer .btn,.mix-card .btn,.section-label{white-space:normal;max-width:100%;overflow-wrap:normal;word-break:normal}
.badge{max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.move-pics .btn{white-space:nowrap}

/* page numbers wrap onto a second line instead of running off narrow screens */
.pagination{flex-wrap:wrap}
/* pagination in the site's teal (not Bootstrap blue) */
.page-link{color:#117a8b}
.page-link:hover{color:#0c5f6d;background:#e8f6f8;border-color:#bfe3ea}
.page-link:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.25)}
.page-item.active .page-link{background:#17a2b8;border-color:#17a2b8;color:#fff;font-weight:700}
.page-item.disabled .page-link{color:#9aa0ac}
/* actions under a post: a link never splits from its icon */
.post-footer a,.post-footer button{white-space:nowrap}
.post-footer{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem 1rem}.post-footer>*{margin:0!important}

/* nothing can make a page wider than the phone screen (that hid the bottom bar on some pages) */
html,body{overflow-x:clip}

/* Profile side panel: compact on phones (small avatar beside the name, actions as one wrapping row,
   facts on a couple of lines) so the collections start sooner; classic big avatar on computers */
.profile-head{display:flex;gap:.75rem;align-items:flex-start}
.profile-avatar{width:88px;height:88px;object-fit:cover;flex:none;border-radius:.6rem;padding:.15rem}
.profile-id h3{overflow-wrap:anywhere}
.profile-actions{display:flex;flex-wrap:wrap;gap:.35rem;margin:.65rem 0}
.profile-actions .btn{font-size:.78rem}
.profile-facts{display:flex;flex-wrap:wrap;gap:.2rem .9rem;line-height:1.5;border-top:1px solid #eef1f4;padding-top:.55rem}
.profile-share{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem;margin-top:.55rem}
@media (min-width:768px){
	.profile-head{flex-direction:column;align-items:center;text-align:center}
	.profile-avatar{width:100%;height:auto;aspect-ratio:1}
	.profile-id{width:100%}
}
/* small tooltip for things that can't be clicked yet (e.g. a locked Likes button); shows on hover or tap */
.tip{position:relative;cursor:help}
.tip.disabled{pointer-events:auto;opacity:.6}
.tip[data-tip]:hover::after,.tip[data-tip]:focus::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 6px);left:0;background:#3a3b45;color:#fff;font-size:.72rem;font-weight:600;white-space:normal;width:max-content;max-width:14rem;padding:.25rem .55rem;border-radius:.3rem;z-index:20;text-align:left}

/* messages ("Saved", "Verification link sent", errors...): floating cards at the bottom of the screen */
.flash-stack{position:fixed;z-index:1070;right:1rem;bottom:1rem;width:min(26rem,calc(100vw - 2rem));display:flex;flex-direction:column;gap:.5rem;pointer-events:none}
.flash-stack .flash{pointer-events:auto;margin:0;box-shadow:0 6px 20px rgba(0,0,0,.18);border-radius:.6rem;animation:flash-in .25s ease-out}
@media (max-width:767.98px){.flash-stack{left:.75rem;right:.75rem;width:auto;bottom:calc(4.2rem + env(safe-area-inset-bottom))}}
@keyframes flash-in{from{transform:translateY(12px);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.flash-stack .flash{animation:none}}

/* Sold items: a ribbon on the photo; prices next to "For sale" */
.sold-ribbon{display:inline-block;align-self:flex-start;margin:.5rem .5rem 0;background:#e74a3b;color:#fff;font-size:.7rem;font-weight:400;letter-spacing:.05em;border-radius:999px;padding:.15rem .65rem}
.item-main{position:relative}
.item-main .sold-ribbon{position:absolute;top:.6rem;left:.6rem;margin:0;z-index:2;box-shadow:0 1px 4px rgba(0,0,0,.2)}
.item-price{font-weight:700;color:#1d7f8c;white-space:nowrap}

/* Admin > All users: status filters on one line (they scroll sideways if needed), search box + sort + Show on one line */
.one-line-pills{flex-wrap:nowrap;overflow-x:auto;max-width:100%;scrollbar-width:none}
.one-line-pills::-webkit-scrollbar{display:none}
.one-line-pills .nav-link{white-space:nowrap}
.admin-filter.one-line{flex-wrap:nowrap;width:100%;max-width:36rem}
.admin-filter.one-line .form-control{flex:1 1 6rem;min-width:0}
.admin-filter.one-line .custom-select{flex:0 1 9.5rem;min-width:0}
.admin-filter.one-line .btn{flex:none}
/* Messages / notifications pop-up: as wide as it needs (up to 26rem), and the hover shade covers the whole row */
.navbar .menu-pop{width:max-content;min-width:16rem;max-width:min(26rem,calc(100vw - 1rem))}
.navbar .menu-pop>li.dropdown-item{display:block;width:100%;padding:0}
.navbar .menu-pop>li.dropdown-item>.nav-link{display:block;width:100%;padding:.4rem .75rem}
.navbar .menu-pop>li.dropdown-item:hover,.navbar .menu-pop>li.dropdown-item:focus-within{background:#f1f3f7}
.navbar .menu-pop>li.dropdown-item.text-right>.nav-link{display:inline-block;width:auto}
/* on collection cards the SOLD ribbon sits over the photo's top-left corner, not above it */
.card>.sold-ribbon{position:absolute;top:.5rem;left:.5rem;margin:0;z-index:3;box-shadow:0 1px 4px rgba(0,0,0,.25);pointer-events:none}

/* post box: the chosen photos, each with an x to remove it, and + to add more */
.post-previews{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}
.pp-thumb{position:relative;width:72px;height:72px;border-radius:.45rem;overflow:hidden;background:#eef0f5;flex:none}
.pp-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.pp-del{position:absolute;top:3px;right:3px;width:22px;height:22px;border:0;border-radius:50%;background:rgba(58,59,69,.8);color:#fff;font-size:.95rem;line-height:22px;padding:0;text-align:center;cursor:pointer}
.pp-del:hover,.pp-del:focus-visible{background:#e74a3b}
.pp-add{width:72px;height:72px;border:2px dashed #bfe3ea;border-radius:.45rem;background:#f3fafb;color:#17a2b8;font-size:1.1rem;cursor:pointer;flex:none}
.pp-add:hover,.pp-add:focus-visible{border-color:#17a2b8}
.post-photos a{cursor:zoom-in}

/* Featured collection: when the card is wide (computers), cover on the left and a peek inside on the right */
.featured-card{container-type:inline-size}
.fc-desc{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fc-peek{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem;max-width:22rem}
.fc-peek a{position:relative;display:block;border-radius:.4rem;overflow:hidden;background:#eef0f5}
.fc-peek img{display:block;width:100%;aspect-ratio:1;object-fit:cover}
.fc-more{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(23,42,58,.55);color:#fff;font-weight:700;font-size:.95rem}
@container (min-width: 520px){
	.fc-wrap{display:flex;align-items:stretch}
	.fc-cover{display:block;flex:0 0 40%;max-width:40%;min-height:15rem}
	.fc-cover img{width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover}
	.fc-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:center}
	.featured-card-big .card-img-top{max-height:none}
}
/* share row: computers get Facebook/X/WhatsApp/e-mail; phones and tablets with a share menu get Instagram and "Share..." */
.share-btns .share-touch{display:none}
.share-touch-on .share-btns .share-desk{display:none}
.share-touch-on .share-btns .share-touch{display:inline-block}
.share-btns{white-space:nowrap}
.share-btns .share-btn{padding:.25rem .45rem}
.upd-file{cursor:pointer;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* phone bottom bar rows (Add, Inbox): two equal halves */
.bn-sheet .btn.flex-fill{flex:1 1 0!important;min-width:0}
/* share buttons: Adendy ones (feed, message) in the site's teal */
.share-btns .share-btn{margin:0 .1rem .25rem 0}
.share-btns .share-adendy{color:#17a2b8!important;border-color:#bfe3ea}
.share-btns .share-adendy:hover,.share-btns .share-adendy:focus{background:#e8f6f8}
.share-pick{border-radius:.4rem;text-decoration:none!important}
.share-pick:hover,.share-pick:focus{background:#f3fafb}
/* link cards inside chat bubbles */
.chat-bubble.has-cards{width:min(80%,22rem)}
.chat-bubble .post-links{grid-template-columns:minmax(0,1fr);margin-top:.4rem;min-width:0;max-width:100%}
.chat-bubble .post-link{max-width:100%}
.chat-bubble a.post-link{color:#3a3b45;text-decoration:none}
/* logged-out home: Collections grid (2 columns on phones, 4 on computers); the featured collection is a 2-wide tile */
.home-colls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1.25rem}
@media (min-width:768px){.home-colls{grid-template-columns:repeat(4,minmax(0,1fr))}}
.home-feat{grid-column:span 2}
.featured-card-tile .fc-wrap{display:flex;align-items:stretch;height:100%}
.featured-card-tile .fc-cover{display:block;flex:0 0 40%;max-width:40%;min-height:0}
.featured-card-tile .fc-cover img{width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover}
.featured-card-tile .fc-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:center}
.featured-card-tile .fc-title{overflow:hidden;text-overflow:ellipsis}
@media (max-width:767.98px){
	.featured-card-tile .fc-cover{flex-basis:35%;max-width:35%}
	.featured-card-tile .fc-body{padding:.65rem .75rem}
	.featured-card-tile .fc-title{font-size:1rem}
	.featured-card-tile .fc-desc{-webkit-line-clamp:2}
	.featured-card-tile .fc-peek{gap:.3rem}
}
/* home login box: Google first, then "or" */
.google-signin .g_id_signin{min-height:44px}
.or-divider{display:flex;align-items:center;margin:.75rem 0}
.or-divider::before,.or-divider::after{content:"";flex:1;border-top:1px solid #e3e6f0}
.or-divider span{padding:0 .6rem}
/* pins: thumbtack mark on pinned cards (logged-out screen), pinned block on the feed */
.home-pin{position:absolute;top:.4rem;right:.4rem;z-index:2;width:1.6rem;height:1.6rem;border-radius:50%;background:#17a2b8;color:#fff;display:flex;align-items:center;justify-content:center;font-size:.72rem;box-shadow:0 1px 4px rgba(0,0,0,.25)}
.feed-pins{border-left:3px solid #17a2b8;padding-left:.6rem;margin-bottom:1rem}
.pin-ctl .dropdown-menu .custom-control-label{white-space:nowrap}
/* page titles: the gray part beside the title ("Feed - page 2") */
.title-page{font-size:.6em;font-weight:400}
/* Inbox / Notifications: Gmail-style toolbar, two columns, "Undo" message */
.list-toolbar{gap:.25rem;margin:0 0 .5rem;padding-bottom:.4rem;border-bottom:1px solid #eaecf4}
.list-toolbar .btn-light{background:#fff;border-color:#e3e6f0;color:#5a5c69}
.list-toolbar .btn-light:hover{background:#e8f6f8;color:#17a2b8}
.list-sel-actions .btn{margin-right:.15rem}
.list-sel-actions{display:inline-flex}.list-sel-actions.is-off{cursor:not-allowed}.list-sel-actions.is-off .btn{opacity:.45;pointer-events:none}
.list-row-active{background:#e8f6f8;border-radius:.4rem}
.inbox-list mark,.list-row mark{background:#fff3b0;padding:0}
.conv-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:420px;height:calc(100vh - 14rem);color:#9aa0ac;text-align:center}
.conv-empty .fa-regular{font-size:3rem;margin-bottom:.75rem;color:#bfe3ea}
.conv-frame{display:block;width:100%;height:calc(100vh - 14rem);min-height:420px;background:#fff}
@media (min-width:768px){.inbox-pane-col .conv-card #chatBox{height:calc(100vh - 25rem);min-height:260px}}
.undo-toast{position:fixed;left:50%;bottom:1.25rem;transform:translate(-50%,150%);z-index:3000;background:#2e2f37;color:#fff;border-radius:.5rem;padding:.5rem .5rem .5rem 1rem;display:flex;align-items:center;gap:.5rem;box-shadow:0 6px 20px rgba(0,0,0,.25);opacity:0;transition:transform .2s,opacity .2s;font-size:.9rem;max-width:90vw}
.undo-toast.show{transform:translate(-50%,0);opacity:1}
.undo-toast .btn-link{color:#8fdde9;font-weight:700;text-transform:uppercase;text-decoration:none}
@media (max-width:767.98px){.undo-toast{bottom:4.5rem}}
.icon-glue{white-space:nowrap}
.report-msgs summary{cursor:pointer}
/* loading bar at the top while the next page loads (bott.php) */
#adendyLoad{position:fixed;top:0;left:0;height:3px;width:0;background:#17a2b8;box-shadow:0 0 6px rgba(23,162,184,.6);z-index:3000;opacity:0;pointer-events:none;transition:width .5s ease,opacity .2s}
#adendyLoad.on{opacity:1}
/* taps: a slight press effect on touch screens */
a,button,.btn{-webkit-tap-highlight-color:rgba(23,162,184,.15)}
@media (hover:none){a:active,button:active,.btn:active{opacity:.65}}

/* @mention suggestions under the text box */
.mention-menu{position:absolute;z-index:1080;list-style:none;margin:0;padding:.25rem 0;background:#fff;border:1px solid #dfe3ec;border-radius:.45rem;box-shadow:0 6px 18px rgba(0,0,0,.12);max-height:16rem;overflow:auto;font-size:.85rem}
.mention-menu li{padding:.35rem .75rem;cursor:pointer;white-space:nowrap}
.mention-menu li.on,.mention-menu li:hover{background:#eef8fa;color:#17766f}

/* photos in posts: small square thumbnails (like attached collections); tap opens the viewer */
.post-photos,.post-photos-1,.post-photos-2,.post-photos-3,.post-photos-4{display:flex;flex-wrap:wrap;gap:.4rem;border-radius:0;overflow:visible}
.post-photos a{display:block;width:110px;height:110px;border-radius:.45rem;overflow:hidden;background:#eef0f5;flex:none}
.post-photos img,.post-photos-1 img{width:100%;height:100%;max-height:none;aspect-ratio:1/1;object-fit:cover;background:#eef0f5}
@media (max-width:575.98px){.post-photos a{width:84px;height:84px}}
.post-photos-3 a:first-child{grid-row:auto}

/* ---- update 31 ---- */
/* profile facts: icons in one column, text (and its wrapped lines) in the next */
.profile-facts{display:flex;flex-direction:column;gap:.2rem;line-height:1.45}
.profile-facts .pf{display:flex;align-items:baseline;gap:.45rem;min-width:0}
.profile-facts .pf-i{flex:0 0 1.1rem;text-align:center}
.profile-facts .pf-t{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
/* admin tables: one line per cell only on phones (they scroll sideways there); on computers cells wrap and the table fits */
@media (min-width:768px){.table-tidy td{white-space:normal}}
/* search pop-up on phones touches the bottom bar, whatever its height (set by the script) */
@media (max-width:767.98px){.bn-sheet{bottom:var(--bn-h,calc(3.6rem + env(safe-area-inset-bottom)))}}
/* photos in posts: one row of 4 squares, like the items in collection cards */
.post-photos,.post-photos-1,.post-photos-2,.post-photos-3,.post-photos-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.post-photos a{width:auto;height:auto;aspect-ratio:1/1;border-radius:.4rem}
@media (max-width:575.98px){.post-photos a{width:auto;height:auto}}
/* Edit collection / item: Save and Cancel kept away from Delete */
.danger-col{display:flex;align-items:flex-start;justify-content:flex-start}
@media (min-width:576px){.danger-col{justify-content:flex-start}}
@media (max-width:575.98px){
	.save-col{order:1}
	.danger-col{order:2;margin-top:1rem;padding-top:1rem;border-top:1px solid #e3e6f0}
}
.save-col{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem}
.save-col>.form-group{margin-bottom:0}
/* masonry grids (cards keep their order left to right; heights set by the script) */
.masonry.masonry-on{grid-auto-rows:4px;row-gap:0;align-items:start}
.masonry.masonry-on>*{margin-bottom:0!important}
.profile-actions .pa-like{display:inline-flex;align-items:center;padding:.25rem .5rem;background:#f8f9fa;border-radius:.2rem;font-size:.78rem}

/* ---- update 32 ---- */
/* header (computers): bell, envelope, collections and profile icons same size, same line, same spacing */
.navbar .nav-bell{display:inline-flex;align-items:center;justify-content:center;height:2.4rem;padding:0 .55rem;font-size:1.2rem;line-height:1}
.navbar .nav-bell.dropdown-toggle::after{display:none}
.navbar .nav-bell .nav-avatar{width:1.35rem;height:1.35rem;vertical-align:0}

/* edit forms (Edit profile, Settings, Edit collection, Edit item): one text size for labels and toggles, smaller help lines */
#addUser .col-form-label,#editItem .col-form-label,#addUser .custom-control-label,#editItem .custom-control-label,#addUser .form-control,#editItem .form-control,#addUser .custom-select,#editItem .custom-select{font-size:.9rem}
#addUser .form-text,#editItem .form-text,#addUser small.text-muted,#editItem small.text-muted{font-size:.78rem}
#addUser .custom-switch,#editItem .custom-switch{padding-top:.1rem}
/* sale box: tag line and "Inquire" line, icons in one column (wrapped text stays indented) */
.sale-box{display:flex;flex-direction:column;gap:.3rem;margin-bottom:.5rem}
.sale-box .pf{display:flex;align-items:baseline;gap:.45rem;min-width:0}
.sale-box .pf-i{flex:0 0 1.1rem;text-align:center}
.sale-box .pf-t{flex:1 1 auto;min-width:0}
.sale-box .sale-ask{color:#17a2b8;font-weight:600;text-decoration:none}
.sale-box .sale-ask:hover .pf-t{text-decoration:underline}
/* collection / profile info panel: description, facts and Share at the size of item names in cards */
.profile-side p,.profile-side .profile-facts,.profile-side .profile-share,.profile-side .badge{font-size:.8rem}
.profile-side .profile-id h3{font-size:1.05rem}

/* ---- update 33 ---- */
/* text boxes stay 16px on phones so iPhones don't zoom in (base text size: see update 36) */
@media (max-width:767.98px){input.form-control,select.custom-select,select.form-control,textarea.form-control,input[type=search],input[type=text],input[type=email],input[type=password],input[type=number],input[type=url]{font-size:16px!important}}
/* every header menu looks like the notifications one */
.navbar .dropdown-menu{padding:0;font-size:.875rem;border-radius:.5rem;box-shadow:0 6px 20px rgba(0,0,0,.12);border-color:#e3e6f0;min-width:14rem}
.navbar .dropdown-menu>li.dropdown-item{padding:0;white-space:normal}
.navbar .dropdown-menu>li.dropdown-item>.nav-link{display:flex;align-items:center;gap:.5rem;padding:.45rem .75rem;color:#3a3b45}
.navbar .dropdown-menu>li.dropdown-item>.nav-link>[class*="fa-"]:first-child{color:#17a2b8;width:1.1rem;text-align:center;flex:none}
.navbar .dropdown-menu>li.dropdown-item:hover,.navbar .dropdown-menu>li.dropdown-item:focus-within{background:#f1f3f7}
.navbar .dropdown-menu .dropdown-divider{margin:0}
/* the new-post box stands out from the feed below it */
.post-form .card,.card.post-form{background:#f3fafb;border-color:#bfe3ea}
.post-form .post-textarea{background:#fff}
/* collection / profile info panel: the name column always takes the room next to the cover; names only break inside a word if it can't fit */
.profile-id{flex:1 1 auto}
.profile-id h3{overflow-wrap:break-word;word-break:normal}
/* phone Inbox: notifications list sliding up from the bottom bar */
.bn-sheet.bn-list{max-height:60vh;overflow-y:auto}
.bn-row{display:block;padding:.45rem .25rem;border-bottom:1px solid #eef1f4;text-decoration:none}
.bn-row:hover{background:#f1f3f7;text-decoration:none}
.bn-row.notif-unread{background:#eef9f8}
.bottom-nav .bn-inbox-count{position:absolute}
/* Settings: delete account tucked away at the bottom */
.delete-account summary{cursor:pointer;width:max-content}
.delete-account summary:hover{color:#e74a3b!important}
/* Edit item: pictures in order, with arrows to move them */
/* ---- update 34 ---- */
/* menus and phone sheets: normal text size (14px) */
.bn-sheet,.bn-row{font-size:.875rem}
/* all header menus look like the profile menu */
.navbar .dropdown-menu>li.dropdown-item>.nav-link{color:#3a3b45}
.navbar .dropdown-menu>li.menu-empty{display:flex;align-items:center;gap:.5rem;padding:.45rem .75rem;color:#858796;background:none}
.navbar .dropdown-menu>li.menu-empty>[class*="fa-"]{color:#b7b9cc;width:1.1rem;text-align:center;flex:none}
.navbar .dropdown-menu .badge{font-size:.75rem}
/* right panels (profile, collection, item): normal text size (14px) */
.profile-side.small,.profile-side .small,.profile-side small,.profile-side p,.profile-side .profile-facts,.profile-side .profile-share,.profile-actions .btn,.profile-actions .pa-like,.item-a2 .small,.item-a2 small{font-size:.875rem}
.profile-side .badge{font-size:.8rem}
/* ---- update 36 ---- */
/* sizes as before update 33 (base 16px); only normal text, menus, buttons and text boxes are 14px */
body{font-size:.875rem}
.btn:not(.btn-lg),.form-control:not(.form-control-lg),.custom-select,.input-group-text{font-size:.875rem}
small,.small{font-size:.8rem} /* 12.8px, as before (not 80% of the 14px text) */
/* header menus: on rows that wrap, the icon sits on the first line instead of floating in the middle */
.navbar .dropdown-menu>li.dropdown-item>.nav-link,.navbar .dropdown-menu>li.menu-empty{align-items:flex-start;line-height:1.4}
.navbar .dropdown-menu>li.dropdown-item>.nav-link>[class*="fa-"]:first-child,.navbar .dropdown-menu>li.menu-empty>[class*="fa-"]{line-height:1.4}
.navbar .menu-pop .text-wrap{line-height:1.4}
/* import from Excel: preview */

/* batch editing: "show only selected" */
/* feed "added items": new ones marked, earlier ones lighter */
.feed-items.feed-6{grid-template-columns:repeat(6,1fr)}
@media (max-width:575.98px){.feed-items.feed-6{grid-template-columns:repeat(3,1fr)}}
.feed-new{position:absolute;top:4px;left:4px;background:#17a2b8;color:#fff;font-size:.65rem;font-weight:800;border-radius:999px;padding:.05rem .45rem;z-index:2;text-transform:uppercase;letter-spacing:.03em}
.feed-item.feed-old{transform:scale(.92)}
/* Add several items: two rows under each card (sale + price | switches + buttons), photo tools, problems */
.bulk-block .b-row{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem}
.bulk-block .b-sale{width:auto;min-width:9.5rem;flex:1 1 9.5rem}
.bulk-block .b-pricebox{display:flex;align-items:center;gap:.25rem;flex:1 1 11rem}
.bulk-block .b-pricebox[hidden]{display:none}
.bulk-block .b-price{min-width:4.5rem;flex:1 1 5rem}
.bulk-block .b-cur{width:auto;flex:0 0 auto}
.bulk-block .custom-switch .custom-control-label{white-space:nowrap}
.bulk-block.b-bad{border-color:#e74a3b;box-shadow:0 0 0 2px rgba(231,74,59,.2)}
.bulk-photo{position:relative}
.bulk-photo .ph-tools{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;gap:2px;padding:2px;background:linear-gradient(transparent,rgba(0,0,0,.45));opacity:0;transition:opacity .15s}
.bulk-photo:hover .ph-tools,.bulk-photo:focus-within .ph-tools{opacity:1}
@media (hover:none){.bulk-photo .ph-tools{opacity:1}}
.bulk-photo .ph-tools button{border:0;border-radius:50%;width:22px;height:22px;line-height:1;padding:0;background:rgba(255,255,255,.92);color:#3a3b45;font-size:.8rem;cursor:pointer}
.bulk-photo .ph-tools .ph-x{margin-left:auto;color:#e74a3b}
.bulk-modes .btn{font-size:.85rem}
/* shared list rows (notifications, messages), avatars, filter pills (update 46) */
.avatar-44{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none;background:#eef6f7}
.avatar-32{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:none;background:#eef6f7}
.list-row{background:#fff;border:1px solid #edf2f3;border-radius:.35rem;padding:.5rem;margin-bottom:.25rem}
.list-row:last-child{margin-bottom:0}
.list-row>a{text-decoration:none!important}
.list-row:hover{background:#f6fbfb}
.list-row-unread{background:#eef9f8;border-color:#bfe3ea}
.list-row-unread:hover{background:#e4f5f3}
.list-row-avatar{position:relative;flex:none;display:inline-flex}
.list-row-text{overflow-wrap:anywhere}
.list-row-dot{width:9px;height:9px;border-radius:50%;background:#17a2b8;flex:none}
/* photo editor (Edit item) */
.pe-stage{display:flex;justify-content:center;align-items:center;background:#2c2d35;border-radius:.35rem;padding:.5rem;min-height:220px}
.pe-stage canvas{touch-action:none;max-width:100%;cursor:move}
.pe-tools{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}
.pe-aspect{width:auto}
.pe-swatch{width:26px;height:26px;border-radius:50%;border:2px solid #d1d3e2;padding:0;cursor:pointer}
.pe-swatch:focus{outline:2px solid #17a2b8;outline-offset:1px}
.pe-color{width:34px;height:28px;padding:0;border:1px solid #d1d3e2;border-radius:.25rem;background:#fff;cursor:pointer}
/* filter pills: one look everywhere (feed, groups, likes, follows, search, notifications, messages) */
.filter-pills{gap:.35rem;margin-bottom:1rem}
.filter-pills .nav-link{font-size:.875rem;line-height:1.4;padding:.3rem .85rem;border-radius:2rem;color:#5a5c69;background:#fff;border:1px solid #e3e6f0}
.filter-pills .nav-link:hover{border-color:#17a2b8;color:#17a2b8}
.filter-pills .nav-link.active{background:#17a2b8;border-color:#17a2b8;color:#fff}
.filter-pills .badge{background:#eaecf4;color:#5a5c69;font-weight:600;font-size:1em;line-height:inherit;vertical-align:baseline;padding:0 .45em;border-radius:1rem;margin-left:.15rem;overflow:visible;position:static;top:0}
.filter-pills .nav-link.active .badge{background:#fff;color:#17a2b8}
/* item page: arrows and counter on the big photo */
.item-main-wrap{position:relative}
.ip-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.9);color:#3a3b45;box-shadow:0 1px 4px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center;cursor:pointer}
.ip-arrow:hover{background:#fff;color:#17a2b8}
.ip-prev{left:.6rem}.ip-next{right:.6rem}
.ip-count{position:absolute;right:.6rem;bottom:.6rem;z-index:3;background:rgba(0,0,0,.55);color:#fff;font-size:.75rem;border-radius:999px;padding:.1rem .55rem;pointer-events:none}
.item-main-wrap{touch-action:pan-y}
/* "unpublished" on top of the cover / photo, in the corner (under "sold" when both) */
.card>.unpublished-ribbon{position:absolute;top:.5rem;left:.5rem;margin:0;z-index:3;box-shadow:0 1px 4px rgba(0,0,0,.25)}
.card>.sold-ribbon~.unpublished-ribbon{top:2.1rem}
/* Inbox / Transfers: same size as the other page titles */
.page-header .h2 small{font-size:100%}
/* teal badges (#tags, "featured on", counts): normal weight, not bold (update 59) */
.badge-info,.badge.bg-info{font-weight:400}
/* profile banner (update 60): own image, or the profile picture blurred */
.profile-banner{position:relative;height:150px;border-radius:.5rem;overflow:hidden;background:#5a5c69}
.profile-banner .pb-img{position:absolute;inset:0;background-size:cover;background-position:center}
.profile-banner.pb-default .pb-img{inset:-40px;filter:blur(24px) saturate(1.2)}
.profile-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.05),rgba(0,0,0,.45))}
.profile-banner .pb-inner{position:absolute;left:1rem;right:1rem;bottom:.75rem;z-index:1;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.5)}
.profile-banner .pb-inner h1,.profile-banner .pb-inner small{color:#fff}
.profile-banner .pb-sub{opacity:.85}
.banner-preview .profile-banner{height:90px;max-width:420px}
@media (min-width:768px){.profile-banner{height:190px}.pb-overlap{margin-top:-110px;position:relative;z-index:2}}
.page-header .profile-banner{flex:1 1 100%;width:100%}
/* collection page: the owner above the cover (update 62) */
.owner-box{display:flex;gap:.6rem;align-items:flex-start;border:1px solid #dddfeb;border-radius:.6rem;padding:.15rem;background:#fff} /* the cover's frame (img-thumbnail) */
.owner-box .ob-av{flex:none}
.owner-box .ob-av img{width:48px;height:48px;border-radius:.35rem;object-fit:cover;display:block}
.owner-box .ob-col{flex:1 1 auto}
.owner-box .ob-name{display:block;font-weight:700;color:#3a3b45;font-size:.9rem;line-height:1.25;overflow-wrap:anywhere}
.owner-box .ob-name:hover{color:#36b9cc;text-decoration:none}
/* phones: profile banner without the title, info box over its lower edge (update 62) */
@media (max-width:767.98px){
	.profile-banner .pb-inner{display:none}
	.profile-banner{height:120px}
	.pb-overlap{margin-top:-60px;position:relative;z-index:2}
}
/* update 64 */
.owner-box .ob-col{padding-top:.1rem}
.owner-box .btn{font-size:.8rem;padding:.1rem .45rem;line-height:1.35;border-radius:.35rem} /* the size of the #tags */
.item-actions small{justify-content:center}
.sale-box .pf{justify-content:center;text-align:center}
.sale-box .pf-t{flex:0 1 auto}
/* update 65 */
.owner-box .ob-av img{border-radius:.45rem}
.msg-preview:empty{display:none}
/* update 66 */
@media (min-width:768px){.owner-box .ob-av{flex:0 0 25%;max-width:25%}.owner-box .ob-av img{width:100%;height:auto;aspect-ratio:1}}
.feed-pins .post-link-name{font-weight:400}
/* update 67: owner's box = one centered column (avatar, name, follow) */
.owner-box{flex-direction:column;align-items:center;text-align:center;padding:.5rem;gap:.35rem}
.owner-box .ob-col{padding-top:0;width:100%}
.owner-box .ob-name{font-weight:400}
.owner-box .ob-av img{width:48px;height:48px}
@media (min-width:768px){.owner-box .ob-av{flex:none;width:25%;max-width:25%}.owner-box .ob-av img{width:100%;height:auto}}
/* update 68: the owner's box on its profile banner (own image or blurred profile picture) */
.owner-box.ob-has-bg{position:relative;overflow:hidden;background:#5a5c69;border-color:#dddfeb}
.owner-box .ob-bg{position:absolute;inset:0;background-size:cover;background-position:center;z-index:0}
.owner-box .ob-bg.pb-default{inset:-30px;filter:blur(18px) saturate(1.2)}
.owner-box.ob-has-bg:after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.35);z-index:0}
.owner-box.ob-has-bg>a,.owner-box.ob-has-bg>div:not(.ob-bg){position:relative;z-index:1}
.owner-box.ob-has-bg .ob-av img{border:2px solid #fff}
.owner-box.ob-has-bg .ob-name{color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.owner-box.ob-has-bg .ob-name:hover{color:#e8f6f8}
.owner-box.ob-has-bg .btn-outline-info{background:rgba(255,255,255,.92)}
/* update 68: the link preview while writing looks like a draft attachment, not a received message */
.msg-preview{border:1px dashed #36b9cc;background:#f7fcfd;border-radius:.6rem;padding:.4rem .5rem;max-width:none}
.msg-preview .mp-label{font-size:.75rem;color:#858796;margin-bottom:.3rem}
.msg-preview .post-links{margin-top:0!important}
/* update 70 */
.owner-box.ob-has-bg .btn-outline-info:hover,.owner-box.ob-has-bg .btn-outline-info:focus{background:#36b9cc;color:#fff} /* "Dejar de seguir" readable */
.profile-actions>*{flex:1 1 auto;text-align:center;justify-content:center} /* buttons fill their row */
.profile-actions .pa-like{justify-content:center}
.profile-actions .pa-like>*{display:block;width:100%;text-align:center}
.save-bar{position:fixed;left:0;right:0;bottom:0;z-index:1035;background:#fff;border-top:1px solid #e3e6f0;box-shadow:0 -4px 12px rgba(0,0,0,.08);padding:.5rem 1rem;display:flex;align-items:center;justify-content:flex-end;gap:.9rem;transform:translateY(130%);visibility:hidden;transition:transform .2s ease,visibility .2s} /* update 96: slides up like the bottom-menu panels */
.save-bar.open{transform:none;visibility:visible}
.save-bar-t{color:#858796;font-size:.85rem;margin-right:auto}
.save-bar-c{color:#858796;font-size:.85rem}
body.has-save-bar{padding-bottom:3.5rem}
@media (max-width:767.98px){.save-bar{bottom:var(--bn-h,calc(3.6rem + env(safe-area-inset-bottom)));z-index:1028}body.has-save-bar{padding-bottom:calc(var(--bn-h,3.6rem) + 3.5rem)}} /* update 96: right on top of the bottom menu, under its panels */
.search-desc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden} /* update 96 */
.coll-desc+.coll-tags{margin-top:1rem!important} /* update 96: room between description and tags */
.danger-zone{border-top:1px solid #f1d5d2;margin-top:1.25rem;padding-top:.9rem;text-align:right}
.danger-zone:empty{display:none}
.applies-now{font-size:.8rem}
.tab-foot{display:flex;justify-content:flex-end;margin-top:1rem}
.ec-tabs .nav-link{color:#858796}.ec-tabs .nav-link.active{color:#36b9cc;font-weight:600}
.item-back{box-shadow:0 0 0 3px #36b9cc;transition:box-shadow .4s}
/* update 71 */
#transfer .form-inline .custom-control{justify-content:flex-start;text-align:left}
#transfer .form-inline .custom-control-label{text-align:left}
.coll-groups{display:flex;flex-wrap:wrap;gap:.25rem}
.group-pill{background:#f1f3f9;color:#36b9cc;font-weight:400;font-size:.8rem;padding:.3em .65em;border-radius:999px}
.group-pill:hover,.group-pill:focus{background:#e3e6f0;color:#2c9faf;text-decoration:none}
/* update 72 */
.pic-label{padding-top:0}
.pic-label .img-thumbnail{display:inline-block;vertical-align:top}
#transfer .form-inline .w-100,#transfer .form-inline .custom-control,#transfer .form-inline label{justify-content:flex-start;text-align:left}
#transfer .form-inline .custom-control{display:block;width:100%}
#transfer .form-inline .custom-control-label{display:inline-block}
/* update 72: grey buttons, tags and pills wrap on small screens instead of running off the side */
.profile-actions>*{min-width:0;max-width:100%}
.profile-actions .btn,.profile-actions .pa-like{white-space:normal}
.badge-info,.group-pill,.group-chip{white-space:normal;max-width:100%;overflow-wrap:anywhere;text-align:left}
.share-btns{white-space:normal;display:inline-flex;flex-wrap:wrap;align-items:center;gap:.25rem;max-width:100%}
.profile-side,.profile-facts,.coll-groups{min-width:0;overflow-wrap:anywhere}
.val-msg{color:#e74a3b;font-size:.8rem;margin:.25rem 0 .1rem;text-align:left;width:100%}
.form-inline .val-msg{flex-basis:100%}
.ad-tip{position:absolute;z-index:2000;display:none;background:#3a3b45;color:#fff;font-size:.72rem;font-weight:600;line-height:1.35;max-width:16rem;padding:.25rem .55rem;border-radius:.3rem;pointer-events:none;box-shadow:0 2px 6px rgba(0,0,0,.15)}
/* update 73: buttons beside the collection title (comments, grid, list) */
.head-btns{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.25rem}
.head-btns .hbtn{border:1px solid #d1d3e2;background:#fff;color:#858796;min-width:2rem;padding:.2rem .5rem;line-height:1.3}
.head-btns .hbtn:hover{border-color:#36b9cc;color:#36b9cc}
.head-btns .hbtn.on{background:#36b9cc;border-color:#36b9cc;color:#fff}
.view-switch{display:inline-flex;gap:.25rem}
/* list view: photo card (30%) beside an info card at least as tall */
.item-card-full,.item-card-also{display:none}
.items-grid.list-view{display:flex!important;flex-direction:column;gap:.75rem}
.items-grid.list-view>.card{display:flex;flex-direction:row;align-items:stretch;gap:.75rem;background:transparent;border:0;grid-row-end:auto!important}
.items-grid.list-view>.card>.card-gallery{flex:0 0 30%;align-self:flex-start;background:#fff;border:1px solid #e3e6f0;border-radius:.35rem;padding:.25rem;position:relative}
.items-grid.list-view>.card>.card-gallery img{border-radius:.25rem}
.items-grid.list-view>.card>.card-body{flex:1 1 auto;min-width:0;background:#fff;border:1px solid #e3e6f0;border-radius:.35rem;display:flex;flex-direction:column}
.items-grid.list-view .item-card-desc{display:none}
.items-grid.list-view .item-card-full{display:block;font-size:.85rem;color:#5a5c69;line-height:1.5;margin-bottom:.5rem;overflow-wrap:anywhere}
.items-grid.list-view .item-card-also{display:block;margin-bottom:.4rem}
.items-grid.list-view .item-actions{margin-top:auto;margin-bottom:0}
.items-grid.list-view .item-actions small{justify-content:flex-start}
.items-grid.list-view .item-actions .act[data-tip]::after,.items-grid.list-view .item-actions .act[data-tip]:hover::after,.items-grid.list-view .item-actions .act[data-tip]:focus-within::after{color:#858796;pointer-events:auto;content:attr(data-tip);position:static;display:inline;background:none;color:inherit;font-size:inherit;font-weight:400;padding:0 0 0 .25rem;box-shadow:none;width:auto;max-width:none;transform:none;opacity:1}
.items-grid.list-view .sold-ribbon,.items-grid.list-view .unpublished-ribbon{position:absolute;z-index:2}
@media (max-width:575.98px){.items-grid.list-view>.card>.card-gallery{flex-basis:34%}.items-grid.list-view>.card{gap:.5rem}}
/* Google Lens button above the photo counter */
.ip-lens{position:absolute;right:.6rem;bottom:.6rem;z-index:4;width:2rem;height:2rem;border-radius:50%;background:rgba(255,255,255,.95);color:#4285f4;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px rgba(0,0,0,.25);font-size:.95rem}
.ip-lens:hover{color:#fff;background:#4285f4;text-decoration:none}
/* update 74: every list row uses the full width, so all photos get the same 30% */
.items-grid.list-view,.items-grid.masonry.masonry-on.list-view{align-items:stretch!important}
.items-grid.list-view>.card{width:100%}
.items-grid.list-view>.card>.card-gallery{max-width:30%;min-width:0}
.items-grid.list-view>.card>.card-gallery img{width:100%;height:auto;display:block}
@media (max-width:575.98px){.items-grid.list-view>.card>.card-gallery{max-width:34%}}
/* update 75: list-view actions the same size as elsewhere */
.items-grid.list-view .item-actions,.items-grid.list-view .item-actions small,.items-grid.list-view .item-actions .act{font-size:14px}
/* item page: arrows, Google and the photo count in a row under the photo (left: previous; right: G, count, next) */
.ip-bar{display:flex;align-items:center;margin:.4rem 0}
.ip-bar-right{display:flex;align-items:center;gap:.4rem;margin-left:auto}
.ip-bar .ip-arrow,.ip-bar .ip-count,.ip-bar .ip-lens{position:static;transform:none;top:auto;left:auto;right:auto;bottom:auto}
.ip-bar .ip-arrow{width:32px;height:32px;box-shadow:none;border:1px solid #d1d3e2;background:#fff}
.ip-bar .ip-count{background:#f1f3f9;color:#5a5c69;pointer-events:auto}
.ip-bar .ip-lens{width:32px;height:32px;box-shadow:none;border:1px solid #d1d3e2}
/* update 75: viewer arrows at both ends of the thumbnails row */
.lb-nav{position:relative;z-index:2;display:flex;align-items:center;gap:12px;margin-top:14px;max-width:calc(100vw - 32px)}
.lb-nav .lb-thumbs{margin-top:0;min-width:0;max-width:none;flex:0 1 auto}
.lb-nav .lb-btn{position:static;transform:none;flex:none;width:40px;height:40px}
@media (max-width:575.98px){.lb-nav{gap:6px}.lb-nav .lb-btn{width:34px;height:34px}}
.lb-single .lb-nav{display:none}
.pin-row-actions{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}.pin-row-actions form{margin:0}.pin-auto{flex-wrap:wrap;row-gap:.25rem}
/* update 76, phones: the collection's title, description and tags flow around the cover */
@media (max-width:767.98px){
	.coll-head{display:block}
	.coll-head .profile-avatar{float:none;display:block;width:100%;height:auto;aspect-ratio:1/1;margin:0 0 .6rem;cursor:zoom-in} /* update 102: full-width square cover */
	.coll-head .profile-id{display:block}
	.coll-head::after{content:"";display:block;clear:both}
}
/* update 77: no thin line above the collection facts */
.profile-facts.coll-facts{border-top:0;padding-top:0;margin-top:.5rem}
/* update 77: list view - always some space between the item name and its actions (short photos, no description) */
.items-grid.list-view .item-actions{padding-top:.6rem}
/* profile collection cards: tags the same size as on the collection page */
.badge.card-tag{font-size:.8rem}
/* update 78: space between the tags and the icons on profile collection cards */
.badge.card-tag + .item-actions{margin-top:.6rem}
/* update 78: counts under collection and item cards in normal weight (likes, comments, items) */
.item-actions .like-count,.item-actions .act b,.item-actions .act strong{font-weight:400}
/* update 78: every profile/collection fact line gets the same height and spacing, whatever its icon */
.profile-facts{gap:.3rem}
.profile-facts .pf{align-items:flex-start;line-height:1.45}
.profile-facts .pf-i{display:block;line-height:1.45;height:auto;padding-top:.05em} /* top of its line, level with the first line of text */
/* update 78: Member / Leave and Following / Unfollow buttons stay on one line */
.btn.follow-on,.profile-actions .btn.follow-on{white-space:nowrap}
/* update 78: Edit item > Photos uploads, one bar per photo */
.up-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.25rem}
.up-name{flex:0 1 45%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.up-row.text-danger .up-name{flex-basis:100%;white-space:normal}
.up-bar{flex:1 1 auto;height:.5rem}
/* update 79: Google Lens button at the end of the item's title */
.ip-lens.ip-lens-title{position:static;display:inline-flex;vertical-align:middle;width:1.75rem;height:1.75rem;font-size:.85rem;margin-left:.5rem;box-shadow:none;border:1px solid #d1d3e2;background:#fff}
.ip-lens:hover,.ip-lens:focus,.ip-lens:active,.ip-lens.ip-lens-title:hover,.ip-lens.ip-lens-title:focus,.ip-lens.ip-lens-title:active{color:#fff;background:#4285f4;border-color:#4285f4;text-decoration:none} /* update 94: never white on white */
@media (max-width:575.98px){#descLens,#collDescG{margin-bottom:.5rem}}
.ip-lens.ip-lens-title.is-off,.ip-lens.ip-lens-title.is-off:hover,.ip-lens.ip-lens-title.is-off:focus{color:#b7b9cc;background:#f8f9fc;border-color:#e3e6f0;cursor:not-allowed} /* update 95: inactive G */ /* update 94: room above the description box on phones */
/* update 80: top of the tabs that save themselves: "Back to ..." on the left, the rest on the right */
.tab-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem}
/* update 80: buttons under the icons on profile collection cards */
.card-btns{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.5rem}
.card-btns .btn{flex:1 1 auto;white-space:nowrap}
/* update 80: search inside a collection, left of the Comments / Grid / List buttons */
.items-head{justify-content:flex-end}
.coll-search{position:relative;display:flex;align-items:center;gap:.5rem;flex:1 1 14rem;max-width:22rem}
.coll-search .fa-magnifying-glass{position:absolute;left:.6rem;color:#b7b9cc;font-size:.8rem;pointer-events:none}
.coll-search input{flex:1 1 auto;min-width:0;border:1px solid #d1d3e2;border-radius:.35rem;padding:.25rem .5rem .25rem 1.75rem;font-size:.85rem;height:calc(1.5em + .5rem + 2px)}
.coll-search input:focus{outline:0;border-color:#36b9cc;box-shadow:0 0 0 .15rem rgba(54,185,204,.2)}
.coll-search-n{white-space:nowrap}
.coll-search-n:empty{display:none}
/* ---- update 81: one checkbox look across the site (plain boxes and Bootstrap's custom ones) ---- */
input[type="checkbox"]:not(.custom-control-input):not([hidden]){-webkit-appearance:none;appearance:none;width:1.05rem;height:1.05rem;margin:0;border:1.5px solid #adb5bd;border-radius:.25rem;background:#fff no-repeat center/.7rem;vertical-align:-.2em;cursor:pointer;flex:none;transition:background-color .15s,border-color .15s}
input[type="checkbox"]:not(.custom-control-input):checked{background-color:#17a2b8;border-color:#17a2b8;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e")}
input[type="checkbox"]:not(.custom-control-input):indeterminate{background-color:#17a2b8;border-color:#17a2b8;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e")}
input[type="checkbox"]:not(.custom-control-input):focus-visible{outline:0;box-shadow:0 0 0 .2rem rgba(23,162,184,.3)}
input[type="checkbox"]:not(.custom-control-input):disabled{opacity:.5;cursor:not-allowed}
.custom-checkbox .custom-control-label::before{border-radius:.25rem;border:1.5px solid #adb5bd}
.custom-control-input:checked~.custom-control-label::before{background-color:#17a2b8;border-color:#17a2b8}
.custom-control-input:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(23,162,184,.25)}
.custom-control-input:focus:not(:checked)~.custom-control-label::before{border-color:#7fcfdc}
.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::before{background-color:#17a2b8;border-color:#17a2b8}
.custom-switch .custom-control-input:checked~.custom-control-label::before{background-color:#17a2b8;border-color:#17a2b8}
/* ---- update 81: tile grids (Edit collection > Items, Edit item > Photos) ---- */
.sel-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .5rem;padding:.45rem .6rem;background:#f8f9fa;border:1px solid #e3e7ea;border-radius:.5rem;margin-bottom:.75rem;position:sticky;top:var(--nav-h,.5rem);z-index:20}
.sel-bar .sel-n{font-size:.8rem;color:#6c757d}.sel-bar .sel-grow{margin-right:auto!important}
.sel-bar .sel-act{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.4rem}
.sel-bar .sel-act>*{margin:0!important}
.sel-act.is-off{cursor:not-allowed}.sel-act.is-off>*{opacity:.45;pointer-events:none}
.sel-bar .custom-select-sm,.sel-bar .form-control-sm{width:auto;max-width:14rem}
.tile-grid{list-style:none;margin:0;padding:0;display:grid;gap:.6rem;grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}
@media (max-width:575.98px){.tile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}}
.tile{position:relative;background:#fff;border:1px solid #e3e7ea;border-radius:.5rem;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:box-shadow .15s,border-color .15s}
.tile.batch-on,.tile.is-on{border-color:#17a2b8}
.tile.dragging{opacity:.4}
.tile-img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:#f4f8f9;margin:0}
.tile-ph{display:grid;place-content:center;color:#b7c4c7;font-size:1.6rem}
.tile>label.tile-pick{display:block;margin:0;cursor:pointer}
.tile .tile-cb{position:absolute;top:.35rem;left:.35rem;background:rgba(255,255,255,.88);border-radius:.3rem;padding:.15rem;line-height:0;z-index:1}
.tile .tile-grip{position:absolute;top:.35rem;right:.35rem;width:1.6rem;height:1.6rem;display:grid;place-content:center;background:rgba(255,255,255,.88);border-radius:.3rem;color:#6c757d;cursor:grab;touch-action:none;z-index:1}
.tile-body{padding:.3rem .4rem .35rem;font-size:.78rem;min-width:0}
.tile-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#212529}
.tile-ctr{display:flex;justify-content:space-between;align-items:center;margin-top:.15rem}
.tile-ctr .btn{padding:.1rem .4rem;color:#17a2b8;line-height:1.2}
.tile-add{border:2px dashed #b8dfe6;border-radius:.5rem;display:grid;place-content:center;text-align:center;color:#17a2b8;font-size:.8rem;aspect-ratio:1;cursor:pointer;margin:0;background:#fff}
.tile-add:hover{background:#f2fafb}
.tile-grid.only-selected>.tile:not(.batch-on){display:none}
.tile-grid.only-selected .tile-grip,.tile-grid.only-selected .sort-up,.tile-grid.only-selected .sort-down{opacity:.3;pointer-events:none}
.tile-grid.tile-dragging{user-select:none;-webkit-user-select:none}
/* ---- update 82: help texts behind an (i) icon (infoTip() in funciones.php); the bubble is #infoPop ---- */
.info-tip{display:inline-flex;align-items:center;color:#17a2b8;cursor:pointer;margin-left:.3rem;padding:.1rem;font-size:.95em;line-height:1;vertical-align:baseline;border-radius:50%}
.info-tip:hover,.info-tip[aria-expanded="true"]{color:#117a8b}
.info-tip:focus{outline:0}.info-tip:focus-visible{box-shadow:0 0 0 .2rem rgba(23,162,184,.35)}
.info-pop{position:fixed;z-index:1080;max-width:min(20rem,calc(100vw - 16px));background:#3a3b45;color:#fff;font-size:.8rem;font-weight:400;line-height:1.45;padding:.5rem .7rem;border-radius:.4rem;box-shadow:0 4px 14px rgba(0,0,0,.2);text-align:left;white-space:normal}
.info-pop a{color:#8fe3ef;text-decoration:underline}.info-pop code{color:#ffd28a}.info-pop p:last-child,.info-pop ul:last-child{margin-bottom:0}
/* ---- update 85: Trash page ---- */
.trash-card{display:flex;align-items:flex-start;gap:.75rem}
.trash-pic{flex:none;width:72px;height:72px;border-radius:.4rem;overflow:hidden;background:#f4f8f9;display:grid;place-content:center;color:#b7c4c7;font-size:1.5rem}
.trash-pic img{width:100%;height:100%;object-fit:cover}
.trash-info{flex:1 1 auto}
.added-at{white-space:nowrap}
/* ---- update 88: Font Awesome 7 - keep each icon's natural width (v7 makes them all 1.25em wide by default) ---- */
:root{--fa-width:auto}
/* ---- update 92: list view - the description shows at most 2 lines with "..." (blank lines removed in collection.php); the card's height follows its content ---- */
.items-grid.list-view .item-card-full{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
/* ---- update 93: Edit item > Details: the item's main photo at the top ---- */
.ei-main-pic{display:inline-block;margin:0 0 .75rem;border:1px solid #e3e7ea;border-radius:.5rem;overflow:hidden;background:#f4f8f9;line-height:0}
.ei-main-pic img{height:120px;width:auto;max-width:100%;object-fit:contain}
@media (max-width:575.98px){.ei-main-pic img{height:96px}}
/* update 97: username status line (space always kept, so nothing moves) and the welcome card */
.name-check{display:block;min-height:1.2rem;font-size:80%;font-weight:600;line-height:1.2rem}
.wc-steps{list-style:none;padding-left:0}
.wc-steps li{padding:.2rem 0}
.wc-steps .fa-regular{color:#b7b9cc}
.wc-steps .fa-circle-check{color:#1cc88a}
.wc-steps li.done a{color:#858796;text-decoration:line-through}
/* update 98: Add items "More options" */
.bulk-more .bulk-more-i{transition:transform .2s}
.bulk-more.open .bulk-more-i{transform:rotate(180deg)}
.bulk-opts{display:flex;flex-direction:column;gap:.5rem} /* update 100: separate buttons, stacked on phones */
.bulk-opts .btn{border-radius:.35rem!important;text-align:left}
@media (min-width:768px){.bulk-opts{flex-direction:row;flex-wrap:wrap}}
.coll-pick-row{display:flex!important;align-items:center}
.coll-pick-img{width:36px;height:36px;object-fit:cover;border-radius:4px;margin-right:.6rem;flex-shrink:0;background:#eef1f4}
/* update 102, phones: long collection descriptions cut at 4 lines, with Read more / Read less */
@media (max-width:767.98px){.desc-clamp:not(.open){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden}}
.desc-more{all:unset;box-sizing:border-box;display:inline-block;cursor:pointer;color:#17a2b8;font-weight:600;font-size:.85rem;margin-bottom:.25rem}
.desc-more[hidden]{display:none}
.desc-more:focus-visible{outline:2px solid #17a2b8;outline-offset:2px}
@media (min-width:768px){.desc-more{display:none!important}}
.desc-more+.coll-tags{margin-top:1rem!important}
/* update 102: Admin > Pinned rows for things that no longer show */
.pin-gone{color:#858796}
/* update 104: logged-out page, "browse first" */
.lo-hero{padding:1.25rem 1.1rem;border-radius:1rem}
.lo-hero h1{font-size:1.45rem;font-weight:800;line-height:1.25;margin-bottom:.4rem}
.lo-mosaic{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
@media (min-width:576px){.lo-mosaic{grid-template-columns:repeat(4,1fr)}}
@media (min-width:992px){.lo-mosaic{grid-template-columns:repeat(6,1fr)}}
.lo-mosaic a{display:block;border-radius:.35rem;overflow:hidden;background:#eef0f5}
.lo-mosaic img{display:block;width:100%;aspect-ratio:1;object-fit:cover}
.lo-colls{display:grid;grid-template-columns:1fr;gap:.85rem}
@media (min-width:576px){.lo-colls{grid-template-columns:1fr 1fr}}
.lo-card{border-radius:.6rem;overflow:hidden}
.lo-ch{display:flex;align-items:center;gap:.5rem;padding:.5rem .6rem}
.lo-owner{font-weight:600;font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lo-acts{display:flex;gap:1.1rem;padding:0 .6rem .6rem;margin-top:auto}
.lo-acts button{all:unset;cursor:pointer;color:#858796;font-size:.85rem}
.lo-acts button:hover,.lo-acts button:focus-visible{color:#17a2b8}
.lo-acts button:focus-visible{outline:2px solid #17a2b8;outline-offset:2px}
.lo-panel{border-radius:1rem}
.lo-panel.lo-flash{animation:loFlash 1.2s ease-out}
@keyframes loFlash{0%{box-shadow:0 0 0 4px rgba(23,162,184,.55)}100%{box-shadow:0 10px 30px rgba(0,0,0,.15)}}
.lo-bar{display:none}
@media (min-width:992px){.lo-panel{position:sticky;top:4.5rem;max-height:calc(100vh - 5.5rem);overflow-y:auto}} /* under the sticky top menu */
@media (max-width:991.98px){
	.lo-panel{position:fixed;left:0;right:0;bottom:0;z-index:1045;max-height:88vh;overflow-y:auto;border-radius:1rem 1rem 0 0;transform:translateY(105%);visibility:hidden;transition:transform .25s,visibility 0s .25s;box-shadow:0 -6px 24px rgba(0,0,0,.18)}
	.lo-panel.open{transform:none;visibility:visible;transition:transform .25s}
	.lo-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:1044}
	.lo-backdrop[hidden]{display:none}
	.lo-close{position:absolute;right:1rem;top:.6rem;font-size:1.6rem}
	.lo-bar{display:flex;align-items:center;gap:.6rem;position:fixed;left:0;right:0;bottom:0;z-index:1029;background:#fff;border-top:1px solid #e3e6f0;padding:.55rem .9rem;box-shadow:0 -2px 8px rgba(0,0,0,.06)}
	.lo-bar span{flex:1;font-size:.8rem;color:#5a5c69}
	.lo-page{padding-bottom:4rem}
	body.lo-sheet-open{overflow:hidden}
}
@media (max-width:767.98px){.lo-bar{bottom:var(--bn-h,calc(3.6rem + env(safe-area-inset-bottom)))}}
/* update 105: logged-out collection cards - 3 columns on wide screens, Follow as an icon there */
@media (min-width:1200px){.lo-colls{grid-template-columns:repeat(3,1fr)}.lo-colls .lo-follow-t{display:none}}
/* update 107: card-columns sizes used by the logged-out home (they didn't exist), and photos fill their card */
@media (min-width:768px){.card-columns.card-columns-md-3{column-count:3}}
@media (min-width:992px){.card-columns.card-columns-lg-4{column-count:4}}
.card-columns .card img.img-fluid{width:100%;height:auto}
.save-bar-dg{font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:40vw}
/* update 108: post attachments laid out by count on computers (phones: one per line) */
@media (min-width:768px){
	.post-links-1{grid-template-columns:1fr}
	.post-links-2,.post-links-4{grid-template-columns:repeat(2,minmax(0,1fr))}
	.post-links-3,.post-links-5,.post-links-6{grid-template-columns:repeat(3,minmax(0,1fr))}
}
.chat-bubble .post-links{grid-template-columns:minmax(0,1fr)!important}
/* update 110: page titles that reload the page look like plain titles */
a.title-reload,a.title-reload:hover,a.title-reload:focus{color:inherit;text-decoration:none}
a.title-reload:focus-visible{outline:2px solid #17a2b8;outline-offset:2px}
/* update 110: the Follow button under the owner (collection page) is solid teal in both states */
.owner-box .follow-form .btn,.owner-box a.btn-info,.owner-box .follow-form .btn:hover,.owner-box .follow-form .btn:focus{background-color:#17a2b8;border-color:#17a2b8;color:#fff}
.owner-box .follow-form .btn:hover{background-color:#138496;border-color:#117a8b}
/* update 110: export window - PDF | Excel switch and live preview */
.exp-fmt .btn{min-width:6.5rem}
.exp-fmt .btn.active{background:#17a2b8;border-color:#17a2b8;color:#fff}
.exp-prev-box{position:relative;border:1px solid #e3e6f0;border-radius:.5rem;background:#f8f9fc;overflow-x:hidden;overflow-y:auto;height:60vh}
.exp-prev-inner{position:relative;overflow:hidden;margin:0 auto}
.exp-prev-box iframe{border:0;width:820px;height:1400px;transform-origin:0 0;background:#fff;position:absolute;left:0;top:0;overflow:hidden}
.exp-prev-busy{position:absolute;right:.5rem;top:.4rem;z-index:2;color:#17a2b8;display:none}
.exp-prev-box.busy .exp-prev-busy{display:block}
@media (max-width:991.98px){.exp-prev{display:none}.exp-prev.open{display:block}.exp-prev-box{height:55vh}}
@media (min-width:992px){.exp-prev-toggle{display:none}}
/* update 112: "edit fields" panel in Edit collection > Items */
.ef-panel{background:#f8f9fc;border:1px solid #e3e6f0;border-radius:.5rem;padding:.75rem;margin-top:.5rem}
.ef-row{display:grid;grid-template-columns:minmax(8rem,11rem) minmax(9rem,12rem) 1fr;gap:.5rem;align-items:start;padding:.3rem 0;border-top:1px solid #edf0f4}
.ef-row:first-of-type{border-top:0}
.ef-row .ef-chk{padding-top:.25rem}
/* update 116: the bar stops being pinned while "Edit fields" is open (it is taller than a phone screen); Apply again at the end */
.sel-bar.ef-open{position:static}
.ef-foot{display:flex;justify-content:flex-end;margin-top:.6rem}
@media (max-width:991.98px){.sel-bar.ef-open{margin-bottom:calc(var(--bn-h,0px) + 1rem)}}
/* update 116: a light line over the share icons instead of the word "Share" */
.share-sep{border-top:1px solid #e3e6ea;padding-top:.6rem}
/* update 117: the teal line sits right under the right column's content (not at the bottom of the page) */
.side-col::after{content:"";display:block;height:.25rem;background:#36b9cc;border-radius:.25rem;margin-top:.25rem}
.ef-row span.ef-mode{padding-top:.3rem}
@media (max-width:575.98px){.ef-row{grid-template-columns:1fr 1fr}.ef-row .ef-val{grid-column:1/-1}}
.sel-mode{display:inline-flex;flex-wrap:nowrap;align-items:center}
.ef-limits{display:flex;gap:.45rem;align-items:flex-start}.ef-limits>.fa-solid{margin-top:.2rem}/* update 113: second line indented under the text, not the icon */
