/* Base, variables y estructura general. */

:root {
	color-scheme: dark;
	--bg: #0c101a;
	--panel: #131925;
	--line: #283140;
	--muted: #a8b1c1;
	--ink: #f0efe9;
	--gold: #d8b982;
	--blue: #6aa7df;
	--green: #99d6b4;
	--red: #d98080;
	--accent: #e7abb6;
	--primary: #c7495f;
	font-family: Georgia, serif;
	background: var(--bg);
	color: var(--ink);
	font-size: 15px;
}
* {
	box-sizing: border-box;
}
body {
	background: radial-gradient(ellipse at 80% 20%, #17263955, transparent 55%), var(--bg);
}
a {
	color: inherit;
	text-decoration: none;
}
button,
input,
select,
textarea {
	font: inherit;
}
button,
a,
input,
select,
textarea {
	outline-offset: 5px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--gold);
}
button,
.button {
	cursor: pointer;
	min-height: 44px;
}
.skip {
	position: absolute;
	left: 15px;
	top: -100px;
	z-index: 10;
	background: var(--gold);
	color: #111;
	padding: 15px;
}
.skip:focus {
	top: 10px;
}
header {
	display: flex;
	align-items: center;
	gap: 34px;
	padding: 22px 4.5%;
	border-bottom: 1px solid var(--line);
	background: #0c101ae8;
}
.brand {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: Georgia, serif;
	font-size: 15px;
	letter-spacing: 2px;
}
.brand-sub {
	display: block;
	font-size: 10px;
	letter-spacing: 3.7px;
	margin-top: 5px;
	color: var(--gold);
}
.brand-mark {
	font-size: 35px;
	color: var(--gold);
	position: relative;
	font-style: italic;
	border-left: 1px solid var(--gold);
	padding-left: 8px;
}
.brand-mark span {
	font-size: 23px;
	margin-left: -10px;
}
nav {
	display: flex;
	gap: 23px;
	margin: auto;
	font-size: 13px;
	color: var(--muted);
}
nav a {
	padding: 12px 0;
	border-bottom: 1px solid transparent;
}
nav a:hover,
nav a[aria-current] {
	color: var(--ink);
	border-color: var(--gold);
}
.button,
button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 13px 20px;
	border: 1px solid var(--gold);
	background: var(--gold);
	color: #131722;
	font-weight: 600;
	border-radius: 4px;
	transition:
		background 0.2s,
		transform 0.2s,
		box-shadow 0.2s;
}
.button:hover,
button:hover {
	background: #ecd2a5;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.secondary {
	background: transparent;
	color: var(--ink);
	border-color: #3b4659;
}
.secondary:hover {
	background: #243046;
}
.login {
	font-size: 12px;
	white-space: nowrap;
}
.menu {
	display: none;
}
main {
	max-width: 1440px;
	margin: auto;
	min-height: 70vh;
	padding: 0 6% 85px;
}
.hero {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 30px;
	align-items: center;
	padding: 92px 0 70px;
	min-height: 540px;
}
.hero h1 {
	font-family: Georgia, 'Times New Roman', serif;
	font-weight: 400;
	letter-spacing: -2px;
	font-size: clamp(42px, 5.6vw, 79px);
	line-height: 1.05;
	margin: 24px 0;
}
.hero p {
	max-width: 480px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--muted);
}
.actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 30px;
}
.actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 30px;
}
.hero-art {
	position: relative;
	height: 355px;
	display: grid;
	place-items: center;
	isolation: isolate;
	background: radial-gradient(circle, #39618a25, transparent 68%);
}
.orbit {
	position: absolute;
	width: 300px;
	height: 300px;
	border: 1px solid #b89a623d;
	border-radius: 50%;
	transform: rotate(-25deg);
}
.orbit:after {
	content: '';
	position: absolute;
	inset: 25px;
	border: 1px solid #b89a6229;
	transform: rotate(45deg);
}
.hero-monogram {
	font-family: Georgia, serif;
	font-size: 125px;
	font-style: italic;
	color: #d8b982;
	text-shadow: 0 0 65px #669bd866;
	letter-spacing: -23px;
	padding-right: 23px;
}
.art-label {
	position: absolute;
	bottom: 0;
	font-size: 9px;
	letter-spacing: 4px;
	color: var(--muted);
}
.facts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--line);
	border-radius: 6px;
	background: #131925a6;
}
.fact {
	padding: 24px 28px;
	border-right: 1px solid var(--line);
}
.fact:last-child {
	border: 0;
}
.label {
	font-size: 10px;
	letter-spacing: 1.7px;
	text-transform: uppercase;
	color: var(--muted);
	display: block;
	margin-bottom: 10px;
}
.fact strong {
	font-size: 18px;
	font-weight: 400;
}
.fact small {
	color: var(--muted);
	display: block;
	margin-top: 6px;
	font-size: 11px;
}
.hero h1 {
	user-select: none;
}
.title-word.pact-fall {
	display: inline-block;
	transform-origin: 10% 100%;
	animation: pact-fall 1.1s cubic-bezier(0.55, 0, 0.9, 0.45) forwards;
}
.title-word.pact-word {
	display: inline-block;
	color: var(--gold);
	animation: pact-rise 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes pact-fall {
	20% {
		transform: rotate(-4deg);
	}
	100% {
		transform: translateY(70vh) rotate(28deg);
		opacity: 0;
		filter: blur(2px);
	}
}
@keyframes pact-rise {
	from {
		transform: translateY(-0.6em) scale(1.25);
		opacity: 0;
		text-shadow: 0 0 0 transparent;
	}
	60% {
		text-shadow: 0 0 28px var(--gold);
	}
	to {
		transform: none;
		opacity: 1;
		text-shadow: 0 0 10px #0000;
	}
}
@media (prefers-reduced-motion: reduce) {
	.title-word.pact-word {
		animation: none;
	}
}
.launch-countdown {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 18px 42px;
	margin: 0 0 34px;
	padding: 26px 28px;
	border: 1px solid var(--line);
	border-top: 2px solid var(--gold);
	border-bottom: 2px solid var(--gold);
	border-radius: 6px;
	background: radial-gradient(ellipse at center, #d8b98214, transparent 70%), var(--panel);
	text-align: center;
}
.launch-copy h2 {
	margin: 6px 0;
	font-family: Georgia, 'Times New Roman', serif;
	font-weight: 400;
	font-size: clamp(19px, 2.2vw, 25px);
}
.launch-copy p {
	margin: 0;
	color: var(--muted);
	font-size: 12px;
}
.launch-timer {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.launch-timer span {
	display: grid;
	justify-items: center;
	min-width: 62px;
}
.launch-timer b {
	font-family: Georgia, 'Times New Roman', serif;
	font-weight: 400;
	font-size: clamp(34px, 4.4vw, 48px);
	line-height: 1;
	color: var(--gold);
	font-variant-numeric: tabular-nums;
}
.launch-timer small,
.launch-timer i {
	color: var(--muted);
}
.launch-timer small {
	margin-top: 8px;
	font-size: 10px;
	letter-spacing: 1.7px;
	text-transform: uppercase;
}
.launch-timer i {
	font-style: normal;
	font-size: 28px;
	line-height: 1.4;
}
.launch-countdown.is-live .launch-timer {
	display: none;
}
@media (max-width: 560px) {
	.launch-timer {
		gap: 4px;
	}
	.launch-timer span {
		min-width: 50px;
	}
}
.section {
	margin-top: 70px;
}
.section-head {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 15px;
	margin-bottom: 25px;
}
.section-head h2 {
	font-family: Georgia, serif;
	font-size: 32px;
	font-weight: 400;
	margin-bottom: 0;
	line-height: 1.2;
}
.section-head a {
	font-size: 12px;
	color: var(--gold);
}
.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.card {
	padding: 27px;
	background: linear-gradient(140deg, #192230, #111722);
	border: 1px solid var(--line);
	border-radius: 7px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.card h3 {
	font-family: Georgia, serif;
	font-weight: 400;
	font-size: 24px;
	margin: 14px 0;
}
.card p {
	font-size: 13px;
	margin-bottom: 8px;
}
.card-number {
	font-family: Georgia, serif;
	color: var(--gold);
	font-size: 21px;
}
.banner {
	border-left: 2px solid var(--gold);
	padding: 30px 35px;
	background: linear-gradient(90deg, #28304266, transparent);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-top: 50px;
}
.banner h2 {
	font-family: Georgia, serif;
	font-weight: 400;
	font-size: 29px;
	margin-bottom: 10px;
	line-height: 1.3;
}
.banner p {
	margin: 0;
	line-height: 1.7;
	color: var(--muted);
}
.page-title {
	padding-top: 65px;
	max-width: 760px;
}
.page-title h1 {
	font-size: 50px;
}
.empty {
	text-align: center;
	padding: 60px 25px;
	border: 1px dashed #3c4658;
	border-radius: 6px;
	background: #151c2933;
}
.empty h3 {
	font-family: Georgia, serif;
	font-size: 24px;
	font-weight: 400;
	margin-bottom: 15px;
}
.empty p {
	max-width: 520px;
	margin: 0 auto;
	line-height: 1.7;
	color: var(--muted);
}
.filters {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin: 25px 0;
}
input,
select,
textarea {
	background: #0d131e;
	border: 1px solid #3b4658;
	color: var(--ink);
	border-radius: 4px;
	padding: 12px;
	width: 100%;
}
textarea {
	min-height: 100px;
	resize: vertical;
}
.filters input,
.filters select {
	width: auto;
	flex: 1;
	min-width: 150px;
}
label {
	display: block;
	font-size: 13px;
	color: #d5d9e1;
	margin-bottom: 16px;
}
label input,
label select,
label textarea {
	display: block;
	margin-top: 8px;
}
input[type='checkbox'] {
	width: auto;
	display: inline;
	margin-right: 9px;
}
.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 20px;
}
.wide {
	grid-column: 1/-1;
}
.form {
	max-width: 850px;
}
.form p {
	font-size: 13px;
}
.pill {
	display: inline-block;
	border: 1px solid #364457;
	color: #aebed3;
	padding: 5px 9px;
	font-size: 10px;
	border-radius: 20px;
}
.pill.gold {
	color: var(--gold);
	border-color: #776044;
}
.muted {
	color: var(--muted);
}
.error {
	border-left: 3px solid #d98080;
	padding: 18px;
	background: #4a282833;
}
.table-wrap {
	overflow: auto;
}
table {
	border-collapse: collapse;
	width: 100%;
	text-align: left;
	font-size: 13px;
}
th {
	font-size: 10px;
	letter-spacing: 1px;
	color: var(--muted);
	text-transform: uppercase;
	font-weight: 600;
	padding: 17px 13px;
	border-bottom: 1px solid var(--line);
}
td {
	padding: 17px 13px;
	border-bottom: 1px solid var(--line);
}
td button {
	font-size: 11px;
	padding: 7px 10px;
}
.panel-tabs {
	display: flex;
	gap: 9px;
	flex-wrap: wrap;
	margin: 25px 0;
}
.panel-tabs button {
	background: transparent;
	border-color: var(--line);
	color: var(--muted);
	font-size: 12px;
	min-height: 42px;
	padding: 10px 13px;
}
.panel-tabs button.active {
	color: var(--gold);
	border-color: var(--gold);
}
.loading {
	padding: 90px;
	color: var(--muted);
	text-align: center;
	min-height: 45vh;
	display: grid;
	place-content: center;
	gap: 18px;
}
.loading:before {
	content: '';
	width: 34px;
	height: 34px;
	border: 2px solid var(--line);
	border-top-color: var(--gold);
	border-radius: 50%;
	margin: auto;
	animation: loading-turn 1s linear infinite;
}
@keyframes loading-turn {
	to {
		transform: rotate(360deg);
	}
}
.notice {
	font-size: 12px;
	color: var(--gold);
	padding: 13px 0;
}
.columns {
	display: grid;
	grid-template-columns: repeat(5, minmax(190px, 1fr));
	gap: 13px;
	overflow: auto;
}
.column {
	background: #101724;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 5px;
	min-height: 200px;
}
.column h3 {
	font-size: 13px;
	color: var(--gold);
}
.column .card {
	padding: 15px;
	margin-bottom: 12px;
}
.column h4 {
	margin: 0 0 10px;
}
.column label {
	font-size: 11px;
}
.honeypot {
	position: absolute;
	left: -9999px;
}
footer {
	padding: 30px 6%;
	border-top: 1px solid var(--line);
	display: flex;
	gap: 25px;
	flex-wrap: wrap;
	justify-content: space-between;
	color: var(--muted);
	font-size: 11px;
	align-items: center;
	background: #0d0c10;
}
.footer-brand {
	letter-spacing: 2px;
	color: var(--ink);
	font-family: Georgia, serif;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 300px;
}
footer small {
	width: 100%;
	font-size: 10px;
	color: #8e98aa;
	margin-top: 10px;
}
#toast:not(:empty) {
	position: fixed;
	bottom: 25px;
	right: 25px;
	max-width: calc(100% - 50px);
	background: #e0c18b;
	color: #172030;
	padding: 17px 22px;
	border-radius: 4px;
	box-shadow: 0 8px 40px #0009;
	z-index: 20;
	font-size: 14px;
	border: 1px solid #efb4c5;
}
.metric {
	font:
		40px Georgia,
		serif;
	color: var(--gold);
}
.link {
	color: var(--gold);
	text-decoration: underline;
}
.schedule {
	font:
		50px Georgia,
		serif;
	color: var(--gold);
}
@media (max-width: 1100px) {
	header {
		gap: 20px;
		flex-wrap: wrap;
	}
	nav {
		order: 3;
		width: 100%;
		justify-content: center;
	}
	.login {
		margin-left: auto;
	}
	.hero {
		padding-top: 60px;
	}
	.fact {
		padding: 20px;
	}
	.hero-art {
		transform: scale(0.85);
	}
}
@media (max-width: 700px) {
	header {
		padding: 17px 5%;
		gap: 15px;
	}
	.brand {
		font-size: 12px;
	}
	.brand-sub {
		font-size: 8px;
	}
	.brand-mark {
		font-size: 28px;
	}
	.login {
		font-size: 10px;
		padding: 10px;
	}
	.menu {
		display: block;
		margin-left: auto;
		padding: 9px;
		background: transparent;
		color: var(--ink);
		border-color: var(--line);
		font-size: 11px;
	}
	nav {
		display: none;
		flex-direction: column;
		gap: 0;
	}
	nav.open {
		display: flex;
	}
	.hero {
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 55px 0 35px;
	}
	.hero-art {
		display: none;
	}
	.hero h1 {
		font-size: 55px;
	}
	.hero p {
		font-size: 14px;
	}
	.facts {
		grid-template-columns: 1fr 1fr;
	}
	.fact:nth-child(2) {
		border-right: 0;
	}
	.fact:nth-child(-n + 2) {
		border-bottom: 1px solid var(--line);
	}
	.fact strong {
		font-size: 16px;
	}
	.grid {
		grid-template-columns: 1fr;
	}
	.section {
		margin-top: 45px;
	}
	.section-head h2 {
		font-size: 27px;
	}
	.banner {
		display: block;
		padding: 25px;
	}
	.banner .button {
		margin-top: 20px;
	}
	.page-title {
		padding-top: 45px;
	}
	.page-title h1 {
		font-size: 41px;
	}
	.form-grid {
		grid-template-columns: 1fr;
	}
	.wide {
		grid-column: auto;
	}
	.schedule {
		font-size: 37px;
	}
	.actions .button {
		flex: 1;
	}
	main {
		padding-bottom: 50px;
	}
	.login span {
		display: none;
	}
	.brand-mark {
		display: none;
	}
	footer {
		line-height: 1.6;
	}
}
@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* Panel, formularios y herramientas de miembros. */
[hidden] {
	display: none !important;
}
button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	transform: none;
}
button.danger {
	color: #f0a8a8;
}
td button + button {
	margin-left: 6px;
}
.cell-detail {
	display: block;
	color: var(--muted);
	font-size: 11px;
	line-height: 1.6;
	margin-top: 6px;
}
.pagination {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	margin: 22px 0;
	font-size: 12px;
	color: var(--muted);
}
.pagination button {
	font-size: 12px;
	padding: 9px 13px;
}
.table-search {
	max-width: 440px;
	margin: 24px 0;
}
.progress-card {
	margin: 25px 0;
}
.progress-card h2 {
	margin-bottom: 8px;
}
progress {
	width: 100%;
	height: 9px;
	accent-color: var(--gold);
	border: 0;
	border-radius: 20px;
	background: var(--line);
}
progress::-webkit-progress-bar {
	background: var(--line);
	border-radius: 20px;
}
progress::-webkit-progress-value {
	background: var(--gold);
	border-radius: 20px;
}
.boss-list {
	list-style: none;
	padding: 0;
	margin: 22px 0 0;
}
.boss-list li {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding: 17px 0;
	border-bottom: 1px solid var(--line);
}
.boss-list li > span:first-child {
	margin-right: auto;
}
.boss-list small {
	flex-basis: 100%;
	color: var(--muted);
	font-size: 11px;
}
.boss-editor {
	display: grid;
	grid-template-columns:
		minmax(100px, 1fr) minmax(140px, 1fr) minmax(180px, 1.2fr) minmax(120px, 1fr)
		auto;
	align-items: end;
	gap: 15px;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
}
.boss-editor label {
	margin: 0;
}
.boss-editor h4 {
	align-self: center;
	margin: 0;
}
.boss-editor button {
	padding: 12px;
	font-size: 12px;
}
details {
	margin: 15px 0;
}
summary {
	cursor: pointer;
	color: var(--gold);
	padding: 7px 0;
}
details > form {
	margin-top: 20px;
}
details ul {
	font-size: 13px;
	line-height: 2;
	color: var(--muted);
}
fieldset {
	border: 1px solid var(--line);
	padding: 20px;
	margin: 0 0 20px;
	border-radius: 5px;
	min-width: 0;
}
legend {
	padding: 0 8px;
	color: var(--gold);
	font-size: 13px;
}
.check-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}
.check-grid label {
	margin: 0;
}
.filters > label {
	flex: 1;
	min-width: 140px;
}
.filters > label input,
.filters > label select {
	width: 100%;
	min-width: 0;
}
.filters > button {
	align-self: center;
}
.filters input[type='date'] {
	min-width: 140px;
}
.table-wrap td {
	max-width: 360px;
	overflow-wrap: anywhere;
}
.table-wrap {
	border: 1px solid var(--line);
	border-radius: 6px;
}
.table-wrap th {
	background: #151d2b;
}
.panel-tabs {
	position: relative;
	border-bottom: 1px solid var(--line);
	padding-bottom: 18px;
}
.card form {
	max-width: 100%;
}
#member-operations {
	border-top: 1px solid var(--line);
	padding-top: 45px;
}
@media (max-width: 1100px) {
	.boss-editor {
		grid-template-columns: 1fr 1fr;
	}
	.boss-editor h4 {
		grid-column: 1/-1;
	}
	.boss-editor button {
		justify-self: start;
	}
	.check-grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 700px) {
	.boss-editor {
		grid-template-columns: 1fr;
	}
	.boss-editor h4 {
		grid-column: auto;
	}
	.pagination {
		justify-content: space-between;
		gap: 8px;
	}
	.pagination button {
		font-size: 11px;
		padding: 9px;
	}
	.filters > button {
		width: 100%;
	}
	.check-grid {
		grid-template-columns: 1fr;
	}
	.card {
		padding: 22px;
	}
	.page-title {
		overflow-wrap: anywhere;
	}
	.panel-tabs {
		gap: 7px;
	}
	.panel-tabs button {
		padding: 10px 13px;
	}
	.table-wrap td {
		min-width: 95px;
	}
	.table-wrap td:last-child {
		min-width: 115px;
	}
}

/* Identidad visual y páginas públicas. */
:root {
	--bg: #101013;
	--panel: #19181d;
	--line: #363139;
	--muted: #b8b2ba;
	--ink: #f4f0f1;
	--gold: #e8a5ae;
	--blue: #bfc4d4;
}
body {
	background: radial-gradient(ellipse at 85% 15%, #681b302b, transparent 50%), var(--bg);
}
header {
	background: #101013ed;
}
.brand-logo {
	width: 64px;
	height: 64px;
	object-fit: contain;
}
.brand-sub {
	color: #c9bdc3;
}
.hero {
	grid-template-columns: 1.1fr 1fr;
	padding-top: 55px;
	gap: 20px;
}
.hero-art {
	height: auto;
	background: none;
	transform: none;
}
.hero-logo {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 12px 35px #920e2025);
}
.card {
	background: linear-gradient(140deg, #211c23, #151418);
}
.facts {
	background: #19171bc9;
}
.banner {
	background: linear-gradient(90deg, #56243040, transparent);
}
.button,
button {
	background: #a82940;
	border-color: #c7495f;
	color: #fff;
}
.button:hover,
button:hover {
	background: #bd344e;
}
.secondary {
	background: transparent;
	border-color: #65525e;
	color: var(--ink);
}
.secondary:hover {
	background: #35212b;
}
input,
select,
textarea {
	background: #141216;
	border-color: #55464f;
}
.column {
	background: #171419;
}
.empty {
	background: #24191f33;
}
.pill {
	color: #cfbec8;
	border-color: #63505e;
}
.pill.gold {
	border-color: #87515e;
}
#toast:not(:empty) {
	background: #f0d3da;
	color: #27141d;
}
@media (max-width: 700px) {
	.brand-logo {
		width: 44px;
		height: 44px;
	}
	.brand {
		gap: 9px;
	}
	.hero {
		padding-top: 35px;
		grid-template-columns: 1fr;
	}
	.hero-art {
		display: grid;
		order: -1;
		max-width: 250px;
		margin: auto;
	}
	.hero h1 {
		font-size: clamp(39px, 10vw, 55px);
	}
	.hero .eyebrow {
		font-size: 10px;
		letter-spacing: 1.6px;
	}
	.hero-logo {
		max-height: 250px;
		object-fit: contain;
	}
}
/* Public and member-facing polish: shared visual language, keyboard and mobile. */
:root {
	--gold: #e7abb6;
	--muted: #bfb7c0;
	--line: #383039;
}
html {
	scroll-behavior: smooth;
}
body {
	overflow-wrap: break-word;
}
main {
	max-width: 1440px;
}
main > * {
	min-width: 0;
}
h2 {
	font-family: Georgia, serif;
	font-size: clamp(26px, 2.5vw, 36px);
	font-weight: 400;
	line-height: 1.2;
}
h3 {
	line-height: 1.3;
}
p {
	max-width: 78ch;
}
.page-title {
	padding-bottom: 18px;
}
.page-title h1 {
	font-size: clamp(37px, 4.6vw, 62px);
	line-height: 1.08;
}
.page-title p {
	font-size: 16px;
	max-width: 65ch;
}
header {
	gap: 24px;
	padding-top: 15px;
	padding-bottom: 15px;
}
nav {
	gap: 20px;
}
nav a[aria-current] {
	color: #fff;
	border-bottom: 2px solid #dd637a;
}
.brand {
	flex-shrink: 0;
}
.brand-logo {
	width: 59px;
	height: 59px;
}
.hero {
	padding: 58px 0 62px;
}
.hero h1 {
	font-size: clamp(45px, 5vw, 72px);
}
.hero p {
	max-width: 48ch;
}
.hero-art {
	max-width: 510px;
	justify-self: end;
}
.facts {
	overflow: hidden;
}
.fact strong {
	display: block;
	font-size: 17px;
	line-height: 1.5;
}
.fact small {
	line-height: 1.7;
}
.section-head .eyebrow {
	margin-bottom: 15px;
}
.card {
	box-shadow: 0 12px 36px #00000012;
}
.card h2 {
	font-size: 28px;
}
.button,
button {
	min-height: 44px;
}
.button.secondary,
button.secondary {
	background: #201a2190;
}
.button.secondary:hover,
button.secondary:hover {
	background: #3b2731;
}
.identity-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 20px 0;
}
.identity-tags .pill {
	padding: 8px 13px;
	font-size: 11px;
}
.link-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.link-card {
	display: flex;
	flex-direction: column;
	transition:
		border-color 0.2s,
		transform 0.2s;
}
.link-card:hover {
	border-color: #b45b70;
	transform: translateY(-3px);
}
.link-card > span:last-child {
	font-size: 12px;
	color: var(--gold);
	margin-top: auto;
	padding-top: 24px;
}
.link-card p {
	margin-bottom: 0;
}
.week-schedule {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 9px;
	margin-top: 28px;
}
.week-day {
	border: 1px solid var(--line);
	padding: 20px 10px;
	border-radius: 6px;
	background: #171419;
	text-align: center;
}
.week-day > span {
	font-size: 11px;
	color: var(--muted);
}
.week-day strong {
	display: block;
	margin: 15px 0 8px;
	font-family: Georgia, serif;
	font-size: 22px;
	font-weight: 400;
}
.week-day small {
	font-size: 10px;
	color: var(--muted);
}
.week-day.raid-day {
	border-top: 2px solid #c74760;
	background: linear-gradient(145deg, #54223165, #1b161c);
}
.raid-day strong {
	color: #f0bcc7;
}
.schedule-note {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.7;
	margin-top: 17px;
}
.about-layout {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 65px;
	align-items: center;
	margin: 45px 0;
}
.about-emblem img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 390px;
	margin: auto;
}
.values-list article {
	display: flex;
	gap: 20px;
	border-top: 1px solid var(--line);
	padding-top: 20px;
	margin-top: 20px;
}
.values-list article > span {
	color: var(--gold);
	font:
		18px Georgia,
		serif;
	padding-top: 5px;
}
.values-list h3 {
	font:
		22px Georgia,
		serif;
	margin: 0 0 8px;
}
.values-list p {
	font-size: 13px;
	margin: 0;
}
.recruit-intro {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 22px;
}
.recruitment-state {
	border-top: 2px solid #b04a63;
}
.application-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	padding-left: 24px;
	margin: 30px 0;
	list-style: decimal-leading-zero;
}
.application-steps li {
	padding: 0 20px 0 10px;
	color: var(--gold);
}
.application-steps strong {
	display: block;
	color: var(--ink);
	font-size: 16px;
	margin-bottom: 10px;
}
.application-steps span {
	display: block;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.8;
}
.faq-list {
	max-width: 900px;
	border-top: 1px solid var(--line);
	margin-top: 25px;
}
.faq-list details {
	border-bottom: 1px solid var(--line);
	margin: 0;
	padding: 14px 0;
}
.faq-list summary {
	color: var(--ink);
	font-size: 15px;
	min-height: 44px;
	padding: 13px 5px;
}
.faq-list p {
	font-size: 14px;
	padding: 0 5px;
	margin: 8px 0 15px;
}
.results-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 20px;
	color: var(--muted);
	font-size: 13px;
}
.privacy-note {
	font-size: 12px;
	border-left: 2px solid #866573;
	padding: 8px 15px;
	margin: 28px 0;
	color: var(--muted);
	line-height: 1.8;
}
.empty {
	padding: 46px 25px;
	background: radial-gradient(ellipse at top, #58263522, transparent 80%);
	border-color: #57414f;
}
.empty h3 {
	font-size: 27px;
	margin-bottom: 12px;
}
.inline-status {
	color: var(--muted);
	font-size: 12px;
	line-height: 1.7;
	max-width: 320px;
	display: flex;
	gap: 10px;
	align-items: center;
}
.status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #c9a6b1;
	flex-shrink: 0;
}
.contact-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 55px;
	margin-top: 20px;
}
.contact-card {
	text-align: center;
	padding: 35px;
}
.contact-card img {
	display: block;
	width: 180px;
	height: auto;
	margin: 0 auto 24px;
}
.contact-card h2 {
	font-size: 27px;
}
.contact-card .identity-tags {
	justify-content: center;
}
.contact-card .inline-status {
	margin: 25px auto 0;
}
.contact-notes article {
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}
.contact-notes h3 {
	font:
		24px Georgia,
		serif;
}
.contact-notes p {
	font-size: 14px;
}
.contact-notes a {
	font-size: 13px;
}
.login-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 55px;
	align-items: center;
	min-height: 70vh;
	padding-top: 55px;
}
.login-art img {
	width: 100%;
	height: auto;
	max-width: 450px;
	display: block;
	margin: auto;
}
.login-card {
	padding: 38px;
	background: #121419;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.login-card h1 {
	font-size: 46px;
	letter-spacing: -1.4px;
	line-height: 1.2;
	margin-bottom: 20px;
}
.login-features {
	list-style: none;
	padding: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.8;
	margin: 25px 0;
}
.login-features li {
	padding: 8px 0 8px 20px;
	border-bottom: 1px solid var(--line);
	position: relative;
}
.login-features li:before {
	content: '◇';
	position: absolute;
	left: 0;
	color: var(--gold);
}
.connection-pending {
	padding: 20px;
	background: #45202c40;
	border: 1px solid #704052;
	border-radius: 5px;
	margin-top: 24px;
}
.connection-pending strong {
	font-size: 15px;
}
.connection-pending p {
	font-size: 13px;
	margin-top: 10px;
	line-height: 1.7;
	color: var(--muted);
}
.login-footnote {
	font-size: 12px !important;
	margin: 20px 0;
	line-height: 1.7;
	color: var(--muted);
}
.discord-button {
	width: 100%;
}
.login-card > .link {
	font-size: 12px;
}
.footer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 300px;
}
.footer-brand img {
	width: 52px;
	height: 52px;
	object-fit: contain;
}
footer {
	align-items: center;
	background: #0d0c10;
}
.footer-links {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}
.footer-links a {
	padding: 10px 0;
}
.footer-links a:hover {
	text-decoration: underline;
}
.loading {
	min-height: 45vh;
	display: grid;
	place-content: center;
	gap: 18px;
}
.loading:before {
	content: '';
	width: 34px;
	height: 34px;
	border: 2px solid var(--line);
	border-top-color: var(--gold);
	border-radius: 50%;
	margin: auto;
	animation: loading-turn 1s linear infinite;
}
@keyframes loading-turn {
	to {
		transform: rotate(360deg);
	}
}
.form-feedback {
	margin-top: 20px;
}
.form label {
	line-height: 1.6;
}
.form input,
.form textarea,
.form select {
	line-height: 1.4;
}
input[type='checkbox'] {
	accent-color: #be3c58;
	width: 17px;
	height: 17px;
	vertical-align: middle;
}
fieldset label {
	padding: 5px 0;
}
.table-wrap th {
	background: #211923;
}
.table-wrap:focus-visible {
	outline: 2px solid var(--gold);
}
.table-wrap table {
	min-width: 520px;
}
.table-wrap td {
	line-height: 1.6;
}
.table-wrap tbody tr:hover {
	background: #39212d35;
}
.table-wrap td button {
	min-height: 38px;
}
.panel-tabs {
	background: #141116;
	padding: 15px;
	border-radius: 7px;
	gap: 8px;
}
.panel-tabs button {
	min-height: 42px;
}
.panel-tabs button.active {
	background: #6c273b50;
}
.column .card {
	background: #251c25;
}
.column {
	background: #151116;
}
.columns {
	padding-bottom: 14px;
	scroll-snap-type: x proximity;
}
.column {
	scroll-snap-align: start;
}
.column h3 {
	font-family: Arial, sans-serif;
}
.metric {
	font-size: 35px;
}
.boss-editor {
	padding: 24px 0;
}
.form {
	width: 100%;
}
.filters > label {
	margin-bottom: 0;
}
.pagination {
	flex-wrap: wrap;
}
#toast:not(:empty) {
	border: 1px solid #efb4c5;
	font-size: 14px;
}
.showcase-notice {
	font-size: 11px !important;
	line-height: 1.6;
}
.page-title + .grid {
	margin-top: 10px;
}
@media (min-width: 1101px) {
	header .brand {
		font-size: 13px;
		letter-spacing: 1.5px;
	}
	header nav {
		gap: 17px;
	}
	header .login {
		padding: 12px 15px;
	}
	.hero {
		grid-template-columns: 1.12fr 1fr;
	}
}
@media (max-width: 1100px) {
	.week-schedule {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.about-layout {
		gap: 30px;
	}
	.contact-layout {
		gap: 30px;
	}
	.login-layout {
		gap: 30px;
	}
	.login-card {
		padding: 25px;
	}
	.login-card h1 {
		font-size: 40px;
	}
	.fact {
		padding: 20px 16px;
	}
	.fact strong {
		font-size: 15px;
	}
}
@media (max-width: 700px) {
	header {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 12px;
		padding: 12px 5%;
	}
	.brand {
		font-size: 12px;
	}
	.brand-logo {
		width: 43px;
		height: 43px;
	}
	.brand-sub {
		letter-spacing: 2.6px;
	}
	.menu {
		margin: 0;
		min-width: 62px;
		min-height: 42px;
	}
	header nav {
		grid-column: 1/-1;
		order: initial;
		margin: 0;
		width: 100%;
		padding: 8px 0;
		border-top: 1px solid var(--line);
	}
	header nav a {
		padding: 13px 8px;
		font-size: 14px;
	}
	header .login {
		grid-column: 1/-1;
		margin: 0;
		width: 100%;
		font-size: 12px;
		min-height: 40px;
	}
	main {
		padding-left: 5%;
		padding-right: 5%;
	}
	.hero {
		padding: 28px 0 35px;
		gap: 8px;
	}
	.hero-art {
		max-width: 220px;
		justify-self: center;
	}
	.hero h1 {
		font-size: clamp(38px, 10vw, 52px);
		letter-spacing: -1.3px;
	}
	.hero .actions {
		margin-top: 22px;
	}
	.hero .button {
		font-size: 12px;
		padding: 13px 12px;
	}
	.facts {
		grid-template-columns: 1fr 1fr;
	}
	.fact {
		padding: 17px 12px;
	}
	.fact .label {
		font-size: 9px;
		letter-spacing: 1.1px;
	}
	.fact strong {
		font-size: 14px;
	}
	.fact small {
		font-size: 10px;
	}
	.page-title {
		padding-top: 35px;
	}
	.page-title h1 {
		font-size: 38px;
		letter-spacing: -1px;
	}
	.page-title p {
		font-size: 14px;
	}
	.eyebrow {
		font-size: 10px;
		letter-spacing: 1.5px;
	}
	.week-schedule {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
	.week-day {
		text-align: left;
		padding: 15px;
	}
	.week-day strong {
		font-size: 21px;
		margin: 9px 0 5px;
	}
	.week-day > span {
		font-size: 12px;
	}
	.week-day small {
		font-size: 11px;
	}
	.link-grid,
	.recruit-intro,
	.contact-layout,
	.login-layout,
	.about-layout {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.link-card {
		padding: 23px;
	}
	.about-layout {
		margin-top: 20px;
	}
	.about-emblem img {
		max-width: 200px;
	}
	.application-steps {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.recruit-intro h2 {
		font-size: 27px;
	}
	.contact-card {
		padding: 25px;
	}
	.contact-card img {
		width: 140px;
	}
	.contact-notes article {
		padding: 15px 0;
	}
	.login-layout {
		padding-top: 25px;
	}
	.login-art img {
		max-width: 190px;
	}
	.login-card {
		padding: 25px 22px;
	}
	.login-card h1 {
		font-size: 37px;
	}
	.banner {
		padding: 24px 20px;
	}
	.banner .inline-status {
		margin-top: 20px;
	}
	.section-head {
		align-items: start;
		flex-wrap: wrap;
	}
	.section-head h2 {
		font-size: 27px;
	}
	.results-toolbar button {
		font-size: 12px;
		padding: 9px 12px;
	}
	.filters {
		gap: 12px;
	}
	.filters > label {
		flex-basis: calc(50% - 12px);
		min-width: 0;
	}
	.filters > input {
		flex-basis: 100%;
	}
	.filters select,
	.filters input {
		font-size: 16px;
	}
	.form input,
	.form select,
	.form textarea {
		font-size: 16px;
	}
	.columns {
		grid-template-columns: repeat(5, minmax(260px, 80vw));
	}
	.table-wrap {
		max-width: 100%;
		background: linear-gradient(90deg, #241a22, transparent 30px);
	}
	.table-wrap table {
		min-width: 520px;
	}
	.table-wrap td {
		padding: 14px 10px;
	}
	.table-wrap:before {
		content: 'Desliza para ver todas las columnas →';
		display: block;
		font-size: 11px;
		color: var(--muted);
		padding: 10px 12px;
	}
	.pagination {
		font-size: 11px;
	}
	.pagination button {
		min-height: 42px;
	}
	.panel-tabs {
		gap: 7px;
		padding: 10px;
	}
	.panel-tabs button {
		padding: 10px 12px;
	}
	.card {
		padding: 22px;
	}
	.form-grid {
		gap: 0;
	}
	.footer-links {
		gap: 18px;
	}
	footer {
		padding: 25px 5%;
		gap: 20px;
	}
	.footer-brand {
		font-size: 11px;
	}
	.schedule {
		font-size: 34px;
	}
	#toast:not(:empty) {
		bottom: 15px;
		left: 15px;
		right: 15px;
		max-width: none;
		padding: 14px;
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.loading:before {
		animation: none;
	}
	.link-card:hover {
		transform: none;
	}
}

/* Calendar tools use the same guild palette as the weekly schedule. */
.raid-planner {
	margin: 30px 0 12px;
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: linear-gradient(125deg, #48203044, #171419);
	min-width: 0;
}
.planner-heading {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 24px;
}
.planner-heading h3 {
	font:
		clamp(23px, 2.3vw, 30px)/1.25 Georgia,
		serif;
	margin: 0;
}
.planner-heading .eyebrow {
	margin-bottom: 12px;
}
.planner-zone {
	display: block;
	flex: 0 1 265px;
	font-size: 12px;
	color: var(--muted);
	margin: 0;
	min-width: 0;
}
.planner-zone select {
	display: block;
	width: 100%;
	margin-top: 8px;
	min-height: 44px;
	font-size: 13px;
}
.planner-next {
	margin: 28px 0 20px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--line);
}
.planner-next > p {
	font-size: clamp(17px, 2vw, 22px);
	line-height: 1.6;
	color: var(--ink);
	margin: 14px 0 8px;
}
.planner-countdown {
	font-size: 13px;
	color: var(--gold);
}
.planner-upcoming {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}
.planner-upcoming li {
	padding: 14px;
	background: #15111688;
	border: 1px solid var(--line);
	border-radius: 5px;
	font-size: 12px;
	line-height: 1.9;
	color: var(--muted);
}
.planner-actions {
	display: flex;
	align-items: center;
	gap: 22px;
}
.planner-actions button {
	flex-shrink: 0;
	font-size: 13px;
}
.planner-actions > p {
	font-size: 12px;
	line-height: 1.8;
	margin: 0;
	color: var(--muted);
}
.planner-footnote {
	font-size: 11px;
	line-height: 1.8;
	color: var(--muted);
	margin: 15px 0 0;
}
.planner-feedback {
	font-size: 12px;
	color: var(--gold);
	line-height: 1.8;
	margin: 0;
}
.planner-feedback:not(:empty) {
	margin-top: 16px;
}
.login-pending-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 18px;
}
.login-pending-actions .button {
	font-size: 12px;
}
.login-pending-actions .link {
	font-size: 12px;
}
@media (max-width: 700px) {
	.raid-planner {
		padding: 22px 18px;
	}
	.planner-heading {
		flex-direction: column;
		gap: 18px;
	}
	.planner-zone {
		flex: auto;
		width: 100%;
	}
	.planner-zone select {
		font-size: 16px;
	}
	.planner-upcoming {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.planner-upcoming li {
		padding: 11px 14px;
	}
	.planner-actions {
		align-items: stretch;
		flex-direction: column;
		gap: 14px;
	}
	.planner-actions button {
		width: 100%;
	}
	.planner-next > p {
		font-size: 18px;
	}
	.login-pending-actions {
		align-items: stretch;
		flex-direction: column;
	}
}

.application-reference {
	overflow-wrap: anywhere;
	font-size: 12px;
}
.application-receipt {
	max-width: 850px;
}
.application-inbox .filters label {
	flex: 1;
	min-width: 200px;
}
.application-inbox .filters input,
.application-inbox .filters select {
	width: 100%;
}
#application-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.application-card {
	min-width: 0;
}
.application-heading {
	display: flex;
	justify-content: space-between;
	align-items: start;
	gap: 15px;
}
.application-heading h3 {
	margin-top: 0;
}
.application-card details {
	margin: 20px 0;
}
.application-card summary {
	cursor: pointer;
	color: var(--gold);
}
.application-card dl {
	font-size: 14px;
}
.application-card dt {
	font-weight: 600;
	margin-top: 14px;
}
.application-card dd {
	margin: 6px 0 0;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	color: var(--muted);
}
.application-card form {
	margin-top: 20px;
}
.application-card textarea {
	min-height: 110px;
}
.application-card .review-feedback {
	min-height: 1em;
}
@media (max-width: 800px) {
	#application-list {
		grid-template-columns: 1fr;
	}
	.application-inbox .filters label {
		min-width: 100%;
	}
}

.recruitment-choices {
	border: 1px solid var(--line);
	border-radius: 5px;
	padding: 18px;
	margin: 16px 0;
}
.recruitment-choices legend {
	padding: 0 8px;
	color: var(--gold);
}
.recruitment-choices > div {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}
.recruitment-choices label {
	margin: 0;
	padding: 8px;
	overflow-wrap: anywhere;
}
@media (max-width: 600px) {
	.recruitment-choices > div {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Aviso de la presentación estática en GitHub Pages. */
.showcase-notice {
	padding: 10px 6%;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 12px;
	text-align: center;
	background: #191419;
}

/* Roster: identidad por clase y columnas por rol. */
.class-warrior {
	--class-color: #c69b6d;
}
.class-paladin {
	--class-color: #f48cba;
}
.class-hunter {
	--class-color: #aad372;
}
.class-rogue {
	--class-color: #fff468;
}
.class-priest {
	--class-color: #f0f0f0;
}
.class-shaman {
	--class-color: #579bff;
}
.class-mage {
	--class-color: #3fc7eb;
}
.class-warlock {
	--class-color: #a894ed;
}
.class-druid {
	--class-color: #ff9346;
}

/* Colores de especializaciones */
.spec-arms {
	--spec-color: #e5b079;
}
.spec-fury {
	--spec-color: #d26667;
}
.spec-protection {
	--spec-color: #c8a180;
}
.spec-holy {
	--spec-color: #f8c6dd;
}
.spec-retribution {
	--spec-color: #e5b27d;
}
.spec-beast_mastery {
	--spec-color: #c3d595;
}
.spec-archery {
	--spec-color: #a0b47a;
}
.spec-survival {
	--spec-color: #6d8d5a;
}
.spec-subtlety {
	--spec-color: #fde280;
}
.spec-assassination {
	--spec-color: #ff9d8c;
}
.spec-combat {
	--spec-color: #e7b365;
}
.spec-discipline {
	--spec-color: #a1a1a1;
}
.spec-shadow {
	--spec-color: #a4a9d1;
}
.spec-elemental {
	--spec-color: #20c2eb;
}
.spec-enhancement {
	--spec-color: #8fc375;
}
.spec-restore {
	--spec-color: #86c074;
}
.spec-arcane {
	--spec-color: #c1d9ff;
}
.spec-fire {
	--spec-color: #ffaa7a;
}
.spec-frost {
	--spec-color: #a8d2e0;
}
.spec-affliction {
	--spec-color: #9e78b2;
}
.spec-demonology {
	--spec-color: #c1a5d7;
}
.spec-destruction {
	--spec-color: #de9369;
}
.spec-balance {
	--spec-color: #a4e0d0;
}
.spec-feral {
	--spec-color: #a9cd7c;
}
.spec-guardian {
	--spec-color: #b9a5a3;
}

/* Estilo de íconos generales */
.icon-class,
.icon-spec {
	background: var(--class-color);
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}
.spec-icon-placeholder {
	display: inline-block;
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	background: #4a4a4a;
	color: #fff;
	border-radius: 3px;
	font-size: 12px;
}
/* Estilos para la nueva paleta */
:root {
	--bg: #101013;
	--panel: #19181d;
	--line: #363139;
	--muted: #b8b2ba;
	--ink: #f4f0f1;
	--gold: #e8a5ae;
	--blue: #bfc4d4;
}
body {
	background: radial-gradient(ellipse at 85% 15%, #681b302b, transparent 50%), var(--bg);
}
header {
	background: #101013ed;
}
.brand-logo {
	width: 64px;
	height: 64px;
	object-fit: contain;
}
.brand-sub {
	color: #c9bdc3;
}
.hero {
	grid-template-columns: 1.1fr 1fr;
	padding-top: 55px;
	gap: 20px;
}
.hero-art {
	height: auto;
	background: none;
	transform: none;
}
.hero-logo {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 12px 35px #920e2025);
}
.card {
	background: linear-gradient(140deg, #211c23, #151418);
}
.facts {
	background: #19171bc9;
}
.banner {
	background: linear-gradient(90deg, #56243040, transparent);
}
.button,
button {
	background: #a82940;
	border-color: #c7495f;
	color: #fff;
}
.button:hover,
button:hover {
	background: #bd344e;
}
.secondary {
	background: transparent;
	border-color: #65525e;
	color: var(--ink);
}
.secondary:hover {
	background: #35212b;
}
input,
select,
textarea {
	background: #141216;
	border-color: #55464f;
}
.column {
	background: #171419;
}
.empty {
	background: #24191f33;
}
.pill {
	color: #cfbec8;
	border-color: #63505e;
}
.pill.gold {
	border-color: #87515e;
}
#toast:not(:empty) {
	background: #f0d3da;
	color: #27141d;
}
/* Estilos generales para las nuevas paletas de colores */
html {
	scroll-behavior: smooth;
}
body {
	overflow-wrap: break-word;
}
main {
	max-width: 1440px;
}
main > * {
	min-width: 0;
}
h2 {
	font-family: Georgia, serif;
	font-size: clamp(26px, 2.5vw, 36px);
	font-weight: 400;
	line-height: 1.2;
}
h3 {
	line-height: 1.3;
}
p {
	max-width: 78ch;
}
.page-title {
	padding-bottom: 18px;
}
.page-title h1 {
	font-size: clamp(37px, 4.6vw, 62px);
	line-height: 1.08;
}
.page-title p {
	font-size: 16px;
	max-width: 65ch;
}
header {
	gap: 24px;
	padding-top: 15px;
	padding-bottom: 15px;
}
nav {
	gap: 20px;
}
nav a[aria-current] {
	color: #fff;
	border-bottom: 2px solid #dd637a;
}
.brand {
	flex-shrink: 0;
}
.brand-logo {
	width: 59px;
	height: 59px;
}
.card {
	box-shadow: 0 12px 36px #00000012;
}
.button.secondary,
button.secondary {
	background: #201a2190;
}
.button.secondary:hover,
button.secondary:hover {
	background: #3b2731;
}
.identity-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 20px 0;
}
.identity-tags .pill {
	padding: 8px 13px;
	font-size: 11px;
}
.link-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.link-card {
	display: flex;
	flex-direction: column;
	transition:
		border-color 0.2s,
		transform 0.2s;
}
.link-card:hover {
	border-color: #b45b70;
	transform: translateY(-3px);
}
.link-card > span:last-child {
	font-size: 12px;
	color: var(--gold);
	margin-top: auto;
	padding-top: 24px;
}
.link-card p {
	margin-bottom: 0;
}
.week-schedule {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 9px;
	margin-top: 28px;
}
.week-day {
	border: 1px solid var(--line);
	padding: 20px 10px;
	border-radius: 6px;
	background: #171419;
	text-align: center;
}
.week-day > span {
	font-size: 11px;
	color: var(--muted);
}
.week-day strong {
	display: block;
	margin: 15px 0 8px;
	font-family: Georgia, serif;
	font-size: 22px;
	font-weight: 400;
}
.week-day small {
	font-size: 10px;
	color: var(--muted);
}
.week-day.raid-day {
	border-top: 2px solid #c74760;
	background: linear-gradient(145deg, #54223165, #1b161c);
}
.raid-day strong {
	color: #f0bcc7;
}
.schedule-note {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.7;
	margin-top: 17px;
}
.about-layout {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 65px;
	align-items: center;
	margin: 45px 0;
}
.about-emblem img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 390px;
	margin: auto;
}
.values-list article {
	display: flex;
	gap: 20px;
	border-top: 1px solid var(--line);
	padding-top: 20px;
	margin-top: 20px;
}
.values-list article > span {
	color: var(--gold);
	font:
		18px Georgia,
		serif;
	padding-top: 5px;
}
.values-list h3 {
	font:
		22px Georgia,
		serif;
	margin: 0 0 8px;
}
.values-list p {
	font-size: 13px;
	margin: 0;
}
.recruit-intro {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 22px;
}
.recruitment-state {
	border-top: 2px solid #b04a63;
}
.application-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	padding-left: 24px;
	margin: 30px 0;
	list-style: decimal-leading-zero;
}
.application-steps li {
	padding: 0 20px 0 10px;
	color: var(--gold);
}
.application-steps strong {
	display: block;
	color: var(--ink);
	font-size: 16px;
	margin-bottom: 10px;
}
.application-steps span {
	display: block;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.8;
}
.faq-list {
	max-width: 900px;
	border-top: 1px solid var(--line);
	margin-top: 25px;
}
.faq-list details {
	border-bottom: 1px solid var(--line);
	margin: 0;
	padding: 14px 0;
}
.faq-list summary {
	color: var(--ink);
	font-size: 15px;
	min-height: 44px;
	padding: 13px 5px;
}
.faq-list p {
	font-size: 14px;
	padding: 0 5px;
	margin: 8px 0 15px;
}
.results-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 20px;
	color: var(--muted);
	font-size: 13px;
}
.privacy-note {
	font-size: 12px;
	border-left: 2px solid #866573;
	padding: 8px 15px;
	margin: 28px 0;
	color: var(--muted);
	line-height: 1.8;
}
.empty {
	padding: 46px 25px;
	background: radial-gradient(ellipse at top, #58263522, transparent 80%);
	border-color: #57414f;
}
.empty h3 {
	font-size: 27px;
	margin-bottom: 12px;
}
.inline-status {
	color: var(--muted);
	font-size: 12px;
	line-height: 1.7;
	max-width: 320px;
	display: flex;
	gap: 10px;
	align-items: center;
}
.status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #c9a6b1;
	flex-shrink: 0;
}
.contact-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 55px;
	margin-top: 20px;
}
.contact-card {
	text-align: center;
	padding: 35px;
}
.contact-card img {
	display: block;
	width: 180px;
	height: auto;
	margin: 0 auto 24px;
}
.contact-card h2 {
	font-size: 27px;
}
.contact-card .identity-tags {
	justify-content: center;
}
.contact-card .inline-status {
	margin: 25px auto 0;
}
.contact-notes article {
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}
.contact-notes h3 {
	font:
		24px Georgia,
		serif;
}
.contact-notes p {
	font-size: 14px;
}
.contact-notes a {
	font-size: 13px;
}
.login-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 55px;
	align-items: center;
	min-height: 70vh;
	padding-top: 55px;
}
.login-art img {
	width: 100%;
	height: auto;
	max-width: 450px;
	display: block;
	margin: auto;
}
.login-card {
	padding: 38px;
	background: #121419;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.login-card h1 {
	font-size: 46px;
	letter-spacing: -1.4px;
	line-height: 1.2;
	margin-bottom: 20px;
}
.login-features {
	list-style: none;
	padding: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.8;
	margin: 25px 0;
}
.login-features li {
	padding: 8px 0 8px 20px;
	border-bottom: 1px solid var(--line);
	position: relative;
}
.login-features li:before {
	content: '◇';
	position: absolute;
	left: 0;
	color: var(--gold);
}
.connection-pending {
	padding: 20px;
	background: #45202c40;
	border: 1px solid #704052;
	border-radius: 5px;
	margin-top: 24px;
}
.connection-pending strong {
	font-size: 15px;
}
.connection-pending p {
	font-size: 13px;
	margin-top: 10px;
	line-height: 1.7;
	color: var(--muted);
}
.login-footnote {
	font-size: 12px !important;
	margin: 20px 0;
	line-height: 1.7;
	color: var(--muted);
}
.login-card > .link {
	font-size: 12px;
}
footer {
	padding: 30px 6%;
	border-top: 1px solid var(--line);
	display: flex;
	gap: 25px;
	flex-wrap: wrap;
	justify-content: space-between;
	color: var(--muted);
	font-size: 11px;
	align-items: center;
	background: #0d0c10;
}
.footer-brand {
	letter-spacing: 2px;
	color: var(--ink);
	font-family: Georgia, serif;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 300px;
}
footer small {
	width: 100%;
	font-size: 10px;
	color: #8e98aa;
	margin-top: 10px;
}
.class-unknown {
	--class-color: #bfc1ca;
}
.roster-board {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin: 20px 0;
	align-items: start;
}
.roster-role {
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #111115;
	overflow: hidden;
	min-width: 0;
}
.roster-role-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 16px;
	background: #19191f;
	position: static;
	min-height: 0;
	border-bottom: 1px solid var(--line);
}
.roster-role-heading h3 {
	font-family: inherit;
	font-size: 14px;
	margin: 0;
}
.roster-count {
	font-size: 12px;
	color: #d8d6df;
	background: #292832;
	padding: 3px 8px;
	border-radius: 6px;
}
.roster-members {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	align-items: start;
	list-style: none;
	padding: 8px;
	margin: 0;
	display: grid;
	gap: 6px;
}
.roster-player {
	list-style: none;
	padding: 0;
	border: 1px solid #ffffff0d;
	border-left: 3px solid var(--class-color);
	border-radius: 10px;
	background: #19191e;
	min-width: 0;
	transition:
		background 160ms ease,
		border-color 160ms ease;
}
.roster-player:hover,
.roster-player:focus-within {
	background: #24232b;
	border-color: var(--class-color);
}
.roster-profile {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}
.roster-profile > summary,
.roster-public-identity {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 12px;
	list-style: none;
	min-height: 78px;
}
.roster-profile > summary {
	cursor: pointer;
}
.roster-profile > summary::-webkit-details-marker {
	display: none;
}
.roster-profile > summary:focus-visible {
	outline: 2px solid var(--class-color);
	outline-offset: 2px;
}
.roster-expand {
	color: #aaa5b4;
	transition: transform 160ms ease;
}
.roster-profile[open] .roster-expand {
	transform: rotate(180deg);
}
.roster-profile-body {
	padding: 0 16px 16px;
	border-top: 1px solid #ffffff12;
}
.roster-profile-body dl {
	font-size: 13px;
	line-height: 1.5;
}
.roster-profile-body dt {
	color: #a9a5b3;
	margin-top: 10px;
}
.roster-profile-body dd {
	margin: 2px 0 0;
	overflow-wrap: anywhere;
}
.roster-profile-body button {
	width: 100%;
}
.roster-quick-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 24px 0;
}
.roster-quick-filters button {
	border-radius: 24px;
	display: flex;
	gap: 12px;
	align-items: center;
}
.roster-quick-filters button span {
	font-size: 12px;
	opacity: 0.8;
}
.roster-quick-filters button[aria-pressed='true'] {
	background: #542631;
	border-color: #ee99ad;
	color: white;
}
@media (prefers-reduced-motion: reduce) {
	.roster-player,
	.roster-expand {
		transition: none;
	}
}
.class-emblem {
	display: grid;
	place-items: center;
	flex: 0 0 32px;
	height: 32px;
	border: 1px solid var(--class-color);
	border-radius: 7px;
	color: var(--class-color);
	background: #101014;
	font-size: 10px;
	font-weight: 800;
}
.roster-player-info {
	display: grid;
	gap: 3px;
	min-width: 0;
	flex: 1;
}
.roster-player .class-name {
	font-family: system-ui, sans-serif;
	color: var(--class-color);
	font-size: 14px;
	overflow-wrap: anywhere;
}
.roster-player-info span,
.roster-player-info small {
	color: #b8b7c2;
	font-size: 12px;
	overflow-wrap: anywhere;
}
.roster-player-info .roster-availability {
	margin-top: 5px;
	color: #a7a6b2;
}
.roster-main-badge {
	font-size: 10px;
	background: #2a2731;
	color: #ddd4e4;
	padding: 2px 5px;
	border-radius: 4px;
}
/* Wishlist: agrupación por encuentro, con prioridades personales. */
.wishlist-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.wishlist-heading h2 {
	margin: 8px 0;
}
.catalog-note {
	border: 1px dashed var(--line);
	border-radius: 8px;
	padding: 14px 18px;
	margin: 18px 0;
	color: #bab8c5;
	font-size: 13px;
}
.catalog-note summary {
	cursor: pointer;
}
.wishlist-filters {
	margin: 24px 0;
}
.wishlist-encounter {
	margin: 18px 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
	background: #111115;
}
.wishlist-encounter > header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	background: #19191f;
	position: static;
	min-height: 0;
}
.wishlist-encounter h3 {
	margin: 4px 0 0;
	font-family: inherit;
	font-size: 17px;
}
.wishlist-encounter ul {
	list-style: none;
	padding: 8px;
	margin: 0;
}
.wishlist-item {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 16px 12px;
	border-bottom: 1px solid var(--line);
}
.wishlist-item:last-child {
	border-bottom: 0;
}
.wishlist-item > div {
	flex: 1;
	min-width: 0;
	overflow-wrap: anywhere;
}
.wishlist-item strong {
	color: #ddd5ed;
	font-size: 15px;
}
.wishlist-item small {
	display: block;
	color: #a7a5b4;
	margin-top: 4px;
}
.wishlist-item p {
	font-size: 12px;
	margin: 6px 0 0;
	white-space: pre-wrap;
}
.wish-priority {
	padding: 8px;
	border: 1px solid #756439;
	border-radius: 7px;
	color: #efd48d;
	font-weight: 700;
	font-size: 12px;
}
.wishlist-add {
	margin-top: 24px;
}
@media (max-width: 520px) {
	.wishlist-heading {
		align-items: flex-start;
	}
	.wishlist-item {
		flex-wrap: wrap;
		gap: 10px;
	}
	.wishlist-item button {
		margin-left: auto;
	}
	.wishlist-item > div {
		flex-basis: calc(100% - 55px);
	}
	.wishlist-encounter > header {
		padding: 14px;
	}
}

/* Estilos para iconos de clases y especializaciones */
.icon-class,
.icon-spec {
	vertical-align: middle;
	margin: 0 4px;
}

.icon-small {
	width: 16px;
	height: 16px;
}

.icon-medium {
	width: 24px;
	height: 24px;
}

.icon-large {
	width: 32px;
	height: 32px;
}

.class-icon-container,
.spec-icon-container {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.icon-text {
	font-size: 0.9em;
	vertical-align: middle;
}

.class-with-spec {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.spec-separator {
	opacity: 0.7;
	font-size: 1.2em;
	margin: 0 2px;
}

/* Estilos responsive para iconos */
@media (max-width: 768px) {
	.icon-small {
		width: 14px;
		height: 14px;
	}

	.icon-medium {
		width: 20px;
		height: 20px;
	}

	.icon-large {
		width: 24px;
		height: 24px;
	}
}

/* Estilos para el placeholder de icono no disponible */
.spec-icon-placeholder {
	display: inline-block;
	width: 24px;
	height: 24px;
	text-align: center;
	line-height: 24px;
	font-size: 0.8em;
	color: #888;
	background-color: #f5f5f5;
	border-radius: 4px;
	margin: 0 2px;
}

.class-emblem:has(.class-with-spec) {
	width: 60px;
	flex-shrink: 0;
}

.analytics-consent {
	position: fixed;
	bottom: 1rem;
	left: 1rem;
	right: 1rem;
	max-width: 42rem;
	padding: 1.25rem;
	background: var(--bg);
	border: 1px solid var(--gold);
	z-index: 1000;
	box-shadow: 0 4px 24px #0008;
}
.analytics-consent[hidden] {
	display: none;
}

/* Controles de fantasía oscura: metal envejecido, carmesí y luz contenida. */
:root {
	--control-metal: #b99b76;
	--control-light: #f1d4a5;
}
.button,
button {
	position: relative;
	isolation: isolate;
	border: 1px solid #b47969;
	border-radius: 3px 10px 3px 10px;
	background: linear-gradient(180deg, #92374b 0%, #672335 65%, #4d1c2c 100%);
	color: #fff2e1;
	letter-spacing: 0.025em;
	text-shadow: 0 1px 2px #0009;
	box-shadow:
		inset 0 1px 0 #ffe1b733,
		inset 0 -2px 0 #16081180,
		0 3px 10px #0003;
	transition:
		background 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease,
		transform 160ms ease;
}
.button::before,
button::before {
	content: '';
	position: absolute;
	inset: 3px;
	border-top: 1px solid #efd3ac25;
	border-bottom: 1px solid #efd3ac18;
	border-radius: inherit;
	pointer-events: none;
}
.button:hover,
button:not(:disabled):hover {
	background: linear-gradient(180deg, #aa475c, #76293e);
	border-color: var(--control-light);
	box-shadow:
		inset 0 1px 0 #ffe1b755,
		0 0 18px #bd4e5e30,
		0 5px 14px #0005;
	transform: translateY(-1px);
}
.button.secondary,
button.secondary,
button.menu {
	background: linear-gradient(180deg, #302c32, #1b191f);
	border-color: #776559;
	color: #eee2d3;
}
.button.secondary:hover,
button.secondary:not(:disabled):hover,
button.menu:not(:disabled):hover {
	background: linear-gradient(180deg, #45343e, #29212b);
	border-color: var(--control-metal);
}
button.danger {
	border-color: #ca6c79;
	background: linear-gradient(180deg, #7e263b, #491927);
}
.button:active,
button:not(:disabled):active {
	transform: translateY(0);
	box-shadow: inset 0 2px 5px #0006;
}
button:disabled,
button:disabled:hover {
	transform: none;
	box-shadow: none;
	cursor: not-allowed;
	opacity: 0.45;
}
.button:focus-visible,
button:focus-visible,
#navigation a:focus-visible {
	outline: 2px solid var(--control-light);
	outline-offset: 4px;
}
body > header {
	background:
		radial-gradient(ellipse at 20% 0%, #70304422, transparent 60%),
		linear-gradient(180deg, #18151b, #100f13);
	border-bottom: 1px solid #a8865d55;
	box-shadow: 0 6px 24px #0003;
}
#navigation {
	gap: 4px;
}
#navigation a {
	position: relative;
	padding: 14px 10px;
	border: 1px solid transparent;
	border-radius: 4px;
	color: #cfc2c7;
	transition:
		background 160ms ease,
		color 160ms ease,
		border-color 160ms ease;
}
#navigation a:hover,
#navigation a[aria-current] {
	color: #ffe8c7;
	background: linear-gradient(180deg, #8f405019, #8f405038);
	border-color: #b89a6233;
}
#navigation a[aria-current]::after {
	content: '';
	position: absolute;
	width: 6px;
	height: 6px;
	bottom: -4px;
	left: calc(50% - 3px);
	background: #ebbe89;
	border: 1px solid #ffe1b8;
	transform: rotate(45deg);
	box-shadow: 0 0 9px #e6ac7977;
}
body > header .brand-logo {
	filter: drop-shadow(0 0 7px #b8445135);
}
.panel-tabs button.active,
.panel-tabs button[aria-pressed='true'],
.roster-quick-filters button[aria-pressed='true'] {
	background: linear-gradient(180deg, #733447, #422432);
	border-color: var(--control-metal);
	color: #fff0d8;
}
@media (max-width: 700px) {
	#navigation {
		padding: 8px;
		border: 1px solid #a8865d33;
		border-radius: 8px;
		background: #151218;
	}
	#navigation a {
		min-height: 46px;
		padding: 14px 16px;
	}
	#navigation a[aria-current]::after {
		left: auto;
		right: 12px;
		bottom: calc(50% - 3px);
	}
}
@media (prefers-reduced-motion: reduce) {
	.button:hover,
	button:not(:disabled):hover {
		transform: none;
	}
}

/* Mantener los pasos de candidatura dentro del ancho móvil. */
@media (max-width: 700px) {
	.application-steps,
	.recruit-intro {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Mostrar la transición solo mientras arranca JavaScript; conservar el HTML público. */
.site-booting [data-public-overview] {
	display: none;
}
[data-public-loading] {
	display: none;
}
.site-booting [data-public-loading] {
	display: grid;
}
