/* DepthCraft HUD skin for the vendored Fathom page. Loaded after its own styles. */
:root {
	--accent: #93d0cc;
	--warn: #efc28c;
	--panel: rgba(16, 45, 52, 0.9);
	--line: rgba(147, 208, 204, 0.45);
}
.card,
dialog {
	border: 2px solid #6b8b89;
	border-radius: 14px;
	box-shadow:
		0 0 22px rgba(35, 67, 70, 0.28),
		0 20px 60px rgba(0, 0, 0, 0.5);
}
button {
	border-radius: 10px;
	border-width: 2px;
}
.primary {
	border-radius: 12px;
	background: linear-gradient(180deg, #f7d6a8, #efc28c);
	color: #2b1d09;
	box-shadow:
		0 4px 0 #9c7340,
		0 10px 26px rgba(239, 194, 140, 0.3);
}
.primary:hover {
	background: linear-gradient(180deg, #fbe4c2, #f0cb9c);
}
.eyebrow a {
	color: inherit;
}
.dc-next {
	display: block;
	margin-top: 12px;
	padding: 12px 14px;
	border: 2px solid #6b8b89;
	border-radius: 12px;
	color: var(--ink);
	font-size: 14px;
	text-decoration: none;
	background: rgba(107, 139, 137, 0.16);
}
.dc-next b {
	color: #efc28c;
}
/* dive quiz card: keep in step with .quiz in apps/web/src/styles/quiz.css */
.quiz {
	margin: 56px 0 12px; /* breathing room: the quiz is a side dish, not part of the game interface */
	padding: 12px 14px;
	border: 2px solid #efc28c;
	border-radius: 12px;
	background: rgba(239, 194, 140, 0.07);
	text-align: left;
}
.quiz-label {
	margin: 0 0 6px;
	font: 800 11px/1 var(--sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #efc28c;
}
.quiz-q {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
	color: var(--ink);
}
.quiz-options {
	display: grid;
	gap: 6px;
}
.quiz-option,
.quiz-next {
	width: 100%;
	text-align: left;
	font: 600 14px/1.3 var(--sans);
	color: var(--ink);
	padding: 10px 12px;
	border-radius: 10px;
	border: 2px solid rgba(147, 208, 204, 0.45);
	background: rgba(16, 45, 52, 0.9);
	cursor: pointer;
	touch-action: manipulation;
}
.quiz-option:hover:enabled {
	border-color: #93d0cc;
}
.quiz-option.right {
	background: rgba(52, 211, 110, 0.22);
	border-color: #34d36e;
}
.quiz-option.wrong {
	background: rgba(242, 73, 92, 0.22);
	border-color: #f2495c;
}
.quiz-why {
	margin: 10px 0 0;
	font-size: 14px;
	color: var(--ink);
}
.quiz-next {
	width: auto;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Fathom ships its own near-black navy page and cool-white ink. DepthCraft's
   shell is slate-green with brass accents, so the skin restates the page
   tokens here rather than forking the game. The canvas water is recoloured
   separately, by an injection in scripts/sync-fathom.mjs. */
:root {
	--ink: #f1ece0;
	--muted: #a3bebd;
	--accent: #93d0cc;
	--warn: #efc28c;
}
html,
body {
	background: #091d24;
}
body {
	background-image: radial-gradient(ellipse 110% 60% at 15% -10%, #234346, transparent 70%);
}

/* The cards sit over the reef while it moves, so their backdrop blur is worked out again on
   every frame. At 90% opacity it cannot be seen, and a cheap phone feels it. */
.card,
dialog {
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}
