.sd-game {
	min-height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px 14px;
	background: radial-gradient(circle at 20% 0%, rgba(122, 43, 76, 0.36), transparent 34%), radial-gradient(circle at 80% 10%, rgba(173, 117, 57, 0.22), transparent 32%), linear-gradient(135deg, #12070d 0%, #211019 48%, #070405 100%);
	color: #f7eadc;
	border-radius: 22px;
	box-sizing: border-box;
}
.sd-game *, .sd-game *::before, .sd-game *::after { box-sizing: border-box; }
.sd-game [hidden] { display: none !important; }
.sd-game__screen { width: 100%; max-width: 680px; }
.sd-game__panel {
	width: 100%;
	padding: clamp(26px, 6vw, 54px);
	border: 1px solid rgba(222, 178, 108, 0.36);
	border-radius: 28px;
	background: linear-gradient(145deg, rgba(45, 18, 31, 0.92), rgba(15, 8, 12, 0.94)), radial-gradient(circle at 50% 0%, rgba(255, 214, 150, 0.11), transparent 44%);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.54), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	text-align: center;
}
.sd-game__panel--splash { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sd-game__panel--card { text-align: left; }
.sd-game__eyebrow { margin: 0 0 12px; color: #d8ad73; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; }
.sd-game__title { margin: 0; color: #fff6e8; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 10vw, 5.8rem); font-weight: 500; line-height: 0.95; text-align: center; text-shadow: 0 2px 18px rgba(216, 173, 115, 0.18); }
.sd-game__subtitle { margin: 18px 0 34px; color: rgba(247, 234, 220, 0.82); font-size: clamp(0.98rem, 3.5vw, 1.2rem); text-align: center; }
.sd-game__heading { margin: 0 0 28px; color: #fff6e8; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 8vw, 3.8rem); font-weight: 500; line-height: 1.05; text-align: center; }
.sd-game__heading--small { font-size: clamp(1.6rem, 6vw, 2.7rem); }
.sd-game__decks, .sd-game__feedback-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 auto; }
.sd-game__button, .sd-game__deck-button {
	appearance: none;
	border: 1px solid rgba(222, 178, 108, 0.56);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.055);
	color: #fff6e8;
	cursor: pointer;
	font: inherit;
	min-height: 54px;
	padding: 14px 20px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
	transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.sd-game__button:hover, .sd-game__deck-button:hover, .sd-game__button:focus, .sd-game__deck-button:focus { background: rgba(222, 178, 108, 0.15); border-color: rgba(255, 218, 158, 0.86); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36); transform: translateY(-1px); outline: none; }
.sd-game__button--primary { min-width: 180px; background: linear-gradient(135deg, #9b6237, #d6a15f); color: #16090d; font-weight: 700; }
.sd-game__button--danger { border-color: rgba(214, 97, 97, 0.58); color: #ffd6d6; }
.sd-game__button--danger:hover, .sd-game__button--danger:focus { background: rgba(214, 97, 97, 0.15); border-color: rgba(255, 170, 170, 0.86); }
.sd-game__link-button { appearance: none; border: 0; background: transparent; color: #d8ad73; cursor: pointer; font: inherit; padding: 8px 10px; text-decoration: underline; text-underline-offset: 4px; }
.sd-game__note { margin: 22px auto 0; max-width: 520px; color: rgba(247, 234, 220, 0.72); font-size: 0.96rem; line-height: 1.55; text-align: center; }
.sd-game__notice { margin: 0 auto 20px; max-width: 540px; padding: 12px 14px; border: 1px solid rgba(222, 178, 108, 0.32); border-radius: 16px; background: rgba(255, 255, 255, 0.06); color: rgba(247, 234, 220, 0.9); font-size: 0.95rem; line-height: 1.45; text-align: center; }
.sd-game__utility-row { margin-top: 18px; min-height: 28px; text-align: center; }
.sd-game__badge { display: inline-block; margin: 0 0 16px; padding: 6px 12px; border: 1px solid rgba(222, 178, 108, 0.42); border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: #d8ad73; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.sd-game__prompt { margin: 10px 0 26px; color: #fff6e8; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 5vw, 2.35rem); line-height: 1.25; }
.sd-game__prompt p, .sd-game__deeper p { margin: 0 0 1rem; }
.sd-game__prompt p:last-child, .sd-game__deeper p:last-child { margin-bottom: 0; }
.sd-game__deeper { margin: 0 0 24px; padding: 18px 20px; border-left: 3px solid rgba(216, 173, 115, 0.72); border-radius: 16px; background: rgba(255, 255, 255, 0.055); color: rgba(247, 234, 220, 0.88); font-size: clamp(1.05rem, 3.7vw, 1.25rem); line-height: 1.55; }
.sd-game__card-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.sd-game__card-actions .sd-game__button { flex: 1 1 180px; }
@media (max-width: 560px) {
	.sd-game { min-height: 100dvh; padding: 14px; border-radius: 18px; }
	.sd-game__panel { padding: 26px 18px; border-radius: 22px; }
	.sd-game__panel--splash { min-height: 360px; }
	.sd-game__decks, .sd-game__feedback-grid { grid-template-columns: 1fr; gap: 12px; }
	.sd-game__button, .sd-game__deck-button { width: 100%; min-height: 58px; }
	.sd-game__prompt { font-size: clamp(1.35rem, 7vw, 2rem); }
}


/* Still Dangerous full-screen canvas cleanup */
body:has(.sd-game),
body:has(.sd-game) #page,
body:has(.sd-game) .site,
body:has(.sd-game) .elementor,
body:has(.sd-game) .elementor-section,
body:has(.sd-game) .elementor-container,
body:has(.sd-game) .elementor-widget-container {
	margin: 0 !important;
	padding: 0 !important;
}

body:has(.sd-game) {
	background: #070405 !important;
	overflow-x: hidden;
}

.sd-game {
	width: 100%;
	border-radius: 0;
}


/* Persistent Still Dangerous footer */
.sd-game {
	flex-direction: column;
	gap: 14px;
}

.sd-game__footer {
	color: rgba(247, 234, 220, 0.72);
	font-size: 0.92rem;
	letter-spacing: 0.04em;
	text-align: center;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
