/* TalatYai — shared components (2026-11): cookie consent window, empty search results */
html.ty-cookie-open, html.ty-cookie-open body {overflow: hidden;}

.ty-cookie-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(17, 24, 39, 0.55);
	font-family: Roboto, "Nunito Sans", "Noto Sans Thai", Arial, sans-serif;
	color: #172238;
}
.ty-cookie-overlay[hidden] {display: none;}

.ty-cookie-dialog {
	position: relative;
	width: min(1180px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
	overscroll-behavior: contain;
}
.ty-cookie-close {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: #ffffff;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
	cursor: pointer;
}
.ty-cookie-close svg {width: 22px; height: 22px; fill: none; stroke: #1f2a44; stroke-width: 2.2; stroke-linecap: round;}
.ty-cookie-close:hover {background: #f3f6fb;}

.ty-cookie-consent {
	display: grid;
	grid-template-columns: minmax(280px, 0.72fr) 1.28fr;
	min-height: 100%;
}
.ty-cookie-consent h2, .ty-cookie-consent h3, .ty-cookie-consent p {margin: 0;}

/* Left panel */
.ty-cookie-intro {
	padding: 44px 40px 40px 52px;
	background:
		radial-gradient(120% 70% at 0% 100%, #eef4fc 0%, rgba(238, 244, 252, 0) 70%),
		linear-gradient(180deg, #f7faff 0%, #f4f8fe 100%);
	border-right: 1px solid #e7edf6;
	border-radius: 18px 0 0 18px;
}
.ty-cookie-logo {display: block; width: 210px; max-width: 70%; height: auto; margin: 0 auto;}
.ty-cookie-tagline {margin-top: 8px !important; text-align: center; font-size: 17px; color: #26324a;}
.ty-cookie-illustration {display: block; width: 100%; max-width: 330px; height: auto; margin: 26px auto 30px;}
.ty-cookie-intro h2 {font-size: 34px; line-height: 1.12; font-weight: 700; color: #111d33; letter-spacing: -0.01em;}
.ty-cookie-intro p:not(.ty-cookie-tagline) {margin-top: 16px !important; font-size: 17px; line-height: 1.55; color: #26324a;}

/* Right panel */
.ty-cookie-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 44px 40px 32px;
}
.ty-cookie-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding-right: 48px;
	margin-bottom: 6px;
}
.ty-cookie-head h2 {font-size: 23px; font-weight: 700; color: #111d33;}
.ty-cookie-textlink {
	flex: none;
	padding: 0;
	background: none;
	border: 0;
	font: inherit;
	font-size: 15px;
	color: #0b4fa0;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.ty-cookie-list {display: flex; flex-direction: column; gap: 12px;}
.ty-cookie-card {
	display: grid;
	grid-template-columns: 56px 1fr auto;
	gap: 18px;
	align-items: start;
	padding: 18px 20px;
	background: #ffffff;
	border: 1px solid #e3e8f0;
	border-radius: 12px;
}
.ty-cookie-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #f1f3f6;
}
.ty-cookie-icon svg {width: 28px; height: 28px; fill: #5b6474;}
.ty-cookie-icon--stats {background: #e6f0fd;}
.ty-cookie-icon--stats svg {fill: #1a6fdc;}
.ty-cookie-icon--social {background: #e3f6ea;}
.ty-cookie-icon--social svg {fill: #18a04a;}
.ty-cookie-icon--chat {background: #ece9fb;}
.ty-cookie-icon--chat svg {fill: #4a3fc4;}
.ty-cookie-icon--map {background: #fdeee2;}
.ty-cookie-icon--map svg {fill: #f07a1a;}
.ty-cookie-icon--ads {background: #fdf3d8;}
.ty-cookie-icon--ads svg {fill: #c98a00;}
.ty-cookie-body h3 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	font-weight: 700;
	color: #111d33;
}
.ty-cookie-body p {margin-top: 6px !important; font-size: 14.5px; line-height: 1.5; color: #3a4558;}
.ty-cookie-body a {color: #0b4fa0;}
.ty-cookie-badge {
	padding: 2px 11px;
	background: #fff4e8;
	border: 1px solid #f7b36a;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	color: #e06a00;
}
.ty-cookie-details {padding-top: 4px;}
.ty-cookie-details[hidden] {display: none;}
.ty-cookie-details p {font-size: 13.5px; color: #55607a;}
.ty-cookie-details a + a {margin-left: 12px;}
.ty-cookie-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	align-self: stretch;
	gap: 14px;
}
.ty-cookie-always {display: flex; align-items: center; gap: 10px; font-size: 14px; color: #5b6474; white-space: nowrap;}

/* Switches */
.ty-cookie-toggle {position: relative; display: inline-flex; cursor: pointer;}
.ty-cookie-toggle input {position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer;}
.ty-cookie-switch {
	position: relative;
	display: inline-block;
	width: 58px;
	height: 32px;
	background: #cfd5df;
	border-radius: 999px;
	transition: background .2s;
}
.ty-cookie-switch::after {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 24px;
	height: 24px;
	background: #ffffff;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	transition: transform .2s;
}
.ty-cookie-toggle input:checked + .ty-cookie-switch {background: #f58220;}
.ty-cookie-toggle input:checked + .ty-cookie-switch::after {transform: translateX(26px);}
.ty-cookie-toggle input:focus-visible + .ty-cookie-switch {box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.35);}
.ty-cookie-switch.is-locked {width: 46px; height: 24px; background: #cdd2da;}
.ty-cookie-switch.is-locked::after {top: 3px; left: 3px; width: 18px; height: 18px; transform: translateX(22px);}

.ty-cookie-more {
	width: 30px;
	height: 30px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	position: relative;
}
.ty-cookie-more::before {
	content: "";
	position: absolute;
	top: 9px;
	left: 10px;
	width: 9px;
	height: 9px;
	border-right: 2px solid #26324a;
	border-bottom: 2px solid #26324a;
	transform: rotate(45deg);
	transition: transform .2s, top .2s;
}
.ty-cookie-more[aria-expanded="true"]::before {top: 13px; transform: rotate(-135deg);}
.ty-cookie-more:hover {background: #f1f4f9;}

.ty-cookie-safe {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 4px !important;
	padding: 16px 20px;
	background: #eef4fc;
	border-radius: 10px;
	font-size: 15px;
	color: #26324a;
}
.ty-cookie-safe svg {flex: none; width: 26px; height: 26px; fill: #1a6fdc;}
.ty-cookie-links {display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 14px;}
.ty-cookie-links a {color: #172238; text-decoration: underline; text-underline-offset: 3px;}
.ty-cookie-actions {display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px;}
.ty-cookie-btn {
	min-height: 50px;
	padding: 10px 14px;
	background: #ffffff;
	border: 1.5px solid #f58220;
	border-radius: 8px;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	color: #172238;
	cursor: pointer;
	transition: background .15s, filter .15s;
}
.ty-cookie-btn:hover {background: #fff6ee;}
.ty-cookie-btn--primary {background: #f58220; color: #ffffff;}
.ty-cookie-btn--primary:hover {background: #f58220; filter: brightness(1.06);}
.ty-cookie-btn:focus-visible, .ty-cookie-textlink:focus-visible, .ty-cookie-more:focus-visible, .ty-cookie-close:focus-visible {outline: 3px solid rgba(26, 111, 220, 0.45); outline-offset: 2px;}

/* Tablets and phones */
@media (max-width: 900px) {
	.ty-cookie-overlay {padding: 0; align-items: flex-end;}
	.ty-cookie-dialog {max-height: 92vh; border-radius: 18px 18px 0 0;}
	.ty-cookie-consent {grid-template-columns: 1fr;}
	.ty-cookie-intro {padding: 26px 22px 6px; border-right: 0; border-radius: 18px 18px 0 0; text-align: center;}
	.ty-cookie-logo {width: 160px;}
	.ty-cookie-illustration {display: none;}
	.ty-cookie-intro h2 {margin-top: 16px !important; font-size: 24px;}
	.ty-cookie-intro p:not(.ty-cookie-tagline) {font-size: 15px; margin-top: 10px !important;}
	.ty-cookie-intro p:last-child {display: none;}
	.ty-cookie-form {padding: 18px 16px 18px;}
	.ty-cookie-head {padding-right: 0; flex-wrap: wrap;}
	.ty-cookie-head h2 {font-size: 19px;}
	.ty-cookie-head .ty-cookie-textlink {display: none;}
	.ty-cookie-card {grid-template-columns: 44px 1fr auto; gap: 12px; padding: 14px;}
	.ty-cookie-icon {width: 44px; height: 44px;}
	.ty-cookie-icon svg {width: 22px; height: 22px;}
	.ty-cookie-body h3 {font-size: 16px;}
	.ty-cookie-always {flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px;}
	.ty-cookie-actions {position: sticky; bottom: -18px; grid-template-columns: 1fr 1fr; padding: 10px 0 14px; background: #ffffff;}
	.ty-cookie-actions .ty-cookie-btn--primary {grid-column: 1 / -1; order: -1;}
	.ty-cookie-close {position: sticky; top: 10px; float: right; width: 40px; height: 40px; margin: 10px 10px -50px 0;}
}

/* Empty search results */
.text-page.ty-no-results {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 980px;
	margin: 40px auto 40px;
	padding: 8px 20px 0;
	box-sizing: border-box;
	background: transparent;
	text-align: center;
	font-family: "Nunito Sans", Roboto, "Noto Sans Thai", Arial, sans-serif;
}
.ty-no-results__art {display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto 10px;}
.ty-no-results .ty-no-results__title {
	margin: 0 0 14px;
	font-size: clamp(22px, 3.2vw, 34px);
	line-height: 1.2;
	font-weight: 800;
	color: #10204a;
	text-align: center;
}
.ty-no-results .ty-no-results__text {
	margin: 0 0 6px;
	font-size: clamp(15px, 1.6vw, 18px);
	line-height: 1.55;
	color: #4a5875;
	text-align: center;
}
/* The generic .text-page rules frame each paragraph: not here. */
.text-page.ty-no-results > p,
.text-page.ty-no-results > h2 {
	width: auto;
	max-width: 760px;
	background: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	border: 0;
	border-radius: 0;
	padding: 0;
}
.text-page.ty-no-results > h2 {text-transform: none; letter-spacing: 0;}
.text-page.ty-no-results > p {margin: 0 auto 6px;}

/* Personal information page (2026-11) */
.ty-account-page {
	width: 100%;
	max-width: 980px;
	margin: 0 auto 48px;
	padding: 0 16px;
	box-sizing: border-box;
	font-family: "Nunito Sans", Roboto, "Noto Sans Thai", Arial, sans-serif;
	color: #1b2b44;
}
.ty-account-page *, .ty-account-page *::before, .ty-account-page *::after {box-sizing: border-box;}
.ty-account-head {display: flex; align-items: center; gap: 16px; margin: 26px 0 22px;}
.ty-account-head__icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #2f80c3;
}
.ty-account-head__icon svg {width: 30px; height: 30px; fill: #ffffff;}
.ty-account-page h1.ty-account-title {margin: 0; padding: 0; font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; color: #102f59; text-align: left;}
.ty-account-head p {margin: 4px 0 0; font-size: 16px; color: #42506b;}
.ty-account-panel {
	margin: 0 0 22px;
	background: #ffffff;
	border: 1px solid #d9e4f0;
	border-radius: 14px;
	overflow: hidden;
}
.ty-account-panel__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 22px;
	background: #e9f1fa;
	border-bottom: 1px solid #d9e4f0;
}
.ty-account-panel__head svg {flex: none; width: 24px; height: 24px; fill: #2f80c3;}
.ty-account-panel__head h2 {margin: 0; font-size: 20px; font-weight: 800; color: #102f59;}
.ty-account-panel__head p {margin: 2px 0 0; font-size: 14px; color: #42506b;}
.ty-account-panel__body {padding: 22px;}
.ty-account-grid {display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px;}
.ty-account-grid .ty-field--full {grid-column: 1 / -1;}
.ty-field {display: flex; flex-direction: column; gap: 6px; min-width: 0;}
.ty-field > label {font-size: 14px; font-weight: 700; color: #2c3e5c;}
.ty-account-page .ty-field input[type="text"],
.ty-account-page .ty-field input[type="email"],
.ty-account-page .ty-field input[type="password"],
.ty-account-page .ty-field select {
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 12px;
	background: #ffffff;
	border: 1px solid #c3d2e4;
	border-radius: 9px;
	font-family: inherit;
	font-size: 15px;
	color: #1b2b44;
}
.ty-account-page .ty-field input:focus, .ty-account-page .ty-field select:focus {border-color: #2f80c3; outline: none; box-shadow: 0 0 0 3px rgba(47, 128, 195, 0.18);}
.ty-account-page .ty-field .form-error {border-color: #d93025;}
.ty-account-check {display: flex; align-items: center; gap: 10px; margin: 2px 0 0; grid-column: 1 / -1;}
.ty-account-check input {width: 18px; height: 18px; margin: 0; accent-color: #2f80c3;}
.ty-account-check label {font-size: 15px; color: #1b2b44; cursor: pointer;}
.ty-account-divider {grid-column: 1 / -1; height: 1px; margin: 10px 0; background: #e2eaf4; border: 0;}
.ty-account-note {grid-column: 1 / -1; margin: 6px 0 0; font-size: 14px; color: #5a6a86;}
.ty-account-page .p-error {grid-column: 1 / -1; margin: 0 0 6px; padding: 10px 12px; background: #fdecee; border-radius: 9px; color: #b3001b; font-size: 14.5px;}
.ty-account-actions {display: flex; justify-content: center; margin: 26px 0 10px;}
.ty-account-page input[type="submit"].ty-account-save {
	display: inline-flex;
	align-items: center;
	width: auto;
	min-width: 300px;
	height: 52px;
	padding: 0 34px;
	background: #2f80c3;
	border: 0;
	border-radius: 10px;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	color: #ffffff;
	cursor: pointer;
}
.ty-account-page input[type="submit"].ty-account-save:hover {background: #246da8;}

/* Display panel: three theme cards */
.ty-theme-panel .ty-account-panel__head {background: #e9f1fa;}
.ty-theme-cards {display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;}
.ty-theme-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 16px;
	background: #ffffff;
	border: 1.5px solid #c9d7e8;
	border-radius: 12px;
	cursor: pointer;
}
.ty-theme-card:hover {border-color: #9db9d6;}
.ty-theme-card input {position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; margin: 0; accent-color: #2f80c3; cursor: pointer;}
.ty-theme-card svg {width: 30px; height: 30px; fill: none; stroke: #2c3e5c; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;}
.ty-theme-card strong {font-size: 16.5px; font-weight: 800; color: #102f59;}
.ty-theme-card span {font-size: 14px; line-height: 1.45; color: #42506b;}
.ty-theme-card.is-active {border-color: #2f80c3; box-shadow: 0 0 0 1.5px #2f80c3 inset;}
.ty-theme-status {min-height: 20px; margin: 10px 0 0; font-size: 14px; color: #1d7a3d;}

@media (max-width: 760px) {
	.ty-account-grid, .ty-theme-cards {grid-template-columns: 1fr;}
	.ty-account-panel__body {padding: 16px;}
	.ty-account-page input[type="submit"].ty-account-save {width: 100%; min-width: 0; justify-content: center;}
}

/* ===== Pages d'information (Aide, Règles, CGU, CGV, Confidentialité) — 2026-11-13 =====
   The HTML is written in Admin › Pages (HTML mode). No inline style: only these classes. */
.text-page > div:has(> .ty-legal) {background: none; box-shadow: none; padding: 0 0 40px; border-radius: 0;}
.ty-legal {--tl-ink: #102f59; --tl-text: #2d3d55; --tl-muted: #5b6b82; --tl-line: #dbe3ec; --tl-soft: #f4f7fb; --tl-accent: #f47708; --tl-blue: #2f80c3;
	max-width: 880px; margin: 0 auto; color: var(--tl-text); font: 400 16px/1.7 var(--ty-font, "Roboto", "Noto Sans Thai", Arial, sans-serif); text-align: left;}
.ty-legal *, .ty-legal *::before, .ty-legal *::after {box-sizing: border-box;}
.ty-legal p {margin: 0 0 12px;}
.ty-legal a {color: var(--tl-blue); text-decoration: underline; text-underline-offset: 2px;}
.ty-legal a:hover {color: var(--tl-accent);}
.ty-legal ul, .ty-legal ol {margin: 0 0 14px; padding-left: 22px;}
.ty-legal ul {list-style: disc outside;}
.ty-legal ol {list-style: decimal outside;}
.ty-legal li {display: list-item;}
.ty-legal-summary h2 {text-transform: none !important; letter-spacing: 0 !important;}
.ty-legal li {margin: 0 0 6px;}
.ty-legal strong {color: var(--tl-ink);}
.ty-legal-meta {display: flex; flex-wrap: wrap; gap: 8px 18px; margin: -8px 0 22px; color: var(--tl-muted); font-size: 14px;}
.ty-legal-meta span::before {content: "•"; margin-right: 8px; color: var(--tl-accent);}
.ty-legal-meta span:first-child::before {content: none;}
.ty-legal-summary {margin: 0 0 22px; padding: 20px 22px; border: 1px solid #f7c99a; border-left: 5px solid var(--tl-accent); border-radius: 12px; background: #fff8f1;}
.ty-legal-summary h2 {margin: 0 0 10px !important; padding: 0 !important; border: 0 !important; font-size: 18px !important; color: var(--tl-ink);}
.ty-legal-summary ul {margin: 0; padding-left: 20px;}
.ty-legal-toc {margin: 0 0 28px; padding: 18px 22px; border: 1px solid var(--tl-line); border-radius: 12px; background: var(--tl-soft);}
.ty-legal-toc p {margin: 0 0 8px; font-weight: 700; color: var(--tl-ink);}
.ty-legal-toc ol {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 28px; margin: 0; padding-left: 22px;}
.ty-legal-toc li {margin: 0;}
.ty-legal-toc a {text-decoration: none;}
.ty-legal-toc a:hover {text-decoration: underline;}
.ty-legal-section {scroll-margin-top: 110px; margin: 0 0 14px; padding: 22px 24px 12px; border: 1px solid var(--tl-line); border-radius: 12px; background: #fff;}
.ty-legal-section h2 {display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; font-size: 20px !important; line-height: 1.35; color: var(--tl-ink); text-transform: none;}
.ty-legal-num {flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 15px; background: #e8f1fa; color: var(--tl-blue); font-size: 15px; font-weight: 700;}
.ty-legal-section h3 {margin: 16px 0 8px; font-size: 16.5px; color: var(--tl-ink);}
.ty-legal-note, .ty-legal-warning {margin: 12px 0 14px; padding: 12px 16px; border-radius: 10px; font-size: 15px;}
.ty-legal-note {border: 1px solid #c9dff3; background: #f0f7fd;}
.ty-legal-warning {border: 1px solid #f3c7c7; background: #fdf2f2;}
.ty-legal-steps {counter-reset: tlstep; list-style: none; padding-left: 0 !important;}
.ty-legal-steps li {counter-increment: tlstep; position: relative; padding-left: 42px; min-height: 30px; margin-bottom: 10px;}
.ty-legal-steps li::before {content: counter(tlstep); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--tl-accent); color: #fff; font-weight: 700; text-align: center; line-height: 30px;}
.ty-legal-faq {margin: 0 0 10px; border: 1px solid var(--tl-line); border-radius: 10px; background: #fff;}
.ty-legal-faq summary {position: relative; padding: 14px 44px 14px 16px; font-weight: 600; color: var(--tl-ink); cursor: pointer; list-style: none;}
.ty-legal-faq summary::-webkit-details-marker {display: none;}
.ty-legal-faq summary::after {content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--tl-accent);}
.ty-legal-faq[open] summary::after {content: "−";}
.ty-legal-faq > div {padding: 0 16px 6px;}
.ty-legal-table {width: 100%; margin: 4px 0 14px; border-collapse: collapse; font-size: 15px;}
.ty-legal-table th, .ty-legal-table td {padding: 9px 10px; border: 1px solid var(--tl-line); vertical-align: top; text-align: left;}
.ty-legal-table th {background: var(--tl-soft); color: var(--tl-ink);}
.ty-legal-related {display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 26px 0 0;}
.ty-legal-related a {display: block; padding: 14px 16px; border: 1px solid var(--tl-line); border-radius: 12px; background: #fff; color: var(--tl-ink); font-weight: 600; text-decoration: none;}
.ty-legal-related a::after {content: " →"; color: var(--tl-accent);}
.ty-legal-related a:hover {border-color: var(--tl-accent); color: var(--tl-accent);}
.ty-legal-contact {display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 0; padding: 18px 22px; border-radius: 12px; background: var(--tl-ink); color: #fff;}
.ty-legal-contact p {margin: 0; color: #fff;}
.ty-legal-contact a {display: inline-block; padding: 10px 18px; border-radius: 22px; background: var(--tl-accent); color: #fff; font-weight: 700; text-decoration: none;}
.ty-legal-contact a:hover {background: #fff; color: var(--tl-ink);}
.ty-legal-todo {padding: 0 4px; border-radius: 4px; background: #fff1a8; color: #6b4e00; font-weight: 700;}
@media (max-width: 700px) {
	.ty-legal-toc ol {grid-template-columns: 1fr;}
	.ty-legal-section {padding: 18px 16px 8px;}
	.ty-legal-section h2 {font-size: 18px !important;}
	.ty-legal-table, .ty-legal-table tbody, .ty-legal-table tr, .ty-legal-table td, .ty-legal-table th {display: block; width: 100%;}
	.ty-legal-table tr {margin-bottom: 8px;}
}
html[data-theme="dark"] .ty-legal {--tl-ink: #e8eef7; --tl-text: #c9d4e3; --tl-muted: #9fb0c6; --tl-line: #34445a; --tl-soft: #1f2a3a;}
html[data-theme="dark"] .ty-legal-section, html[data-theme="dark"] .ty-legal-faq, html[data-theme="dark"] .ty-legal-related a {background: #18212e;}
html[data-theme="dark"] .ty-legal-summary {background: #2a2116; border-color: #6b4a23;}
html[data-theme="dark"] .ty-legal-note {background: #16283d; border-color: #2d4f73;}
html[data-theme="dark"] .ty-legal-warning {background: #3a1d1d; border-color: #6b3434;}
html[data-theme="dark"] .ty-legal-num {background: #1f3550; color: #8cc4f5;}
html[data-theme="dark"] .ty-legal-contact {background: #0f1a29;}

/* Popup promotion : image cliquable */
.sp-promotion-image-link{display:block;margin:0 auto 18px;border-radius:6px;cursor:pointer}
.sp-promotion-image-link .sp-promotion-image,.sp-promotion-content .sp-promotion-image-link img{margin-bottom:0}
.sp-promotion-content .sp-promotion-image-link{margin:14px auto}
.sp-promotion-image-link:focus-visible{outline:3px solid #f60;outline-offset:3px}
.sp-promotion-close{z-index:2}
