/* ======================================================================
   Reseñas de destinos y eventos — resources/views/partials/_resenas*.blade.php
   ======================================================================
   Todo cuelga de .tur-rs y de las variables --rs-* (el tema oscuro solo las cambia). No depende de
   los estilos de la plantilla Listeo (.comments, .rating-overview, .leave-rating...), que pisaban
   inputs y botones. Pensado primero para celular. La lógica está en public/js/tur-resenas.js.
   ====================================================================== */

.tur-rs,
.tur-stars {
	--rs-star-on-a: #ffd45c;
	--rs-star-on-b: #ff9f1c;
	--rs-star-off: #dfe2e8;
	--rs-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3.4 2.5 5.4 5.9.7-4.4 4.1 1.1 5.8-5.1-2.9-5.1 2.9 1.1-5.8-4.4-4.1 5.9-.7L12 3.4Z' fill='%23000' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
}
html[data-theme="dark"] .tur-rs,
html[data-theme="dark"] .tur-stars { --rs-star-off: #3a4254; }

.tur-rs {
	--rs-surface: #ffffff;
	--rs-surface-2: #f4f5f8;
	--rs-line: #e6e8ec;
	--rs-line-strong: #cfd4dc;
	--rs-text: #1d2330;
	--rs-muted: #5b6475;
	--rs-faint: #8a93a3;
	--rs-accent: #dc1238;
	--rs-accent-hover: #c40f32;
	--rs-accent-soft: rgba(249, 25, 66, 0.08);
	--rs-mia: rgba(249, 25, 66, 0.035);
	--rs-mia-borde: rgba(249, 25, 66, 0.22);
	--rs-ring: rgba(249, 25, 66, 0.26);
	--rs-ok: #067647;
	--rs-ok-bg: #ecfdf3;
	--rs-bad: #b42318;
	--rs-bad-bg: #fef3f2;
	--rs-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
	--rs-borde: var(--rs-line);
	--rs-borde-campo: var(--rs-line-strong);
	--rs-sombra-campo: none;

	margin: 56px 0 0;
	min-width: 0;
	max-width: 100%;
	color: var(--rs-text);
	font-size: 15px;
	line-height: 1.55;
}
html[data-theme="dark"] .tur-rs {
	--rs-surface: var(--tur-surface, #1a1d24);
	--rs-surface-2: var(--tur-surface-2, #262c37);
	--rs-line: var(--tur-border, #333b49);
	--rs-line-strong: #4a566e;
	--rs-text: var(--tur-text, #eceff4);
	--rs-muted: var(--tur-text-muted, #a3adbb);
	--rs-faint: #7d8996;
	--rs-accent: #dc1238;
	--rs-accent-soft: rgba(249, 25, 66, 0.16);
	--rs-mia: rgba(249, 25, 66, 0.08);
	--rs-mia-borde: rgba(255, 107, 133, 0.35);
	--rs-ring: rgba(255, 107, 133, 0.34);
	--rs-ok: #7ee2a8;
	--rs-ok-bg: rgba(126, 226, 168, 0.12);
	--rs-bad: #ff8a80;
	--rs-bad-bg: rgba(255, 138, 128, 0.12);
	--rs-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 8px 22px rgba(0, 0, 0, 0.3);
	--rs-borde: transparent;
	--rs-borde-campo: transparent;
	--rs-sombra-campo: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.tur-rs *, .tur-rs *::before, .tur-rs *::after { box-sizing: border-box; }
.tur-rs [hidden] { display: none !important; }
.tur-rs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tur-rs-titulo { margin: 0 0 18px; padding: 0; font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--rs-text); }

/* ---- Estrellas de solo lectura ------------------------------------------ */
.tur-stars {
	--s: 18px;
	display: inline-block;
	flex: none;
	width: calc(var(--s) * 5);
	height: var(--s);
	vertical-align: middle;
	background:
		linear-gradient(90deg, transparent var(--p, 0%), var(--rs-star-off) var(--p, 0%)),
		linear-gradient(135deg, var(--rs-star-on-a), var(--rs-star-on-b));
	-webkit-mask: var(--rs-star) 0 0 / var(--s) var(--s) repeat-x;
	mask: var(--rs-star) 0 0 / var(--s) var(--s) repeat-x;
}
.tur-stars.sm { --s: 15px; }
.tur-stars.lg { --s: 24px; }

/* ---- Resumen --------------------------------------------------------------- */
.tur-rs-resumen {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 22px;
	padding: 20px;
	margin: 0 0 22px;
	background: var(--rs-surface);
	border: 1px solid var(--rs-borde);
	border-radius: 20px;
	box-shadow: var(--rs-shadow);
}
.tur-rs-promedio { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; align-content: center; gap: 4px; }
.tur-rs-promedio-num { font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--rs-text); }
.tur-rs-total { font-size: 13px; color: var(--rs-muted); }
.tur-rs-barras { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.tur-rs-barra {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr) 30px;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 28px;
	margin: 0;
	padding: 2px 8px;
	font: inherit;
	font-size: 13px;
	color: var(--rs-muted);
	background: transparent;
	border: 1px solid transparent;
	border-radius: 10px;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.tur-rs-barra:hover:not(:disabled) { background: var(--rs-surface-2); }
.tur-rs-barra:disabled { opacity: 0.45; cursor: default; }
.tur-rs-barra[aria-pressed="true"] { background: var(--rs-accent-soft); border-color: var(--rs-accent); color: var(--rs-text); }
.tur-rs-barra-num { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; color: var(--rs-text); }
.tur-rs-barra-num svg { color: var(--rs-star-on-b); }
.tur-rs-barra-pista { height: 8px; overflow: hidden; background: var(--rs-star-off); border-radius: 4px; }
.tur-rs-barra-pista i {
	display: block;
	width: var(--w, 0%);
	height: 100%;
	background: linear-gradient(90deg, var(--rs-star-on-a), var(--rs-star-on-b));
	border-radius: 4px;
	transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.tur-rs-barra-cuenta { text-align: right; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) {
	.tur-rs-resumen { grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 34px; padding: 24px 28px; }
}

/* ---- Controles de la lista ---------------------------------------------------- */
.tur-rs-controles { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
.tur-rs-orden select {
	height: 40px;
	margin: 0;
	padding: 0 38px 0 16px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--rs-text);
	background: var(--rs-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a93a3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
	border: 1px solid var(--rs-borde);
	border-radius: 999px;
	box-shadow: var(--rs-shadow);
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}
.tur-rs-orden select:focus-visible { outline: none; border-color: var(--rs-accent); box-shadow: 0 0 0 3px var(--rs-ring); }
.tur-rs-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 14px;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	color: var(--rs-accent);
	background: var(--rs-accent-soft);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
}
html[data-theme="dark"] .tur-rs-chip { color: #ff7a92; }

/* ---- Lista y tarjetas ----------------------------------------------------------- */
.tur-rs-lista { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.tur-rs-item { min-width: 0; margin: 0; padding: 0; list-style: none; transition: opacity 0.28s ease, transform 0.28s ease; }
.tur-rs-tarjeta {
	min-width: 0;
	max-width: 100%;
	padding: 18px;
	background: var(--rs-surface);
	border: 1px solid var(--rs-borde);
	border-radius: 20px;
	box-shadow: var(--rs-shadow);
}
.tur-rs-item.es-mia .tur-rs-tarjeta { background: linear-gradient(0deg, var(--rs-mia), var(--rs-mia)), var(--rs-surface); border-color: var(--rs-mia-borde); }

.tur-rs-cabecera { display: flex; align-items: center; gap: 12px; }
.tur-rs-avatar { flex: none; display: block; width: 48px; height: 48px; overflow: hidden; border-radius: 50%; background: var(--rs-surface-2); box-shadow: 0 0 0 2px var(--rs-surface), 0 0 0 3px var(--rs-line); }
.tur-rs-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
a.tur-rs-avatar { transition: transform 0.18s ease; }
a.tur-rs-avatar:hover { transform: scale(1.05); }
.tur-rs-quien { flex: 1; min-width: 0; }
.tur-rs-nombre-fila { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.tur-rs-nombre { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--rs-text); text-decoration: none; overflow-wrap: anywhere; }
a.tur-rs-nombre:hover { color: var(--rs-accent); text-decoration: underline; text-underline-offset: 3px; }
.tur-rs-bandera { display: block; width: 24px; height: 24px; margin: -3px 0; object-fit: contain; border-radius: 0; box-shadow: none; }
.tur-rs-mia { padding: 1px 9px; font-size: 11.5px; font-weight: 700; color: var(--rs-accent); background: var(--rs-accent-soft); border-radius: 999px; }
html[data-theme="dark"] .tur-rs-mia { color: #ff7a92; }
.tur-rs-sub time { white-space: nowrap; }
.tur-rs-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-top: 2px; font-size: 13px; color: var(--rs-muted); }
.tur-rs-acciones-mia { display: flex; flex: none; gap: 2px; }
.tur-rs-icono-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	color: var(--rs-muted);
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.tur-rs-icono-btn:hover { background: var(--rs-surface-2); color: var(--rs-text); }
.tur-rs-icono-btn--peligro:hover { background: var(--rs-bad-bg); color: var(--rs-bad); }

.tur-rs-cuerpo { margin-top: 12px; }
.tur-rs-texto { margin: 0; font-size: 15px; line-height: 1.65; color: var(--rs-text); white-space: pre-line; overflow-wrap: anywhere; }
.tur-rs-texto.is-recortado { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tur-rs-vermas { margin: 4px 0 0; padding: 0; min-height: 32px; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--rs-accent); background: none; border: 0; cursor: pointer; }
html[data-theme="dark"] .tur-rs-vermas { color: #ff7a92; }
.tur-rs-galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; margin-top: 12px; max-width: 520px; }
.tur-rs-galeria a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--rs-surface-2); }
.tur-rs-galeria img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.tur-rs-galeria a:hover img { transform: scale(1.06); }

.tur-rs-pie { margin-top: 12px; }
.tur-rs-util {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 36px;
	margin: 0;
	padding: 0 14px;
	font: inherit;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--rs-muted);
	background: transparent;
	border: 1px solid var(--rs-borde);
	border-radius: 999px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.tur-rs-util b { font-weight: 700; font-variant-numeric: tabular-nums; padding-left: 7px; border-left: 1px solid var(--rs-line); }
.tur-rs-util:hover { color: var(--rs-text); border-color: var(--rs-borde-campo); text-decoration: none; }
.tur-rs-util.is-activo { color: var(--rs-accent); background: var(--rs-accent-soft); border-color: transparent; }
html[data-theme="dark"] .tur-rs-util.is-activo { color: #ff7a92; }
.tur-rs-util.is-activo svg { fill: currentColor; fill-opacity: 0.18; }
.tur-rs-util.is-pop svg { animation: tur-rs-pulgar 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes tur-rs-pulgar { 0% { transform: scale(1) rotate(0); } 35% { transform: scale(1.4) rotate(-14deg); } 100% { transform: scale(1) rotate(0); } }

/* Entrada y salida de tarjetas */
.tur-rs-item.is-nueva { animation: tur-rs-entra 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
.tur-rs-item.is-nueva .tur-rs-tarjeta { animation: tur-rs-destello 2.4s ease-out; }
@keyframes tur-rs-entra { from { opacity: 0; transform: translateY(-14px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes tur-rs-destello { 0% { box-shadow: 0 0 0 3px var(--rs-ring); } 100% { box-shadow: var(--rs-shadow); } }
.tur-rs-item.is-saliendo { opacity: 0; transform: translateX(14px); }
.tur-rs-item.is-actualizada .tur-rs-tarjeta { animation: tur-rs-destello 1.6s ease-out; }

.tur-rs-vacio,
.tur-rs-invitacion,
.tur-rs-gracias {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding: 30px 22px;
	text-align: center;
	color: var(--rs-muted);
	background: var(--rs-surface);
	border: 1px dashed var(--rs-borde-campo);
	border-radius: 20px;
}
.tur-rs-vacio strong,
.tur-rs-invitacion strong,
.tur-rs-gracias strong { font-size: 17px; color: var(--rs-text); }
.tur-rs-vacio .tur-rs-btn,
.tur-rs-invitacion .tur-rs-btn,
.tur-rs-gracias .tur-rs-btn { margin-top: 10px; }
.tur-rs-sin-resultados { margin: 0; padding: 22px; text-align: center; color: var(--rs-muted); }
.tur-rs-mas { display: flex; justify-content: center; margin-top: 16px; }
.tur-rs-invitacion-icono,
.tur-rs-gracias-icono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 4px;
	border-radius: 50%;
	color: var(--rs-accent);
	background: var(--rs-accent-soft);
}
.tur-rs-gracias { border-style: solid; border-color: var(--rs-ok-bg); background: var(--rs-ok-bg); }
.tur-rs-gracias-icono { color: var(--rs-ok); background: var(--rs-surface); }
.tur-rs-gracias:not(.is-fija) { animation: tur-rs-entra 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.tur-rs-gracias:not(.is-fija) .tur-rs-gracias-icono { animation: tur-rs-pop 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
@keyframes tur-rs-pop { from { transform: scale(0.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---- Formulario (agregar y modificar) ---------------------------------------------- */
.tur-rs-formulario { margin-top: 30px; scroll-margin-top: 110px; }
.tur-rs-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	padding: 22px;
	background: var(--rs-surface);
	border: 1px solid var(--rs-borde);
	border-radius: 20px;
	box-shadow: var(--rs-shadow);
}
.tur-rs-form--editar { margin-top: 12px; padding: 0; border: 0; box-shadow: none; background: transparent; gap: 16px; }
.tur-rs-form-cab h4 { margin: 0; padding: 0; font-size: 19px; font-weight: 800; color: var(--rs-text); }
.tur-rs-form-cab p { margin: 2px 0 0; font-size: 14px; color: var(--rs-muted); }
.tur-rs-campo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.tur-rs-etiqueta { padding: 0; font-size: 14px; font-weight: 700; color: var(--rs-text); }
.tur-rs-req { color: var(--rs-accent); }
.tur-rs-opc { font-weight: 500; color: var(--rs-faint); }

/* Estrellas para elegir */
.tur-rs-elegir-fila { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.tur-rs-input-estrellas { display: inline-flex; }
/* Los radios reales quedan ocultos (los estilos de la plantilla les devolvían el punto azul del navegador). */
html body .tur-rs .tur-rs-input-estrellas input[type="radio"] {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	pointer-events: none;
}
.tur-rs-input-estrellas label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	cursor: pointer;
	border-radius: 12px;
	-webkit-tap-highlight-color: transparent;
}
.tur-rs-estrella {
	display: block;
	width: 34px;
	height: 34px;
	background: var(--rs-star-off);
	-webkit-mask: var(--rs-star) center / contain no-repeat;
	mask: var(--rs-star) center / contain no-repeat;
	transition: background-color 0.15s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.tur-rs-input-estrellas label.is-on .tur-rs-estrella { background: linear-gradient(135deg, var(--rs-star-on-a), var(--rs-star-on-b)); }
.tur-rs-input-estrellas label:hover .tur-rs-estrella { transform: scale(1.12); }
.tur-rs-input-estrellas label.is-pop .tur-rs-estrella { animation: tur-rs-salto 0.55s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: var(--d, 0s); }
@keyframes tur-rs-salto { 0% { transform: scale(1); } 40% { transform: scale(1.4) rotate(-10deg); } 100% { transform: scale(1) rotate(0); } }
.tur-rs-input-estrellas input:focus-visible + label { outline: 2px solid var(--rs-accent); outline-offset: 0; }
.tur-rs-etiqueta-viva { min-width: 90px; font-size: 14px; font-weight: 700; color: #b54708; }
html[data-theme="dark"] .tur-rs-etiqueta-viva { color: #fec84b; }

/* Texto */
.tur-rs-textarea {
	display: block;
	width: 100%;
	min-height: 108px;
	max-height: 320px;
	margin: 0;
	padding: 13px 16px;
	font: inherit;
	font-size: 16px;
	line-height: 1.55;
	color: var(--rs-text);
	background: var(--rs-surface);
	border: 1px solid var(--rs-borde-campo);
	border-radius: 16px;
	box-shadow: none;
	resize: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tur-rs-textarea::placeholder { color: var(--rs-faint); opacity: 1; }
.tur-rs-textarea:focus { outline: none; border-color: var(--rs-accent); box-shadow: 0 0 0 3px var(--rs-ring); }
.tur-rs-contador { margin: -2px 4px 0; text-align: right; font-size: 12px; color: var(--rs-faint); font-variant-numeric: tabular-nums; }
.tur-rs-contador.es-limite { color: var(--rs-bad); font-weight: 700; }

/* Fotos */
.tur-rs-subir { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.tur-rs-agregar-fotos {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	justify-self: start;
	height: 44px;
	margin: 0;
	padding: 0 18px;
	font: inherit;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--rs-text);
	background: transparent;
	border: 1.5px dashed var(--rs-borde-campo);
	border-radius: 999px;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease;
}
.tur-rs-agregar-fotos:hover:not(:disabled) { border-color: var(--rs-accent); color: var(--rs-accent); }
.tur-rs-agregar-fotos:disabled { opacity: 0.5; cursor: default; }
.tur-rs-ayuda { margin: 0; font-size: 12.5px; color: var(--rs-faint); }
.tur-rs-minis { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tur-rs-minis:empty { display: none; }
.tur-rs-mini { position: relative; width: 76px; height: 76px; overflow: hidden; border-radius: 14px; background: var(--rs-surface-2); border: 1px solid var(--rs-borde); }
.tur-rs-mini img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tur-rs-mini-estado { position: absolute; inset: auto 0 0 0; padding: 2px 4px; font-size: 11px; font-weight: 700; text-align: center; color: #fff; background: rgba(16, 24, 40, 0.74); }
.tur-rs-mini.es-error { border-color: var(--rs-bad); }
.tur-rs-mini.es-error .tur-rs-mini-estado { background: var(--rs-bad); }
.tur-rs-mini-quitar {
	position: absolute;
	top: 4px;
	right: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	font-size: 15px;
	line-height: 1;
	color: #fff;
	background: rgba(16, 24, 40, 0.74);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}
.tur-rs-mini-quitar::after { content: ""; position: absolute; inset: -8px; }
.tur-rs-mini-quitar:hover { background: var(--rs-bad); }

.tur-rs-error { margin: 0; padding: 10px 14px; font-size: 13.5px; font-weight: 600; color: var(--rs-bad); background: var(--rs-bad-bg); border-radius: 12px; }
.tur-rs-campo.es-invalido .tur-rs-textarea { border-color: var(--rs-bad); }

/* Botones */
.tur-rs-acciones { display: flex; flex-wrap: wrap; gap: 10px; }
.tur-rs-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	margin: 0;
	padding: 0 22px;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	background: var(--rs-accent);
	border: 1.5px solid transparent;
	border-radius: 999px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.tur-rs-btn:hover { color: #fff; background: var(--rs-accent-hover); text-decoration: none; }
.tur-rs-btn:active { transform: scale(0.98); }
.tur-rs-btn--suave { color: var(--rs-text); background: var(--rs-surface-2); }
.tur-rs-btn--suave:hover { color: var(--rs-text); background: var(--rs-line); }
.tur-rs-btn--peligro { background: var(--rs-bad); }
.tur-rs-btn:disabled { opacity: 0.7; cursor: progress; }
.tur-rs-btn:focus-visible { outline: 2px solid var(--rs-accent); outline-offset: 2px; }
.tur-rs-spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: tur-rs-gira 0.7s linear infinite; }
.is-enviando .tur-rs-spinner { display: inline-block; }
@keyframes tur-rs-gira { to { transform: rotate(360deg); } }
@media (max-width: 520px) {
	.tur-rs-acciones .tur-rs-btn { flex: 1 1 auto; }
	.tur-rs-form { padding: 18px; }
}

/* Confirmar eliminación (en la misma tarjeta) */
.tur-rs-confirmar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 12px; padding: 14px 16px; background: var(--rs-bad-bg); border-radius: 14px; }
.tur-rs-confirmar strong { color: var(--rs-text); }
.tur-rs-confirmar span { font-size: 13.5px; color: var(--rs-muted); }

/* Serpentinas */
.tur-rs-confeti { position: fixed; inset: 0; z-index: 9999; width: 100vw; height: 100vh; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
	.tur-rs *, .tur-rs *::before, .tur-rs *::after { animation: none !important; transition: none !important; }
}

/* Mensaje breve dentro de la tarjeta tras guardar cambios */
.tur-rs-aviso-ok { margin: 10px 0 0; padding: 8px 14px; font-size: 13.5px; font-weight: 700; color: var(--rs-ok); background: var(--rs-ok-bg); border-radius: 12px; animation: tur-rs-entra 0.4s cubic-bezier(0.16, 1, 0.3, 1); }

/* Calificación en el encabezado de la página (enlaza a las reseñas) */
.tur-rs-resumen-corto { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: inherit; text-decoration: none; }
.tur-rs-resumen-corto small { font-size: 13px; font-weight: 500; opacity: 0.7; }
.tur-rs-resumen-corto:hover { color: inherit; text-decoration: none; }
.tur-rs-resumen-corto:hover .tur-stars { filter: brightness(1.08); }

/* ---- Modo oscuro: sin bordes de 1 px; las cajas se separan con sombra, igual que en claro ---- */
html[data-theme="dark"] .tur-rs-tarjeta,
html[data-theme="dark"] .tur-rs-resumen,
html[data-theme="dark"] .tur-rs-form,
html[data-theme="dark"] .tur-rs-vacio,
html[data-theme="dark"] .tur-rs-invitacion,
html[data-theme="dark"] .tur-rs-gracias { border-color: transparent; box-shadow: var(--rs-shadow); }
html[data-theme="dark"] .tur-rs-item.es-mia .tur-rs-tarjeta { border-color: transparent; }
html[data-theme="dark"] .tur-rs-form--editar { box-shadow: none; }
html[data-theme="dark"] .tur-rs-textarea,
html[data-theme="dark"] .tur-rs-orden select,
html[data-theme="dark"] .tur-rs-util,
html[data-theme="dark"] .tur-rs-agregar-fotos,
html[data-theme="dark"] .tur-rs-mini { background-color: var(--rs-surface-2); box-shadow: var(--rs-sombra-campo); }
html[data-theme="dark"] .tur-rs-textarea:focus { box-shadow: 0 0 0 3px var(--rs-ring), var(--rs-sombra-campo); }
html[data-theme="dark"] .tur-rs-util b { border-left-color: rgba(255, 255, 255, 0.14); }
html[data-theme="dark"] .tur-rs-util.is-activo { background-color: var(--rs-accent-soft); box-shadow: none; }
html[data-theme="dark"] .tur-rs-avatar { box-shadow: 0 0 0 2px var(--rs-surface); }
html[data-theme="dark"] .tur-rs-bandera { box-shadow: none; }
