/* purpose: Hobbits Life meadow layout
   author: MD Hub
   date: 2026-10-02 */

#md_hobbits_life_root {
	--hl-ink: #f6f1e4;
	--hl-muted: #c9d5c4;
	--hl-moss: #163322;
	--hl-card: rgba(14, 32, 22, 0.88);
	--hl-gold: #e7b34a;
	--hl-line: rgba(246, 241, 228, 0.16);
	display: flex;
	flex-direction: column;
	min-height: 640px;
	height: 100%;
	background:
		radial-gradient(1200px 420px at 50% -10%, rgba(231, 179, 74, 0.16), transparent 55%),
		linear-gradient(180deg, #102416 0%, #0c1c12 100%);
	color: var(--hl-ink);
	border-radius: 16px;
	overflow: hidden;
	position: relative;
}
body.ap-kind-hobbits_life #ap_workspace,
body.ap-kind-hobbits_life #ap_workspace .mdp-section,
body.ap-kind-hobbits_life #mdp_app_root,
body.ap-kind-hobbits_life #mdp_app_workspace,
body.ap-kind-hobbits_life #md_hobbits_life_root {
	height: 100%;
	min-height: 0;
	display: flex;
	flex-direction: column;
	padding: 0;
	margin: 0;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: #0c1c12;
}
.hl-top {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px 4px;
	flex: none;
}
.hl-brand {
	font-weight: 750;
	letter-spacing: 0.02em;
	white-space: nowrap;
}
.hl-hud {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	font-size: 13px;
	color: var(--hl-muted);
}
.hl-hud b {
	color: var(--hl-ink);
	font-weight: 700;
}
.hl-top-actions {
	display: flex;
	gap: 6px;
	flex: none;
}
.hl-icon-btn,
.hl-btn {
	border: 1px solid var(--hl-line);
	background: rgba(255, 255, 255, 0.04);
	color: var(--hl-ink);
	border-radius: 999px;
	padding: 7px 12px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}
.hl-icon-btn[aria-pressed="true"] {
	background: rgba(231, 179, 74, 0.18);
	border-color: rgba(231, 179, 74, 0.5);
}
.hl-dusk {
	height: 6px;
	margin: 0 10px 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
	flex: none;
}
#hl_dusk_bar {
	height: 100%;
	width: 100%;
	background: linear-gradient(90deg, #7dce6a, #e7b34a 70%, #c4492c);
	transform-origin: left center;
}
.hl-stage {
	position: relative;
	flex: 1;
	min-height: 220px;
}
#hl_canvas {
	display: block;
	width: 100%;
	height: 100%;
	touch-action: none;
}
.hl-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	pointer-events: none;
}
.hl-overlay:empty {
	display: none;
}
.hl-card {
	pointer-events: auto;
	width: min(440px, 100%);
	max-height: 100%;
	overflow: auto;
	background: var(--hl-card);
	border: 1px solid var(--hl-line);
	border-radius: 18px;
	padding: 18px 16px 14px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.hl-card h2 {
	margin: 0 0 8px;
	font-size: 1.45rem;
}
.hl-card p {
	margin: 0 0 10px;
	color: var(--hl-muted);
	font-size: 14px;
	line-height: 1.45;
}
.hl-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 8px 0 12px;
}
.hl-btn-solid {
	background: var(--hl-gold);
	color: #2a1c08;
	border-color: transparent;
}
.hl-banner {
	pointer-events: none;
	background: rgba(14, 32, 22, 0.82);
	border: 1px solid rgba(231, 179, 74, 0.45);
	color: var(--hl-ink);
	border-radius: 14px;
	padding: 12px 16px;
	font-weight: 750;
	text-align: center;
}
.hl-board {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
}
.hl-board li {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 4px 0;
	border-top: 1px solid var(--hl-line);
}
.hl-board .you {
	color: var(--hl-gold);
}
.hl-live {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.hl-controls {
	flex: none;
	display: grid;
	grid-template-columns: 108px 1fr 108px;
	align-items: center;
	gap: 8px;
	padding: 8px 12px 12px;
}
.hl-stick {
	width: 92px;
	height: 92px;
	border-radius: 50%;
	border: 2px solid rgba(246, 241, 228, 0.28);
	background: rgba(0, 0, 0, 0.25);
	position: relative;
	touch-action: none;
	justify-self: start;
}
.hl-knob {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #f6f1e4;
	position: absolute;
	left: 25px;
	top: 25px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.hl-hint {
	margin: 0;
	text-align: center;
	color: var(--hl-muted);
	font-size: 12px;
	line-height: 1.35;
}
.hl-lantern {
	width: 92px;
	height: 92px;
	border-radius: 50%;
	border: 0;
	justify-self: end;
	background: radial-gradient(circle at 40% 35%, #ffe7a3, #e7b34a 45%, #b7791f);
	color: #3a2508;
	font-weight: 800;
	letter-spacing: 0.02em;
	cursor: pointer;
	touch-action: none;
	box-shadow: 0 8px 18px rgba(231, 179, 74, 0.28);
}
.hl-lantern:active {
	transform: scale(0.97);
}
@media (max-width: 720px) {
	.hl-hint {
		display: none;
	}
	.hl-controls {
		grid-template-columns: 1fr 1fr;
	}
	.hl-lantern,
	.hl-stick {
		justify-self: center;
	}
	.hl-brand {
		display: none;
	}
}
