/**
 * LetsLunch plugin styles.
 *
 * Inherits from the active theme's CSS variables (mestariteema) with fallbacks.
 */

/* === Variables — bridge theme vars to plugin vars === */

:root {
	--ll-bg: var(--scheme-1-bg, #F3E5D8);
	--ll-surface: var(--scheme-1-bg, #ffffff);
	--ll-text: var(--scheme-1-text, #2A4036);
	--ll-heading: var(--scheme-1-heading, #2A4036);
	--ll-muted: var(--scheme-1-text, #5a6e60);
	--ll-border: var(--scheme-1-border, #ddd0c4);
	--ll-primary: var(--scheme-1-accent, #B15E4C);
	--ll-primary-bg: var(--btn-primary-bg, var(--scheme-1-accent, #B15E4C));
	--ll-primary-fg: var(--btn-primary-text, var(--scheme-1-accent-text, #ffffff));
	--ll-primary-hover: var(--btn-primary-hover-bg, var(--scheme-1-accent-hover, #9a4e3e));
	--ll-green: #7D8F7B;
	--ll-amber: #E1AF38;
	--ll-red: #B15E4C;
	--ll-radius: var(--btn-radius, 8px);
	--ll-forest: var(--scheme-2-bg, #2A4036);
	--ll-cream: var(--scheme-1-bg, #F3E5D8);
	--ll-font-ui: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--ll-font-size: var(--fontsize-p, 16px);
	--ll-line-height: var(--lineheight-p, 1.6);
}

/* === Container — respect theme container width === */

.ll-container {
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

/* === Cards === */

.letslunch-card {
	background: var(--ll-surface);
	border: 1px solid var(--ll-border);
	border-radius: var(--ll-radius);
	padding: 1.25rem;
	margin-bottom: 0.75rem;
}

.letslunch-card h2 {
	font-size: 1.15rem;
	margin: 0 0 0.75rem;
	font-weight: 700;
	color: var(--ll-heading);
}

.letslunch-card h3 {
	font-size: 0.95rem;
	margin: 1rem 0 0.5rem;
	font-weight: 600;
	color: var(--ll-muted);
	text-transform: uppercase;
	letter-spacing: 0.4px;
	font-family: var(--ll-font-ui);
}

.letslunch-card p {
	margin: 0.4rem 0;
	color: var(--ll-muted);
	font-size: 0.93rem;
}

.letslunch-card a {
	color: var(--ll-primary);
}

.letslunch-card a:hover {
	opacity: 0.8;
}

/* === City page background image on site-content === */

body.single-letslunch_city .site-content {
	background-size: cover;
	background-position: bottom center;
	background-repeat: no-repeat;
}

/* === Hero (landing) === */

.ll-hero {
	background: var(--ll-surface);
	border: 1px solid var(--ll-border);
	border-radius: var(--ll-radius);
	padding: 2.5rem 1.5rem;
	margin-bottom: 0.75rem;
	text-align: center;
}

.ll-hero-brand {
	font-size: var(--fontsize-h1, 2rem);
	font-weight: var(--fontweight-h1, 700);
	line-height: var(--lineheight-h1, 1.2);
	color: var(--ll-heading);
	margin: 0 0 0.25rem;
	letter-spacing: 0.5px;
}

.ll-hero-tagline {
	font-size: 1.15rem;
	color: var(--ll-muted);
	margin: 0 0 1.25rem;
	font-style: italic;
}

.ll-hero-countdown {
	margin: 1rem 0 1.5rem;
}

.ll-countdown-label {
	font-size: 0.85rem;
	color: var(--ll-muted);
	margin: 0 0 0.35rem;
	font-family: var(--ll-font-ui);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ll-countdown-timer {
	font-size: 2rem;
	font-weight: 700;
	color: var(--ll-primary);
	letter-spacing: 2px;
	font-family: var(--ll-font-ui);
	font-variant-numeric: tabular-nums;
}

.ll-countdown-city {
	font-size: 0.85rem;
	color: var(--ll-green);
	margin: 0.25rem 0 0;
	font-weight: 600;
}

.ll-countdown-fallback {
	font-size: 0.9rem;
	color: var(--ll-muted);
	font-style: italic;
}

.ll-btn-locate {
	appearance: none;
	background: none;
	border: 1px dashed var(--ll-border);
	border-radius: var(--ll-radius);
	padding: 0.4rem 0.8rem;
	color: var(--ll-muted);
	font-size: 0.85rem;
	cursor: pointer;
	font-family: inherit;
}

.ll-btn-locate:hover {
	border-color: var(--ll-primary);
	color: var(--ll-primary);
	background: none;
}

.ll-hero-actions {
	margin-top: 1.25rem;
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* === Social proof === */

.ll-social-proof {
	background: var(--ll-forest);
	color: var(--ll-cream);
	text-align: center;
	padding: 0.65rem 1rem;
	border-radius: var(--ll-radius);
	margin-bottom: 0.75rem;
	font-size: 0.93rem;
}

.ll-social-proof p {
	margin: 0;
}

.ll-social-proof strong {
	color: var(--ll-amber);
}

.ll-social-proof--empty {
	background: var(--ll-surface);
	color: var(--ll-muted);
	border: 1px solid var(--ll-border);
}

.ll-social-proof--empty p {
	font-style: italic;
}

/* === How it works === */

.ll-how-it-works {
	margin-bottom: 0.75rem;
}

.ll-how-it-works h2 {
	font-size: 1.15rem;
	text-align: center;
	margin: 0 0 1rem;
	color: var(--ll-heading);
	font-weight: 700;
}

.ll-steps {
	display: flex;
	gap: 0.75rem;
}

.ll-step {
	flex: 1;
	background: var(--ll-surface);
	border: 1px solid var(--ll-border);
	border-radius: var(--ll-radius);
	padding: 1.25rem 1rem;
	text-align: center;
}

.ll-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	background: var(--ll-cream);
	border: 2px solid var(--ll-primary);
	color: var(--ll-primary);
	border-radius: 50%;
	font-size: 0.85rem;
	font-weight: 700;
	margin-bottom: 0.6rem;
	font-family: var(--ll-font-ui);
}

.ll-step h3 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--ll-heading);
	margin: 0 0 0.35rem;
	text-transform: none;
	letter-spacing: 0;
	font-family: inherit;
}

.ll-step p {
	font-size: 0.88rem;
	color: var(--ll-muted);
	margin: 0;
	line-height: 1.5;
}

/* === Buttons — inherit theme button styles === */

.ll-button,
.letslunch-card .button,
.letslunch-card button,
.letslunch-card input[type="submit"] {
	appearance: none;
	display: inline-block;
	background: var(--btn-secondary-bg, var(--ll-surface));
	color: var(--btn-secondary-text, var(--ll-text));
	border: var(--btn-border-width, 1px) solid var(--btn-secondary-border, var(--ll-border));
	border-radius: var(--ll-radius);
	padding: var(--btn-padding, 0.55rem 1rem);
	font-weight: var(--btn-font-weight, 600);
	font-size: var(--btn-font-size, 0.88rem);
	text-transform: var(--btn-text-transform, none);
	letter-spacing: var(--btn-letter-spacing, 0);
	text-decoration: none;
	cursor: pointer;
	line-height: 1.4;
	font-family: var(--ll-font-ui);
}

.ll-button:hover,
.letslunch-card .button:hover,
.letslunch-card button:hover,
.letslunch-card input[type="submit"]:hover {
	background: var(--btn-secondary-hover-bg, var(--ll-cream));
	color: var(--btn-secondary-hover-text, var(--ll-text));
	opacity: 1;
}

.ll-button--primary,
.letslunch-card .button-primary,
.letslunch-card button.button-primary,
.letslunch-card input[type="submit"].button-primary,
.ll-hero .ll-button--primary {
	background: var(--ll-primary-bg);
	color: var(--ll-primary-fg);
	border-color: var(--btn-primary-border, var(--ll-primary-bg));
}

.ll-button--primary:hover,
.letslunch-card .button-primary:hover,
.letslunch-card button.button-primary:hover,
.letslunch-card input[type="submit"].button-primary:hover,
.ll-hero .ll-button--primary:hover {
	background: var(--ll-primary-hover);
	color: var(--btn-primary-hover-text, var(--ll-primary-fg));
	opacity: 1;
}

.ll-button--cancel,
.letslunch-card .button-cancel {
	color: var(--ll-red);
	border-color: var(--ll-red);
}

.ll-button--cancel:hover,
.letslunch-card .button-cancel:hover {
	background: #fdf0ee;
}

.ll-hero-cancel {
	margin-top: 0.75rem;
	font-size: 0.85rem;
}

.ll-hero-cancel a {
	color: var(--ll-muted, #888);
	text-decoration: underline;
}

.ll-hero-cancel a:hover {
	color: var(--ll-red, #c0392b);
}

/* === Registration error === */

.ll-optional {
	font-weight: 400;
	color: var(--ll-muted, #888);
}

.ll-form-error {
	color: var(--ll-red);
	font-weight: 600;
	font-size: 0.88rem;
}

/* === City page auth form === */

.ll-auth-form {
	background: var(--ll-surface);
	border-radius: var(--ll-radius);
	padding: 1.5rem;
	margin-bottom: 1rem;
}

.ll-auth-form label {
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--ll-text);
	display: block;
	margin-bottom: 0.25rem;
}

.ll-auth-form input[type="text"],
.ll-auth-form input[type="email"],
.ll-auth-form input[type="password"] {
	width: 100%;
	padding: 0.6rem 0.75rem;
	border: 1px solid var(--ll-border);
	border-radius: var(--ll-radius);
	font-size: var(--ll-font-size);
	font-family: inherit;
	box-sizing: border-box;
}

.ll-auth-form input:focus {
	outline: none;
	border-color: var(--ll-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--ll-primary) 20%, transparent);
}

.ll-auth-form p {
	margin: 0 0 0.75rem;
}

.ll-button--full {
	width: 100%;
	text-align: center;
	justify-content: center;
}

.ll-auth-hint {
	font-size: 0.82rem;
	color: var(--ll-muted);
	text-align: center;
	margin-top: 0.25rem;
}

/* === Forms === */

.letslunch-card label {
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--ll-text);
	font-family: var(--ll-font-ui);
}

.letslunch-card input[type="text"],
.letslunch-card input[type="email"],
.letslunch-card input[type="password"],
.letslunch-card input[type="url"],
.letslunch-card input[type="date"],
.letslunch-card select,
.letslunch-card textarea {
	width: 100%;
	max-width: 100%;
	background: var(--ll-surface);
	border: 1px solid var(--ll-border);
	border-radius: var(--ll-radius);
	padding: 0.5rem 0.6rem;
	font-size: 0.93rem;
	color: var(--ll-text);
	font-family: inherit;
}

.letslunch-card input:focus,
.letslunch-card select:focus,
.letslunch-card textarea:focus {
	outline: 2px solid var(--ll-primary);
	outline-offset: 1px;
	border-color: var(--ll-primary);
}

.letslunch-card form p {
	margin: 0.6rem 0;
}

.letslunch-card .description {
	font-size: 0.82rem;
	color: var(--ll-muted);
}

/* === Status badges === */

.status-badge {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	border-radius: var(--ll-radius);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.2px;
	font-family: var(--ll-font-ui);
}

.status-matched {
	background: #eef3ee;
	color: var(--ll-green);
	border: 1px solid #bfcdbf;
}

.status-waiting {
	background: #fdf6e3;
	color: #b8941e;
	border: 1px solid #edd98b;
}

.status-none {
	background: var(--ll-cream);
	color: var(--ll-muted);
	border: 1px solid var(--ll-border);
}

/* === Section dividers === */

.card-section {
	border-top: 1px solid var(--ll-border);
	margin-top: 0.9rem;
	padding-top: 0.9rem;
}

/* === Member list === */

.member-list {
	list-style: none;
	padding: 0;
	margin: 0.4rem 0 0;
}

.member-list li {
	padding: 0.4rem 0;
	border-bottom: 1px solid var(--ll-border);
	font-size: 0.9rem;
}

.member-list li:last-child {
	border-bottom: none;
}

.member-name {
	font-weight: 600;
	color: var(--ll-text);
}

.member-contact {
	color: var(--ll-muted);
	margin-left: 0.3rem;
}

/* === Tables === */

.letslunch-card table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 0.5rem;
}

.letslunch-card th,
.letslunch-card td {
	padding: 0.55rem 0.5rem;
	border-bottom: 1px solid var(--ll-border);
	text-align: left;
	font-size: 0.88rem;
}

.letslunch-card th {
	font-weight: 600;
	color: var(--ll-muted);
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	font-family: var(--ll-font-ui);
}

/* === WP login form === */

.letslunch-card .login-username,
.letslunch-card .login-password,
.letslunch-card .login-submit,
.letslunch-card .login-remember {
	margin: 0.5rem 0;
}

/* === Profile toggle === */

.profile-toggle {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0;
	border: none;
	background: none;
	width: 100%;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--ll-muted);
	text-transform: uppercase;
	letter-spacing: 0.4px;
	font-family: var(--ll-font-ui);
}

.profile-toggle:hover {
	color: var(--ll-text);
	background: none;
}

.profile-toggle::after {
	content: "+";
	font-size: 1.1rem;
	font-weight: 400;
}

.profile-content[open] .profile-toggle::after {
	content: "\2212";
}

/* === Chat app (WhatsApp-inspired) === */

.ll-chat-app {
	display: flex;
	flex-direction: column;
	max-width: 680px;
	margin: 0 auto;
	height: calc(100vh - 80px);
	height: calc(100dvh - 80px);
	background: #eae6df;
	border-radius: var(--ll-radius) var(--ll-radius) 0 0;
	box-shadow: 0 2px 16px rgba(0,0,0,0.12);
	overflow: hidden;
}

/* --- Header --- */

.ll-chat-header {
	padding: 0.75rem 1.25rem;
	background: var(--ll-forest);
	color: #fff;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.ll-chat-header-title {
	font-size: 1.05rem;
	font-weight: 600;
	margin: 0;
	color: #fff !important;
	line-height: 1.3;
}

.ll-chat-header-sub {
	margin: 0.1rem 0 0;
	font-size: 0.78rem;
	color: rgba(255,255,255,0.65);
}

/* --- Members strip --- */

.ll-chat-members {
	padding: 0.6rem 1rem;
	border-bottom: 1px solid rgba(0,0,0,0.08);
	flex-shrink: 0;
	background: var(--ll-surface);
}

.ll-chat-members-label {
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: var(--ll-muted);
	margin: 0 0 0.4rem;
	font-weight: 600;
	font-family: var(--ll-font-ui);
}

.ll-chat-avatars {
	display: flex;
	gap: 0.85rem;
	overflow-x: auto;
	padding-bottom: 0.15rem;
}

.ll-chat-avatar {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
	flex-shrink: 0;
}

.ll-chat-avatar-circle {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	font-family: var(--ll-font-ui);
	letter-spacing: 0.3px;
}

.ll-chat-avatar-name {
	font-size: 0.68rem;
	color: var(--ll-text);
	font-weight: 500;
	max-width: 56px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: center;
}

/* --- Messages area --- */

.ll-chat-body {
	flex: 1;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.ll-chat-messages {
	flex: 1;
	overflow-y: auto;
	padding: 0.75rem 4% 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 3px;
	background:
		url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='p' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='10' cy='10' r='1' fill='%23c9c3b8' opacity='.3'/%3E%3Ccircle cx='30' cy='30' r='1' fill='%23c9c3b8' opacity='.3'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='200' height='200' fill='%23eae6df'/%3E%3Crect width='200' height='200' fill='url(%23p)'/%3E%3C/svg%3E");
	scroll-behavior: smooth;
}

/* Message row */

.ll-chat-row {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	max-width: 82%;
	position: relative;
}

.ll-chat-row--mine {
	align-self: flex-end;
	flex-direction: row-reverse;
}

/* Reply button (appears on hover) */

.ll-chat-row {
	padding-right: 34px;
}

.ll-chat-row--mine {
	padding-right: 0;
	padding-left: 34px;
}

.ll-chat-reply-btn {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	background: var(--ll-surface);
	border: none;
	border-radius: 50%;
	width: 28px;
	height: 28px;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--ll-muted);
	box-shadow: 0 1px 4px rgba(0,0,0,0.15);
	z-index: 2;
}

.ll-chat-row:hover .ll-chat-reply-btn {
	display: flex;
}

.ll-chat-row--mine .ll-chat-reply-btn {
	right: auto;
	left: 0;
}

.ll-chat-reply-btn:hover {
	background: var(--ll-border);
	color: var(--ll-text);
}

/* Mini avatar */

.ll-chat-msg-avatar {
	width: 28px;
	height: 28px;
	min-width: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 0.6rem;
	font-weight: 700;
	font-family: var(--ll-font-ui);
	flex-shrink: 0;
	margin-bottom: 1px;
}

/* --- Bubbles --- */

.ll-chat-bubble {
	padding: 6px 10px 4px;
	border-radius: 0 8px 8px 8px;
	background: #fff;
	font-size: 0.88rem;
	line-height: 1.45;
	word-wrap: break-word;
	box-shadow: 0 1px 1px rgba(0,0,0,0.06);
	position: relative;
	min-width: 60px;
}

/* Tail for other's messages */
.ll-chat-bubble::before {
	content: '';
	position: absolute;
	top: 0;
	left: -7px;
	width: 0;
	height: 0;
	border-top: 0 solid transparent;
	border-right: 8px solid #fff;
	border-bottom: 8px solid transparent;
}

.ll-chat-bubble.ll-chat-mine {
	border-radius: 8px 0 8px 8px;
	background: #dcf8c6;
	color: var(--ll-text);
	box-shadow: 0 1px 1px rgba(0,0,0,0.06);
}

/* Tail for own messages */
.ll-chat-bubble.ll-chat-mine::before {
	left: auto;
	right: -7px;
	border-right: none;
	border-left: 8px solid #dcf8c6;
	border-bottom: 8px solid transparent;
}

.ll-chat-bubble.ll-chat-system {
	align-self: center;
	max-width: 85%;
	background: #fdf6e3;
	border: none;
	color: #8a6e12;
	font-size: 0.78rem;
	text-align: center;
	border-radius: 8px;
	padding: 5px 14px;
	box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}

.ll-chat-bubble.ll-chat-system::before {
	display: none;
}

/* Author */

.ll-chat-author {
	display: block;
	font-size: 0.76rem;
	font-weight: 700;
	margin-bottom: 1px;
	font-family: var(--ll-font-ui);
}

/* Message text & links */

.ll-chat-text {
	display: block;
}

.ll-chat-text a {
	color: #039be5;
	text-decoration: underline;
}

.ll-chat-mine .ll-chat-text a {
	color: #025d8c;
}

/* Time */

.ll-chat-time {
	display: inline;
	float: right;
	font-size: 0.65rem;
	margin-left: 8px;
	margin-top: 3px;
	color: #8a9a8a;
	font-family: var(--ll-font-ui);
	line-height: 1;
	position: relative;
	top: 4px;
}

.ll-chat-mine .ll-chat-time {
	color: #6d8c6d;
}

/* --- Reply quote inside bubble --- */

.ll-chat-quote {
	background: rgba(0,0,0,0.05);
	border-left: 3px solid #6bcb77;
	border-radius: 4px;
	padding: 4px 8px;
	margin: 0 0 4px;
	cursor: pointer;
}

.ll-chat-mine .ll-chat-quote {
	background: rgba(0,0,0,0.06);
}

.ll-chat-quote-name {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	font-family: var(--ll-font-ui);
}

.ll-chat-quote-text {
	display: block;
	font-size: 0.78rem;
	color: #667;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 280px;
}

.ll-chat-mine .ll-chat-quote-text {
	color: #4a5c4a;
}

/* --- Reply bar above compose --- */

.ll-chat-reply-bar {
	display: flex;
	align-items: center;
	padding: 6px 12px;
	background: var(--ll-surface);
	border-top: 1px solid var(--ll-border);
	border-left: 3px solid var(--ll-primary);
	flex-shrink: 0;
	gap: 8px;
}

.ll-chat-reply-bar-content {
	flex: 1;
	min-width: 0;
}

.ll-chat-reply-bar-name {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--ll-primary);
	font-family: var(--ll-font-ui);
}

.ll-chat-reply-bar-text {
	display: block;
	font-size: 0.8rem;
	color: var(--ll-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ll-chat-reply-bar-close {
	background: none;
	border: none;
	font-size: 1.2rem;
	cursor: pointer;
	color: var(--ll-muted);
	padding: 0 4px;
	line-height: 1;
}

.ll-chat-reply-bar-close:hover {
	color: var(--ll-text);
}

/* --- Compose bar --- */

.ll-chat-compose {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 8px;
	background: #eae6df;
	flex-shrink: 0;
}

.ll-chat-compose input[type="text"] {
	flex: 1;
	margin: 0;
	background: #fff;
	border: 1px solid transparent;
	border-radius: 22px;
	padding: 9px 14px;
	font-size: 0.9rem;
	color: var(--ll-text);
	font-family: inherit;
	outline: none;
	transition: box-shadow 0.15s;
}

.ll-chat-compose input[type="text"]:focus {
	box-shadow: 0 0 0 1px var(--ll-border);
}

.ll-chat-compose--disabled {
	opacity: 0.5;
	pointer-events: none;
}

/* Emoji button & picker */

.ll-chat-emoji-wrap {
	position: relative;
}

.ll-chat-emoji-btn {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--ll-muted);
	padding: 4px;
	display: flex;
	align-items: center;
	border-radius: 50%;
	transition: background 0.15s;
}

.ll-chat-emoji-btn:hover {
	background: rgba(0,0,0,0.06);
	color: var(--ll-text);
}

.ll-chat-emoji-picker {
	position: absolute;
	bottom: 44px;
	left: 0;
	width: 290px;
	max-height: 220px;
	overflow-y: auto;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.18);
	padding: 8px;
	grid-template-columns: repeat(8, 1fr);
	gap: 2px;
	z-index: 100;
}

.ll-emoji-item {
	width: 32px;
	height: 32px;
	border: none;
	background: none;
	font-size: 1.25rem;
	cursor: pointer;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background 0.1s;
}

.ll-emoji-item:hover {
	background: #f0ebe5;
}

/* Send button */

.ll-chat-send {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: none;
	background: var(--ll-primary-bg);
	color: var(--ll-primary-fg);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	transition: transform 0.1s, background 0.15s;
}

.ll-chat-send:hover {
	background: var(--ll-primary-hover);
	transform: scale(1.06);
}

.ll-chat-send:active {
	transform: scale(0.94);
}

/* --- Scrollbar --- */

.ll-chat-messages::-webkit-scrollbar {
	width: 6px;
}
.ll-chat-messages::-webkit-scrollbar-track {
	background: transparent;
}
.ll-chat-messages::-webkit-scrollbar-thumb {
	background: rgba(0,0,0,0.15);
	border-radius: 3px;
}

/* === Responsive === */

@media (max-width: 600px) {
	.ll-hero {
		padding: 1.5rem 1rem;
	}

	.ll-steps {
		flex-direction: column;
	}

	.ll-countdown-timer {
		font-size: 1.6rem;
	}

	.ll-chat-app {
		border-radius: 0;
		height: calc(100vh - 46px);
		height: calc(100dvh - 46px);
	}

	.ll-chat-row {
		max-width: 92%;
	}
}
