/**
 * Aesthetic Tools Suite — matches Aesthetic Language / Arrow pickers (Outfit, glass UI).
 */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

:root {
	--ats-primary: hsl(245, 80%, 65%);
	--ats-primary-deep: hsl(245, 80%, 55%);
	--ats-primary-soft: hsl(245, 100%, 97%);
	--ats-accent: hsl(280, 80%, 65%);
	--ats-accent-deep: hsl(280, 80%, 55%);
	--ats-accent-soft: hsl(280, 100%, 97%);
	--ats-bg: hsl(240, 30%, 98%);
	--ats-card-bg: rgba(255, 255, 255, 0.75);
	--ats-glass-border: rgba(99, 102, 241, 0.08);
	--ats-text: hsl(222, 47%, 11%);
	--ats-muted: hsl(215, 16%, 47%);
	--ats-border: hsl(214, 32%, 91%);
	--ats-border-light: hsl(210, 40%, 96.1%);
	--ats-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
	--ats-shadow-md: 0 12px 32px rgba(99, 102, 241, 0.06);
	--ats-shadow-lg: 0 24px 60px rgba(99, 102, 241, 0.12);
	--ats-radius-lg: 28px;
	--ats-radius-md: 18px;
	--ats-radius-sm: 12px;
}

[data-ats-app] {
	box-sizing: border-box;
	/* Use 85% of the browser viewport while keeping the tool centered.
	 * The margin formula lets the tool safely break out of Kadence's
	 * narrower content column without drifting to the right. */
	width: 85vw !important;
	max-width: 85vw !important;
	margin-top: 30px !important;
	margin-bottom: 30px !important;
	margin-left: calc(50% - 42.5vw) !important;
	margin-right: calc(50% - 42.5vw) !important;
	padding: 40px 24px;
	background-color: #ffffff;
	border: 1px solid var(--ats-border);
	border-radius: var(--ats-radius-lg);
	box-shadow: var(--ats-shadow-md);
	color: var(--ats-text);
	font-family: "Outfit", "Inter", system-ui, sans-serif;
	position: relative;
	overflow: visible;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

[data-ats-app] .ats-symbol-char,
[data-ats-app] .ats-flag-emoji {
	font-family: "Noto Sans Symbols 2", "Noto Sans Math", "Segoe UI Symbol", "Apple Color Emoji",
		"Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

[data-ats-app] *,
[data-ats-app] *::before,
[data-ats-app] *::after {
	box-sizing: border-box;
}

.ats-header {
	text-align: center;
	margin-bottom: 40px;
}

.ats-title {
	font-size: 2.25rem;
	font-weight: 900;
	margin: 0 0 12px;
	background: linear-gradient(135deg, var(--ats-primary), var(--ats-accent));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	letter-spacing: -0.02em;
}

.ats-subtitle {
	font-size: 1.1rem;
	color: var(--ats-muted);
	max-width: 640px;
	margin: 0 auto;
	line-height: 1.5;
}

.ats-search-wrap {
	margin-bottom: 32px;
}

.ats-search-box {
	position: relative;
	max-width: 600px;
	margin: 0 auto;
	background: var(--ats-card-bg);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--ats-glass-border);
	border-radius: var(--ats-radius-md);
	box-shadow: var(--ats-shadow-sm);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: center;
	padding: 0 20px;
}

.ats-search-box:focus-within {
	border-color: var(--ats-primary);
	box-shadow: 0 0 0 2px var(--ats-primary-soft);
}

.ats-search-icon {
	color: var(--ats-muted);
	margin-right: 12px;
	flex-shrink: 0;
}

.ats-search-input {
	width: 100%;
	padding: 18px 0;
	border: none;
	background: transparent;
	color: var(--ats-text);
	font-family: inherit;
	font-size: 1.1rem;
	outline: none;
}

.ats-category-nav {
	display: flex;
	gap: 10px;
	margin-bottom: 44px;
	background: var(--ats-border-light);
	padding: 8px;
	border-radius: 22px;
	overflow-x: auto;
	scroll-behavior: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	position: sticky;
	top: 10px;
	z-index: 110;
	box-shadow: var(--ats-shadow-sm);
}

.ats-category-nav::-webkit-scrollbar {
	display: none;
}

.ats-nav-btn {
	border: none;
	background: transparent;
	padding: 12px 24px;
	border-radius: 16px;
	font-weight: 700;
	font-size: 14px;
	color: var(--ats-muted);
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	font-family: inherit;
}

.ats-nav-btn.is-active {
	background: #fff;
	color: var(--ats-accent-deep);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ats-nav-btn:hover:not(.is-active) {
	color: var(--ats-text);
	background: rgba(255, 255, 255, 0.5);
}

.ats-clipboard-section {
	position: sticky;
	top: 90px;
	margin: 0 0 48px;
	/* Opaque sticky surface avoids the large blur repaint on every wheel tick. */
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border: 1px solid var(--ats-glass-border);
	border-radius: 24px;
	padding: 18px 24px;
	box-shadow: 0 12px 36px rgba(99, 102, 241, 0.08);
	z-index: 100;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ats-clipboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	flex-wrap: wrap;
	gap: 12px;
}

.ats-clipboard-title {
	font-size: 14px;
	font-weight: 800;
	color: var(--ats-muted);
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.ats-clipboard-header:has(> .ats-clipboard-title.screen-reader-text) {
	justify-content: flex-end;
}

.ats-clipboard-actions {
	display: flex;
	gap: 12px;
	align-items: center;
}

.ats-btn-primary {
	background: linear-gradient(135deg, var(--ats-primary), var(--ats-accent));
	color: #fff;
	border: none;
	padding: 10px 24px;
	border-radius: 14px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 6px 18px rgba(99, 102, 241, 0.2);
	font-family: inherit;
}

.ats-btn-primary:hover {
	box-shadow: 0 6px 18px rgba(99, 102, 241, 0.22);
}

.ats-btn-secondary {
	display: inline-block;
	width: 100%;
	max-width: 320px;
	margin: 12px auto 0;
	padding: 12px 20px;
	border-radius: 14px;
	border: 1px solid var(--ats-border);
	background: var(--ats-border-light);
	color: var(--ats-text);
	font-weight: 700;
	font-size: 15px;
	font-family: inherit;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}

.ats-btn-secondary:hover {
	border-color: var(--ats-primary);
	background: #fff;
}

.ats-load-more-wrap {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 8px;
	margin-bottom: 8px;
}

.ats-btn-text {
	background: none;
	border: none;
	color: #ef4444;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	padding: 8px 16px;
	border-radius: 10px;
	transition: all 0.2s;
	font-family: inherit;
}

.ats-btn-text:hover {
	background: #fff5f5;
}

.ats-clipboard-list {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 10px;
	min-height: 52px;
	align-items: center;
}

.ats-clipboard-list::-webkit-scrollbar {
	height: 4px;
}

.ats-clipboard-list::-webkit-scrollbar-thumb {
	background: var(--ats-border);
	border-radius: 10px;
}

.ats-clip-item {
	flex-shrink: 0;
	min-width: 64px;
	min-height: 54px;
	background: #fff !important;
	border: 1.5px solid var(--ats-border) !important;
	padding: 10px 16px;
	border-radius: 14px;
	color: var(--ats-text) !important;
	-webkit-text-fill-color: var(--ats-text) !important;
	font-size: 20px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: var(--ats-shadow-sm) !important;
	transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
	animation: ats-pop-in 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	max-width: 280px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ats-clip-symbol {
	display: block;
	color: var(--ats-text) !important;
	-webkit-text-fill-color: var(--ats-text) !important;
	font-family: "Yu Gothic", "YuGothic", "Meiryo", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK JP", "Noto Sans CJK SC", "Noto Sans Thai", "Segoe UI Symbol", "Arial Unicode MS", system-ui, sans-serif !important;
	font-size: 24px;
	line-height: 1.15;
	font-weight: 500;
	text-shadow: none !important;
}

.ats-clip-item:hover,
.ats-clip-item:focus,
.ats-clip-item:focus-visible {
	background: #fff !important;
	color: var(--ats-text) !important;
	-webkit-text-fill-color: var(--ats-text) !important;
	border-color: #c4b5fd !important;
	outline: none !important;
}

.ats-clip-item.is-copied {
	background: #f3e8ff !important;
	border-color: #c084fc !important;
	box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.15) !important;
}

.ats-clipboard-empty {
	color: var(--ats-muted);
	font-size: 14px;
	font-style: italic;
	opacity: 0.65;
}

.ats-categories-wrap {
	display: flex;
	flex-direction: column;
	gap: 64px;
}

.ats-category-section {
	scroll-margin-top: 180px;
}

.ats-category-header {
	margin-bottom: 28px;
}

.ats-category-title {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--ats-text);
	margin: 0 0 8px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.ats-category-title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--ats-border-light);
}

.ats-category-subtitle {
	font-size: 13px;
	font-weight: 700;
	color: var(--ats-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0;
}

.ats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	gap: 20px;
}

.ats-grid--flags {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

.ats-symbol-card {
	background: #ffffff;
	border: 1px solid var(--ats-border);
	border-radius: 16px;
	min-height: 90px;
	height: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
	position: relative;
	z-index: 1;
	font-family: inherit;
	margin: 0;
	padding: 8px 6px;
	text-align: center;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ats-symbol-card:hover {
	border-color: var(--ats-border);
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	z-index: 1;
}

.ats-symbol-char {
	font-size: 32px;
	color: var(--ats-text);
	transition: color 0.3s;
	line-height: 1.15;
	word-break: break-all;
}

.ats-item__lab {
	font-size: 10px;
	color: var(--ats-muted);
	margin-top: 4px;
	line-height: 1.2;
	max-width: 100%;
	padding: 0 4px;
}

.ats-symbol-card.is-focused {
	transform: none;
	border-color: var(--ats-border);
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ats-symbol-card.is-focused .ats-symbol-char {
	color: var(--ats-text);
}

.ats-symbol-card::before {
	display: none;
}

.ats-flag-card {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	width: 100%;
	min-height: 92px;
	background: #ffffff;
	border: 1px solid var(--ats-border);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ats-flag-part {
	margin: 0;
	padding: 0.5rem 0.6rem;
	border: none;
	background: transparent;
	cursor: pointer;
	font-family: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.15s ease, border-color 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}

.ats-flag-part:hover {
	background: #fafbff;
}

.ats-flag-part:focus {
	outline: none;
}

.ats-flag-part:focus-visible {
	outline: 2px solid var(--ats-primary);
	outline-offset: -2px;
	z-index: 1;
}

.ats-flag-part--iso {
	flex: 0 0 3.35rem;
	border-right: 1px solid var(--ats-border-light);
	background: rgba(26, 29, 38, 0.02);
}

.ats-flag-code {
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--ats-muted);
}

.ats-flag-center {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.5rem;
	min-width: 0;
	border-right: 1px solid var(--ats-border-light);
}

.ats-flag-name {
	font-size: 0.74rem;
	color: var(--ats-text);
	text-align: center;
	line-height: 1.25;
	word-break: break-word;
}

.ats-flag-part--emoji {
	flex: 0 0 3.75rem;
	background: rgba(99, 102, 241, 0.06);
}

.ats-flag-emoji {
	font-size: 2rem;
	line-height: 1;
}

.ats-symbol-card.is-hidden,
.ats-flag-card.is-hidden,
.ats-category-section.is-hidden {
	display: none;
}

@keyframes ats-pop-in {
	0% {
		transform: scale(0.7);
		opacity: 0;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.ats-toast {
	position: fixed;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%) translateY(40px);
	background: #0f172a;
	color: #fff;
	padding: 14px 28px;
	border-radius: 16px;
	font-weight: 700;
	font-size: 14px;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
	z-index: 2000;
}

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

.ats-symbol-card:focus {
	outline: none;
}

.ats-symbol-card:focus:not(:focus-visible) {
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	border-color: var(--ats-border);
}

.ats-symbol-card:focus-visible {
	outline: 2px solid var(--ats-primary);
	outline-offset: 2px;
	box-shadow: none;
	border-color: var(--ats-border);
}

/* Kaomoji: readable multi-line faces, consistent card height */
.ats-grid--kaomoji {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr));
	gap: 14px;
}

[data-ats-tool="kaomojis"] .ats-symbol-card {
	min-height: 7.5rem;
	justify-content: flex-start;
	align-items: stretch;
	padding: 12px 10px 14px;
}

[data-ats-tool="kaomojis"] .ats-symbol-char {
	font-size: clamp(0.8rem, 2.1vw, 0.98rem);
	line-height: 1.4;
	white-space: normal;
	word-break: break-word;
	hyphens: none;
	text-align: center;
	max-width: 100%;
	width: 100%;
}

[data-ats-tool="kaomojis"] .ats-item__lab {
	font-size: clamp(11px, 2.8vw, 12px);
	margin-top: auto;
	padding-top: 8px;
	line-height: 1.25;
	opacity: 0.92;
}

/* Emoticon: dense glyph-only grid */
.ats-grid--emoticons-dense {
	grid-template-columns: repeat(auto-fill, minmax(3rem, 1fr));
	gap: 10px;
}

[data-ats-tool="emoticon"] .ats-symbol-card {
	min-height: 3.25rem;
	padding: 6px 4px;
}

[data-ats-tool="emoticon"] .ats-symbol-char {
	font-size: clamp(1.35rem, 5vw, 1.75rem);
	line-height: 1;
}

@media (max-width: 768px) {
	[data-ats-app] {
		width: 85vw !important;
		max-width: 85vw !important;
		margin-left: calc(50% - 42.5vw) !important;
		margin-right: calc(50% - 42.5vw) !important;
		padding: 32px 16px;
	}

	.ats-grid {
		grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
		gap: 12px;
	}

	.ats-symbol-card {
		min-height: 80px;
	}

	.ats-symbol-char {
		font-size: 28px;
	}

	.ats-grid--kaomoji {
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr));
		gap: 12px;
	}

	[data-ats-tool="kaomojis"] .ats-symbol-card {
		min-height: 7rem;
	}
}

@media (max-width: 480px) {
	.ats-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.ats-grid--flags {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.ats-grid--kaomoji {
		grid-template-columns: 1fr;
	}

	[data-ats-tool="kaomojis"] .ats-symbol-card {
		min-height: auto;
	}

	.ats-grid--emoticons-dense {
		grid-template-columns: repeat(auto-fill, minmax(2.75rem, 1fr));
		gap: 8px;
	}
}

/* v1.1.1 — Unicode visible in every symbol card. */
.ats-item__unicode {
	display: block;
	margin-top: 5px;
	padding: 0 4px;
	max-width: 100%;
	font-family: "Inter", system-ui, sans-serif;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.01em;
	color: var(--ats-muted);
	word-break: break-word;
	overflow-wrap: anywhere;
}

.ats-item__meaning {
	display: block;
	margin-top: 7px;
	padding: 0 6px;
	max-width: 100%;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--ats-text);
}

.ats-symbol-card--labeled {
	min-height: 126px;
	padding: 12px 8px;
}

.ats-symbol-card--labeled .ats-item__meaning {
	min-height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.ats-category-section[id*="tatuajes"] .ats-grid {
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.ats-category-section[id*="tatuajes"] .ats-symbol-char {
	font-size: 28px;
	word-break: normal;
	overflow-wrap: anywhere;
}

.ats-flag-part--emoji {
	flex-direction: column;
	gap: 3px;
}

.ats-flag-part--emoji .ats-item__unicode {
	font-size: 8px;
	margin-top: 0;
}

@media (max-width: 640px) {
	.ats-category-section[id*="tatuajes"] .ats-grid {
		grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
	}
	.ats-item__unicode {
		font-size: 8px;
	}
}


/* v1.1.3 — prevent theme button focus colors and show a soft purple copied state. */
[data-ats-app] .ats-symbol-card:focus,
[data-ats-app] .ats-symbol-card:focus-visible {
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: var(--ats-text) !important;
	-webkit-text-fill-color: var(--ats-text) !important;
	border-color: var(--ats-border) !important;
	outline: 2px solid rgba(168, 85, 247, 0.28) !important;
	outline-offset: 2px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

[data-ats-app] .ats-symbol-card:active,
[data-ats-app] .ats-symbol-card.is-copied,
[data-ats-app] .ats-flag-part.is-copied {
	background: #f3e8ff !important;
	background-color: #f3e8ff !important;
	border-color: #c084fc !important;
	color: var(--ats-text) !important;
	-webkit-text-fill-color: var(--ats-text) !important;
	box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.16) !important;
}

[data-ats-app] .ats-symbol-card.is-copied .ats-symbol-char,
[data-ats-app] .ats-symbol-card.is-copied .ats-item__meaning,
[data-ats-app] .ats-symbol-card.is-copied .ats-item__unicode {
	color: var(--ats-text) !important;
	-webkit-text-fill-color: var(--ats-text) !important;
}

/* v1.1.4 — tool intro descriptions are no longer rendered globally. */

/* v1.2.1 — one compact skin-tone selector for the Emoji 17.0 tool. */
.ats-clipboard-header.has-tone-picker {
	justify-content: space-between !important;
	align-items: center;
}

.ats-skin-tone-picker {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	flex-wrap: wrap;
}

.ats-skin-tone-label {
	font-size: 12px;
	font-weight: 800;
	color: var(--ats-muted);
	margin-right: 2px;
	white-space: nowrap;
}

[data-ats-app] .ats-tone-btn {
	width: 34px;
	height: 34px;
	min-width: 34px;
	padding: 0 !important;
	border: 1.5px solid var(--ats-border) !important;
	border-radius: 10px !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: var(--ats-text) !important;
	-webkit-text-fill-color: var(--ats-text) !important;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
	font-size: 18px !important;
	line-height: 1 !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: none !important;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

[data-ats-app] .ats-tone-btn:hover {
	border-color: #c084fc !important;
	background: #faf5ff !important;
}

[data-ats-app] .ats-tone-btn.is-active,
[data-ats-app] .ats-tone-btn:focus-visible {
	background: #f3e8ff !important;
	background-color: #f3e8ff !important;
	border-color: #c084fc !important;
	box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.14) !important;
	outline: none !important;
}

[data-ats-app] .ats-tone-btn:active {
	transform: scale(0.96);
}

@media (max-width: 760px) {
	.ats-clipboard-header.has-tone-picker {
		align-items: flex-start;
	}
	.ats-skin-tone-picker {
		width: 100%;
		order: 1;
	}
	.ats-clipboard-actions {
		order: 2;
		margin-left: auto;
	}
}

@media (max-width: 520px) {
	.ats-skin-tone-label {
		width: 100%;
	}
	[data-ats-app] .ats-tone-btn {
		width: 32px;
		height: 32px;
		min-width: 32px;
		font-size: 17px !important;
	}
}


/* v1.2.2 — cleaner Emoji 17.0 cards and stronger global Load More button. */
/* Keep Unicode in the data/search/accessibility layer, but hide it visually on the Emoji page. */
[data-ats-tool="emoticon"] .ats-item__unicode {
	display: none !important;
}

/* The Emoji grid is glyph-first: without Unicode text the symbol can breathe a little more. */
[data-ats-tool="emoticon"] .ats-symbol-card {
	min-height: 3.5rem;
}

[data-ats-tool="emoticon"] .ats-symbol-char {
	font-size: clamp(1.55rem, 5vw, 1.9rem);
}

/* Never let the site's theme turn Cargar más white on hover/focus/click. */
[data-ats-app] .ats-load-more,
[data-ats-app] .ats-load-more:link,
[data-ats-app] .ats-load-more:visited {
	background: #4c1d95 !important;
	background-color: #4c1d95 !important;
	border-color: #4c1d95 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	box-shadow: 0 8px 20px rgba(76, 29, 149, 0.18) !important;
}

[data-ats-app] .ats-load-more:hover,
[data-ats-app] .ats-load-more:focus,
[data-ats-app] .ats-load-more:focus-visible {
	background: #3b0764 !important;
	background-color: #3b0764 !important;
	border-color: #3b0764 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	outline: none !important;
	box-shadow: 0 8px 22px rgba(59, 7, 100, 0.24) !important;
}

[data-ats-app] .ats-load-more:active {
	background: #2e1065 !important;
	background-color: #2e1065 !important;
	border-color: #2e1065 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	transform: translateY(1px);
}

[data-ats-app] .ats-load-more:disabled {
	background: #6d28d9 !important;
	background-color: #6d28d9 !important;
	border-color: #6d28d9 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	opacity: 0.7;
}

/* v1.2.3 — Arrow page: names in Spanish, no visible Unicode codes. */
[data-ats-tool="arrow-symbols"] .ats-item__unicode {
	display: none !important;
}

[data-ats-tool="arrow-symbols"] .ats-grid {
	grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
	gap: 16px;
}

[data-ats-tool="arrow-symbols"] .ats-symbol-card--labeled {
	min-height: 118px;
	padding: 12px 9px;
}

[data-ats-tool="arrow-symbols"] .ats-symbol-card--labeled .ats-item__meaning {
	min-height: 32px;
	font-size: 11px;
	line-height: 1.25;
}

[data-ats-tool="arrow-symbols"] .ats-symbol-char {
	font-size: 34px;
}

@media (max-width: 640px) {
	[data-ats-tool="arrow-symbols"] .ats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}
