.lionshare-app {
	--ls-bg: #f6f8fb;
	--ls-surface: #fff;
	--ls-surface-muted: #eef2f7;
	--ls-text: #172033;
	--ls-muted: #667085;
	--ls-border: #d5dce7;
	--ls-primary: #f3ad2f;
	--ls-primary-dark: #d88c0b;
	--ls-navy: #0b2447;
	--ls-danger: #c5221f;
	background: var(--ls-bg);
	border: 1px solid var(--ls-border);
	border-radius: 18px;
	box-sizing: border-box;
	color: var(--ls-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.55;
	margin: 24px auto;
	max-width: 100%;
	min-width: 0;
	min-height: 520px;
	overflow: hidden;
	padding: 24px;
	position: relative;
	width: 100%;
}
.lionshare-app[data-theme="dark"] {
	--ls-bg: #091321;
	--ls-surface: #111f31;
	--ls-surface-muted: #192a40;
	--ls-text: #f1f5f9;
	--ls-muted: #a7b4c6;
	--ls-border: #2c4059;
	--ls-primary: #ffc04d;
	--ls-primary-dark: #f3ad2f;
	--ls-navy: #f8c45f;
}
.lionshare-app *, .lionshare-app *::before, .lionshare-app *::after { box-sizing: border-box; }
.lionshare-app [hidden] { display: none !important; }
.lionshare-top-controls { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 20px; }
.ls-control, .lionshare-button, .lionshare-link-button {
	appearance: none;
	border: 1px solid var(--ls-border);
	border-radius: 8px;
	cursor: pointer;
	font: inherit;
}
.ls-control { background: var(--ls-surface); color: var(--ls-text); font-size: 13px; font-weight: 700; padding: 7px 11px; }
.ls-control:hover { border-color: var(--ls-primary-dark); }
.lionshare-main { margin: 0 auto; max-width: 100%; min-width: 0; width: 100%; }
.lionshare-columns { align-items: stretch; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 100%; min-width: 0; }
.lionshare-info, .lionshare-send, .lionshare-preview {
	background: var(--ls-surface);
	border: 1px solid var(--ls-border);
	border-radius: 14px;
	box-shadow: 0 8px 30px rgba(11, 36, 71, .06);
	padding: 24px;
}
.lionshare-brand { align-items: center; display: flex; justify-content: center; margin: 0 auto 22px; min-height: 108px; }
.lionshare-brand img { display: block; height: auto; max-height: 130px; max-width: 100%; object-fit: contain; width: auto; }
.lionshare-highlight { background: #fff5d6; border-left: 4px solid var(--ls-primary); border-radius: 7px; color: #382a10; padding: 10px 12px; }
.lionshare-app[data-theme="dark"] .lionshare-highlight { background: #3b3018; color: #fff3cf; }
.lionshare-info p, .lionshare-info li { font-size: 14px; }
.lionshare-info ul { margin: 12px 0 0; padding-left: 20px; }
.lionshare-info li { margin-bottom: 9px; }
.lionshare-send h2, .lionshare-preview h2 { color: var(--ls-text); font-size: 21px; line-height: 1.25; margin: 0 0 22px; }
.lionshare-control-group { margin-bottom: 17px; }
.lionshare-control-group > label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 9px; }
.lionshare-drop-zone {
	background: var(--ls-surface-muted);
	border: 2px dashed var(--ls-border);
	border-radius: 12px;
	cursor: pointer;
	min-height: 128px;
	padding: 24px 18px;
	text-align: center;
	transition: border-color .18s ease, transform .18s ease;
}
.lionshare-drop-zone:hover, .lionshare-drop-zone:focus, .lionshare-drop-zone.is-over { border-color: var(--ls-primary-dark); outline: none; transform: translateY(-1px); }
.lionshare-limit { border-top: 1px solid var(--ls-border); margin-top: 18px; padding-top: 14px; text-align: left; }
.lionshare-limit label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 7px; }
.lionshare-limit ul { max-height: 135px; margin: 10px 0 0; overflow-y: auto; padding: 0; }
.lionshare-file-row { align-items: center; display: flex; font-size: 12px; gap: 8px; justify-content: space-between; list-style: none; margin: 6px 0; }
.lionshare-file-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lionshare-file-remove { background: transparent; border: 0; color: var(--ls-danger); cursor: pointer; font-size: 17px; font-weight: 800; padding: 2px 5px; }
.lionshare-app progress { accent-color: var(--ls-primary-dark); height: 10px; width: 100%; }
.lionshare-app select, .lionshare-app textarea {
	background: var(--ls-surface);
	border: 1px solid var(--ls-border);
	border-radius: 8px;
	color: var(--ls-text);
	font: inherit;
	padding: 9px 10px;
	width: 100%;
}
.lionshare-app textarea { margin-top: 12px; min-height: 68px; resize: vertical; }
.lionshare-error { color: var(--ls-danger); font-size: 13px; font-weight: 700; margin: 8px 0 0; }
.lionshare-button { background: var(--ls-surface-muted); color: var(--ls-text); font-weight: 750; padding: 10px 15px; }
.lionshare-button:hover { filter: brightness(.97); }
.lionshare-button-primary { background: var(--ls-primary); border-color: var(--ls-primary); color: #17120a; width: 100%; }
.lionshare-output-card { background: var(--ls-surface-muted); border-radius: 10px; margin-top: 16px; padding: 16px; }
.lionshare-success { color: #16803b; font-size: 14px; font-weight: 800; margin: 0; }
.lionshare-qr { margin: 16px auto 0; text-align: center; }
.lionshare-qr canvas, .lionshare-qr img { border: 10px solid #fff; margin-left: auto; margin-right: auto; max-width: 100%; }
.lionshare-qr canvas { display: block; }
.lionshare-qr p { color: var(--ls-muted); font-size: 12px; margin: 7px 0 0; }
.lionshare-preview { margin-bottom: 28px; }
.lionshare-file-meta { color: var(--ls-muted); font-size: 13px; margin-bottom: 12px; overflow-wrap: anywhere; }
.lionshare-timer { background: var(--ls-surface-muted); border-radius: 9px; margin: 12px 0; padding: 11px; }
.lionshare-timer > div { display: flex; font-size: 13px; justify-content: space-between; margin-bottom: 7px; }
.lionshare-file-content { margin-top: 16px; }
.lionshare-file-content img, .lionshare-file-content embed { border-radius: 8px; max-width: 100%; }
.lionshare-file-content pre { background: var(--ls-surface-muted); border-radius: 8px; max-height: 360px; overflow: auto; padding: 14px; white-space: pre-wrap; }
.lionshare-choice { background: var(--ls-surface-muted); border-radius: 10px; margin-bottom: 15px; padding: 20px; text-align: center; }
.lionshare-choice strong { display: block; overflow-wrap: anywhere; }
.lionshare-choice-note { color: var(--ls-muted); font-size: 13px; margin: 7px 0 17px; }
.lionshare-footer { color: var(--ls-muted); font-size: 12px; margin: 28px auto 0; text-align: center; }
.lionshare-app .footer-donate {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin: 0 auto 14px;
	max-width: 100%;
}
.lionshare-app .footer-donate a {
	align-items: center;
	border-radius: 8px;
	display: inline-flex;
	font-size: 13px;
	font-weight: 750;
	justify-content: center;
	max-width: 100%;
	padding: 9px 14px;
	text-decoration: none;
}
.lionshare-app .bmc-btn { background: #ffdd00; color: #17120a; }
.lionshare-app .paypal-btn { background: #0070ba; color: #fff; }
.lionshare-app .footer-donate a:hover { filter: brightness(.95); }
.lionshare-link-button { background: transparent; border: 0; color: inherit; margin-left: 8px; padding: 0; text-decoration: underline; }
.lionshare-modal { align-items: center; background: rgba(3, 9, 18, .72); display: flex; inset: 0; justify-content: center; padding: 20px; position: fixed; z-index: 999999; }
.lionshare-modal-content { background: var(--ls-surface); border-radius: 14px; box-shadow: 0 22px 80px rgba(0, 0, 0, .3); max-height: 90vh; max-width: 580px; overflow-y: auto; padding: 28px; position: relative; width: 100%; }
.lionshare-modal-content a { color: var(--ls-navy); font-weight: 700; }
.lionshare-attribution { border-top: 1px solid var(--ls-border); color: var(--ls-muted); font-size: 13px; margin-top: 20px; padding-top: 16px; }
.lionshare-modal-close { background: transparent; border: 0; color: var(--ls-muted); cursor: pointer; font-size: 28px; line-height: 1; position: absolute; right: 15px; top: 12px; }
@media (max-width: 760px) {
	.lionshare-app { border-radius: 0; margin: 0; padding: 16px; }
	.lionshare-columns { grid-template-columns: 1fr; }
	.lionshare-info, .lionshare-send, .lionshare-preview { padding: 19px; }
}