/* =====================================================================================
   DOS Community 2.15 - Instagram layout for the profile page (our colors: black, brown #654638, cream).
   Header with story ring, highlights, suggested people, top bar (username / bell / ...) and bottom bar on phones,
   story viewer, story composer, highlight editor, archive and action sheets.
   ===================================================================================== */

.dosc-app {
	--ig-brown: #654638;
	--ig-cream: #e3d8ce;
	--ig-cream-2: #d6c8bb;
	--ig-line: rgba(101, 70, 56, .2);
	--ig-mut: #6f5e55;
	--ig-ring: linear-gradient(45deg, #e2c39b 0%, #b8865c 30%, #654638 65%, #24160f 100%);
	--ig-red: #d6252f;
}
.dosc-app .dosc-ig-i { display: inline-flex; flex: none; align-items: center; justify-content: center; line-height: 0; }
.dosc-app .dosc-ig-i svg { display: block; }

/* ---------- header ---------- */
.dosc-app .dosc-pf.dosc-ig { padding-top: 34px; }
.dosc-app .dosc-ig-head {
	display: grid; grid-template-columns: 290px auto minmax(0, 1fr);
	grid-template-areas: "av uname btns" "av stats stats" "av name name" "av about about";
	grid-template-rows: auto auto auto 1fr;
	align-items: center; column-gap: 20px; margin: 0 0 34px;
}
.dosc-app .dosc-ig-av { grid-area: av; position: relative; justify-self: center; align-self: start; width: 168px; height: 168px; }
.dosc-app .dosc-ig-ring, .dosc-app .dosc-ig-ring:hover, .dosc-app .dosc-ig-ring:focus {
	position: relative; display: block; width: 100%; height: 100%; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 50%;
	box-shadow: none; cursor: default; transition: transform .15s ease;
}
.dosc-app .dosc-ig-ring img { display: block; width: 100%; height: 100%; max-width: none; border: 1px solid rgba(0, 0, 0, .12); border-radius: 50%; object-fit: cover; background: #f4efeb; }
.dosc-app .dosc-ig-ring.has-story { padding: 5px; background: var(--ig-ring); cursor: pointer; }
.dosc-app .dosc-ig-ring.has-story img { border: 5px solid #fff; }
.dosc-app .dosc-ig-ring.has-story.is-seen { padding: 3px; background: #d5ccc5; }
.dosc-app .dosc-ig-ring.has-story.is-seen img { border-width: 7px; }
.dosc-app .dosc-ig-ring.has-story:active { transform: scale(.97); }
.dosc-pf.dosc-ig[data-key] .dosc-ig-av:has(.dosc-ig-addst) .dosc-ig-ring { cursor: pointer; }
.dosc-app .dosc-ig-addst, .dosc-app .dosc-ig-addst:hover, .dosc-app .dosc-ig-addst:focus {
	position: absolute; right: 8px; bottom: 8px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0; padding: 0;
	background: var(--ig-brown); border: 3px solid #fff; border-radius: 50%; box-shadow: none; color: #fff; cursor: pointer;
}
.dosc-app .dosc-ig-addst .dosc-ico { width: 16px; height: 16px; stroke-width: 2.6; }

.dosc-app .dosc-ig-uname { grid-area: uname; display: flex; align-items: center; gap: 8px; min-width: 0; }
.dosc-app .dosc-ig-handle { margin: 0; font: 400 20px/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; overflow-wrap: anywhere; }
.dosc-app .dosc-ig-uname .dosc-vmark, .dosc-app .dosc-igtop-title .dosc-vmark { flex: none; color: #0095f6; }
.dosc-app .dosc-ig-uname .dosc-vmark svg { width: 18px; height: 18px; }

/* buttons: Instagram shape, our colors (cream; Follow is brown) */
.dosc-app .dosc-ig-btns { grid-area: btns; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.dosc-app .dosc-ig-btns .dosc-ig-btn,
.dosc-app .dosc-ig-btns .dosc-ig-btn:hover,
.dosc-app .dosc-ig-btns .dosc-ig-btn:focus,
.dosc-app .dosc-ig-btns .dosc-ig-btn.is-following,
.dosc-app .dosc-ig-btns .dosc-ig-btn.is-following:hover:not([disabled]),
.dosc-app .dosc-ig-btns .dosc-ig-btn.is-following:focus-visible:not([disabled]) {
	position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 34px; height: 34px; margin: 0; padding: 0 16px; overflow: visible;
	background: var(--ig-cream) !important; border: 0 !important; border-radius: 8px; box-shadow: none !important; color: #000 !important;
	font: 600 14px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; text-transform: none; text-decoration: none; white-space: nowrap;
	transform: none !important; cursor: pointer; transition: background-color .15s ease;
}
.dosc-app .dosc-ig-btns .dosc-ig-btn::after { display: none !important; }
.dosc-app .dosc-ig-btns .dosc-ig-btn:hover:not([disabled]), .dosc-app .dosc-ig-btns .dosc-ig-btn.is-following:hover:not([disabled]) { background: var(--ig-cream-2) !important; }
.dosc-app .dosc-ig-btns .dosc-ig-btn span, .dosc-app .dosc-ig-btns .dosc-fbtn.is-following:hover:not([disabled]) span { color: inherit !important; }
.dosc-app .dosc-ig-btns .dosc-fbtn.dosc-ig-follow:not(.is-following),
.dosc-app .dosc-ig-btns .dosc-fbtn.dosc-ig-follow:not(.is-following):focus { background: var(--ig-brown) !important; color: #fff !important; padding: 0 26px; }
.dosc-app .dosc-ig-btns .dosc-fbtn.dosc-ig-follow:not(.is-following):hover:not([disabled]) { background: #000 !important; color: #fff !important; }
.dosc-app .dosc-ig-btns .dosc-ig-follow.is-following span::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin: -4px 0 0 8px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); vertical-align: middle;
}
.dosc-app .dosc-ig-btns .dosc-ig-btn[disabled] { opacity: .6; cursor: default; }
.dosc-app .dosc-ig-btns .dosc-ig-sq, .dosc-app .dosc-ig-btns .dosc-ig-sq:hover { width: 34px; padding: 0 !important; }
.dosc-app .dosc-ig-btns .dosc-ig-sq .dosc-ico { transition: transform .2s ease; }
.dosc-app .dosc-ig-btns .dosc-ig-sq.is-on { background: var(--ig-cream-2) !important; }
.dosc-app .dosc-ig-btns .dosc-ig-deskmore, .dosc-app .dosc-ig-btns .dosc-ig-deskmore:hover:not([disabled]) { background: transparent !important; }

.dosc-app .dosc-ig-stats { grid-area: stats; display: flex; gap: 40px; margin: 18px 0 16px; padding: 0; list-style: none; }
.dosc-app .dosc-ig-stats li { margin: 0; padding: 0; }
.dosc-app .dosc-ig-stat { color: #000; font-size: 16px; line-height: 1.3; text-decoration: none; }
.dosc-app .dosc-ig-stat b { font-weight: 600; }
.dosc-app a.dosc-ig-stat:hover span { text-decoration: underline; text-underline-offset: 3px; }
.dosc-app .dosc-ig-name { grid-area: name; margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.dosc-app .dosc-ig-about { grid-area: about; align-self: start; max-width: 560px; font-size: 14px; line-height: 1.45; }
.dosc-app .dosc-ig-bio { margin: 2px 0 0; overflow-wrap: anywhere; }
.dosc-app .dosc-ig-web { display: flex; align-items: center; gap: 5px; margin: 4px 0 0; color: var(--ig-brown); font-weight: 600; }
.dosc-app .dosc-ig-web a { color: var(--ig-brown); text-decoration: none; overflow-wrap: anywhere; }
.dosc-app .dosc-ig-web a:hover { text-decoration: underline; }
.dosc-app .dosc-ig-loc { display: flex; align-items: center; gap: 5px; margin: 4px 0 0; color: var(--ig-mut); }

/* ---------- suggested for you ---------- */
.dosc-app .dosc-ig-sugg { margin: 0 0 28px; animation: dosc-ig-down .25s ease both; }
@keyframes dosc-ig-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.dosc-app .dosc-ig-sugg-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; font-size: 14px; }
.dosc-app .dosc-ig-sugg-head b { font-weight: 600; }
.dosc-app .dosc-ig-sugg-head a { color: var(--ig-brown); font-weight: 600; text-decoration: none; }
.dosc-app .dosc-ig-sugg-list { display: flex; gap: 8px; margin: 0; padding: 0 0 6px; overflow-x: auto; list-style: none; scroll-snap-type: x proximity; scrollbar-width: thin; }
.dosc-app .dosc-ig-card { position: relative; display: flex; flex: 0 0 168px; flex-direction: column; align-items: center; gap: 10px; padding: 18px 12px 14px; border: 1px solid var(--ig-line); border-radius: 8px; background: #fff; scroll-snap-align: start; }
.dosc-app .dosc-ig-card-x, .dosc-app .dosc-ig-card-x:hover { position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin: 0; padding: 0; background: none; border: 0; color: var(--ig-mut); cursor: pointer; }
.dosc-app .dosc-ig-card-link { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; min-width: 0; color: #000; text-align: center; text-decoration: none; }
.dosc-app .dosc-ig-card-link img { width: 76px; height: 76px; margin-bottom: 8px; border-radius: 50%; object-fit: cover; background: #f4efeb; }
.dosc-app .dosc-ig-card-link b { max-width: 100%; overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.dosc-app .dosc-ig-card-link small { color: var(--ig-mut); font-size: 12px; }
.dosc-app .dosc-ig-card .dosc-fbtn, .dosc-app .dosc-ig-card .dosc-fbtn:hover {
	width: 100%; min-width: 0; min-height: 32px; height: 32px; padding: 0 10px; border: 0; border-radius: 8px; box-shadow: none !important; background: var(--ig-brown);
	color: #fff; font: 600 14px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; text-transform: none; transform: none !important;
}
.dosc-app .dosc-ig-card .dosc-fbtn::after { display: none !important; }
.dosc-app .dosc-ig-card .dosc-fbtn:hover:not([disabled]) { background: #000; }
.dosc-app .dosc-ig-card .dosc-fbtn.is-following, .dosc-app .dosc-ig-card .dosc-fbtn.is-following:hover:not([disabled]) { background: var(--ig-cream) !important; border: 0 !important; color: #000 !important; }
.dosc-app .dosc-ig-card .dosc-fbtn.is-following:hover:not([disabled]) span { color: #000 !important; }

/* ---------- highlights row ---------- */
.dosc-app .dosc-ig-hl { margin: 0 0 40px; }
.dosc-app .dosc-ig-hl-track { display: flex; gap: 36px; margin: 0; padding: 4px 2px 8px 40px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.dosc-app .dosc-ig-hl-track::-webkit-scrollbar { display: none; }
.dosc-app .dosc-ig-hli, .dosc-app .dosc-ig-hli:hover, .dosc-app .dosc-ig-hli:focus {
	display: flex; flex: none; flex-direction: column; align-items: center; gap: 10px; width: 87px; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; color: #000;
	cursor: pointer; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none;
}
.dosc-app .dosc-ig-hli-c { display: flex; align-items: center; justify-content: center; width: 87px; height: 87px; padding: 4px; overflow: hidden; background: #fff; border: 1px solid #d9d0c9; border-radius: 50%; transition: transform .15s ease; }
.dosc-app .dosc-ig-hli:active .dosc-ig-hli-c { transform: scale(.95); }
.dosc-app .dosc-ig-hli-c img, .dosc-app .dosc-ig-hli-c video { display: block; width: 100%; height: 100%; max-width: none; border-radius: 50%; object-fit: cover; background: #f4efeb; pointer-events: none; }
.dosc-app .dosc-ig-hli.is-new .dosc-ig-hli-c { padding: 0; background: #fff; color: #000; }
.dosc-app .dosc-ig-hli.is-new .dosc-ig-hli-c .dosc-ig-i svg { stroke-width: 1.2; }
.dosc-app .dosc-ig-hli-t { display: block; max-width: 100%; overflow: hidden; font: 600 12px/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: center; text-overflow: ellipsis; white-space: nowrap; }

/* edit mode: only the form */
.dosc-app .dosc-pf.is-editing .dosc-ig-head, .dosc-app .dosc-pf.is-editing .dosc-ig-hl, .dosc-app .dosc-pf.is-editing .dosc-ig-sugg { display: none !important; }

/* ---------- top bar + bottom bar (phones / tablets) ---------- */
.dosc-app .dosc-igbar { display: none; }
@media (max-width: 1100px) {
	.dosc-app.is-ig .dosc-app-top.dosc-igtop {
		display: flex; align-items: center; gap: 0; height: 52px; padding: 0 4px; background: #fff; border-bottom: 0; color: #000; -webkit-backdrop-filter: none; backdrop-filter: none;
	}
	.dosc-app .dosc-igtop-btn, .dosc-app .dosc-igtop-btn:hover, .dosc-app .dosc-igtop-btn:focus {
		position: relative; display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0;
		background: none; border: 0; border-radius: 0; box-shadow: none; color: #000; text-decoration: none; cursor: pointer;
	}
	.dosc-app .dosc-igtop-btn .dosc-ico { stroke-width: 1.7; }
	.dosc-app .dosc-igtop-btn.dosc-app-bell { margin: 0; }
	.dosc-app .dosc-igtop .dosc-bell-badge { top: 4px; right: 3px; }
	.dosc-app .dosc-igtop-title { display: flex; flex: 1; align-items: center; gap: 5px; min-width: 0; padding: 0 6px; }
	.dosc-app .dosc-igtop-title h2 { margin: 0; overflow: hidden; color: #000; font: 700 19px/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
	.dosc-app .dosc-igtop-title .dosc-vmark svg { width: 16px; height: 16px; }
	.dosc-app.has-igbar .dosc-app-content { min-height: calc(100vh - 52px); padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }

	.dosc-app .dosc-igbar {
		position: fixed; right: 0; bottom: 0; left: 0; z-index: 50; display: flex; align-items: stretch; justify-content: space-around;
		height: calc(50px + env(safe-area-inset-bottom, 0px)); padding: 0 0 env(safe-area-inset-bottom, 0px); background: #fff; border-top: 1px solid rgba(0, 0, 0, .1);
	}
	.dosc-app .dosc-igbar-i, .dosc-app .dosc-igbar-i:hover, .dosc-app .dosc-igbar-i:focus {
		display: flex; flex: 1; align-items: center; justify-content: center; height: 50px; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; color: #000; cursor: pointer;
	}
	.dosc-app .dosc-igbar-me img { display: block; width: 28px; height: 28px; border: 1px solid rgba(0, 0, 0, .12); border-radius: 50%; object-fit: cover; }
	.dosc-app .dosc-igbar-me.is-active img { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #000; }
	.dosc-app.has-igbar .dosc-app-toast { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }

	/* the username is in the top bar; the side menu lives in the "..." sheet */
	.dosc-app .dosc-ig-uname, .dosc-app .dosc-ig-btns .dosc-ig-deskmore { display: none !important; }
	.dosc-app .dosc-ig-head { grid-template-areas: "av btns btns" "av stats stats" "av name name" "av about about"; }
}

/* ---------- phones: same arrangement as the Instagram app ---------- */
@media (max-width: 860px) {
	.dosc-app .dosc-pf.dosc-ig { padding: 0; }
	.dosc-app .dosc-ig-head {
		grid-template-columns: 86px minmax(0, 1fr); grid-template-rows: auto auto auto auto;
		grid-template-areas: "av name" "av stats" "about about" "btns btns";
		column-gap: 24px; margin: 0; padding: 10px 16px 0;
	}
	.dosc-app .dosc-ig-av { width: 86px; height: 86px; align-self: center; }
	.dosc-app .dosc-ig-ring.has-story { padding: 3px; }
	.dosc-app .dosc-ig-ring.has-story img { border-width: 3px; }
	.dosc-app .dosc-ig-ring.has-story.is-seen { padding: 1.5px; }
	.dosc-app .dosc-ig-ring.has-story.is-seen img { border-width: 4.5px; }
	.dosc-app .dosc-ig-addst, .dosc-app .dosc-ig-addst:hover, .dosc-app .dosc-ig-addst:focus { right: -2px; bottom: -2px; width: 28px; height: 28px; }
	.dosc-app .dosc-ig-name { align-self: end; margin: 0 0 6px; font-size: 14px; }
	.dosc-app .dosc-ig-stats { align-self: start; justify-content: space-between; gap: 6px; max-width: 280px; margin: 0; }
	.dosc-app .dosc-ig-stats li { flex: 1 1 0; min-width: 0; }
	.dosc-app .dosc-ig-stat { display: flex; flex-direction: column; font-size: 14px; line-height: 1.25; }
	.dosc-app .dosc-ig-stat b { font-size: 16px; font-weight: 700; }
	.dosc-app .dosc-ig-stat span { white-space: nowrap; }
	.dosc-app .dosc-ig-about { max-width: none; margin: 12px 0 0; font-size: 14px; }
	.dosc-app .dosc-ig-btns { flex-wrap: nowrap; margin: 14px 0 0; gap: 6px; }
	.dosc-app .dosc-ig-btns .dosc-ig-btn, .dosc-app .dosc-ig-btns .dosc-ig-btn:hover, .dosc-app .dosc-ig-btns .dosc-ig-btn.is-following, .dosc-app .dosc-ig-btns .dosc-ig-btn.is-following:hover:not([disabled]) { flex: 1 1 0; min-width: 0; height: 32px; min-height: 32px; padding: 0 8px; }
	.dosc-app .dosc-ig-btns .dosc-fbtn.dosc-ig-follow:not(.is-following) { padding: 0 8px; }
	.dosc-app .dosc-ig-btns .dosc-ig-sq, .dosc-app .dosc-ig-btns .dosc-ig-sq:hover { flex: 0 0 34px !important; width: 34px; }

	.dosc-app .dosc-ig-sugg { margin: 14px 0 0; padding: 0 16px; }
	.dosc-app .dosc-ig-card { flex-basis: 150px; }

	.dosc-app .dosc-ig-hl { margin: 18px 0 8px; }
	.dosc-app .dosc-ig-hl-track { gap: 16px; padding: 2px 16px 6px; }
	.dosc-app .dosc-ig-hli, .dosc-app .dosc-ig-hli:hover { width: 66px; gap: 6px; }
	.dosc-app .dosc-ig-hli-c { width: 66px; height: 66px; padding: 3px; }
	.dosc-app .dosc-ig-hli-t { font-weight: 400; }
	.dosc-app .dosc-ig-hli.is-new .dosc-ig-i svg { width: 26px; height: 26px; }
	.dosc-app .dosc-pf.dosc-ig .dosc-pf-tabs { margin-top: 10px; }
}

/* =====================================================================================
   Action sheets
   ===================================================================================== */
.dosc-igs { position: fixed; inset: 0; z-index: 100200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.dosc-igs-shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .22s ease; }
.dosc-igs-box {
	position: relative; display: flex; flex-direction: column; width: 100%; max-width: 400px; max-height: min(86vh, 640px); overflow-y: auto; overscroll-behavior: contain;
	background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); color: #000; opacity: 0; transform: scale(1.06);
	transition: opacity .2s ease, transform .22s cubic-bezier(.2, .85, .25, 1);
}
.dosc-igs.is-open .dosc-igs-shade { opacity: 1; }
.dosc-igs.is-open .dosc-igs-box { opacity: 1; transform: none; }
.dosc-igs-grab { display: none; }
.dosc-igs-title { margin: 0; padding: 22px 24px 4px; font: 600 18px/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: center; overflow-wrap: anywhere; }
.dosc-app .dosc-igs-text { margin: 0; padding: 4px 24px 14px; color: var(--ig-mut, #6f5e55); font-size: 14px; line-height: 1.45; text-align: center; }
.dosc-igs-title + .dosc-igs-list { margin-top: 14px; }
.dosc-igs-list { display: flex; flex-direction: column; }
.dosc-igs .dosc-igs-item, .dosc-igs .dosc-igs-item:hover, .dosc-igs .dosc-igs-item:focus {
	display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; margin: 0; padding: 12px 20px;
	background: none; border: 0; border-top: 1px solid #efe9e4; border-radius: 0; box-shadow: none; color: #000;
	font: 400 15px/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; text-align: center; text-decoration: none; text-transform: none; cursor: pointer;
}
.dosc-igs .dosc-igs-item:hover { background: #f8f4f1; }
.dosc-igs .dosc-igs-item.is-danger { color: var(--ig-red, #d6252f); }
.dosc-igs .dosc-igs-item.is-bold { font-weight: 700; }
.dosc-igs .dosc-igs-item .dosc-ig-i, .dosc-igs .dosc-igs-ico { display: none; }
.dosc-igs .dosc-igs-item.is-checked .dosc-ig-i-check { display: inline-flex; margin-left: auto; color: var(--ig-brown, #654638); }
.dosc-igs .dosc-igs-item:first-child { border-top: 0; }
.dosc-igs-title + .dosc-igs-list .dosc-igs-item:first-child, .dosc-igs-text + .dosc-igs-list .dosc-igs-item:first-child { border-top: 1px solid #efe9e4; }
.dosc-igs .dosc-igs-cancel { border-top: 1px solid #efe9e4; }
.dosc-igs-sec { padding: 16px 20px 6px; border-top: 6px solid #f4efeb; color: var(--ig-mut, #6f5e55); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dosc-igs .dosc-igs-item.is-nav { justify-content: flex-start; text-align: left; }
.dosc-igs .dosc-igs-item.is-nav .dosc-igs-ico { display: inline-flex; color: #000; }
.dosc-igs .dosc-igs-item.is-nav .dosc-igs-ico svg { display: block; width: 22px; height: 22px; }
/* the site menu is only needed where the side menu is hidden */
@media (min-width: 1101px) { .dosc-igs.is-options .dosc-igs-sec, .dosc-igs.is-options .dosc-igs-item.is-nav { display: none; } }

.dosc-igs-about { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 24px 8px; text-align: center; }
.dosc-igs-about img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: #f4efeb; }
.dosc-igs-about b { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.dosc-igs-about + .dosc-igs-title { padding-top: 6px; }
.dosc-igs-rows { padding: 6px 22px 16px; }
.dosc-igs-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.dosc-igs-row > span { display: flex; flex-direction: column; min-width: 0; }
.dosc-igs-row b { font-size: 15px; font-weight: 600; }
.dosc-igs-row small { color: var(--ig-mut, #6f5e55); font-size: 14px; overflow-wrap: anywhere; }
.dosc-igs-form { display: flex; gap: 8px; padding: 14px 20px 18px; }
.dosc-igs .dosc-igs-input { flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0 14px; background: #faf7f5; border: 1px solid #ddd3cb; border-radius: 10px; box-shadow: none; color: #000; font-size: 16px; outline: 0; }
.dosc-igs .dosc-igs-input:focus { border-color: #654638; }
.dosc-igs .dosc-igs-go, .dosc-igs .dosc-igs-go:hover { flex: none; height: 44px; margin: 0; padding: 0 18px; background: #654638; border: 0; border-radius: 10px; box-shadow: none; color: #fff; font: 600 15px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; text-transform: none; letter-spacing: 0; cursor: pointer; }
.dosc-igs-people { display: flex; flex-direction: column; padding: 4px 8px 6px; min-height: 120px; }
.dosc-igs-sum { display: flex; align-items: center; gap: 6px; margin: 0; padding: 8px 12px 10px; color: #000; font-size: 15px; font-weight: 600; }
.dosc-igs-sum .dosc-ig-i + span { margin-right: 14px; }
.dosc-igs-person { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; color: #000; text-decoration: none; }
.dosc-igs-person:hover { background: #f8f4f1; }
.dosc-igs-person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #f4efeb; }
.dosc-igs-person b { flex: 1; min-width: 0; overflow: hidden; font-size: 14.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.dosc-igs-person .is-like { color: var(--ig-red, #d6252f); }
.dosc-igs-person .is-like svg { fill: currentColor; }
.dosc-igs-note { margin: 0; padding: 12px 12px 4px; color: var(--ig-mut, #6f5e55); font-size: 12.5px; text-align: center; }
@media (max-width: 760px) {
	.dosc-igs { align-items: flex-end; padding: 0; }
	.dosc-igs-box { max-width: none; max-height: 88vh; padding-bottom: env(safe-area-inset-bottom, 0px); border-radius: 16px 16px 0 0; transform: translateY(100%); opacity: 1; transition: transform .3s cubic-bezier(.2, .85, .25, 1); }
	.dosc-igs-grab { display: block; flex: none; width: 40px; height: 4px; margin: 10px auto 2px; background: #d9d0c9; border-radius: 4px; }
	.dosc-igs .dosc-igs-item, .dosc-igs .dosc-igs-item:hover, .dosc-igs .dosc-igs-item:focus { justify-content: flex-start; min-height: 52px; padding: 14px 20px; text-align: left; }
	.dosc-igs .dosc-igs-item .dosc-ig-i { display: inline-flex; }
	.dosc-igs .dosc-igs-item .dosc-ig-i-check { margin-left: auto; }
	.dosc-igs.is-confirm .dosc-igs-item, .dosc-igs.is-confirm .dosc-igs-item:hover, .dosc-igs.is-confirm .dosc-igs-item:focus,
	.dosc-igs .dosc-igs-cancel, .dosc-igs .dosc-igs-cancel:hover, .dosc-igs .dosc-igs-cancel:focus { justify-content: center; text-align: center; }
	.dosc-igs.is-confirm .dosc-igs-item .dosc-ig-i { display: none; }
	.dosc-igs .dosc-igs-cancel { margin-top: 6px; border-top: 6px solid #f4efeb; }
	.dosc-igs .dosc-igs-item:first-child { border-top: 0; }
	.dosc-igs-title { padding-top: 10px; }
	.dosc-igs.is-tall .dosc-igs-box { min-height: 50vh; }
	.dosc-igs.is-tall .dosc-igs-people { flex: 1 1 auto; }
}

/* =====================================================================================
   Windows: composer, highlight editor, archive
   ===================================================================================== */
.dosc-igm { position: fixed; inset: 0; z-index: 100040; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, .62); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
.dosc-igm.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.dosc-igm.dosc-arc { z-index: 100030; }
.dosc-igm.dosc-stc { z-index: 100045; }
.dosc-igm-box { display: flex; flex-direction: column; width: 100%; max-width: 560px; max-height: min(92vh, 860px); overflow: hidden; background: #fff; border-radius: 14px; box-shadow: 0 24px 70px rgba(0, 0, 0, .4); color: #000; transform: scale(.97); transition: transform .28s cubic-bezier(.2, .85, .25, 1); }
.dosc-igm.is-open .dosc-igm-box { transform: none; }
.dosc-igm-head { display: grid; flex: none; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 50px; padding: 0 8px; border-bottom: 1px solid #efe9e4; }
.dosc-igm-title { margin: 0; padding: 0 6px; font: 600 16px/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; text-align: center; white-space: nowrap; }
.dosc-igm-l { justify-self: start; display: flex; }
.dosc-igm-r { justify-self: end; display: flex; }
.dosc-igm .dosc-igm-hb, .dosc-igm .dosc-igm-hb:hover, .dosc-igm .dosc-igm-hb:focus {
	display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; margin: 0; padding: 0 8px; background: none; border: 0; border-radius: 8px; box-shadow: none;
	color: #000; font: 400 15px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; text-transform: none; cursor: pointer;
}
.dosc-igm .dosc-igm-hb.is-main { color: #654638; font-weight: 700; }
.dosc-igm .dosc-igm-hb[disabled] { opacity: .4; cursor: default; }
.dosc-igm-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.dosc-ig-spin { width: 34px; height: 34px; margin: 48px auto; border: 3px solid #e7dfd9; border-top-color: #654638; border-radius: 50%; animation: dosc-ig-rot .8s linear infinite; }
@keyframes dosc-ig-rot { to { transform: rotate(360deg); } }

/* composer */
.dosc-stc .dosc-igm-box { max-width: 860px; }
.dosc-stc-pick { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 420px; margin: 0; padding: 40px 24px; color: #000; text-align: center; cursor: pointer; }
.dosc-stc-pick strong { font-size: 20px; font-weight: 400; }
.dosc-stc-pick > span { color: #6f5e55; font-size: 14px; }
.dosc-stc-pick .dosc-stc-pickbtn { margin-top: 12px; padding: 10px 18px; background: #654638; border-radius: 8px; color: #fff; font-size: 14px; font-weight: 600; }
.dosc-stc-pick:hover .dosc-stc-pickbtn { background: #000; }
.dosc-stc-edit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 0; }
.dosc-stc-prevwrap { position: relative; display: flex; align-items: center; justify-content: center; padding: 16px; background: #1a1a1a; }
.dosc-stc-prev { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 320px; aspect-ratio: 9 / 16; overflow: hidden; background: #000; border-radius: 10px; }
.dosc-stc-prev img, .dosc-stc-prev video { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; background: #000; }
.dosc-igm .dosc-stc-change, .dosc-igm .dosc-stc-change:hover { position: absolute; left: 26px; bottom: 26px; display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 7px 12px; background: rgba(0, 0, 0, .6); border: 0; border-radius: 999px; box-shadow: none; color: #fff; font: 600 13px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; text-transform: none; letter-spacing: 0; cursor: pointer; }
.dosc-stc-side { display: flex; flex-direction: column; padding: 18px 20px 20px; }
.dosc-igm .dosc-stc-cap, .dosc-igm .dosc-hle-name, .dosc-igm .dosc-stc-hltitle, .dosc-igm .dosc-stc-sel {
	display: block; width: 100%; height: 46px; margin: 0 0 14px; padding: 0 14px; background: #faf7f5; border: 1px solid #ddd3cb; border-radius: 10px; box-shadow: none; color: #000; font-size: 16px; outline: 0;
	-webkit-appearance: none; appearance: none;
}
.dosc-igm .dosc-stc-sel { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23000' stroke-width='1.6'/></svg>"); background-position: right 14px center; background-repeat: no-repeat; padding-right: 36px; }
.dosc-igm .dosc-stc-cap:focus, .dosc-igm .dosc-hle-name:focus, .dosc-igm .dosc-stc-hltitle:focus, .dosc-igm .dosc-stc-sel:focus { border-color: #654638; }
.dosc-app .dosc-stc-h { margin: 4px 0 8px; color: #6f5e55; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dosc-stc-dest { position: relative; display: flex; align-items: center; gap: 12px; margin: 0 0 8px; padding: 12px 14px; border: 1px solid #e7dfd9; border-radius: 12px; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.dosc-stc-dest:has(input:checked) { background: #faf6f2; border-color: #654638; }
.dosc-stc-dest input { position: absolute; opacity: 0; pointer-events: none; }
.dosc-stc-dtx { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.dosc-stc-dtx b { font-size: 15px; font-weight: 600; }
.dosc-stc-dtx small { color: #6f5e55; font-size: 13px; }
.dosc-stc-tick { flex: none; width: 22px; height: 22px; border: 1.5px solid #c9bdb3; border-radius: 50%; transition: background-color .15s ease, border-color .15s ease; }
.dosc-stc-dest input:checked ~ .dosc-stc-tick { background: #654638 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'><path d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23fff' stroke-width='2'/></svg>") center no-repeat; border-color: #654638; }
.dosc-stc-dest input:focus-visible ~ .dosc-stc-tick { outline: 2px solid #654638; outline-offset: 2px; }
.dosc-stc-hlrow { margin: 4px 0 6px; }
.dosc-app .dosc-stc-msg { min-height: 20px; margin: 4px 0 8px; color: #d6252f; font-size: 14px; }
.dosc-stc-bar { height: 4px; margin: 0 0 12px; overflow: hidden; background: #efe9e4; border-radius: 4px; opacity: 0; transition: opacity .2s ease; }
.dosc-stc-bar.is-on { opacity: 1; }
.dosc-stc-bar i { display: block; width: 0; height: 100%; background: #654638; transition: width .2s ease; }
.dosc-igm .dosc-stc-share, .dosc-igm .dosc-stc-share:hover { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; margin: auto 0 0; padding: 0 16px; background: #654638; border: 0; border-radius: 10px; box-shadow: none; color: #fff; font: 600 15px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; text-transform: none; cursor: pointer; transform: none; }
.dosc-igm .dosc-stc-share:hover:not([disabled]) { background: #000; }
.dosc-igm .dosc-stc-share[disabled] { opacity: .65; cursor: default; }
.dosc-stc .dosc-igm-box.is-busy .dosc-stc-pick { opacity: .5; pointer-events: none; }

/* archive + highlight editor */
.dosc-arc .dosc-igm-box, .dosc-hle .dosc-igm-box { max-width: 720px; }
.dosc-app .dosc-arc-txt { margin: 0; padding: 14px 18px 6px; color: #6f5e55; font-size: 13.5px; text-align: center; }
.dosc-arc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; padding: 10px 3px 3px; }
.dosc-arc-grid > .dosc-ig-spin, .dosc-arc-grid > .dosc-arc-none { grid-column: 1 / -1; }
.dosc-arc-none { margin: 0; padding: 40px 24px; color: #6f5e55; font-size: 15px; text-align: center; }
.dosc-igm .dosc-arc-tile, .dosc-igm .dosc-arc-tile:hover, .dosc-igm .dosc-arc-tile:focus {
	position: relative; display: block; width: 100%; margin: 0; padding: 0; aspect-ratio: 9 / 16; overflow: hidden; background: #e9e2dc; border: 0; border-radius: 0; box-shadow: none; cursor: pointer;
}
.dosc-arc-tile img, .dosc-arc-tile video { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; pointer-events: none; transition: opacity .15s ease; }
.dosc-arc-tile:hover img, .dosc-arc-tile:hover video { opacity: .9; }
.dosc-arc-date { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; align-items: center; min-width: 34px; padding: 4px 6px; background: #fff; border-radius: 6px; color: #000; line-height: 1.05; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.dosc-arc-date b { font-size: 14px; font-weight: 700; }
.dosc-arc-date small { font-size: 10.5px; text-transform: uppercase; }
.dosc-arc-vid { position: absolute; right: 8px; bottom: 8px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.dosc-arc-tile.is-live::after { content: ""; position: absolute; right: 8px; top: 8px; width: 10px; height: 10px; background: #654638; border: 2px solid #fff; border-radius: 50%; }
.dosc-hle-wrap { display: flex; flex-direction: column; padding: 16px 16px 20px; }
/* empty "New highlight": the button stays centred, also while the mouse is on it */
.dosc-igm .dosc-hle-wrap > .dosc-stc-share, .dosc-igm .dosc-hle-wrap > .dosc-stc-share:hover { flex: none; margin: 6px auto 2px; max-width: 320px; }
.dosc-igm .dosc-hle-wrap > .dosc-arc-none { padding: 14px 12px 18px; }
.dosc-hle-grid { margin: 0 -13px; }
.dosc-hle-n { position: absolute; right: 8px; bottom: 8px; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: rgba(255, 255, 255, .35); border: 1.5px solid #fff; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 700; }
.dosc-arc-tile.is-sel .dosc-hle-n { background: #654638; border-color: #fff; }
.dosc-arc-tile.is-sel img, .dosc-arc-tile.is-sel video { opacity: .7; }
.dosc-hle-covers { margin: 0 0 10px; }
.dosc-app .dosc-hle-wrap .dosc-stc-msg:empty { min-height: 0; margin: 0 0 6px; }
.dosc-hle-crow { display: flex; gap: 10px; padding: 4px 2px 8px; overflow-x: auto; }
.dosc-igm .dosc-hle-c, .dosc-igm .dosc-hle-c:hover { flex: none; width: 64px; height: 64px; margin: 0; padding: 3px; overflow: hidden; background: #fff; border: 2px solid transparent; border-radius: 50%; box-shadow: none; cursor: pointer; }
.dosc-igm .dosc-hle-c.is-cover { border-color: #654638; }
.dosc-hle-c img, .dosc-hle-c video { display: block; width: 100%; height: 100%; max-width: none; border-radius: 50%; object-fit: cover; pointer-events: none; }
.dosc-igm .dosc-hle-del, .dosc-igm .dosc-hle-del:hover { margin: 18px auto 0; padding: 10px 16px; background: none; border: 0; box-shadow: none; color: #d6252f; font: 600 15px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; text-transform: none; cursor: pointer; }

@media (max-width: 760px) {
	.dosc-igm { padding: 0; }
	.dosc-igm-box, .dosc-stc .dosc-igm-box, .dosc-arc .dosc-igm-box, .dosc-hle .dosc-igm-box { max-width: none; width: 100%; height: 100%; max-height: none; border-radius: 0; transform: translateY(24px); }
	.dosc-igm-head { padding-top: env(safe-area-inset-top, 0px); }
	.dosc-stc-pick { min-height: 60vh; }
	.dosc-stc-edit { grid-template-columns: 1fr; }
	.dosc-stc-prevwrap { padding: 12px; }
	.dosc-stc-prev { max-width: none; width: auto; height: 44vh; }
	.dosc-igm .dosc-stc-change { left: 22px; bottom: 22px; }
	.dosc-stc-side { padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
	.dosc-arc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* =====================================================================================
   Story viewer
   ===================================================================================== */
.dosc-st { position: fixed; inset: 0; z-index: 100050; display: flex; align-items: center; justify-content: center; gap: 22px; background: #121212; opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility 0s linear .22s; }
.dosc-st.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.dosc-st [hidden] { display: none !important; }
.dosc-st-frame {
	position: relative; flex: none; height: min(94vh, 900px); aspect-ratio: 9 / 16; max-width: calc(100vw - 140px); overflow: hidden; background: #000; border-radius: 10px;
	color: #fff; transform: scale(.94); transition: transform .26s cubic-bezier(.2, .85, .25, 1);
	touch-action: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none;
}
.dosc-st.is-open .dosc-st-frame { transform: none; }
.dosc-st-bg { position: absolute; inset: -40px; background-position: center; background-size: cover; filter: blur(30px) brightness(.55); transform: scale(1.1); }
.dosc-st-media { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.dosc-st-img, .dosc-st-vid { display: block; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; object-fit: contain; pointer-events: none; }
.dosc-st-vid { background: #000; }
/* portrait photos / videos fill the screen (like Instagram); wide ones stay whole on a blurred background */
.dosc-st-media.is-fill .dosc-st-img, .dosc-st-media.is-fill .dosc-st-vid { object-fit: cover; }
.dosc-st-shade-t, .dosc-st-shade-b { position: absolute; right: 0; left: 0; pointer-events: none; }
.dosc-st-shade-t { top: 0; height: 120px; background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }
.dosc-st-shade-b { bottom: 0; height: 140px; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .55)); }
.dosc-st-bars { position: absolute; top: 10px; right: 10px; left: 10px; z-index: 3; display: flex; gap: 3px; }
.dosc-st-bar { flex: 1; height: 2.5px; overflow: hidden; background: rgba(255, 255, 255, .38); border-radius: 2px; }
.dosc-st-bar i { display: block; width: 100%; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left center; }
.dosc-st-head { position: absolute; top: 20px; right: 6px; left: 12px; z-index: 3; display: flex; align-items: center; gap: 10px; }
.dosc-st-av { flex: none; width: 34px; height: 34px; max-width: none; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; object-fit: cover; }
.dosc-st-who { display: flex; flex: 1; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; text-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.dosc-st-name { max-width: 100%; overflow: hidden; color: #fff; font: 600 14px/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.dosc-st-time { color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.dosc-st-sub { flex-basis: 100%; overflow: hidden; color: rgba(255, 255, 255, .9); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.dosc-st-tools { display: flex; flex: none; align-items: center; }
.dosc-st .dosc-st-tb, .dosc-st .dosc-st-tb:hover, .dosc-st .dosc-st-tb:focus {
	display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: 0; padding: 0; background: none; border: 0; border-radius: 50%; box-shadow: none;
	color: #fff; cursor: pointer; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45));
}
.dosc-st-tb-x { display: none !important; }
.dosc-st .dosc-st-x, .dosc-st .dosc-st-x:hover, .dosc-st .dosc-st-x:focus { position: absolute; top: 16px; right: 18px; z-index: 4; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; color: #fff; cursor: pointer; }
.dosc-st .dosc-st-nav, .dosc-st .dosc-st-nav:hover, .dosc-st .dosc-st-nav:focus {
	position: relative; z-index: 4; display: inline-flex; flex: none; align-items: center; justify-content: center; width: 34px; height: 34px; margin: 0; padding: 0;
	background: rgba(255, 255, 255, .88); border: 0; border-radius: 50%; box-shadow: none; color: #000; cursor: pointer; transition: transform .15s ease;
}
.dosc-st .dosc-st-nav:hover { transform: scale(1.08); }
.dosc-st .dosc-st-nav[hidden] { display: inline-flex !important; visibility: hidden; }
.dosc-st .dosc-st-cap { position: absolute; right: 0; bottom: 84px; left: 0; z-index: 3; width: max-content; max-width: 86%; margin: 0 auto; padding: 7px 14px; background: rgba(0, 0, 0, .5); border-radius: 8px; color: #fff; font-size: 15px; line-height: 1.4; text-align: center; overflow-wrap: anywhere; }
.dosc-st-foot { position: absolute; right: 0; bottom: 0; left: 0; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 12px 12px calc(14px + env(safe-area-inset-bottom, 0px)); }
.dosc-st .dosc-st-fb, .dosc-st .dosc-st-fb:hover, .dosc-st .dosc-st-fb:focus {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 64px; margin: 0; padding: 4px 8px; background: none; border: 0; border-radius: 10px; box-shadow: none;
	color: #fff; font: 500 11.5px/1.1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; text-transform: none; cursor: pointer; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45));
}
.dosc-st .dosc-st-act { flex-direction: row; gap: 8px; margin-right: auto; padding: 8px 12px; font-size: 13.5px; }
.dosc-st-fspace { flex: 1; }
.dosc-st .dosc-st-like, .dosc-st .dosc-st-like:hover, .dosc-st .dosc-st-like:focus {
	display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin: 0; padding: 0; background: none; border: 0; border-radius: 50%; box-shadow: none; color: #fff; cursor: pointer;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45));
}
.dosc-st .dosc-st-like.is-on { color: #ff3040; }
.dosc-st .dosc-st-like.is-on svg { fill: currentColor; }
.dosc-st .dosc-st-like.is-pop { animation: dosc-st-pop .35s cubic-bezier(.2, .85, .25, 1.4); }
@keyframes dosc-st-pop { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }
.dosc-st-load { position: absolute; top: 50%; left: 50%; z-index: 2; width: 42px; height: 42px; margin: -21px 0 0 -21px; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #fff; border-radius: 50%; opacity: 0; animation: dosc-ig-rot .8s linear infinite; pointer-events: none; transition: opacity .2s ease .25s; }
.dosc-st-frame.is-loading .dosc-st-load { opacity: 1; }
.dosc-st-fail { position: absolute; top: 50%; right: 20px; left: 20px; z-index: 2; margin: 0; color: rgba(255, 255, 255, .85); font-size: 15px; text-align: center; transform: translateY(-50%); }
/* hold to pause: the controls fade away like Instagram */
.dosc-st-head, .dosc-st-bars, .dosc-st-foot, .dosc-st-cap, .dosc-st-shade-t, .dosc-st-shade-b { transition: opacity .2s ease; }
.dosc-st.is-hold .dosc-st-head, .dosc-st.is-hold .dosc-st-bars, .dosc-st.is-hold .dosc-st-foot, .dosc-st.is-hold .dosc-st-cap, .dosc-st.is-hold .dosc-st-shade-t, .dosc-st.is-hold .dosc-st-shade-b { opacity: 0; }
@media (max-width: 760px) {
	.dosc-st { gap: 0; background: #000; }
	.dosc-st-frame { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; border-radius: 0; transform: translateY(30px); }
	.dosc-st-bars { top: calc(8px + env(safe-area-inset-top, 0px)); }
	.dosc-st-head { top: calc(18px + env(safe-area-inset-top, 0px)); }
	.dosc-st .dosc-st-x, .dosc-st .dosc-st-nav, .dosc-st .dosc-st-nav[hidden] { display: none !important; }
	.dosc-st-tb-x { display: inline-flex !important; }
	.dosc-st-img { object-fit: contain; }
}
@media (prefers-reduced-motion: reduce) {
	.dosc-st-frame, .dosc-igm-box, .dosc-igs-box, .dosc-ig-sugg { transition: none !important; animation: none !important; }
}

/* =====================================================================================
   2.16 Instagram tabs: Posts / Reels / Reposts / Tagged (+ Saved, Your likes, Comments from the ... menu)
   ===================================================================================== */
.dosc-app .dosc-pf-grid.is-reels .dosc-pf-tile { aspect-ratio: 9 / 16; }
.dosc-pf-rbadge { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); pointer-events: none; }
.dosc-pf-rbadge .dosc-ico { stroke-width: 2; }

.dosc-app .dosc-ig-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 360px; margin: 0 auto; padding: 56px 20px 64px; text-align: center; }
.dosc-app .dosc-ig-empty-ico { display: inline-flex; align-items: center; justify-content: center; width: 78px; height: 78px; margin-bottom: 6px; border: 2px solid #000; border-radius: 50%; color: #000; }
.dosc-app .dosc-ig-empty-ico .dosc-ico { stroke-width: 1.4; }
.dosc-app .dosc-ig-empty h3 { margin: 0; font: 800 26px/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -.2px; }
.dosc-app .dosc-ig-empty p { margin: 0; color: var(--ig-mut); font-size: 14px; line-height: 1.45; }
.dosc-app .dosc-ig-empty .dosc-ig-empty-btn, .dosc-app .dosc-ig-empty .dosc-ig-empty-btn:hover {
	margin: 6px 0 0; padding: 0; background: none; border: 0; box-shadow: none; color: var(--ig-brown); font: 600 14px/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; text-transform: none; cursor: pointer;
}
.dosc-app .dosc-ig-empty .dosc-ig-empty-btn:hover { color: #000; }

.dosc-app .dosc-ig-phead { display: flex; align-items: center; gap: 6px; padding: 10px 0 12px; }
.dosc-app .dosc-ig-phead button, .dosc-app .dosc-ig-phead button:hover { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 0 0 -8px; padding: 0; background: none; border: 0; box-shadow: none; color: #000; cursor: pointer; }
.dosc-app .dosc-ig-phead h2 { margin: 0; font: 700 18px/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; }
@media (max-width: 860px) {
	.dosc-app .dosc-ig-phead { padding: 8px 12px 10px; }
	.dosc-app .dosc-ig-empty { padding: 44px 24px 56px; }
	.dosc-app .dosc-ig-empty-ico { width: 64px; height: 64px; }
	.dosc-app .dosc-ig-empty h3 { font-size: 22px; }
	.dosc-pf-rbadge { top: 6px; left: 6px; }
}

/* Repost button in the post window (profile pages only) */
.dosc-app.is-ig .dosc-vw .dosc-vw-act.dosc-vw-repost, .dosc-app.is-feed .dosc-vw .dosc-vw-act.dosc-vw-repost { display: inline-flex; }
.dosc-app.is-ig .dosc-vw .dosc-vw-act.dosc-vw-repost.is-reposted, .dosc-app.is-feed .dosc-vw .dosc-vw-act.dosc-vw-repost.is-reposted { color: #654638; }
.dosc-app.is-ig .dosc-vw .dosc-vw-act.dosc-vw-repost.is-reposted .dosc-ico, .dosc-app.is-feed .dosc-vw .dosc-vw-act.dosc-vw-repost.is-reposted .dosc-ico { stroke-width: 2.4; }
.dosc-app.is-ig .dosc-vw .dosc-vw-act.dosc-vw-repost[disabled], .dosc-app.is-feed .dosc-vw .dosc-vw-act.dosc-vw-repost[disabled] { opacity: .6; }

/* 2.16.1 desktop: bigger Posts / Reels / Reposts / Tagged tabs (phones unchanged) */
@media (min-width: 861px) {
	.dosc-app .dosc-pf.dosc-ig .dosc-pf-tabs { gap: clamp(48px, 7vw, 110px); }
	.dosc-app .dosc-pf.dosc-ig .dosc-pf-tab, .dosc-app .dosc-pf.dosc-ig .dosc-pf-tab:hover { gap: 10px; padding: 22px 4px 20px; font-size: 16px; letter-spacing: .1em; }
	.dosc-app .dosc-pf.dosc-ig .dosc-pf-tab span { font-size: 16px; font-weight: 700; }
	.dosc-app .dosc-pf.dosc-ig .dosc-pf-tab .dosc-ico { width: 22px; height: 22px; stroke-width: 1.8; }
	.dosc-app .dosc-pf.dosc-ig .dosc-pf-tab.is-active, .dosc-app .dosc-pf.dosc-ig .dosc-pf-tab.is-active:hover { border-top-width: 2px; margin-top: -1px; }
}

/* admin not synced into the community: note on his profile */
.dosc-syncbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 18px; padding: 12px 16px; background: #f7f2ee; border: 1px solid #e7dfd9; border-radius: 12px; color: #2b1d16; font-size: 14px; line-height: 1.45; }
.dosc-syncbar p { flex: 1 1 320px; margin: 0 !important; }
.dosc-app .dosc-syncbar-btn, .dosc-app .dosc-syncbar-btn:hover, .dosc-app .dosc-syncbar-btn:focus { display: inline-flex; align-items: center; height: 34px; margin: 0; padding: 0 16px; background: #654638; border: 0; border-radius: 8px; box-shadow: none; color: #fff; font: 600 14px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; text-decoration: none; text-transform: none; cursor: pointer; }
.dosc-app .dosc-syncbar-btn:hover { background: #24160f; }
.dosc-app .dosc-syncbar-btn[disabled] { opacity: .6; cursor: default; }

/* ---------- report / hide / delete account ---------- */
.dosc-app .dosc-vw-report, .dosc-app .dosc-vw-report:hover, .dosc-vw-report, .dosc-vw-report:hover {
	display: inline-flex; flex: none; align-items: center; justify-content: center; width: 34px; height: 34px; margin: 0 -6px 0 auto; padding: 0;
	background: none; border: 0; border-radius: 50%; box-shadow: none; color: #000; cursor: pointer;
}
.dosc-vw-report:hover { background: #f4efeb; }
.dosc-comment-report, .dosc-comment-report:hover, .dosc-app .dosc-comment-report, .dosc-app .dosc-comment-report:hover {
	margin: 0; padding: 0; background: none; border: 0; box-shadow: none; color: #8d7d72; font: 600 12px/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; text-transform: none; cursor: pointer; opacity: 0; transition: opacity .15s ease;
}
.dosc-comment:hover .dosc-comment-report, .dosc-comment-report:focus-visible { opacity: 1; }
@media (hover: none) { .dosc-comment-report { opacity: 1 !important; } }
.dosc-comment-report:hover { color: #b42318 !important; }
.dosc-igs.is-report .dosc-igs-item.is-reason .dosc-igs-lbl { font-weight: 400; }
.dosc-igs .dosc-rep-form, .dosc-igs .dosc-del-form { flex-direction: column; align-items: stretch; gap: 10px; }
.dosc-igs .dosc-rep-ta { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; font: 400 15px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.dosc-igs .dosc-rep-err { margin: 0; color: #b42318; font-size: 14px; }
.dosc-igs .dosc-igs-go.is-danger, .dosc-igs .dosc-igs-go.is-danger:hover { background: #b42318; }
.dosc-igs .dosc-igs-go[disabled] { opacity: .6; cursor: default; }
.dosc-igs.is-thanks .dosc-igs-title::before { content: "✓"; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0 auto 12px; border: 2px solid #654638; border-radius: 50%; color: #654638; font-size: 26px; }
.dosc-fd-hidden { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding: 14px 16px; background: #f7f2ee; border: 1px solid #e7dfd9; border-radius: 10px; color: #2b1d16; font-size: 14px; }
.dosc-app .dosc-fd-hidden button, .dosc-app .dosc-fd-hidden button:hover { flex: none; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; color: #654638; font: 600 14px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; text-transform: none; cursor: pointer; }
.dosc-pf-danger { margin: 26px 0 4px; padding: 16px 0 0; border-top: 1px solid #efe9e4; }
.dosc-pf-danger h5 { margin: 0 0 6px !important; color: #b42318; font-size: 15px; font-weight: 700; }
.dosc-pf-danger p { margin: 0 0 12px !important; color: #73655d; font-size: 13.5px; line-height: 1.45; }
.dosc-app .dosc-pf-delbtn, .dosc-app .dosc-pf-delbtn:hover { height: 38px; margin: 0; padding: 0 16px; background: #fff; border: 1px solid #e7b7b1; border-radius: 8px; box-shadow: none; color: #b42318; font: 600 14px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; text-transform: none; cursor: pointer; }
.dosc-app .dosc-pf-delbtn:hover { background: #fff1f0; }

/* Report window: bigger and wider, more space between the options (same look) */
.dosc-igs.is-report .dosc-igs-box { max-width: 560px; max-height: min(92vh, 860px); border-radius: 16px; }
.dosc-igs.is-report .dosc-igs-title { padding: 30px 32px 6px; font-size: 22px; }
.dosc-igs.is-report .dosc-igs-text { padding: 4px 32px 18px; font-size: 15px; }
.dosc-igs.is-report .dosc-igs-item, .dosc-igs.is-report .dosc-igs-item:hover, .dosc-igs.is-report .dosc-igs-item:focus { min-height: 64px; padding: 20px 32px; font-size: 16.5px; }
.dosc-igs.is-report .dosc-igs-cancel, .dosc-igs.is-report .dosc-igs-cancel:hover, .dosc-igs.is-report .dosc-igs-cancel:focus { min-height: 64px; padding: 20px 32px; }
.dosc-igs.is-report .dosc-igs-form { padding: 16px 32px 26px; gap: 14px; }
@media (max-width: 640px) {
	.dosc-igs.is-report .dosc-igs-box { max-width: none; max-height: 92vh; border-radius: 18px 18px 0 0; }
	.dosc-igs.is-report .dosc-igs-title { padding: 14px 24px 6px; font-size: 20px; }
	.dosc-igs.is-report .dosc-igs-item, .dosc-igs.is-report .dosc-igs-item:hover, .dosc-igs.is-report .dosc-igs-item:focus { min-height: 58px; padding: 17px 24px; font-size: 16px; }
	.dosc-igs.is-report .dosc-igs-form { padding: 14px 24px 22px; }
}
