/* Bubble-Dschungel — Spielseiten-Styles. Dunkle Dschungel-Arkade-Optik,
   bewusst abgesetzt vom hellen Site-Theme (wie Pursuit/Backgammon/Hokm).
   Canvas ist intern fest 600x760 und skaliert nach außen responsiv —
   Klick-/Ziel-Koordinaten werden in bubble-dschungel.js über
   getBoundingClientRect() zurückgerechnet (Offiziersskat-Muster), daher
   ist die CSS-Skalierung hier unproblematisch. */

.bd-hud {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: .6rem;
	max-width: 600px;
	margin: 0 auto .6rem;
	padding: .6rem 1.1rem;
	background: linear-gradient(180deg, #2b1d10, #1c1409);
	border: 2px solid #8a5a2b;
	border-radius: 14px;
	box-shadow: 0 8px 22px rgba(20, 14, 6, .35);
	font-family: var(--font-display);
	color: #ffe9a8;
	flex-wrap: wrap;
}
.bd-hud-item { display: flex; flex-direction: column; align-items: center; min-width: 70px; }
.bd-hud-label { font-size: .68rem; letter-spacing: .06em; color: #c9a15c; text-transform: uppercase; font-family: var(--font-body); }
.bd-hud-value { font-size: 1.35rem; line-height: 1.2; }

.bd-wrap {
	max-width: 600px;
	margin: 0 auto;
	position: relative;
	background: radial-gradient(ellipse at center, #16240f 0%, #0c1509 100%);
	border-radius: 16px;
	padding: 6px;
	box-shadow: 0 10px 30px rgba(10, 15, 6, .4);
}

#bdCanvas {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
	cursor: crosshair;
	-webkit-tap-highlight-color: transparent;
	touch-action: none;
	user-select: none;
}

.bd-fs-btn {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(240, 200, 110, .5);
	border-radius: 10px;
	background: rgba(20, 20, 14, .65);
	color: #ffe9b0;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}
.bd-fs-btn:hover { background: rgba(45, 60, 38, .85); }

.bd-wrap:fullscreen { display: flex; align-items: center; justify-content: center; background: #0c1509; padding: 0; }
.bd-wrap:fullscreen #bdCanvas { width: auto; height: auto; max-width: 100vw; max-height: 100vh; border-radius: 0; }

.bd-wrap.bd-pseudo-fs {
	position: fixed; inset: 0; z-index: 9999; max-width: none; margin: 0; padding: 0;
	display: flex; align-items: center; justify-content: center; background: #0c1509;
}
.bd-wrap.bd-pseudo-fs #bdCanvas { width: auto; height: auto; max-width: 100vw; max-height: 100vh; border-radius: 0; }
body.bd-noscroll { overflow: hidden; }

.bd-status { text-align: center; margin: .8rem 0 0; font-weight: 600; min-height: 1.4em; }

.bd-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 1.1rem;
}
.bd-controls button {
	border: none;
	border-radius: 10px;
	background: var(--jungle);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	padding: .65rem 1.3rem;
	cursor: pointer;
	box-shadow: 0 3px 0 var(--jungle-dark);
}
.bd-controls button:active { transform: translateY(2px); box-shadow: none; }
