/* PasteBin for CKG — ink / charcoal dark UI, soft mint accent */

:root {
	--paste-bg: #0c0e10;
	--paste-surface: #14181c;
	--paste-surface-2: #1a1f24;
	--paste-border: #2a3138;
	--paste-border-strong: #3a434c;
	--paste-text: #e8eaed;
	--paste-muted: #8b949e;
	--paste-faint: #5c6570;
	--paste-accent: #6ec9a8;
	--paste-accent-hover: #85d4b6;
	--paste-accent-ink: #0c0e10;
	--paste-accent-soft: rgba(110, 201, 168, 0.14);
	--paste-danger: #e07a6a;
	--paste-danger-soft: rgba(224, 122, 106, 0.12);
	--paste-focus: #6ec9a8;
	--paste-radius: 8px;
	--paste-radius-sm: 6px;
	--paste-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 8px 24px rgba(0, 0, 0, 0.35);
	--paste-font-sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
	--paste-font-mono: "IBM Plex Mono", "SF Mono", "Cascadia Code", Consolas, ui-monospace, monospace;
	--paste-max: 52rem;
	--paste-header-h: 3.25rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	color-scheme: dark;
	-webkit-text-size-adjust: 100%;
}

html.paste-theme-dark,
body.paste-page {
	background: var(--paste-bg);
	color: var(--paste-text);
}

body.paste-page {
	margin: 0;
	min-height: 100vh;
	font-family: var(--paste-font-sans);
	font-size: 15px;
	line-height: 1.55;
	letter-spacing: 0.01em;
	-webkit-font-smoothing: antialiased;
	background-image:
		radial-gradient(ellipse 80% 50% at 50% -20%, rgba(110, 201, 168, 0.06), transparent 55%),
		linear-gradient(180deg, #0e1114 0%, var(--paste-bg) 40%);
	background-attachment: fixed;
}

a {
	color: var(--paste-accent);
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: var(--paste-accent-hover);
	text-decoration: underline;
	text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
textarea:focus-visible,
select:focus-visible,
input:focus-visible {
	outline: 2px solid var(--paste-focus);
	outline-offset: 2px;
}

/* ——— Header ——— */

.paste-header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.75rem 1.5rem;
	max-width: var(--paste-max);
	margin: 0 auto;
	padding: 1.5rem 1.25rem 0.75rem;
	border-bottom: 1px solid var(--paste-border);
}

.paste-page-view .paste-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(12, 14, 16, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding-bottom: 1rem;
	border-bottom-color: var(--paste-border);
}

.paste-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: inherit;
	text-decoration: none;
}

.paste-brand:hover {
	color: inherit;
	text-decoration: none;
}

.paste-brand-mark {
	display: inline-block;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 2px;
	background: var(--paste-accent);
	box-shadow: 0 0 0 3px var(--paste-accent-soft);
	flex-shrink: 0;
}

.paste-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--paste-text);
}

.paste-title-sub {
	font-weight: 400;
	color: var(--paste-muted);
	font-size: 0.85em;
	letter-spacing: 0.04em;
}

.paste-meta {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	font-size: 0.8125rem;
	color: var(--paste-muted);
	font-family: var(--paste-font-mono);
}

.paste-slug {
	color: var(--paste-accent);
	font-weight: 500;
	cursor: pointer;
	border-radius: 4px;
	padding: 0.1rem 0.25rem;
	margin: -0.1rem -0.25rem;
	transition: background 0.15s ease, box-shadow 0.15s ease;
}

.paste-slug:hover {
	background: var(--paste-accent-soft);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.paste-slug:focus-visible {
	outline: 2px solid var(--paste-focus);
	outline-offset: 2px;
}

.paste-slug-input {
	width: 6.5rem;
	max-width: 40vw;
	padding: 0.15rem 0.4rem;
	border: 1px solid var(--paste-accent);
	border-radius: 4px;
	background: var(--paste-surface);
	color: var(--paste-accent);
	font-family: var(--paste-font-mono);
	font-size: 0.8125rem;
	font-weight: 500;
	box-shadow: 0 0 0 3px var(--paste-accent-soft);
}

.paste-expires::before {
	content: "·";
	margin-right: 1rem;
	color: var(--paste-faint);
}

.paste-actions {
	margin: 0 0 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
}

.paste-page-home .paste-actions,
.paste-page-expired .paste-actions {
	margin-left: 0;
}

.paste-link {
	font-size: 0.875rem;
	font-weight: 500;
}

/* ——— Main ——— */

.paste-main {
	max-width: var(--paste-max);
	margin: 0 auto;
	padding: 1.5rem 1.25rem 3rem;
}

.paste-page-view .paste-main {
	padding-top: 1.25rem;
}

/* ——— Alerts ——— */

.paste-alert {
	margin: 0 0 1.25rem;
	padding: 0.75rem 1rem;
	border-radius: var(--paste-radius-sm);
	font-size: 0.9rem;
}

.paste-alert-error {
	background: var(--paste-danger-soft);
	border: 1px solid rgba(224, 122, 106, 0.35);
	color: #f0a89c;
}

/* ——— Form ——— */

.paste-form {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.paste-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--paste-muted);
	margin-bottom: -0.35rem;
}

.paste-textarea {
	display: block;
	width: 100%;
	min-height: 22rem;
	padding: 1rem 1.1rem;
	resize: vertical;
	border: 1px solid var(--paste-border);
	border-radius: var(--paste-radius);
	background: var(--paste-surface);
	color: var(--paste-text);
	font-family: var(--paste-font-mono);
	font-size: 0.875rem;
	line-height: 1.65;
	tab-size: 4;
	box-shadow: var(--paste-shadow);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.paste-textarea::placeholder {
	color: var(--paste-faint);
}

.paste-textarea:hover {
	border-color: var(--paste-border-strong);
}

.paste-textarea:focus {
	outline: none;
	border-color: var(--paste-accent);
	box-shadow: 0 0 0 3px var(--paste-accent-soft), var(--paste-shadow);
}

.paste-form-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1rem;
	margin-top: 0.35rem;
}

.paste-field {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	flex: 1 1 12rem;
	min-width: 10rem;
}

.paste-select {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	max-width: 16rem;
	padding: 0.65rem 2.25rem 0.65rem 0.9rem;
	border: 1px solid var(--paste-border);
	border-radius: var(--paste-radius-sm);
	background-color: var(--paste-surface);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%238b949e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	color: var(--paste-text);
	font-family: var(--paste-font-sans);
	font-size: 0.9rem;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.paste-select:hover {
	border-color: var(--paste-border-strong);
}

.paste-select:focus {
	outline: none;
	border-color: var(--paste-accent);
	box-shadow: 0 0 0 3px var(--paste-accent-soft);
}

/* ——— Buttons ——— */

.paste-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0.65rem 1.15rem;
	border: 1px solid transparent;
	border-radius: var(--paste-radius-sm);
	font-family: var(--paste-font-sans);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.paste-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.paste-btn-primary {
	background: var(--paste-accent);
	color: var(--paste-accent-ink);
	border-color: var(--paste-accent);
	min-width: 9.5rem;
	padding: 0.75rem 1.35rem;
	/* WCAG AA: mint on near-black ink */
}

.paste-btn-primary:hover:not(:disabled) {
	background: var(--paste-accent-hover);
	border-color: var(--paste-accent-hover);
}

.paste-btn-primary:active:not(:disabled) {
	transform: translateY(1px);
}

.paste-btn-copy {
	background: var(--paste-surface-2);
	color: var(--paste-text);
	border-color: var(--paste-border);
	min-width: 5.5rem;
}

.paste-btn-copy:hover:not(:disabled) {
	border-color: var(--paste-accent);
	color: var(--paste-accent);
	background: var(--paste-accent-soft);
}

.paste-btn-copy.is-copied {
	background: var(--paste-accent-soft);
	border-color: var(--paste-accent);
	color: var(--paste-accent);
}

.paste-revoke-form {
	display: inline-flex;
	margin: 0;
}

.paste-btn-revoke {
	background: var(--paste-surface-2);
	color: var(--paste-danger);
	border-color: rgba(224, 122, 106, 0.4);
	min-width: 5.5rem;
}

.paste-btn-revoke:hover:not(:disabled) {
	background: var(--paste-danger-soft);
	border-color: var(--paste-danger);
	color: #f0a89c;
}

.paste-btn-revoke:active:not(:disabled) {
	transform: translateY(1px);
}

.paste-form-row .paste-btn-primary {
	flex: 0 0 auto;
	align-self: flex-end;
}

/* ——— Content (view) ——— */

.paste-content {
	margin: 0;
	padding: 1.15rem 1.25rem;
	overflow-x: auto;
	border: 1px solid var(--paste-border);
	border-radius: var(--paste-radius);
	background: var(--paste-surface);
	box-shadow: var(--paste-shadow);
	font-family: var(--paste-font-mono);
	font-size: 0.875rem;
	line-height: 1.7;
	tab-size: 4;
	white-space: pre-wrap;
	word-break: break-word;
	color: var(--paste-text);
}

.paste-content code {
	font-family: inherit;
	font-size: inherit;
	background: none;
	padding: 0;
	color: inherit;
}

/* ——— Expired empty state ——— */

.paste-page-expired .paste-main {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
	padding-top: 2.5rem;
}

.paste-empty {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-width: 28rem;
	padding: 1.75rem 1.5rem;
	border: 1px solid var(--paste-border);
	border-radius: var(--paste-radius);
	background: var(--paste-surface);
	box-shadow: var(--paste-shadow);
}

.paste-empty-icon {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	border: 1.5px solid var(--paste-border-strong);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--paste-faint);
	font-size: 1rem;
	line-height: 1;
	margin-bottom: 0.25rem;
}

.paste-message {
	margin: 0;
	color: var(--paste-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

.paste-empty .paste-actions {
	margin-top: 0.5rem;
}

.paste-btn-ghost {
	background: transparent;
	color: var(--paste-accent);
	border-color: var(--paste-border);
	text-decoration: none;
}

.paste-btn-ghost:hover {
	background: var(--paste-accent-soft);
	border-color: var(--paste-accent);
	color: var(--paste-accent-hover);
	text-decoration: none;
}

/* ——— Toast ——— */

.paste-toast {
	position: fixed;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%) translateY(1rem);
	z-index: 100;
	padding: 0.65rem 1.15rem;
	border-radius: 999px;
	background: var(--paste-surface-2);
	border: 1px solid var(--paste-border-strong);
	color: var(--paste-text);
	font-size: 0.85rem;
	font-weight: 500;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.paste-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.paste-toast.is-success {
	border-color: rgba(110, 201, 168, 0.45);
	color: var(--paste-accent);
}

/* ——— Footer whisper ——— */

.paste-footer {
	max-width: var(--paste-max);
	margin: 0 auto;
	padding: 0 1.25rem 2rem;
	font-size: 0.75rem;
	color: var(--paste-faint);
	letter-spacing: 0.04em;
}


/* ——— Text input ——— */

.paste-input {
	display: block;
	width: 100%;
	max-width: 22rem;
	padding: 0.65rem 0.9rem;
	border: 1px solid var(--paste-border);
	border-radius: var(--paste-radius-sm);
	background: var(--paste-surface);
	color: var(--paste-text);
	font-family: var(--paste-font-sans);
	font-size: 0.9rem;
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.paste-input::placeholder {
	color: var(--paste-faint);
}

.paste-input:hover {
	border-color: var(--paste-border-strong);
}

.paste-input:focus {
	outline: none;
	border-color: var(--paste-accent);
	box-shadow: 0 0 0 3px var(--paste-accent-soft);
}

/* ——— Outline button ——— */

.paste-btn-outline {
	background: transparent;
	color: var(--paste-accent);
	border-color: var(--paste-accent);
	text-decoration: none;
	min-width: 8rem;
}

.paste-btn-outline:hover {
	background: var(--paste-accent-soft);
	border-color: var(--paste-accent-hover);
	color: var(--paste-accent-hover);
	text-decoration: none;
}

.paste-btn-outline:active {
	transform: translateY(1px);
}

/* ——— 404 empty state ——— */

.paste-page-404 {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 1.5rem 1.25rem;
}

.paste-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.85rem;
	max-width: 28rem;
	width: 100%;
	padding: 2rem 1.75rem;
	border: 1px solid var(--paste-border);
	border-radius: var(--paste-radius);
	background: var(--paste-surface);
	box-shadow: var(--paste-shadow);
}

.paste-404 .paste-brand {
	justify-content: center;
	width: 100%;
	margin-bottom: 0.35rem;
}

.paste-404 .paste-title {
	text-align: center;
}

.paste-404-title {
	margin: 0;
	width: 100%;
	font-size: clamp(1.65rem, 4vw, 2.15rem);
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.25;
	color: var(--paste-text);
	text-align: center;
}

.paste-404 .paste-message {
	max-width: 22rem;
	width: 100%;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.paste-404 .paste-actions {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: center;
	width: auto;
	max-width: 100%;
	margin: 0.65rem auto 0;
}

/* ——— Gate ——— */

.paste-page-gate {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 1.5rem 1.25rem;
}

.paste-gate {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	max-width: 24rem;
	padding: 1.75rem 1.5rem;
	border: 1px solid var(--paste-border);
	border-radius: var(--paste-radius);
	background: var(--paste-surface);
	box-shadow: var(--paste-shadow);
}

.paste-gate-header {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin-bottom: 0.25rem;
}

.paste-gate-title {
	margin: 0.35rem 0 0;
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--paste-text);
}

.paste-gate .paste-input {
	max-width: none;
}

.paste-gate .paste-form-row {
	margin-top: 0.35rem;
}

.paste-gate .paste-btn-primary {
	width: 100%;
}

/* ——— Responsive ——— */

@media (max-width: 640px) {
	.paste-header {
		padding: 1.15rem 1rem 0.75rem;
	}

	.paste-main {
		padding: 1.15rem 1rem 2.5rem;
	}

	.paste-textarea {
		min-height: 16rem;
		font-size: 0.8125rem;
	}

	.paste-form-row {
		flex-direction: column;
		align-items: stretch;
	}

	.paste-select {
		max-width: none;
	}

	.paste-form-row .paste-btn-primary {
		width: 100%;
	}

	.paste-page-view .paste-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.paste-actions {
		margin-left: 0;
		width: 100%;
	}

	.paste-page-404 .paste-actions,
	.paste-404 .paste-actions {
		width: auto;
		margin-left: auto;
		margin-right: auto;
		justify-content: center;
	}

	.paste-expires::before {
		display: none;
	}

	.paste-page-404,
	.paste-page-gate {
		padding: 1.15rem 1rem;
	}

	.paste-404,
	.paste-gate {
		padding: 1.5rem 1.15rem;
	}

}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}

/* ——— File paste: dropzone + preview ——— */

.paste-dropzone {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	min-height: 8.5rem;
	padding: 1.25rem 1.35rem;
	margin: 0.15rem 0 0;
	border: 1px dashed var(--paste-border-strong);
	border-radius: var(--paste-radius);
	background:
		linear-gradient(180deg, rgba(110, 201, 168, 0.04), transparent 55%),
		var(--paste-surface);
	box-shadow: var(--paste-shadow);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.paste-dropzone:hover {
	border-color: var(--paste-accent);
	background:
		linear-gradient(180deg, rgba(110, 201, 168, 0.08), transparent 55%),
		var(--paste-surface-2);
}

.paste-dropzone:focus-visible {
	outline: 2px solid var(--paste-focus);
	outline-offset: 2px;
}

.paste-dropzone.is-drag {
	border-color: var(--paste-accent);
	border-style: solid;
	box-shadow: 0 0 0 3px var(--paste-accent-soft), var(--paste-shadow);
	background: var(--paste-accent-soft);
}

.paste-dropzone.has-file {
	cursor: default;
	border-style: solid;
	border-color: var(--paste-border);
}

.paste-dropzone.has-file:hover {
	border-color: var(--paste-border-strong);
	background: var(--paste-surface);
}

.paste-file {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.paste-dropzone-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.35rem;
	pointer-events: none;
}

.paste-dropzone.has-file .paste-dropzone-body {
	display: none;
}

.paste-dropzone-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	margin-bottom: 0.25rem;
	border-radius: 50%;
	border: 1px solid var(--paste-border-strong);
	color: var(--paste-accent);
	font-size: 1rem;
	line-height: 1;
	background: var(--paste-accent-soft);
}

.paste-dropzone-title {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--paste-text);
}

.paste-dropzone-hint {
	margin: 0;
	max-width: 28rem;
	color: var(--paste-muted);
	font-size: 0.8125rem;
	line-height: 1.5;
}

.paste-dropzone-hint strong {
	color: var(--paste-accent);
	font-weight: 600;
}

.paste-file-chip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.35rem 0;
}

.paste-file-chip-info {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.paste-file-chip-name {
	font-family: var(--paste-font-mono);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--paste-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.paste-file-chip-meta {
	font-size: 0.75rem;
	color: var(--paste-muted);
	font-family: var(--paste-font-mono);
}

.paste-btn-chip-clear {
	flex: 0 0 auto;
	background: var(--paste-surface-2);
	color: var(--paste-muted);
	border-color: var(--paste-border);
	padding: 0.45rem 0.85rem;
	font-size: 0.8rem;
	min-width: auto;
}

.paste-btn-chip-clear:hover:not(:disabled) {
	border-color: var(--paste-danger);
	color: var(--paste-danger);
	background: var(--paste-danger-soft);
}

.paste-field-error {
	margin: -0.35rem 0 0;
	font-size: 0.8125rem;
	color: #f0a89c;
}

.paste-field-error[hidden] {
	display: none;
}

/* View: file card */

.paste-file-card {
	margin: 0 0 1.35rem;
	padding: 1.15rem 1.25rem;
	border-radius: var(--paste-radius);
	background: var(--paste-surface);
	border: 1px solid var(--paste-border);
	box-shadow: var(--paste-shadow);
}

.paste-file-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.paste-file-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.paste-file-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	border: 1px solid var(--paste-border);
	background: var(--paste-surface-2);
	color: var(--paste-muted);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-family: var(--paste-font-mono);
}

.paste-file-badge-kind {
	border-color: rgba(110, 201, 168, 0.4);
	background: var(--paste-accent-soft);
	color: var(--paste-accent);
}

.paste-btn-sm {
	padding: 0.4rem 0.85rem;
	font-size: 0.8rem;
	min-width: auto;
}

.paste-file-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 1rem;
	margin: 0 0 1rem;
	color: var(--paste-muted);
	font-size: 0.8125rem;
}

.paste-file-name {
	color: var(--paste-text);
	font-weight: 600;
	font-size: 0.95rem;
	word-break: break-word;
}

.paste-file-mime,
.paste-file-size {
	font-family: var(--paste-font-mono);
	font-size: 0.75rem;
}

.paste-file-preview {
	margin: 0;
	padding: 0;
	border-radius: var(--paste-radius-sm);
	overflow: hidden;
	background: #0a0c0e;
	border: 1px solid var(--paste-border);
	text-align: center;
}

.paste-file-image {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.paste-file-text {
	max-height: 28rem;
	overflow: auto;
	margin: 0;
}

.paste-file-other {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.65rem;
	padding: 1.25rem 1.15rem;
	border-radius: var(--paste-radius-sm);
	border: 1px dashed var(--paste-border-strong);
	background: var(--paste-surface-2);
}

.paste-file-other-title {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--paste-text);
}

.paste-file-other-desc {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--paste-muted);
	font-family: var(--paste-font-mono);
	line-height: 1.5;
	word-break: break-word;
}

.paste-section-label {
	margin: 0 0 0.65rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--paste-muted);
}

@media (max-width: 640px) {
	.paste-file-card-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.paste-file-chip {
		flex-direction: column;
		align-items: stretch;
	}

	.paste-btn-chip-clear {
		width: 100%;
	}
}
