/* DOS Community — every selector lives under .dosc-wrap and uses the dosc- prefix */

.dosc-wrap {
	--dosc-ink: #000;
	--dosc-brown: #654638;
	--dosc-line: rgba(101, 70, 56, .28);
	--dosc-line-soft: rgba(101, 70, 56, .16);
	--dosc-red: #e0192b;
	position: relative;
	width: 100%;
	padding: 0 0 48px;
	background: transparent;
	color: var(--dosc-ink);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
}
.dosc-wrap *,
.dosc-wrap *::before,
.dosc-wrap *::after { box-sizing: border-box; }
.dosc-wrap [hidden] { display: none !important; }
.dosc-wrap button,
.dosc-wrap input,
.dosc-wrap textarea,
.dosc-wrap select { font-family: inherit; letter-spacing: normal; text-transform: none; }
.dosc-wrap ul,
.dosc-wrap ol { margin: 0; padding: 0; list-style: none; }
.dosc-wrap li { margin: 0; padding: 0; }
.dosc-wrap h2,
.dosc-wrap h3,
.dosc-wrap p { margin: 0; padding: 0; color: inherit; }
.dosc-wrap img { max-width: 100%; border: 0; box-shadow: none; }
.dosc-wrap .dosc-ico { display: block; flex: none; }

.dosc-wrap .dosc-inner { max-width: 1450px; margin: 0 auto; padding: 0 20px; }

/* ================= no hover / focus / active background or border on clickable things ================= */
.dosc-wrap :is(.dosc-tab, .dosc-act, .dosc-more-btn, .dosc-menu button, .dosc-viewall, .dosc-modal-x, .dosc-link, .dosc-fold, .dosc-me-pic),
.dosc-wrap :is(.dosc-tab, .dosc-act, .dosc-more-btn, .dosc-menu button, .dosc-viewall, .dosc-modal-x, .dosc-link, .dosc-fold, .dosc-me-pic):is(:hover, :focus, :active) {
	margin: 0;
	background: none !important;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none !important;
	text-shadow: none !important;
	outline: 0;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}
.dosc-wrap :is(.dosc-tab, .dosc-act, .dosc-more-btn, .dosc-menu button, .dosc-viewall, .dosc-modal-x, .dosc-link, .dosc-fold, .dosc-me-pic):focus-visible {
	outline: 2px solid var(--dosc-brown) !important;
	outline-offset: 2px;
}

/* ================= lock text / icon colours in every state (themes turn buttons white on hover/focus/active) ================= */
.dosc-wrap .dosc-ico { fill: none; }
.dosc-wrap .dosc-tab,
.dosc-wrap .dosc-tab:is(:hover, :focus, :active, :focus-visible) { color: var(--dosc-brown) !important; }
.dosc-wrap .dosc-tab.is-active,
.dosc-wrap .dosc-tab.is-active:is(:hover, :focus, :active, :focus-visible) { color: var(--dosc-ink) !important; }
.dosc-wrap .dosc-act,
.dosc-wrap .dosc-act:is(:hover, :focus, :active, :focus-visible) { color: var(--dosc-ink) !important; }
.dosc-wrap .dosc-act span,
.dosc-wrap .dosc-act svg { color: inherit !important; }
.dosc-wrap .dosc-like.is-liked .dosc-ico,
.dosc-wrap .dosc-like.is-liked:is(:hover, :focus, :active) .dosc-ico { fill: var(--dosc-red) !important; stroke: var(--dosc-red) !important; }
.dosc-wrap .dosc-menu button,
.dosc-wrap .dosc-menu button:is(:focus, :active) { color: var(--dosc-ink) !important; }
.dosc-wrap .dosc-menu button:hover { color: var(--dosc-brown) !important; }
.dosc-wrap .dosc-more-btn span,
.dosc-wrap .dosc-more-btn:is(:hover, :focus, :active) span { background: var(--dosc-ink) !important; }
.dosc-wrap .dosc-viewall,
.dosc-wrap .dosc-viewall:is(:hover, :focus, :active) { color: var(--dosc-brown) !important; }
.dosc-wrap .dosc-modal-x,
.dosc-wrap .dosc-modal-x:is(:focus, :active) { color: var(--dosc-ink) !important; }
.dosc-wrap .dosc-modal-x:hover { color: var(--dosc-brown) !important; }
.dosc-wrap .dosc-link,
.dosc-wrap .dosc-link:is(:focus, :active) { color: var(--dosc-brown) !important; }
.dosc-wrap .dosc-link:hover { color: var(--dosc-ink) !important; }
.dosc-wrap .dosc-feat-link,
.dosc-wrap .dosc-feat-link:is(:hover, :focus, :active) { color: var(--dosc-ink) !important; }
.dosc-wrap .dosc-fold,
.dosc-wrap .dosc-fold:is(:hover, :focus, :active, :focus-visible) { color: var(--dosc-ink) !important; }

/* ================= buttons =================
   Default: transparent, 2px black border, black uppercase serif-style text (square corners).
   Hover: fills with #654638 (border + background), text turns white.
   Effects: shine sweep, small lift, arrow slides right. */
.dosc-wrap .dosc-btn {
	--dosc-h: 44px;
	--dosc-px: 26px;
	--dosc-fs: 14px;
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: var(--dosc-h) !important;
	min-height: var(--dosc-h) !important;
	margin: 0;
	padding: 0 var(--dosc-px) !important;
	background: transparent !important;
	border: 2px solid #000 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #000 !important;
	font-size: var(--dosc-fs) !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	letter-spacing: .05em;
	text-decoration: none;
	text-transform: uppercase !important;
	transform: none !important;
	cursor: pointer;
	outline: 0;
	-webkit-appearance: none;
	appearance: none;
	transition: all .5s ease !important;
}
.dosc-wrap .dosc-btn:is(:focus, :focus-visible) {
	background: transparent !important;
	border-color: #000 !important;
	color: #000 !important;
}
.dosc-wrap .dosc-btn > * { position: relative; z-index: 1; }

/* shine sweep */
.dosc-wrap .dosc-btn::after {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 60%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .5), transparent);
	transform: skewX(-25deg);
	transition: left .7s ease;
	pointer-events: none;
}
.dosc-wrap .dosc-btn:hover:not([disabled])::after { left: 130%; }

/* hover: full fill, border follows */
.dosc-wrap .dosc-btn:is(:hover, :active):not([disabled]) {
	background: #654638 !important;
	border-color: #654638 !important;
	color: #fff !important;
	transform: translateY(-3px) scale(1.03) !important;
	box-shadow: 0 12px 28px rgba(0, 0, 0, .25) !important;
}
/* full-width buttons: lift only, so they never poke out of the popup / box */
.dosc-wrap .dosc-btn.dosc-btn-block:is(:hover, :active):not([disabled]) {
	transform: translateY(-3px) !important;
}

/* arrow */
.dosc-wrap .dosc-btn .dosc-ico { transition: transform .4s ease; }
.dosc-wrap .dosc-btn:hover:not([disabled]) .dosc-ico-arrow { transform: translateX(8px); }

.dosc-wrap .dosc-btn:focus-visible { outline: 2px solid var(--dosc-brown) !important; outline-offset: 2px; }
.dosc-wrap .dosc-btn.dosc-btn-create { --dosc-fs: 14px; flex: none; }
.dosc-wrap .dosc-btn.dosc-btn-block { display: flex; width: 100%; }
.dosc-wrap .dosc-btn.dosc-btn-sm { --dosc-h: 40px; --dosc-px: 18px; }
.dosc-wrap .dosc-btn[disabled] { opacity: .55; cursor: default; }

/* ================= pagination ================= */
.dosc-wrap .dosc-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.dosc-wrap .dosc-page,
.dosc-wrap .dosc-page:is(:hover, :focus, :active, :focus-visible) {
	min-width: 40px;
	height: 40px;
	margin: 0;
	padding: 0 12px !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 20px;
	box-shadow: none !important;
	color: var(--dosc-brown) !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1 !important;
	text-transform: none !important;
	letter-spacing: normal;
	outline: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.dosc-wrap .dosc-page:hover { opacity: .7; }
.dosc-wrap .dosc-page:focus-visible { outline: 2px solid var(--dosc-brown) !important; outline-offset: 2px; }
.dosc-wrap .dosc-page-nav { padding: 0 16px !important; }
.dosc-wrap .dosc-page.is-current,
.dosc-wrap .dosc-page.is-current:is(:hover, :focus, :active, :focus-visible) { background: #000 !important; color: #fff !important; opacity: 1; cursor: default; }
.dosc-wrap .dosc-page-gap { padding: 0 4px; color: var(--dosc-brown); }
.dosc-wrap .dosc-topbar { scroll-margin-top: 80px; }

/* ================= top bar ================= */
.dosc-wrap .dosc-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
	margin-bottom: 26px;
	border-bottom: 1px solid var(--dosc-line);
}
.dosc-wrap .dosc-tabs { display: flex; align-self: stretch; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.dosc-wrap .dosc-tabs::-webkit-scrollbar { display: none; }
.dosc-wrap .dosc-tab {
	position: relative;
	flex: none;
	min-height: 64px;
	padding: 0 30px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
}
.dosc-wrap .dosc-tab.is-active::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	height: 2px;
	background: var(--dosc-ink);
}

/* ================= layout ================= */
.dosc-wrap .dosc-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 24px;
	align-items: start;
}
.dosc-wrap .dosc-feed { min-width: 0; }
.dosc-wrap .dosc-list { display: flex; flex-direction: column; gap: 14px; transition: opacity .15s; }
.dosc-wrap .dosc-list.is-loading { opacity: .45; pointer-events: none; }
.dosc-wrap .dosc-more-wrap { display: flex; justify-content: center; margin-top: 20px; }
.dosc-wrap .dosc-empty {
	padding: 52px 20px;
	border: 1px dashed var(--dosc-line);
	border-radius: 8px;
	color: var(--dosc-brown);
	text-align: center;
}

/* ================= post card ================= */
.dosc-wrap .dosc-card {
	position: relative;
	padding: 20px 24px 14px;
	background: transparent;
	border: 1px solid var(--dosc-line);
	border-radius: 8px;
	scroll-margin-top: 90px;
}
.dosc-wrap .dosc-card.is-flash { animation: dosc-flash 1.6s ease-out; }
@keyframes dosc-flash { 0% { box-shadow: 0 0 0 3px rgba(101, 70, 56, .35); } 100% { box-shadow: 0 0 0 3px rgba(101, 70, 56, 0); } }

.dosc-wrap .dosc-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.dosc-wrap .dosc-avatar { display: block; flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: rgba(101, 70, 56, .15); }
.dosc-wrap .dosc-avatar-md { width: 40px; height: 40px; }
.dosc-wrap .dosc-avatar-sm { width: 32px; height: 32px; }
.dosc-wrap .dosc-who { flex: 1; min-width: 0; }
.dosc-wrap .dosc-who-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; line-height: 1.25; }
.dosc-wrap .dosc-author { color: var(--dosc-ink); font-size: 17px; font-weight: 600; }
.dosc-wrap .dosc-badge {
	display: inline-block;
	padding: 4px 9px 3px;
	background: var(--dosc-brown);
	border-radius: 4px;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .1em;
	line-height: 1.3;
	text-transform: uppercase;
}
.dosc-wrap .dosc-badge-admin {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 11px 4px 8px;
	background: linear-gradient(135deg, #4a2f22 0%, #8a5a33 55%, #c08a3e 100%);
	border-radius: 999px;
	box-shadow: 0 1px 3px rgba(74, 47, 34, .35), inset 0 1px 0 rgba(255, 255, 255, .28);
	color: #fff;
	font-size: 10.5px;
	letter-spacing: .12em;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}
.dosc-wrap .dosc-badge-admin .dosc-ico { width: 12px; height: 12px; stroke-width: 2; }
.dosc-wrap .dosc-meta { margin-top: 3px; color: var(--dosc-brown); font-size: 13px; line-height: 1.3; }
.dosc-wrap .dosc-dot { margin: 0 7px; }

.dosc-wrap .dosc-more { position: relative; align-self: flex-start; margin-top: 4px; }
.dosc-wrap .dosc-more-btn { display: flex; align-items: center; gap: 3px; height: 30px; padding: 0 6px; cursor: pointer; }
.dosc-wrap .dosc-more-btn span { width: 4px; height: 4px; border-radius: 50%; background: var(--dosc-ink); }
.dosc-wrap .dosc-menu {
	position: absolute;
	top: 100%; right: 0;
	z-index: 20;
	min-width: 160px;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--dosc-line);
	border-radius: 6px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}
.dosc-wrap .dosc-menu button { display: block; width: 100%; padding: 10px 12px; color: var(--dosc-ink); font-size: 14px; text-align: left; cursor: pointer; }
.dosc-wrap .dosc-menu button:hover { color: var(--dosc-brown); }

.dosc-wrap .dosc-title {
	margin: 0 0 6px;
	color: var(--dosc-ink);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.22;
	text-transform: none;
}
.dosc-wrap .dosc-text { color: var(--dosc-ink); font-size: 15.5px; line-height: 1.55; overflow-wrap: anywhere; }
.dosc-wrap .dosc-text p { margin: 0; }
.dosc-wrap .dosc-text p + p { margin-top: 8px; }

.dosc-wrap .dosc-media { display: grid; gap: 8px; margin-top: 16px; }
.dosc-wrap .dosc-media-1,
.dosc-wrap .dosc-media-2 { grid-template-columns: 1fr; } /* every photo gets the full width of the post */
.dosc-wrap .dosc-media-item,
.dosc-wrap .dosc-media-item:is(:hover, :focus, :active) {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0 !important;
	overflow: hidden;
	background: rgba(101, 70, 56, .12) !important;
	border: 0 !important;
	border-radius: 6px;
	box-shadow: none !important;
	outline: 0;
	cursor: zoom-in;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}
.dosc-wrap .dosc-media-item:focus-visible { outline: 2px solid var(--dosc-brown) !important; outline-offset: 2px; }
/* Full photo, full width, natural height: no fixed ratio, no cropping, no zoom. */
.dosc-wrap .dosc-media-item img { position: static; display: block; width: 100%; height: auto; max-width: 100%; margin: 0; object-fit: contain; }

/* Video: plays right in the post, always shown whole (never cropped). */
.dosc-wrap .dosc-video { margin-top: 16px; overflow: hidden; border-radius: 6px; background: #000; }
.dosc-wrap .dosc-media + .dosc-video { margin-top: 8px; }
.dosc-wrap .dosc-video video { display: block; width: 100%; height: auto; max-height: 85vh; max-height: 85dvh; margin: 0; object-fit: contain; background: #000; outline: 0; }

.dosc-wrap .dosc-actions { display: flex; align-items: center; gap: 30px; margin-top: 16px; padding: 4px 0; }
.dosc-wrap .dosc-act { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; color: var(--dosc-ink); font-size: 15px; line-height: 1; cursor: pointer; }
.dosc-wrap .dosc-act:hover { color: var(--dosc-ink); opacity: .7; }
.dosc-wrap .dosc-share-wrap { position: relative; margin-left: auto; }
.dosc-wrap .dosc-share { margin-left: 0; gap: 9px; }
.dosc-wrap .dosc-edited { cursor: help; }
.dosc-wrap .dosc-like .dosc-ico { transition: transform .15s; }
.dosc-wrap .dosc-like:active .dosc-ico { transform: scale(.88); }
.dosc-wrap .dosc-like.is-liked .dosc-ico { fill: var(--dosc-red); stroke: var(--dosc-red); }

/* ================= comments ================= */
.dosc-wrap .dosc-comments { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--dosc-line-soft); }
.dosc-wrap .dosc-comment-list { display: flex; flex-direction: column; gap: 14px; }
.dosc-wrap .dosc-comment-list:not(:empty) { margin-bottom: 16px; }
.dosc-wrap .dosc-comment { display: flex; gap: 12px; }
.dosc-wrap .dosc-comment-body { min-width: 0; }
.dosc-wrap .dosc-comment-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; line-height: 1.3; }
.dosc-wrap .dosc-comment-name { font-size: 14px; font-weight: 600; }
.dosc-wrap .dosc-comment-time { color: var(--dosc-brown); font-size: 12px; }
.dosc-wrap .dosc-comment-text { margin-top: 2px; font-size: 14.5px; overflow-wrap: anywhere; }
.dosc-wrap .dosc-cform { display: flex; align-items: stretch; gap: 8px; }
.dosc-wrap .dosc-cform .dosc-cinput { flex: 1; min-width: 0; height: 46px; }
.dosc-wrap .dosc-cform .dosc-btn.dosc-btn-sm { --dosc-h: 46px; --dosc-px: 22px; flex: none; align-self: stretch; margin: 0; }
.dosc-wrap .dosc-clogin { color: var(--dosc-brown); font-size: 14px; }

/* ================= sidebar ================= */
.dosc-wrap .dosc-side { display: flex; flex-direction: column; gap: 14px; }
.dosc-wrap .dosc-box { padding: 26px; background: transparent; border: 1px solid var(--dosc-line); border-radius: 8px; }
.dosc-wrap .dosc-box-title { color: var(--dosc-ink); font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: .02em; text-transform: uppercase; }
.dosc-wrap .dosc-rule { display: block; width: 40px; height: 2px; margin: 16px 0 18px; background: var(--dosc-brown); }
.dosc-wrap .dosc-welcome-text { color: var(--dosc-ink); font-size: 14px; line-height: 1.65; }
.dosc-wrap .dosc-perks { margin: 22px 0 26px; }
.dosc-wrap .dosc-perks li { display: flex; align-items: center; gap: 20px; padding: 7px 0 7px 6px; color: var(--dosc-ink); font-size: 14px; }
.dosc-wrap .dosc-perks .dosc-ico { width: 28px; height: 28px; color: var(--dosc-brown); stroke-width: 1.3; }

.dosc-wrap .dosc-label { margin: 0; color: var(--dosc-ink); font-size: 12px; font-weight: 600; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }
.dosc-wrap .dosc-featured { padding: 20px; }
.dosc-wrap .dosc-feat-link { display: block; margin-top: 14px; color: var(--dosc-ink); text-decoration: none; }
.dosc-wrap .dosc-feat-link:hover { color: var(--dosc-ink); }
.dosc-wrap .dosc-feat-link.has-img .dosc-feat-title { margin-top: 14px; }
.dosc-wrap .dosc-feat-img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	border-radius: 4px;
	object-fit: contain;
}
.dosc-wrap .dosc-feat-title { display: block; margin-top: 0; font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: .02em; text-transform: uppercase; }
.dosc-wrap .dosc-feat-stats { display: flex; align-items: center; gap: 26px; margin-top: 12px; font-size: 15px; }
.dosc-wrap .dosc-stat { display: inline-flex; align-items: center; gap: 10px; }

.dosc-wrap .dosc-members { padding: 20px; }
.dosc-wrap .dosc-members-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dosc-wrap .dosc-viewall { padding: 0; color: var(--dosc-brown); font-size: 13px; cursor: pointer; }
.dosc-wrap .dosc-member { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.dosc-wrap .dosc-member-extra { display: none; }
.dosc-wrap .dosc-members.is-open .dosc-member-extra { display: flex; }
.dosc-wrap .dosc-members.is-open .dosc-member-list { max-height: 440px; overflow-y: auto; overscroll-behavior: contain; }
.dosc-wrap .dosc-rank { width: 14px; font-size: 14px; }
.dosc-wrap .dosc-member-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.dosc-wrap .dosc-member-name { font-size: 14px; font-weight: 600; }
.dosc-wrap .dosc-member-count { color: var(--dosc-brown); font-size: 13.5px; }

/* ================= popup ================= */
.dosc-wrap .dosc-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, .55);
	overflow-y: auto;
}
.dosc-wrap .dosc-modal-box {
	position: relative;
	width: 100%;
	max-width: 460px;
	max-height: 100%;
	padding: 34px 32px 30px;
	overflow-y: auto;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
	color: var(--dosc-ink);
}
.dosc-wrap .dosc-modal-x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; padding: 0; color: var(--dosc-ink); font-size: 28px; line-height: 1; cursor: pointer; }
.dosc-wrap .dosc-modal-x:hover { color: var(--dosc-brown); }
.dosc-wrap .dosc-modal-title { margin-bottom: 6px; color: var(--dosc-ink); font-size: 26px; font-weight: 600; line-height: 1.2; }
.dosc-wrap .dosc-modal-text { margin-bottom: 20px; color: var(--dosc-brown); font-size: 14.5px; }
.dosc-wrap .dosc-view > .dosc-modal-title:last-child { margin-bottom: 18px; }
.dosc-wrap .dosc-field { display: block; margin-bottom: 14px; }
.dosc-wrap .dosc-field-label { display: block; margin-bottom: 6px; color: var(--dosc-ink); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.dosc-wrap .dosc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dosc-wrap .dosc-input {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 11px 13px;
	background: #fff;
	border: 1px solid var(--dosc-line);
	border-radius: 5px;
	box-shadow: none;
	color: var(--dosc-ink);
	font-size: 15px;
	line-height: 1.4;
}
.dosc-wrap .dosc-input:focus { outline: 0; border-color: var(--dosc-brown); box-shadow: none; }
.dosc-wrap textarea.dosc-input { min-height: 110px; resize: vertical; }
.dosc-wrap .dosc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -2px 0 16px; font-size: 14px; }
.dosc-wrap .dosc-check { display: inline-flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; }
.dosc-wrap .dosc-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--dosc-brown); }
.dosc-wrap .dosc-link { display: inline; padding: 0; color: var(--dosc-brown); font-size: inherit; text-decoration: underline !important; cursor: pointer; }
.dosc-wrap .dosc-link:hover { color: var(--dosc-ink); }
.dosc-wrap .dosc-switch { margin-top: 18px; color: var(--dosc-ink); font-size: 14px; text-align: center; }
.dosc-wrap .dosc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dosc-wrap .dosc-file { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px dashed var(--dosc-brown); border-radius: 5px; color: var(--dosc-brown); font-size: 14px; cursor: pointer; }
.dosc-wrap .dosc-previews { display: flex; gap: 8px; margin-top: 10px; }
.dosc-wrap .dosc-previews img { width: 72px; height: 72px; border-radius: 4px; object-fit: cover; }
.dosc-wrap .dosc-msg { min-height: 20px; margin-bottom: 8px; color: #b3261e; font-size: 14px; }
.dosc-wrap .dosc-msg.is-ok { color: #1e7a46; }

.dosc-wrap .dosc-toast { position: fixed; left: 50%; bottom: 28px; z-index: 100000; padding: 11px 20px; background: #000; border-radius: 4px; color: #fff; font-size: 14px; transform: translateX(-50%); }

/* ================= responsive ================= */
@media (max-width: 1100px) {
	.dosc-wrap .dosc-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
}
@media (max-width: 560px) {
	.dosc-wrap .dosc-inner { padding: 0 12px; }
	.dosc-wrap .dosc-tab { padding: 0 18px; font-size: 14px; min-height: 56px; }
	.dosc-wrap .dosc-btn-create:not(.dosc-btn-join) span { display: none; }
	.dosc-wrap .dosc-btn-join { --dosc-fs: 12px; white-space: nowrap; }
	.dosc-wrap .dosc-btn.dosc-btn-create { --dosc-px: 14px; }
	.dosc-wrap .dosc-card { padding: 16px 14px 10px; }
	.dosc-wrap .dosc-title { font-size: 22px; }
	.dosc-wrap .dosc-box { padding: 20px; }
	.dosc-wrap .dosc-actions { gap: 22px; }
	.dosc-wrap .dosc-page { min-width: 36px; height: 36px; }
	.dosc-wrap .dosc-modal { align-items: flex-end; padding: 0; }
	.dosc-wrap .dosc-modal-box { max-width: none; padding: 28px 20px 24px; border-radius: 14px 14px 0 0; }
	.dosc-wrap .dosc-grid2 { grid-template-columns: 1fr; gap: 0; }
}
/* ================= share popup ================= */
.dosc-wrap .dosc-sharebox {
	position: absolute;
	right: 0;
	bottom: calc(100% + 8px);
	z-index: 30;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px 2px;
	width: 300px;
	max-width: calc(100vw - 32px);
	padding: 16px 10px 10px;
	background: #fff;
	border: 1px solid var(--dosc-line);
	border-radius: 12px;
	box-shadow: 0 14px 38px rgba(0, 0, 0, .18);
}
.dosc-wrap .dosc-sharebox.is-below { top: calc(100% + 8px); bottom: auto; }
.dosc-wrap .dosc-so,
.dosc-wrap .dosc-so:is(:hover, :focus, :active, :visited) {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 4px 2px !important;
	background: none !important;
	border: 0 !important;
	border-radius: 8px;
	box-shadow: none !important;
	color: var(--dosc-ink) !important;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: normal;
	line-height: 1.2;
	text-decoration: none !important;
	text-transform: none !important;
	cursor: pointer;
	outline: 0;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}
.dosc-wrap .dosc-so:focus-visible { outline: 2px solid var(--dosc-brown) !important; outline-offset: 1px; }
.dosc-wrap .dosc-so-ico { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; transition: transform .15s; }
.dosc-wrap .dosc-so-ico svg { display: block; width: 22px; height: 22px; }
.dosc-wrap .dosc-so:hover .dosc-so-ico { transform: translateY(-2px); }
.dosc-wrap .dosc-so-name { display: block; white-space: nowrap; }

/* ================= lightbox ================= */
.dosc-wrap .dosc-lb {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 72px;
	background: rgba(0, 0, 0, .92);
}
.dosc-wrap .dosc-lb-stage { display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; margin: 0; padding: 0; touch-action: pan-y; }
.dosc-wrap .dosc-lb-img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - 120px);
	max-height: calc(100dvh - 120px);
	margin: 0;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 12px 44px rgba(0, 0, 0, .55);
	opacity: 0;
	transition: opacity .2s;
}
.dosc-wrap .dosc-lb-img.is-ready { opacity: 1; }
.dosc-wrap .dosc-lb-btn,
.dosc-wrap .dosc-lb-btn:is(:hover, :focus, :active) {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 0;
	padding: 0 !important;
	background: rgba(255, 255, 255, .14) !important;
	border: 0 !important;
	border-radius: 50%;
	box-shadow: none !important;
	color: #fff !important;
	line-height: 1;
	cursor: pointer;
	outline: 0;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}
.dosc-wrap .dosc-lb-btn:hover { background: rgba(255, 255, 255, .28) !important; }
.dosc-wrap .dosc-lb-btn:focus-visible { outline: 2px solid #fff !important; outline-offset: 2px; }
.dosc-wrap .dosc-lb-btn svg { display: block; }
.dosc-wrap .dosc-lb-close { top: 14px; right: 14px; }
.dosc-wrap .dosc-lb-nav { top: 50%; margin-top: -23px; }
.dosc-wrap .dosc-lb-prev { left: 14px; }
.dosc-wrap .dosc-lb-next { right: 14px; }
.dosc-wrap .dosc-lb-count { position: absolute; left: 0; right: 0; bottom: 18px; color: #fff; font-size: 13px; letter-spacing: .08em; text-align: center; }

/* ================= edit popup: existing photos ================= */
.dosc-wrap .dosc-keep { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dosc-wrap .dosc-keep:empty { display: none; }
.dosc-wrap .dosc-keep-item { position: relative; display: block; width: 72px; height: 72px; }
.dosc-wrap .dosc-keep-item img { display: block; width: 72px; height: 72px; border-radius: 4px; object-fit: cover; }
.dosc-wrap .dosc-keep-x,
.dosc-wrap .dosc-keep-x:is(:hover, :focus, :active) {
	position: absolute;
	top: -7px;
	right: -7px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin: 0;
	padding: 0 !important;
	background: #000 !important;
	border: 2px solid #fff !important;
	border-radius: 50%;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.dosc-wrap .dosc-previews:empty { display: none; }
.dosc-wrap .dosc-vpreview { margin-top: 10px; }
.dosc-wrap .dosc-vpreview:empty,
.dosc-wrap .dosc-keepv:empty { display: none; }
.dosc-wrap .dosc-vpreview video { display: block; width: 120px; height: 72px; border-radius: 4px; background: #000; object-fit: contain; }
.dosc-wrap .dosc-keepv { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.dosc-wrap .dosc-keepv-item { position: relative; display: inline-block; width: 120px; height: 72px; }
.dosc-wrap .dosc-keepv-item video { display: block; width: 120px; height: 72px; border-radius: 4px; background: #000; object-fit: contain; }

@media (max-width: 560px) {
	.dosc-wrap .dosc-lb { padding: 56px 10px; }
	.dosc-wrap .dosc-lb-nav { width: 40px; height: 40px; margin-top: -20px; }
	.dosc-wrap .dosc-lb-prev { left: 6px; }
	.dosc-wrap .dosc-lb-next { right: 6px; }
	.dosc-wrap .dosc-sharebox { width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
	.dosc-wrap * { animation: none !important; transition: none !important; }	/* the login / signup sidebar always slides (many Windows / phone settings turn motion off and it would just snap) */
	.dosc-wrap .dosc-modal-auth { transition: background-color .3s ease !important; }
	.dosc-wrap .dosc-modal-auth .dosc-modal-box { transition: opacity .3s ease !important; transform: none !important; }
}

/* ================= profile photo (logged-in box + popup) ================= */
.dosc-wrap .dosc-avatar-lg { width: 56px; height: 56px; }
.dosc-wrap .dosc-avatar-xl { width: 128px; height: 128px; }
.dosc-wrap .dosc-me { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.dosc-wrap .dosc-me-pic { position: relative; flex: none; display: block; width: 56px; height: 56px; padding: 0; border-radius: 50%; cursor: pointer; }
.dosc-wrap .dosc-me-pic .dosc-avatar { width: 56px; height: 56px; }
.dosc-wrap .dosc-me-cam { position: absolute; right: -3px; bottom: -3px; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: var(--dosc-brown); border: 2px solid #fff; border-radius: 50%; color: #fff; }
.dosc-wrap .dosc-me-cam .dosc-ico { width: 12px; height: 12px; stroke-width: 2; }
.dosc-wrap .dosc-me-info { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.dosc-wrap .dosc-me-name { max-width: 100%; overflow: hidden; font-size: 16px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.dosc-wrap .dosc-me-info .dosc-link { font-size: 13.5px; }
.dosc-wrap .dosc-avatar-edit { display: flex; justify-content: center; margin: 4px 0 18px; }
.dosc-wrap .dosc-field-center { display: flex; justify-content: center; }
.dosc-wrap .dosc-field-center .dosc-file { margin: 0; }
.dosc-wrap .dosc-remove-avatar-wrap { margin-top: 14px; }

/* the fold chevron only exists on small screens */
.dosc-wrap .dosc-fold { display: none; }

/* ================= phones / small tablets: sidebar boxes move to the top, folded to one line ================= */
@media (max-width: 860px) {
	/* topbar + feed + sidebar boxes become one column; boxes first, then category tabs, then the posts */
	.dosc-wrap .dosc-inner { display: flex; flex-direction: column; gap: 10px; }
	.dosc-wrap .dosc-layout,
	.dosc-wrap .dosc-side { display: contents; }
	.dosc-wrap .dosc-me { order: 1; }
	.dosc-wrap .dosc-welcome { order: 2; }
	.dosc-wrap .dosc-featured { order: 3; }
	.dosc-wrap .dosc-members { order: 4; }
	.dosc-wrap .dosc-topbar { order: 5; margin-top: 4px; margin-bottom: 4px; }
	.dosc-wrap .dosc-feed { order: 6; }

	.dosc-wrap .dosc-box { padding: 12px 14px; }
	.dosc-wrap .dosc-me { padding: 10px 14px; gap: 12px; }
	.dosc-wrap .dosc-me-pic,
	.dosc-wrap .dosc-me-pic .dosc-avatar { width: 46px; height: 46px; }

	/* one-line header with a chevron; tap to open */
	.dosc-wrap .dosc-fold {
		display: flex;
		flex: none;
		align-items: center;
		justify-content: center;
		width: 34px;
		height: 34px;
		padding: 0;
		cursor: pointer;
	}
	.dosc-wrap .dosc-fold .dosc-ico { transition: transform .2s; }
	.dosc-wrap .dosc-fold-box.is-unfolded .dosc-fold .dosc-ico { transform: rotate(180deg); }
	.dosc-wrap .dosc-fold-head { cursor: pointer; }
	.dosc-wrap .dosc-fold-box:not(.is-unfolded) .dosc-fold-body { display: none; }
	.dosc-wrap div.dosc-fold-head { display: flex; align-items: center; gap: 10px; min-height: 34px; }
	.dosc-wrap div.dosc-fold-head .dosc-label { flex: 1; }
	.dosc-wrap .dosc-fold-box:not(.is-unfolded) .dosc-viewall { display: none; }
	.dosc-wrap .dosc-members-head { margin-bottom: 0; }
	.dosc-wrap .dosc-members.is-unfolded .dosc-members-head { margin-bottom: 8px; }
	.dosc-wrap .dosc-featured.is-unfolded .dosc-feat-link { margin-top: 10px; }

	/* welcome: same look as desktop, but folded to just the title + chevron; tap to open */
	.dosc-wrap .dosc-welcome {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "title fold" "rule rule" "body body" "cta cta";
		align-items: center;
		gap: 0 10px;
	}
	.dosc-wrap .dosc-welcome.is-unfolded { padding: 20px; }
	.dosc-wrap .dosc-welcome .dosc-box-title { grid-area: title; font-size: 17px; line-height: 1.25; }
	.dosc-wrap .dosc-welcome .dosc-rule { grid-area: rule; margin: 14px 0 16px; }
	.dosc-wrap .dosc-welcome:not(.is-unfolded) .dosc-rule,
	.dosc-wrap .dosc-welcome:not(.is-unfolded) .dosc-btn.dosc-btn-block { display: none; }
	.dosc-wrap .dosc-welcome .dosc-btn.dosc-btn-block { grid-area: cta; }
	.dosc-wrap .dosc-welcome .dosc-fold { grid-area: fold; }
	.dosc-wrap .dosc-welcome .dosc-fold-body { grid-area: body; }

	.dosc-wrap .dosc-feat-title { font-size: 16px; }
}

@media (max-width: 560px) {
	.dosc-wrap .dosc-topbar { min-height: 56px; }
}

/* =====================================================================
   Login / sign up / reset window (logged-out visitors)
   A centered ivory card. Sizes are  calc(var(--u) * N)  where N = pixels in the
   991px-wide design, so everything scales with the card (phones get minimum sizes).
   ===================================================================== */
.dosc-wrap .dosc-modal-auth {
	align-items: flex-start;
	justify-content: center;
	padding: 20px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	background-color: rgba(24, 20, 17, 0);
	transition: background-color .3s ease;
}
.dosc-wrap .dosc-modal-auth.is-open { background-color: rgba(24, 20, 17, .5); }
.dosc-wrap .dosc-modal-auth .dosc-modal-box {
	--dosc-serif: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
	--dosc-sans: 'Lexend', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--dosc-tx: #141210;
	--dosc-soft: #55504b;
	display: flex;
	flex-direction: column;
	width: min(900px, calc(100vw - 40px), max(620px, calc((100dvh - 40px) * .77)));
	max-width: none;
	height: auto;
	max-height: none;
	margin: auto;
	padding: 0;
	overflow: visible;
	container-type: inline-size;
	border-radius: 6px;
	box-shadow: 0 30px 80px rgba(20, 14, 10, .28), 0 2px 8px rgba(20, 14, 10, .08);
	color: var(--dosc-tx);
	font-family: var(--dosc-serif);
	background: #fbf8f1 radial-gradient(120% 80% at 50% 35%, #fcfaf6 0%, #f8f3ec 70%, #f4eee6 100%);
	opacity: 0;
	transform: translate3d(0, 18px, 0) scale(.985);
	transition: opacity .35s ease, transform .45s cubic-bezier(.22, .61, .36, 1);
}
.dosc-wrap .dosc-modal-auth.is-open .dosc-modal-box { opacity: 1; transform: none; }

/* close: a plain X in the top-right corner of the card */
.dosc-wrap .dosc-auth-close,
.dosc-wrap .dosc-auth-close:is(:hover, :focus, :active) {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-height: 0;
	margin: 0;
	padding: 0;
	background: transparent !important;
	border: 0 !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	outline: 0;
	color: #2b2724 !important;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .15s ease;
}
.dosc-wrap .dosc-auth-close:hover { background: rgba(60, 40, 25, .08) !important; }
.dosc-wrap .dosc-auth-close svg { width: 22px; height: 22px; }
.dosc-wrap .dosc-auth-close:focus-visible { outline: 2px solid #654638 !important; outline-offset: 2px; }

.dosc-wrap .dosc-auth {
	--u: calc(100cqw / 991);
	position: relative;
	padding: calc(var(--u) * 30) calc(var(--u) * 52) calc(var(--u) * 54);
	color: var(--dosc-tx);
	font-family: var(--dosc-serif);
	text-align: center;
	isolation: isolate;
}
.dosc-wrap .dosc-ahead { display: flex; flex-direction: column; align-items: center; }
/* DOS Community logo in the top-left corner: the DOS mark, COMMUNITY and a brush line */
.dosc-wrap .dosc-abrand {
	align-self: flex-start;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: calc(var(--u) * 138);
	min-width: 88px;
	margin: 0 0 0 calc(var(--u) * -30);
}
.dosc-wrap .dosc-alogo { display: block; width: calc(var(--u) * 64); min-width: 42px; height: auto; max-width: none; margin: 0 auto; border: 0; mix-blend-mode: multiply; }
.dosc-wrap .dosc-abrand-com {
	display: block;
	margin-top: calc(var(--u) * 8);
	padding-left: .55em;
	color: #1d1a17;
	font-family: 'EB Garamond', Garamond, Georgia, serif;
	font-size: max(11px, calc(var(--u) * 15));
	letter-spacing: .1em;
	line-height: 1;
	text-transform: none;
	white-space: nowrap;
}
.dosc-wrap .dosc-abrand-brush { display: block; width: 100%; height: calc(var(--u) * 9); min-height: 6px; margin-top: calc(var(--u) * 6); overflow: visible; }
.dosc-wrap .dosc-atitle {
	margin: calc(var(--u) * 26) 0 0;
	padding: 0;
	border: 0;
	color: #0d0c0b;
	font-family: var(--dosc-serif);
	font-size: max(26px, calc(var(--u) * 68));
	font-weight: 700;
	font-optical-sizing: auto;
	letter-spacing: -.005em;
	line-height: 1.05;
	text-transform: none;
	text-wrap: balance;
}
.dosc-wrap .dosc-asub {
	margin: calc(var(--u) * 12) 0 0;
	color: #121110;
	font-family: var(--dosc-sans);
	font-size: max(15px, calc(var(--u) * 36));
	font-weight: 300;
	letter-spacing: .005em;
	line-height: 1.2;
	text-wrap: balance;
}

/* fields */
.dosc-wrap .dosc-aform { margin: 0 calc(var(--u) * 0); }
.dosc-wrap .dosc-req {
	margin: calc(var(--u) * 56) 0 calc(var(--u) * 6);
	color: #2a2623;
	font-family: var(--dosc-serif);
	font-size: max(12px, calc(var(--u) * 21));
	line-height: 1.2;
	text-align: right;
}
.dosc-wrap .dosc-af { margin: 0 0 calc(var(--u) * 42); text-align: left; }
.dosc-wrap .dosc-af-line {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: max(48px, calc(var(--u) * 64));
	margin: 0;
	padding: 0 0 calc(var(--u) * 7);
	border-bottom: 1.5px solid #1b1917;
	color: var(--dosc-tx);
	font-size: max(16px, calc(var(--u) * 28));
	line-height: 1.2;
	cursor: text;
}
/* the label sits on the line like a placeholder; on focus / when filled it moves up, same size */
.dosc-wrap .dosc-af-label {
	position: absolute;
	left: 0;
	bottom: calc(var(--u) * 7);
	max-width: 100%;
	overflow: hidden;
	color: #0f0e0d;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	text-overflow: ellipsis;
	transform-origin: left bottom;
	transition: transform .22s ease;
	pointer-events: none;
}
.dosc-wrap .dosc-af-line:focus-within .dosc-af-label,
.dosc-wrap .dosc-af-line:has(input:not(:placeholder-shown)) .dosc-af-label,
.dosc-wrap .dosc-af-line:has(input:-webkit-autofill) .dosc-af-label {
	transform: translateY(-1.3em);
}
.dosc-wrap .dosc-aform .dosc-af input::placeholder { color: transparent !important; opacity: 0; }

/* no border / outline / ring / fill in ANY state — the underline never changes */
.dosc-wrap .dosc-aform .dosc-af input,
.dosc-wrap .dosc-aform .dosc-af input:is(:hover, :focus, :focus-visible, :active) {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 0;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: 0 !important;
	color: #141210 !important;
	font: inherit;
	line-height: inherit;
	-webkit-appearance: none;
	appearance: none;
	caret-color: #141210;
}
.dosc-wrap .dosc-aform .dosc-af input:-webkit-autofill,
.dosc-wrap .dosc-aform .dosc-af input:-webkit-autofill:is(:hover, :focus, :active) {
	-webkit-text-fill-color: #141210;
	transition: background-color 99999s ease-out 0s;
	box-shadow: none !important;
}
.dosc-wrap .dosc-af-line:focus-within { border-bottom-color: #1b1917; box-shadow: none; outline: 0; }

.dosc-wrap .dosc-af-hint {
	margin: calc(var(--u) * 12) 0 0;
	color: var(--dosc-soft);
	font-family: var(--dosc-serif);
	font-size: max(13px, calc(var(--u) * 22));
	line-height: 1.25;
}
.dosc-wrap .dosc-eye,
.dosc-wrap .dosc-eye:is(:hover, :focus, :active) {
	flex: none;
	display: flex;
	align-items: center;
	height: 100%;
	margin: 0;
	padding: 0 0 0 .5em;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: 0;
	color: #141210 !important;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}
.dosc-wrap .dosc-eye svg { display: block; width: max(24px, calc(var(--u) * 38)); height: auto; }
.dosc-wrap .dosc-eye .dosc-eye-on { display: none; }
.dosc-wrap .dosc-eye[aria-pressed="true"] .dosc-eye-on { display: block; }
.dosc-wrap .dosc-eye[aria-pressed="true"] .dosc-eye-off { display: none; }

/* remember me / lost password */
.dosc-wrap .dosc-arow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: calc(var(--u) * -18) 0 calc(var(--u) * 40);
	color: var(--dosc-tx);
	font-size: max(14px, calc(var(--u) * 22));
}
.dosc-wrap .dosc-acheck { display: inline-flex; align-items: center; gap: .5em; margin: 0; cursor: pointer; }
.dosc-wrap .dosc-acheck input { width: 1.05em; height: 1.05em; margin: 0; accent-color: #1e1d1c; }

.dosc-wrap .dosc-aform .dosc-msg {
	min-height: 0;
	margin: calc(var(--u) * -14) 0 calc(var(--u) * 24);
	font-family: var(--dosc-serif);
	font-size: max(14px, calc(var(--u) * 22));
	line-height: 1.35;
	text-align: center;
}
.dosc-wrap .dosc-aform .dosc-msg:empty { display: none; }

/* button */
.dosc-wrap .dosc-abtn,
.dosc-wrap .dosc-abtn:is(:focus, :active) {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: max(52px, calc(var(--u) * 87));
	min-height: 0;
	margin: calc(var(--u) * 54) 0 0;
	padding: 0 12px;
	background: #1e1d1c !important;
	border: 0 !important;
	border-radius: max(3px, calc(var(--u) * 5)) !important;
	box-shadow: none !important;
	outline: 0;
	color: #fff !important;
	font-family: var(--dosc-serif);
	font-size: max(17px, calc(var(--u) * 32));
	font-weight: 400;
	letter-spacing: .01em;
	line-height: 1;
	text-transform: none;
	cursor: pointer;
	transition: background-color .2s ease;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}
.dosc-wrap .dosc-arow + .dosc-msg + .dosc-abtn, .dosc-wrap .dosc-arow + .dosc-abtn { margin-top: 0; }
.dosc-wrap .dosc-abtn:hover { background: #3a2a21 !important; color: #fff !important; }
.dosc-wrap .dosc-abtn:disabled { opacity: .7; cursor: default; }
.dosc-wrap .dosc-abtn:focus-visible { outline: 2px solid #654638 !important; outline-offset: 3px; }
.dosc-wrap .dosc-abtn span { color: inherit !important; }

/* links */
.dosc-wrap .dosc-aswitch {
	margin: calc(var(--u) * 38) 0 0;
	color: #141210;
	font-family: var(--dosc-serif);
	font-size: max(16px, calc(var(--u) * 28));
	line-height: 1.3;
	text-align: center;
}
.dosc-wrap .dosc-alink,
.dosc-wrap .dosc-alink:is(:hover, :focus, :active) {
	display: inline;
	margin: 0;
	padding: 0;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: 0;
	color: #141210 !important;
	font: inherit;
	text-decoration: underline !important;
	text-decoration-thickness: 1.5px !important;
	text-underline-offset: .2em;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}
.dosc-wrap .dosc-alink:hover { color: #654638 !important; }
.dosc-wrap .dosc-alink:focus-visible { outline: 2px solid #654638 !important; outline-offset: 3px; }
.dosc-wrap .dosc-arow .dosc-alink { font-size: .95em; }
.dosc-wrap .dosc-auth .dosc-aconsent { max-width: 40em; margin: calc(var(--u) * 36) auto 0 !important; color: var(--dosc-soft); font-family: var(--dosc-serif); font-size: max(12px, calc(var(--u) * 17)); }

@media (max-width: 600px) {
	/* phones: the card fills the screen */
	.dosc-wrap .dosc-modal-auth { padding: 0; }
	.dosc-wrap .dosc-modal-auth .dosc-modal-box { width: 100vw; min-height: 100%; margin: 0; border-radius: 0; box-shadow: none; }
	.dosc-wrap .dosc-auth { padding: 18px 22px 36px; }
	.dosc-wrap .dosc-abrand { margin-left: -10px; }
	.dosc-wrap .dosc-atitle { margin-top: 22px; }
	.dosc-wrap .dosc-req { margin-top: 30px; }
	.dosc-wrap .dosc-af { margin-bottom: 24px; }
	.dosc-wrap .dosc-abtn { margin-top: 30px; }
	.dosc-wrap .dosc-aswitch { margin-top: 24px; }
}

/* [dos_community_join]: just a button (the sidebar opens over the page) */
.dosc-wrap.dosc-join-only { display: inline-block; width: auto; padding: 0; margin: 0; }


/* ================= Members list: photo + name open the profile popup ================= */
.dosc-wrap .dosc-member-btn,
.dosc-wrap .dosc-member-btn:is(:hover, :focus, :active) {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 12px;
	min-width: 0;
	margin: 0;
	padding: 0;
	background: none !important;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none !important;
	color: var(--dosc-ink) !important;
	font: inherit;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}
.dosc-wrap .dosc-member-btn .dosc-member-name { transition: color .18s; }
.dosc-wrap .dosc-member-btn:hover .dosc-member-name { color: var(--dosc-brown); text-decoration: underline; text-underline-offset: 3px; }
.dosc-wrap .dosc-member-btn:focus-visible { outline: 2px solid var(--dosc-brown) !important; outline-offset: 3px; border-radius: 4px; }
.dosc-wrap .dosc-member-btn .dosc-avatar { transition: transform .2s; }
.dosc-wrap .dosc-member-btn:hover .dosc-avatar { transform: scale(1.06); }

/* links to a profile (full page): look exactly like the plain text / photo they replace */
.dosc-wrap a.dosc-pl, .dosc-wrap a.dosc-pl:is(:hover, :focus, :active) { display: contents; color: inherit; text-decoration: none; }
.dosc-wrap a.dosc-pl .dosc-avatar { transition: transform .2s; }
.dosc-wrap a.dosc-pl:hover .dosc-avatar { transform: scale(1.05); }
.dosc-wrap a.dosc-pl:hover .dosc-author,
.dosc-wrap a.dosc-pl:hover .dosc-comment-name,
.dosc-wrap a.dosc-pl:hover .dosc-me-name { text-decoration: underline; text-underline-offset: 3px; }
.dosc-wrap a.dosc-member-btn, .dosc-wrap a.dosc-member-btn:is(:hover, :focus, :active) { text-decoration: none; }

/* save for later (bookmark) */
.dosc-wrap .dosc-save { margin-left: 0; }
.dosc-wrap .dosc-save .dosc-ico { transition: transform .15s; }
.dosc-wrap .dosc-save:active .dosc-ico { transform: scale(.88); }
.dosc-wrap .dosc-save.is-saved .dosc-ico { fill: currentColor; }

/* follow button: same look as the site buttons (outline, brown fill on hover); Following = filled brown */
.dosc-wrap .dosc-fbtn,
.dosc-wrap .dosc-fbtn:is(:focus, :active) {
	flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 84px; height: 32px; margin: 0 0 0 auto; padding: 0 14px;
	background: transparent !important; border: 2px solid #000 !important; border-radius: 0; box-shadow: none !important;
	color: #000 !important; font-size: 11.5px; font-weight: 400; line-height: 1; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer;
	-webkit-appearance: none; appearance: none; transition: all .4s ease;
}
.dosc-wrap .dosc-fbtn:hover:not([disabled]) { background: #654638 !important; border-color: #654638 !important; color: #fff !important; }
.dosc-wrap .dosc-fbtn.is-following,
.dosc-wrap .dosc-fbtn.is-following:is(:focus, :active) { background: #654638 !important; border-color: #654638 !important; color: #fff !important; }
.dosc-wrap .dosc-fbtn.is-following:hover:not([disabled]) { background: #000 !important; border-color: #000 !important; }
.dosc-wrap .dosc-fbtn[disabled] { opacity: .6; cursor: default; }
.dosc-wrap .dosc-fbtn:focus-visible { outline: 2px solid #654638 !important; outline-offset: 2px; }
.dosc-wrap .dosc-member .dosc-fbtn { min-width: 78px; height: 30px; padding: 0 10px; font-size: 11px; }

/* save for later (bookmark) */
.dosc-wrap .dosc-save { margin-left: 0; }
.dosc-wrap .dosc-save .dosc-ico { transition: transform .15s; }
.dosc-wrap .dosc-save:active .dosc-ico { transform: scale(.88); }
.dosc-wrap .dosc-save.is-saved .dosc-ico { fill: currentColor; }

/* follow button (Instagram style) */
.dosc-wrap .dosc-fbtn,
.dosc-wrap .dosc-fbtn:is(:hover, :focus, :active) {
	flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 84px; height: 32px; margin: 0 0 0 auto; padding: 0 16px;
	background: var(--dosc-ink) !important; border: 1px solid var(--dosc-ink) !important; border-radius: 8px; box-shadow: none !important;
	color: #fff !important; font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: 0; text-transform: none; text-decoration: none; cursor: pointer;
	-webkit-appearance: none; appearance: none; transition: background-color .18s, color .18s, border-color .18s;
}
.dosc-wrap .dosc-fbtn:hover { background: var(--dosc-brown) !important; border-color: var(--dosc-brown) !important; }
.dosc-wrap .dosc-fbtn.is-following,
.dosc-wrap .dosc-fbtn.is-following:is(:hover, :focus, :active) { background: transparent !important; border-color: rgba(0, 0, 0, .28) !important; color: var(--dosc-ink) !important; }
.dosc-wrap .dosc-fbtn[disabled] { opacity: .6; cursor: default; }
.dosc-wrap .dosc-fbtn:focus-visible { outline: 2px solid var(--dosc-brown) !important; outline-offset: 2px; }
.dosc-wrap .dosc-member .dosc-fbtn { min-width: 76px; height: 30px; padding: 0 12px; font-size: 12.5px; }

/* ================= Members box: followers under the name (like Instagram) ================= */
.dosc-wrap .dosc-member-count { color: #6f5e55; font-size: 13px; font-weight: 400; }

/* ================= Create a post window: same smooth Instagram style window as on the profile page ================= */
.dosc-wrap .dosc-cp {
	position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px;
	background: rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; text-align: left;
	-webkit-backdrop-filter: blur(0); backdrop-filter: blur(0);
	transition: opacity .32s ease, visibility 0s linear .32s, backdrop-filter .32s ease, -webkit-backdrop-filter .32s ease;
}
.dosc-wrap .dosc-cp.is-open { opacity: 1; visibility: visible; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition-delay: 0s; }
.dosc-wrap .dosc-cp-box {
	display: flex; flex-direction: column; width: 100%; max-width: 940px; max-height: 92vh; overflow: hidden; background: #fff; border-radius: 4px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(28px) scale(.96);
	transition: transform .45s cubic-bezier(.2, .85, .25, 1), opacity .35s ease; will-change: transform, opacity;
}
.dosc-wrap .dosc-cp.is-open .dosc-cp-box { opacity: 1; transform: none; }
.dosc-wrap .dosc-cp-head { position: relative; display: flex; align-items: center; justify-content: center; padding: 14px 52px; border-bottom: 1px solid rgba(101, 70, 56, .28); }
.dosc-wrap .dosc-cp-head h2 { margin: 0; padding: 0; color: #000; font: 700 22px/1.2 "EB Garamond", Georgia, serif; letter-spacing: normal; text-transform: none; }
.dosc-wrap .dosc-cp-x,
.dosc-wrap .dosc-cp-x:hover,
.dosc-wrap .dosc-cp-x:focus {
	position: absolute; top: 50%; right: 12px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0; padding: 0;
	background: none !important; border: 0 !important; border-radius: 50%; box-shadow: none !important; color: #000 !important; font-size: 28px; line-height: 1; cursor: pointer; transform: translateY(-50%);
}
.dosc-wrap .dosc-cp-x:hover { background: rgba(101, 70, 56, .12) !important; }
.dosc-wrap .dosc-cp-form { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 0; margin: 0; overflow-y: auto; }
.dosc-wrap .dosc-cp-media { display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; min-height: 380px; padding: 20px; background: #f4efeb; }
.dosc-wrap .dosc-cp-drop {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; flex: 1; min-height: 240px; margin: 0;
	border: 2px dashed rgba(101, 70, 56, .45); border-radius: 0; color: #000; text-align: center; cursor: pointer; transition: background-color .18s, border-color .18s;
}
.dosc-wrap .dosc-cp-drop:hover { background: rgba(101, 70, 56, .07); border-color: #654638; }
.dosc-wrap .dosc-cp-drop strong { font-size: 20px; font-weight: 600; }
.dosc-wrap .dosc-cp-drop span { color: #6f5e55; font-size: 14.5px; }
.dosc-wrap .dosc-cp-drop.is-compact { flex: none; min-height: 0; padding: 12px; }
.dosc-wrap .dosc-cp-drop.is-compact .dosc-ico { width: 24px; height: 24px; }
.dosc-wrap .dosc-cp-drop.is-compact span { display: none; }
.dosc-wrap .dosc-cp-drop.is-compact strong { font-size: 15px; }
.dosc-wrap .dosc-cp-prev { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; width: 100%; }
.dosc-wrap .dosc-cp-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #000; border-radius: 0; animation: dosc-cp-pop .35s cubic-bezier(.2, .85, .25, 1) both; }
.dosc-wrap .dosc-cp-thumb img { display: block; width: 100%; height: 100%; max-width: none; border-radius: 0; object-fit: cover; }
@keyframes dosc-cp-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.dosc-wrap .dosc-cp-rm,
.dosc-wrap .dosc-cp-rm:hover {
	position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 0; padding: 0;
	background: rgba(0, 0, 0, .65) !important; border: 0 !important; border-radius: 50%; box-shadow: none !important; color: #fff !important; font-size: 20px; line-height: 1; cursor: pointer;
}
.dosc-wrap .dosc-cp-side { display: flex; flex-direction: column; padding: 20px 24px 24px; }
.dosc-wrap .dosc-cp-note { margin: 0 0 12px; padding: 12px 14px; background: rgba(101, 70, 56, .08); border-radius: 0; color: #6f5e55; font-size: 14px; line-height: 1.45; }
/* video button + Share button: outline, fill brown on hover (same as the site buttons) */
.dosc-wrap .dosc-cp .dosc-pf-file,
.dosc-wrap .dosc-cp .dosc-pf-save {
	position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; margin: 0; padding: 0 26px;
	background: transparent !important; border: 2px solid #000 !important; border-radius: 0; box-shadow: none !important;
	color: #000 !important; font-size: 14px; font-weight: 400; letter-spacing: .05em; line-height: 1; text-transform: uppercase; text-decoration: none; white-space: nowrap;
	cursor: pointer; -webkit-appearance: none; appearance: none; transition: all .5s ease;
}
.dosc-wrap .dosc-cp .dosc-pf-file:hover,
.dosc-wrap .dosc-cp .dosc-pf-save:hover:not([disabled]) { background: #654638 !important; border-color: #654638 !important; color: #fff !important; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .25) !important; }
.dosc-wrap .dosc-cp .dosc-pf-save[disabled] { opacity: .6; cursor: default; }
.dosc-wrap .dosc-cp .dosc-pf-save::after {
	content: ""; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .5), transparent);
	transform: skewX(-25deg); transition: left .7s ease; pointer-events: none;
}
.dosc-wrap .dosc-cp .dosc-pf-save:hover:not([disabled])::after { left: 130%; }
.dosc-wrap .dosc-cp-video { align-self: flex-start; max-width: 100%; margin-bottom: 14px; }
.dosc-wrap .dosc-cp-video span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dosc-wrap .dosc-cp-share { align-self: flex-end; margin-top: auto; }
.dosc-wrap .dosc-cp-share.is-busy span::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -2px; animation: dosc-cp-spin .7s linear infinite; }
@keyframes dosc-cp-spin { to { transform: rotate(360deg); } }
.dosc-wrap .dosc-cp .dosc-input { border-radius: 0; border-color: rgba(101, 70, 56, .4); }
.dosc-wrap .dosc-cp .dosc-msg { min-height: 20px; }
@media (max-width: 760px) {
	.dosc-wrap .dosc-cp { padding: 0; align-items: flex-end; }
	.dosc-wrap .dosc-cp-box { max-width: none; max-height: 96vh; border-radius: 14px 14px 0 0; opacity: 1; transform: translateY(100%); transition: transform .45s cubic-bezier(.2, .85, .25, 1); }
	.dosc-wrap .dosc-cp.is-open .dosc-cp-box { transform: none; }
	.dosc-wrap .dosc-cp-form { grid-template-columns: 1fr; }
	.dosc-wrap .dosc-cp-media { min-height: 0; padding: 14px; }
	.dosc-wrap .dosc-cp-drop { min-height: 150px; }
	.dosc-wrap .dosc-cp-share { align-self: stretch; margin-top: 8px; }
}

/* ================= "Following" button: readable on hover (text never the same colour as the background) ================= */
.dosc-wrap .dosc-fbtn.is-following:hover:not([disabled]),
.dosc-wrap .dosc-fbtn.is-following:focus-visible:not([disabled]) { background: #654638 !important; border-color: #654638 !important; color: #fff !important; }
.dosc-wrap .dosc-fbtn.is-following:hover:not([disabled]) span,
.dosc-wrap .dosc-fbtn.is-following:focus-visible:not([disabled]) span { color: #fff !important; }

/* ================= Bell with number (like Instagram) ================= */
.dosc-wrap .dosc-top-actions { display: flex; flex: none; align-items: center; gap: 14px; }
.dosc-wrap .dosc-bell, .dosc-wrap .dosc-bell:hover { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; color: #000; text-decoration: none; }
.dosc-wrap .dosc-bell .dosc-ico { width: 26px; height: 26px; }
.dosc-wrap .dosc-bell-badge {
	position: absolute; top: 3px; right: 1px; box-sizing: border-box; min-width: 20px; height: 20px; padding: 0 5px;
	background: #e0192b; border: 2px solid #fff; border-radius: 999px; color: #fff;
	font: 700 11px/16px Arial, sans-serif; font-style: normal; text-align: center;
}
.dosc-wrap .dosc-bell-badge[hidden] { display: none !important; }
@media (max-width: 760px) { .dosc-wrap .dosc-top-actions { gap: 6px; } }

/* ================= Featured Discussion: photo, else video, else the title as a block ================= */
.dosc-wrap .dosc-feat-vwrap { position: relative; display: block; overflow: hidden; background: #000; border-radius: 4px; }
.dosc-wrap .dosc-feat-vid { display: block; width: 100%; height: auto; max-width: 100%; min-height: 150px; max-height: 320px; background: #000; object-fit: cover; pointer-events: none; }
.dosc-wrap .dosc-feat-play {
	position: absolute; top: 50%; left: 50%; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: -27px 0 0 -27px;
	background: rgba(0, 0, 0, .6); border-radius: 50%; color: #fff; pointer-events: none; transition: transform .25s ease, background-color .25s ease;
}
.dosc-wrap .dosc-feat-play .dosc-ico { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; stroke: none; }
.dosc-wrap .dosc-feat-link:hover .dosc-feat-play { background: #654638; transform: scale(1.08); }
.dosc-wrap .dosc-feat-link.is-textonly { padding: 22px 20px; background: #f4efeb; border: 1px solid rgba(101, 70, 56, .28); border-radius: 4px; transition: background-color .25s ease, border-color .25s ease; }
.dosc-wrap .dosc-feat-link.is-textonly:hover { background: #ece3dc; border-color: #654638; }
.dosc-wrap .dosc-feat-link.is-textonly .dosc-feat-title { font-size: 20px; overflow-wrap: anywhere; }

/* ================= Members box: "Members" 18px, names 16px, first 3 always visible (also on phones) ================= */
.dosc-wrap .dosc-members .dosc-label { font-size: 18px; }
.dosc-wrap .dosc-member-name { font-size: 16px; }
.dosc-wrap .dosc-members.is-open .dosc-member-list { max-height: 560px; }
@media (max-width: 860px) {
	.dosc-wrap .dosc-members .dosc-fold { display: none; }
	.dosc-wrap .dosc-members.dosc-fold-box:not(.is-unfolded) .dosc-fold-body { display: block; }
	.dosc-wrap .dosc-members.dosc-fold-box:not(.is-unfolded) .dosc-viewall { display: inline-block; }
	.dosc-wrap .dosc-members .dosc-fold-head { cursor: default; }
	.dosc-wrap .dosc-members .dosc-members-head { margin-bottom: 8px; }
}

/* post title / photo open the post window */
.dosc-wrap .dosc-card .dosc-title { cursor: pointer; }
.dosc-wrap .dosc-card .dosc-title:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ================= Post bottom, Instagram layout: Like / Comment / Share on the left, Save alone on the right; then name + caption + time ================= */
.dosc-wrap .dosc-actions.dosc-actions-ig { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 2px 0; }
.dosc-wrap .dosc-actions-left { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; min-width: 0; }
.dosc-wrap .dosc-actions-ig .dosc-act { gap: 7px; padding: 4px 0; font-size: 16px; font-weight: 500; }
.dosc-wrap .dosc-actions-ig .dosc-act .dosc-ico { width: 26px; height: 26px; }
.dosc-wrap .dosc-actions-ig .dosc-save { margin-left: auto; flex: none; }
.dosc-wrap .dosc-actions-ig .dosc-share-wrap { position: relative; display: inline-flex; }
.dosc-wrap .dosc-actions-ig .dosc-act.is-liked, .dosc-wrap .dosc-actions-ig .dosc-act.is-liked:hover { color: #ed4956 !important; }
.dosc-wrap .dosc-actions-ig .dosc-act.is-liked .dosc-ico { fill: #ed4956; stroke: #ed4956; }
.dosc-wrap .dosc-actions-ig .dosc-act.is-saved .dosc-ico { fill: currentColor; }
.dosc-wrap .dosc-caption { margin: 10px 0 0; color: var(--dosc-ink); font-size: 15.5px; line-height: 1.5; overflow-wrap: anywhere; }
.dosc-wrap .dosc-cap-name, .dosc-wrap .dosc-cap-name:hover { margin-right: 6px; color: inherit; font-weight: 700; text-decoration: none; }
.dosc-wrap .dosc-cap-full { white-space: normal; }
.dosc-wrap .dosc-cap-more, .dosc-wrap .dosc-cap-more:hover, .dosc-wrap .dosc-cap-more:focus { display: inline; margin: 0; padding: 0; background: none !important; border: 0 !important; box-shadow: none !important; color: #737373 !important; font: inherit; letter-spacing: 0; text-transform: none; cursor: pointer; }
.dosc-wrap .dosc-cap-time { margin: 6px 0 0; color: #737373; font-size: 13.5px; }
@media (max-width: 560px) { .dosc-wrap .dosc-actions-left { gap: 2px 16px; } .dosc-wrap .dosc-actions-ig .dosc-act { font-size: 15px; } }

/* "By signing up, you agree to..." */
.dosc-aconsent { margin: 12px 0 0 !important; color: #73655d; font-size: 12.5px; line-height: 1.5; text-align: center; }
.dosc-aconsent a { color: #2b1d16; font-weight: 600; text-decoration: underline; }

/* Google / Facebook / X / Apple under "Already have an account?" (round white buttons) */
.dosc-wrap .dosc-asocial {
	--u: calc(100cqw / 991);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: max(18px, calc(var(--u) * 55));
	margin: calc(var(--u) * 50) 0 0;
}
.dosc-wrap .dosc-asbtn,
.dosc-wrap .dosc-asbtn:is(:hover, :focus, :active) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: max(54px, calc(var(--u) * 88));
	height: max(54px, calc(var(--u) * 88));
	margin: 0;
	padding: 0;
	background: #fff !important;
	border: 0 !important;
	border-radius: 50% !important;
	box-shadow: 0 4px 14px rgba(40, 28, 20, .16), 0 1px 3px rgba(40, 28, 20, .08) !important;
	color: #000 !important;
	text-decoration: none !important;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: transform .18s ease, box-shadow .18s ease;
	-webkit-tap-highlight-color: transparent;
}
.dosc-wrap .dosc-asbtn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(40, 28, 20, .18), 0 2px 4px rgba(40, 28, 20, .08) !important; }
.dosc-wrap .dosc-asbtn:focus-visible { outline: 2px solid #654638 !important; outline-offset: 3px; }
.dosc-wrap .dosc-asbtn svg { display: block; width: max(24px, calc(var(--u) * 44)); height: max(24px, calc(var(--u) * 44)); }
.dosc-wrap .dosc-asbtn.is-apple svg { transform: scale(1.14) translateY(-3%); }
.dosc-wrap .dosc-asocial-msg { max-width: 34em; margin: 16px auto 0; padding: 10px 14px; background: #fff; border: 1px solid #e6dccf; border-radius: 10px; color: #4a3c33; font-family: var(--dosc-sans); font-size: 14px; line-height: 1.4; }
@media (prefers-reduced-motion: reduce) { .dosc-wrap .dosc-asbtn { transition: none; } }

/* Forgot password: shake on a wrong email / username, animated "reset link sent" card */
@keyframes dosc-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.dosc-wrap .dosc-aform .dosc-msg.is-shake { animation: dosc-shake .45s ease; }
.dosc-wrap .dosc-sent { display: flex; flex-direction: column; align-items: center; margin: calc(var(--u) * 44) auto 0; text-align: center; animation: dosc-sent-in .5s ease both; }
.dosc-wrap .dosc-sent-ico { width: 96px; height: 96px; overflow: visible; fill: none; stroke: #654638; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.dosc-wrap .dosc-sent-ring { stroke: #c49a74; stroke-dasharray: 277; stroke-dashoffset: 277; animation: dosc-sent-draw .8s ease .05s forwards; }
.dosc-wrap .dosc-sent-env { stroke-dasharray: 160; stroke-dashoffset: 160; animation: dosc-sent-draw .7s ease .5s forwards; }
.dosc-wrap .dosc-sent-flap { stroke-dasharray: 60; stroke-dashoffset: 60; animation: dosc-sent-draw .5s ease 1s forwards; }
.dosc-wrap .dosc-sent-tick { stroke: #1e7a46; stroke-width: 4; stroke-dasharray: 34; stroke-dashoffset: 34; animation: dosc-sent-draw .45s ease 1.35s forwards; }
.dosc-wrap .dosc-sent-ico { animation: dosc-sent-pop .6s cubic-bezier(.2, .9, .3, 1.3) both; }
.dosc-wrap .dosc-sent-t { margin: calc(var(--u) * 26) 0 0; color: #1e7a46; font-family: var(--dosc-serif); font-size: max(22px, calc(var(--u) * 34)); font-weight: 500; line-height: 1.2; opacity: 0; animation: dosc-sent-in .5s ease 1.1s forwards; }
.dosc-wrap .dosc-sent-p { max-width: 26em; margin: calc(var(--u) * 12) 0 0; color: #141210; font-family: var(--dosc-serif); font-size: max(15px, calc(var(--u) * 23)); line-height: 1.5; opacity: 0; animation: dosc-sent-in .5s ease 1.3s forwards; }
.dosc-wrap .dosc-sent-again { margin-top: calc(var(--u) * 28); font-family: var(--dosc-serif); font-size: max(14px, calc(var(--u) * 20)); opacity: 0; animation: dosc-sent-in .5s ease 1.5s forwards; }
@keyframes dosc-sent-draw { to { stroke-dashoffset: 0; } }
@keyframes dosc-sent-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes dosc-sent-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.dosc-wrap .dosc-sent, .dosc-wrap .dosc-sent * { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; transform: none !important; }
	.dosc-wrap .dosc-aform .dosc-msg.is-shake { animation: none; }
}
