/* Drinks sideboard list (ui/drinks_panel.js) — the radio's window
   (css/main.css #radio-modal) in its own file: full-screen blur, a big
   title, a stack of words, the drink in your hand full ink. */
#drinks-modal {
	position: absolute;
	inset: 0;
	z-index: 20000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(18, 20, 24, 0.30);
	backdrop-filter: blur(32px) saturate(1.15);
	-webkit-backdrop-filter: blur(32px) saturate(1.15);
	color: #e8e2d8;
	font-family: var(--ui-font);
}

#drinks-modal.hidden {
	display: none;
}

#drinks-box {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 28px;
	width: min(420px, calc(100vw - 48px));
	max-height: calc(100dvh - 48px);
	overflow-y: auto;
	padding: 0;
}

#drinks-box .wf-header {
	margin: 0;
}

#drinks-box .wf-title {
	font: 300 36px/1.1 var(--ui-font);
	letter-spacing: 0;
	color: #e8e2d8;
}

#drinks-box .drinks-section {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#drinks-box .section-label {
	margin: 0;
	font: 500 13px var(--ui-font);
	letter-spacing: 0;
	text-transform: none;
	color: rgba(232, 226, 216, 0.5);
}

#drinks-list {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

#drinks-list .modal-tab {
	flex: none;
	padding: 7px 0;
	border: none;
	border-radius: 0;
	background: none;
	text-align: left;
	font: 400 17px/1.3 var(--ui-font);
	color: rgba(232, 226, 216, 0.45);
	transition: none;
}

#drinks-list .modal-tab:hover {
	background: none;
	color: rgba(232, 226, 216, 0.8);
}

#drinks-list .modal-tab.active {
	background: none;
	color: #e8e2d8;
}

/* Put down the drink / No thanks — the radio's quiet text button (css/main.css #radio-box .btn-primary). */
#drinks-put-down,
#drinks-cancel {
	align-self: flex-start;
	padding: 4px 0;
	border: none;
	border-radius: 0;
	background: none;
	font: 500 15px var(--ui-font);
	color: #e8e2d8;
	transition: none;
	cursor: pointer;
}

#drinks-put-down:hover,
#drinks-cancel:hover {
	background: none;
	color: #fff;
}

#drinks-put-down[hidden] {
	display: none;
}

/* Close together under the list: the two buttons as one small group. */
#drinks-put-down:not([hidden]) + #drinks-cancel {
	margin-top: -20px;
}
