/* SETTINGS PAGES — shared layout (Change email; later Change password, Privacy, Delete account).
   Loaded only on pages whose content holds a settings shortcode (includes/settings-shell.php),
   and every page-level rule is scoped to body.tme-settings-body so nothing leaks onto other pages. */

/* ---- The page: black edge to edge, footer pinned to the bottom on short pages ---- */
body.tme-settings-body {
	background: #000 !important;
	--wp--style--root--padding-top: 0px;
	--wp--style--root--padding-bottom: 0px;
}
body.tme-settings-body .wp-site-blocks {
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	background: #000;
}
body.tme-settings-body .wp-site-blocks > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}
body.tme-settings-body .wp-site-blocks > main {
	flex: 1 0 auto;
	background: #000;
}
body.tme-settings-body main,
body.tme-settings-body main .wp-block-group,
body.tme-settings-body .wp-block-post-content,
body.tme-settings-body .entry-content {
	margin-top: 0 !important;
	padding-top: 0 !important;
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

/* The theme pads the content sideways (and pulls "full width" blocks back out by the same amount);
   on these pages the shell does its own side padding, so switch both off — otherwise the card is
   needlessly narrow on a phone. */
body.tme-settings-body main.has-global-padding,
body.tme-settings-body main .has-global-padding {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/* L2 (batch 4): a page holding just the shortcode (no full-width group around it, like Host an event) puts the
   shell in the theme's narrow "content width" column, and the shell's own margin:0 then pins that column to the
   left, so the card sat off-centre. The shell spans the page; the card centres itself (margin: 0 auto). */
body.tme-settings-body .tme-settings-shell { max-width: none !important; }
body.tme-settings-body main .alignfull {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
}

/* ---- The shell and the card ---- */
.tme-settings-shell {
	background: #000;
	width: 100%;
	box-sizing: border-box;
	padding: 56px 20px 84px;
	margin: 0 !important;
}
.tme-settings-card {
	position: relative;
	max-width: 560px;
	margin: 0 auto !important;
	padding: 34px 34px 38px;
	box-sizing: border-box;
	background: #0d0710;
	border: 3px solid #a855f7;
	border-radius: 18px;
	box-shadow: 0 0 10px rgba(168, 85, 247, 0.45);   /* the glow at rest */
	color: #e8e0e6;
	font-family: 'Poppins', sans-serif;
	text-align: left;
}
/* The glowing, pulsing border comes from the shared recipe in assets/tme-neon.css (class tme-neon). */
.tme-settings-card { --tme-neon-rgb: 168, 85, 247; --tme-neon-border: 3px; }
.tme-settings-card > :first-child { margin-top: 0; }
.tme-settings-card > :last-child { margin-bottom: 0; }

/* ---- Headings ---- */
.tme-set-kicker {
	color: #a855f7;
	font: 600 11px 'Poppins', sans-serif;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin: 0 0 8px;
}
.tme-settings-card h1.tme-set-title {
	font-family: 'Cinzel', serif;
	font-weight: 400;
	color: #e0b25c;
	font-size: 26px;
	line-height: 1.25;
	margin: 0 0 20px;
}
.tme-settings-card h2.tme-set-subtitle {
	font-family: 'Cinzel', serif;
	font-weight: 400;
	color: #e0b25c;
	font-size: 16px;
	line-height: 1.3;
	margin: 30px 0 14px;
	padding-top: 24px;
	border-top: 1px solid #2a1d33;
}

/* ---- Text ---- */
.tme-set-text {
	color: #d8cdd8;
	font-size: 14.5px;
	line-height: 1.6;
	margin: 0 0 6px;
	word-break: break-word;
}
.tme-set-text strong { color: #fff; font-weight: 600; }
.tme-set-hint {
	color: #a897b5;
	font-size: 12.5px;
	line-height: 1.6;
	margin: 14px 0 0;
}

/* ---- Messages ---- */
.tme-set-notice {
	padding: 13px 16px;
	border-radius: 10px;
	font-size: 13.5px;
	line-height: 1.6;
	margin: 0 0 18px;
}
.tme-set-notice.ok  { background: rgba(74, 222, 128, 0.10); border: 1px solid #4ade80; color: #c7f5d6; }
.tme-set-notice.bad { background: rgba(224, 178, 92, 0.12); border: 1px solid #e0b25c; color: #f1d9a7; }
.tme-set-box {
	background: #1a1220;
	border: 1px solid #4a3a55;
	border-radius: 12px;
	padding: 16px 18px;
	margin: 18px 0 6px;
}
.tme-set-box p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.6; color: #d8cdd8; }
.tme-set-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tme-set-actions form { margin: 0; }

/* ---- Forms ---- */
.tme-set-form label {
	display: block;
	color: #c9bcd0;
	font-size: 13px;
	margin: 0 0 16px;
}
.tme-set-form input[type="email"],
.tme-set-form input[type="password"],
.tme-set-form input[type="text"] {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 6px;
	padding: 12px 14px;
	border: 1px solid #3a2a48;
	border-radius: 10px;
	background: #fff;
	color: #111;
	font: 400 16px 'Poppins', sans-serif; /* 16px: smaller makes iPhone Safari zoom in when a field is tapped */
}
.tme-set-form input:focus {
	outline: none;
	border-color: #a855f7;
	box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.35);
}
.tme-set-why { color: #a897b5; font-size: 12px; }

/* ---- Buttons ---- */
.tme-set-btn {
	display: inline-block;
	min-height: 44px;
	padding: 0 26px;
	border: 0;
	border-radius: 30px;
	background: linear-gradient(90deg, #6b2fb3, #a855f7);
	color: #fff;
	font: 600 13.5px 'Poppins', sans-serif;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.tme-set-btn.secondary { background: transparent; border: 1.5px solid #a855f7; color: #c9a7e0; }
.tme-set-btn.link { background: none; border: 0; color: #c9a7e0; text-decoration: underline; font-weight: 400; padding: 0 6px; }

/* ---- Smaller pieces used by Change password / Delete account ---- */
.tme-set-check {
	display: flex !important;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	min-height: 44px;
	margin: -4px 0 12px !important;
}
.tme-set-check input { width: 20px; height: 20px; margin: 0; accent-color: #a855f7; }
.tme-set-field-warning {
	margin: -6px 0 14px;
	color: #fca5a5;
	font-size: 13px;
	line-height: 1.5;
}
.tme-set-field-warning[hidden] { display: none; }
.tme-set-link { color: #e0b25c; text-decoration: underline; }
.tme-set-danger-box { border-color: #7f3a4a; background: #1e0f16; }
.tme-set-btn.danger { background: #b4233c; }
.tme-set-btn.danger:hover { background: #cf2a47; }
.tme-set-btn:disabled,
.tme-set-btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---- Phones ---- */
@media (max-width: 600px) {
	.tme-settings-shell { padding: 28px 12px 56px; }
	.tme-settings-card { border-radius: 14px; }
	.tme-settings-card { padding: 24px 18px 28px; }
	.tme-settings-card h1.tme-set-title { font-size: 23px; }
	.tme-set-form .tme-set-btn:not(.link) { width: 100%; }
}

/* ===================================================================
   EDIT PROFILE (moved here from its page on 14 Oct 2026 — the page now holds only [tme_edit_profile])
   =================================================================== */
.tme-settings-card.tme-edit-profile-page { max-width: 700px; }
.tme-edit-profile-page h1 { font-family: 'Cinzel', serif; font-weight: 400; color: #e0b25c; font-size: 26px; line-height: 1.25; margin: 0 0 20px; }
.tme-edit-profile-page h2 { font-family: 'Cinzel', serif; font-weight: 400; color: #e0b25c; font-size: 16px; margin: 28px 0 14px; }
.tme-edit-step-kicker { color: #a855f7; font: 600 11px 'Poppins', sans-serif; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 8px; }
.tme-edit-intro { color: #c9bcd0; font-size: 14px; line-height: 1.6; margin: 0 0 28px; }
.tme-edit-section-hint { color: #a897b5; font-size: 13px; line-height: 1.6; margin: -6px 0 16px; }

.tme-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.tme-modal-box { background: #1a1220; border-radius: 16px; padding: 32px 28px; max-width: 400px; width: 100%; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.tme-modal-icon { font-size: 34px; margin-bottom: 14px; display: block; }
.tme-modal-success { border: 1.5px solid #4ade80; }
.tme-modal-success .tme-modal-icon { color: #4ade80; }
.tme-modal-warning { border: 1.5px solid #e0b25c; }
.tme-modal-warning .tme-modal-icon { color: #e0b25c; }
.tme-modal-box p { color: #e8e0e6; font-size: 14px; line-height: 1.6; margin: 0 0 22px; }
.tme-modal-close-btn { background: linear-gradient(90deg,#6b2fb3,#a855f7); color: #fff; border: none; padding: 11px 28px; min-height: 44px; border-radius: 30px; font: 600 13px 'Poppins', sans-serif; cursor: pointer; }

.tme-live-constraint-msg { display: flex; align-items: center; gap: 8px; background: rgba(224,178,92,0.12); border: 1px solid #e0b25c; color: #e0b25c; padding: 12px 16px; border-radius: 10px; font-size: 13px; margin-bottom: 14px; line-height: 1.5; }
.tme-live-constraint-msg::before { content: "\f071"; font-family: "Font Awesome 6 Free"; font-weight: 900; flex-shrink: 0; }

/* was #6a5a75 — unreadable on this background (rule: nothing explanatory darker than about #a897b5) */
.tme-edit-hint { color: #a897b5; font-size: 12px; margin: -8px 0 20px; }

.tme-edit-profile-form textarea,
.tme-edit-profile-form input[type="text"],
.tme-edit-profile-form input[type="date"],
.tme-edit-profile-form select {
	width: 100%; background: #1a1220; border: 1px solid #4a3a55; color: #fff;
	padding: 12px 14px; border-radius: 8px; font-family: 'Poppins', sans-serif;
	font-size: 16px;   /* was 13.5px: under 16px makes iPhone Safari zoom in on every tap */
	box-sizing: border-box; margin-top: 6px;
}
.tme-edit-profile-form input:focus,
.tme-edit-profile-form select:focus,
.tme-edit-profile-form textarea:focus { outline: none; border-color: #a855f7; box-shadow: 0 0 0 3px rgba(168,85,247,0.35); }
.tme-edit-profile-form label { display: block; color: #c9bcd0; font-size: 12.5px; margin-bottom: 14px; }
.tme-edit-profile-form textarea { resize: vertical; }

.tme-edit-individual-card { background: #000; border: 1px solid #2a1f30; border-radius: 12px; padding: 18px; margin-bottom: 14px; }
.tme-edit-individual-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tme-edit-individual-label { color: #b8a8c8; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.tme-edit-remove-btn { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid #4a3a55; color: #a897b5; font-size: 11.5px; padding: 6px 12px; min-height: 36px; border-radius: 16px; cursor: pointer; }
.tme-edit-remove-btn:hover { border-color: #ef4444; color: #ef4444; }

.tme-edit-add-btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1.5px solid #a855f7; color: #c9a7e0; padding: 11px 22px; min-height: 44px; border-radius: 30px; font: 400 13px 'Poppins', sans-serif; cursor: pointer; margin-bottom: 16px; }
.tme-edit-add-btn:hover { background: rgba(168,85,247,0.1); }
.tme-edit-add-btn.tme-btn-disabled { opacity: 0.35; cursor: not-allowed; border-color: #4a3a55; color: #6a5a75; }
.tme-edit-add-btn.tme-btn-disabled:hover { background: transparent; }

.tme-edit-save-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; background: linear-gradient(90deg,#6b2fb3,#a855f7); color: #fff; border: none; padding: 13px 30px; min-height: 44px; border-radius: 30px; font: 600 13.5px 'Poppins', sans-serif; letter-spacing: 0.3px; cursor: pointer; }
.tme-edit-save-btn:hover { box-shadow: 0 0 10px #a855f7, 0 0 20px #7c3aed; }

@media (max-width: 600px) {
	.tme-edit-profile-page h1 { font-size: 23px; }
	.tme-edit-individual-card { padding: 14px; }
}

/* ---- Create / Edit event (includes/event-form.php) ---- */
.tme-event-form-card { max-width: 700px; }
.tme-set-form input[type="date"], .tme-set-form input[type="time"], .tme-set-form textarea, .tme-set-form select {
	display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 12px 14px; border: 1px solid #3a2a48; border-radius: 10px;
	background: #fff; color: #111; font: 400 16px 'Poppins', sans-serif; min-height: 48px; }
.tme-set-form textarea { resize: vertical; line-height: 1.5; }
.tme-set-form textarea:focus, .tme-set-form input[type="date"]:focus, .tme-set-form input[type="time"]:focus { outline: none; border-color: #a855f7; box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.35); }
.tme-ef-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tme-ev-err { display: block; margin-top: 4px; color: #f1d9a7; font-size: 13px; }
.tme-ev-err::before { content: '\26A0\FE0E  '; color: #e0b25c; }
.tme-ef-photo { margin: 0 0 18px; color: #c9bcd0; font-size: 13px; }
/* L2 (batch 4): the photo button, styled like Edit Profile's "Add photo" (.tme-photo-btn in tme-photos.css). */
.tme-ef-pick { position: relative; display: inline-flex !important; align-items: center; gap: 8px; margin: 10px 0 6px !important; padding: 10px 20px; min-height: 44px; box-sizing: border-box;
	background: transparent; border: 1.5px solid #a855f7; border-radius: 30px; color: #d9c4ee !important; font: 400 13.5px 'Poppins', sans-serif !important; cursor: pointer; }
.tme-ef-pick:hover { background: rgba(168, 85, 247, .14); }
.tme-ef-pick:focus-within { outline: 3px solid #f3d98b; outline-offset: 2px; }
.tme-ef-pick .tme-ef-file { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; opacity: 0; }
.tme-ef-chosen { display: block; color: #ece6f1; font-size: 13px; min-height: 0; }
.tme-ef-chosen:empty { display: none; }
.tme-ef-photo .tme-set-hint { display: block; margin-top: 6px; }
.tme-ef-current { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; border: 1px solid #3a2a48; margin-top: 8px; }
.tme-ef-label { display: block; }
.tme-set-form label.tme-ef-check { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0 0 6px; color: #ece6f1; font-size: 15px; cursor: pointer; }
.tme-ef-check input { width: 20px; height: 20px; accent-color: #a855f7; }
.tme-ef-cohosts { border: 1px solid #3a2a48; border-radius: 14px; padding: 4px 16px 6px; margin: 0 0 22px; }
.tme-ef-cohosts legend { padding: 0 6px; color: #e0b25c; font: 600 14px 'Poppins', sans-serif; }
.tme-ef-cohosts .tme-set-hint { display: block; margin: 4px 0 14px; }
.tme-create-event { margin: 0 0 22px; text-align: right; }
.tme-create-event .tme-set-btn { display: inline-flex; align-items: center; text-decoration: none; }
.tme-ev-edit { margin: 16px 0 0; }
.tme-ev-edit .tme-set-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; max-width: 100%; text-decoration: none; }   /* a link, so padding counts unless border-box (it ran off phone screens) */
@media (max-width: 560px) { .tme-ef-row { grid-template-columns: 1fr; gap: 0; } .tme-create-event { text-align: left; } }

/* 2.37: the 12-hour start time (Hour : Minutes AM/PM) */
.tme-ef-timebox { color: #c9bcd0; font-size: 13px; margin: 0 0 16px; }
.tme-ef-time { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.tme-ef-time select { flex: 1 1 0; min-width: 0; min-height: 46px; padding: 0 8px; border: 1px solid #3a2a48; border-radius: 10px; background: #fff; color: #1a1020; font: 400 16px 'Poppins', sans-serif; }
.tme-ef-colon { color: #fff; font-weight: 700; }

/* ---- 2.60 (P1): Privacy policy, Terms of use, Your privacy — long reading, so a wider card and bigger,
   white text (small text is always white on this site). Links gold and underlined; every link 44px tall. ---- */
.tme-settings-card.tme-policy-card { max-width: 760px; }
.tme-policy-card .tme-pol p,
.tme-policy-card .tme-pol li {
	color: #fff;
	font-size: 16px;
	line-height: 1.7;
}
.tme-policy-card .tme-pol p { margin: 0 0 14px; }
.tme-policy-card .tme-pol p.tme-pol-lead {
	font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.5;
	color: #fff;
}
.tme-policy-card .tme-pol h2 {
	font-family: 'Cinzel', Georgia, serif;
	font-weight: 600;
	color: #e0b25c;
	font-size: 19px;
	line-height: 1.3;
	margin: 30px 0 12px;
	padding-top: 22px;
	border-top: 1px solid #2a1d33;
}
.tme-policy-card .tme-pol ul { margin: 0 0 14px; padding-left: 22px; }
.tme-policy-card .tme-pol li { margin: 0 0 10px; }
.tme-policy-card .tme-pol li::marker { color: #e0b25c; }
.tme-policy-card .tme-pol strong { color: #fff; font-weight: 600; }
.tme-policy-card .tme-pol a,
.tme-policy-card .tme-pol-more a {
	color: #f3d98b;
	text-decoration: underline;
	text-underline-offset: 3px;
	word-break: break-word;
}
.tme-policy-card .tme-pol a:hover,
.tme-policy-card .tme-pol-more a:hover { color: #fff; }
.tme-policy-card .tme-pol p.tme-pol-date { font-size: 14px; margin-top: 24px; }
/* Your privacy: the points as a list of small cards */
.tme-policy-card .tme-pol ul.tme-pol-points { list-style: none; padding: 0; margin: 6px 0 18px; display: grid; gap: 12px; }
.tme-policy-card .tme-pol ul.tme-pol-points li {
	margin: 0;
	padding: 14px 16px;
	background: #1a1220;
	border: 1px solid #4a3a55;
	border-left: 3px solid #a855f7;
	border-radius: 12px;
}
.tme-policy-card .tme-pol ul.tme-pol-points strong {
	display: block;
	font-family: 'Cinzel', Georgia, serif;
	color: #e0b25c;
	font-size: 16px;
	margin-bottom: 4px;
}
.tme-policy-card .tme-pol ul.tme-pol-points span { display: block; }
.tme-policy-card .tme-pol p.tme-pol-tip {
	padding: 14px 16px;
	border: 1px solid #e0b25c;
	border-radius: 12px;
	background: rgba(224, 178, 92, .10);
}
.tme-policy-card .tme-pol-more {
	display: flex;
	flex-wrap: wrap;
	gap: 0 18px;
	margin-top: 26px;
	padding-top: 14px;
	border-top: 1px solid #2a1d33;
	font-size: 15px;
}
.tme-policy-card .tme-pol-more a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 600px) {
	.tme-settings-card.tme-policy-card { padding: 26px 20px 28px; }
	.tme-policy-card .tme-pol ul { padding-left: 18px; }
}
/* The theme holds a page's content to its "content width" (about 620–645px), which squeezed the policy card
   to 580px on a computer. On these three pages only, the shell spans the page and the card sets its own width. */
body.tme-policy-body .tme-settings-shell { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }

/* ===== 2.63 — test-findings batch 3 (Edit Profile: P5, U3, U5) ===== */
/* U3: inline warnings in the same style as registration's (red text with a warning sign, red ring on the box). */
.tme-ep-error { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 0; color: #ff9a9a; font-size: 14.5px; font-weight: 700; line-height: 1.4; text-align: left; }
.tme-ep-error[hidden] { display: none; }
.tme-ep-error::before { content: "\f071"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #ff6b6b; margin-top: 2px; }
.tme-edit-profile-page .tme-ep-invalid { border-color: #ff6b6b !important; box-shadow: 0 0 0 3px rgba(255,107,107,.28) !important; }
.tme-edit-profile-page h2 .tme-ep-req { font-family: 'Poppins', sans-serif; }
.tme-edit-profile-page .tme-photo-slot-error::before { content: "\f071"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #ff6b6b; margin-right: 8px; }
.tme-edit-profile-page .tme-photo-slot-error { font-size: 14.5px; }
.tme-edit-profile-page .tme-photo-slot.tme-ep-invalid { border-radius: 12px; }
/* P5: Lucy's notes (photo tip; a Couple can't drop to one). */
.tme-ep-lucy-note { display: flex; gap: 14px; align-items: center; margin: 4px 0 18px; padding: 14px 16px; border: 1px solid #8b3fd8; border-radius: 14px; background: rgba(168,85,247,.12); color: #f3ecf1; font-size: 15px; line-height: 1.5; text-align: left; }
.tme-ep-lucy-note[hidden] { display: none; }
.tme-ep-lucy-note img { flex: 0 0 18%; max-width: 18%; max-height: 150px; object-fit: contain; }
.tme-ep-lucy-note b { display: block; margin-bottom: 4px; color: #e0b25c; font-family: 'Cinzel', serif; font-size: 16px; font-weight: 700; letter-spacing: .5px; }
.tme-ep-still { margin: 0 0 18px; padding: 12px 16px; border: 1px solid #e0b25c; border-radius: 10px; background: rgba(224,178,92,.12); color: #f3ecf1; font-size: 15px; line-height: 1.5; }
.tme-ep-still b { color: #e0b25c; }
/* U5: a finished profile's type — Solos pick which Solo; Couples and Polycules just see the word. */
.tme-ep-type { margin: 0 0 14px; }
.tme-ep-type .tme-ep-solo-pick { display: none; }
.tme-ep-type.is-solo .tme-ep-solo-pick { display: block; }
.tme-ep-type.is-solo .tme-ep-type-name { display: none; }
.tme-ep-type-name { margin: 0; padding: 12px 14px; border: 1px dashed #4a3a55; border-radius: 10px; color: #f3ecf1; font-size: 16px; }
@media (max-width: 600px) {
	.tme-ep-lucy-note { gap: 10px; padding: 12px; }
	.tme-ep-lucy-note img { flex-basis: 24%; max-width: 24%; }
}

/* ---- 2.71: Email alerts (Settings → Email alerts, [tme_email_alerts]) — design canvas option A ---- */
.tme-ea-lucy { display: flex; gap: 12px; border: 1.5px solid #8b3fd8; border-radius: 12px; padding: 14px; background: #120a18; }
.tme-ea-lucy-pic { flex: 0 0 64px; }
.tme-ea-lucy-pic img { display: block; width: 64px; height: auto; max-height: 110px; object-fit: contain; }
.tme-ea-lucy-body { flex: 1; min-width: 0; }
.tme-ea-lucy-title { display: block; font-family: 'Cinzel', serif; color: #e0b25c; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.tme-ea-lucy-body p { margin: 0; color: #f3ecf1; font-size: 14px; line-height: 1.5; }
.tme-settings-card h2.tme-set-subtitle.tme-ea-head { margin-bottom: 4px; }
.tme-ea-saved { margin: 0 0 4px; color: #4ade80; font-size: 13px; font-weight: 500; }
.tme-ea-saved.bad { color: #f9a8a8; }
.tme-ea-saved[hidden] { display: none; }
.tme-ea-form { margin: 0; }
.tme-ea-row { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid #2a1d33; }
.tme-ea-text { flex: 1; min-width: 0; cursor: pointer; }
.tme-ea-name { display: block; color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.tme-ea-desc { display: block; color: #a897b5; font-size: 13px; line-height: 1.5; }
/* The switch is a real checkbox laid over its drawing, so it can be tapped, tabbed to and read out. */
.tme-ea-switch { position: relative; flex: 0 0 auto; width: 62px; height: 44px; display: flex; align-items: center; justify-content: center; }
.tme-ea-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.tme-ea-track { position: relative; display: block; width: 50px; height: 28px; box-sizing: border-box; border-radius: 999px; background: #1a1020; border: 2px solid #6b5a78; transition: background .15s, border-color .15s; }
.tme-ea-track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #a897b5; transition: left .15s, background .15s; }
.tme-ea-switch input:checked + .tme-ea-track { background: #a855f7; border-color: #a855f7; }
.tme-ea-switch input:checked + .tme-ea-track::after { left: 24px; background: #fff; }
.tme-ea-switch input:focus-visible + .tme-ea-track { outline: 2px solid #e0b25c; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .tme-ea-track, .tme-ea-track::after { transition: none; } }
.tme-ea-save { margin-top: 18px; }
.tme-ea-form.is-instant .tme-ea-save { display: none; }
.tme-ea-always { margin: 0; padding-left: 18px; color: #d8cdd8; font-size: 13.5px; line-height: 1.6; }
.tme-ea-always li { margin: 0 0 8px; }
.tme-ea-always strong { color: #fff; font-weight: 600; }
.tme-alerts-page .tme-set-hint { margin-top: 22px; }
@media (max-width: 600px) {
	.tme-ea-lucy { padding: 12px; }
}
