/**
 * Ahad's corner — the wall of playful setups.
 * Loaded only where the [bz_scenarios] section is.
 */

.bz-scn {
	--bz-scn-ink: var(--ink, #17120c);
	--bz-scn-paper: var(--paper, #f2e9da);
	--bz-scn-card: var(--paper-2, #fbf6ec);
	--bz-scn-red: var(--crimson, #b3271e);
	--bz-scn-rule: rgba(23, 18, 12, 0.12);
	margin: 0 0 8px;
	padding: 0;
	color: var(--bz-scn-ink);
}

.bz-scn__head {
	max-width: 62ch;
	margin-bottom: 20px;
}

.bz-scn__eyebrow {
	margin: 0 0 6px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--bz-scn-red);
}

.bz-scn__title {
	margin: 0 0 8px;
	font-family: var(--font-display, Impact, "Arial Narrow", sans-serif);
	font-size: clamp(1.7rem, 3.4vw, 2.6rem);
	line-height: 0.98;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.bz-scn__intro {
	margin: 0;
	max-width: 56ch;
	font-size: 0.95rem;
	line-height: 1.65;
	color: rgba(23, 18, 12, 0.72);
}

/* ---- the wall ---- */

.bz-scn__list {
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

@media (min-width: 640px) {
	.bz-scn__list { grid-template-columns: 1fr 1fr; }
}

.bz-scn__item {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
	padding: 16px 18px;
	border: 1px solid var(--bz-scn-rule);
	border-left: 3px solid var(--bz-scn-red);
	border-radius: 2px;
	background: var(--bz-scn-card);
}

.bz-scn__text {
	margin: 0;
	font-family: var(--font-serif, Georgia, serif);
	font-size: 1rem;
	font-style: italic;
	line-height: 1.55;
}

.bz-scn__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.bz-scn__author {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(23, 18, 12, 0.5);
}

.bz-scn__vote {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border: 1px solid var(--bz-scn-rule);
	border-radius: 999px;
	background: transparent;
	color: var(--bz-scn-ink);
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.bz-scn__vote:hover,
.bz-scn__vote:focus-visible {
	border-color: var(--bz-scn-red);
	color: var(--bz-scn-red);
	outline: none;
}

.bz-scn__vote.is-voted {
	border-color: var(--bz-scn-red);
	background: rgba(179, 39, 30, 0.08);
	color: var(--bz-scn-red);
	cursor: default;
}

.bz-scn__heart {
	font-size: 13px;
	line-height: 1;
}

.bz-scn__count {
	font-variant-numeric: tabular-nums;
}

.bz-scn__empty {
	margin: 0 0 26px;
	padding: 18px;
	border: 1px dashed var(--bz-scn-rule);
	border-radius: 2px;
	font-family: var(--font-serif, Georgia, serif);
	font-style: italic;
	color: rgba(23, 18, 12, 0.62);
}

/* ---- the form ---- */

.bz-scn__form {
	position: relative;
	padding: 18px;
	border: 1px solid var(--bz-scn-rule);
	border-radius: 3px;
	background: var(--bz-scn-card);
}

.bz-scn__label {
	display: block;
	margin-bottom: 6px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(23, 18, 12, 0.6);
}

.bz-scn__input {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid rgba(23, 18, 12, 0.22);
	border-radius: 2px;
	background: #fff;
	color: var(--bz-scn-ink);
	font: inherit;
	font-size: 0.95rem;
	line-height: 1.6;
}

.bz-scn__input:focus {
	outline: 2px solid rgba(179, 39, 30, 0.25);
	outline-offset: 1px;
	border-color: var(--bz-scn-red);
}

textarea.bz-scn__input {
	resize: vertical;
	min-height: 96px;
	font-family: var(--font-serif, Georgia, serif);
	font-size: 1rem;
}

.bz-scn__row {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 12px;
}

.bz-scn__field {
	flex: 1 1 200px;
	margin: 0;
}

.bz-scn__input--text {
	max-width: 260px;
}

.bz-scn__submit {
	flex: 0 0 auto;
	padding: 11px 20px;
	border: 1px solid var(--bz-scn-red);
	border-radius: 2px;
	background: var(--bz-scn-red);
	color: #fff;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
}

.bz-scn__submit:hover,
.bz-scn__submit:focus-visible {
	background: #961f18;
	border-color: #961f18;
	outline: none;
}

.bz-scn__submit[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.bz-scn__hint {
	margin: 10px 0 0;
	font-size: 11px;
	line-height: 1.6;
	color: rgba(23, 18, 12, 0.5);
}

.bz-scn__status {
	margin: 10px 0 0;
	padding: 9px 12px;
	border-radius: 2px;
	font-size: 12px;
	font-weight: 600;
}

.bz-scn__status.is-good {
	background: rgba(30, 76, 88, 0.1);
	color: #1e4c58;
}

.bz-scn__status.is-bad {
	background: rgba(179, 39, 30, 0.1);
	color: #961f18;
}

/* Honeypot: present for robots, invisible to people. */
.bz-scn__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 560px) {
	.bz-scn__item { padding: 14px 15px; }
	.bz-scn__submit { width: 100%; }
	.bz-scn__input--text { max-width: none; }
}

/* ---- the role-play form: three steps ---- */

.bz-scn__step {
	margin: 0 0 18px;
	padding: 0;
	border: 0;
}

.bz-scn__step-title {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 10px;
	padding: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(23, 18, 12, 0.72);
}

.bz-scn__num {
	display: inline-grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--bz-scn-ink);
	color: var(--bz-scn-paper);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0;
}

.bz-scn__roles {
	display: grid;
	gap: 8px;
}

@media (min-width: 560px) {
	.bz-scn__roles { grid-template-columns: repeat(3, 1fr); }
}

.bz-scn__role-pick {
	position: relative;
	display: block;
	cursor: pointer;
}

.bz-scn__role-pick input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.bz-scn__role-face {
	display: block;
	padding: 12px 14px;
	border: 1px solid rgba(23, 18, 12, 0.2);
	border-radius: 2px;
	background: #fff;
	font-family: var(--font-serif, Georgia, serif);
	font-size: 0.98rem;
	font-style: italic;
	line-height: 1.35;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.bz-scn__role-pick:hover .bz-scn__role-face {
	border-color: var(--bz-scn-red);
}

.bz-scn__role-pick input:focus-visible + .bz-scn__role-face {
	outline: 2px solid rgba(179, 39, 30, 0.35);
	outline-offset: 2px;
}

.bz-scn__role-pick input:checked + .bz-scn__role-face {
	border-color: var(--bz-scn-ink);
	background: var(--bz-scn-ink);
	color: var(--bz-scn-paper);
}

.bz-scn__swap {
	margin: 8px 0 0;
	font-size: 11px;
	line-height: 1.6;
	color: rgba(23, 18, 12, 0.5);
}

.bz-scn__input--scene {
	margin-top: 8px;
}

/* Wall: the scene, then who played whom. */
.bz-scn__scene {
	margin: 0 0 8px;
	padding-bottom: 8px;
	border-bottom: 1px dotted rgba(23, 18, 12, 0.16);
	font-size: 12px;
	line-height: 1.5;
	color: rgba(23, 18, 12, 0.6);
}

.bz-scn__who {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.bz-scn__role {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(179, 39, 30, 0.09);
	color: var(--bz-scn-red);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ---- English / Hinglish ---- */

.bz-scn__langs {
	display: inline-flex;
	gap: 4px;
	margin-bottom: 14px;
	padding: 3px;
	border: 1px solid rgba(23, 18, 12, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.5);
}

.bz-scn__lang {
	padding: 6px 14px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: rgba(23, 18, 12, 0.6);
	font: inherit;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
}

.bz-scn__lang:hover {
	color: var(--bz-scn-ink);
}

.bz-scn__lang.is-on {
	background: var(--bz-scn-ink);
	color: var(--bz-scn-paper);
}

.bz-scn__lang:focus-visible {
	outline: 2px solid rgba(179, 39, 30, 0.35);
	outline-offset: 2px;
}

/* -------------------------------------------------------------------------
   The wall is public; writing needs an account. What a visitor sees where
   the form would be.
   ------------------------------------------------------------------------- */
.bz-scn__gate {
	border: 1px solid rgba(23, 18, 12, .16);
	border-radius: 14px;
	background: #fbf5ea;
	padding: 22px 22px 20px;
}

.bz-scn__gate-title {
	font-family: var(--bz-display, inherit);
	font-size: 1.05rem;
	line-height: 1.3;
	margin: 0 0 8px;
	letter-spacing: .01em;
}

.bz-scn__gate-text {
	margin: 0 0 16px;
	max-width: 60ch;
	color: rgba(23, 18, 12, .72);
	line-height: 1.55;
	font-size: .94rem;
}

.bz-scn__gate-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	align-items: center;
}

.bz-scn__gate-join {
	display: inline-block;
	background: var(--bz-crimson, #b3271e);
	color: #f7efe2;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-size: .8rem;
	padding: 11px 20px;
	border-radius: 999px;
	border: 1px solid var(--bz-crimson, #b3271e);
}

.bz-scn__gate-join:hover,
.bz-scn__gate-join:focus {
	background: #8f1e17;
	border-color: #8f1e17;
	color: #fff8ee;
}

.bz-scn__gate-signin {
	color: var(--bz-teal, #1e4c58);
	text-decoration: underline;
	text-underline-offset: 3px;
	font-size: .88rem;
}

@media (max-width: 560px) {
	.bz-scn__gate {
		padding: 18px 16px;
	}

	.bz-scn__gate-join {
		width: 100%;
		text-align: center;
	}
}
