/* =====================================================================
   DesertOT - site theme
   Identity shared with the launcher: night stone, aged bronze, sand, turquoise.
   ===================================================================== */
:root {
	--ink: #07090d;
	--text: #efe4cf;
	--text-2: #cfc6b6;
	--muted: #a39e94;
	--gold-hi: #fbe7b5;
	--gold: #e2b061;
	--gold-mid: #c48a3f;
	--gold-lo: #7a4f1f;
	--bronze-line: #8a6434;
	--teal: #7fe0d0;
	--danger: #f08c7c;
	--radius: 3px;
	--noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .32 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body {
	margin: 0; min-height: 100vh; color: var(--text);
	font: 15px/1.65 'Inter', 'Segoe UI', Arial, sans-serif;
	background: var(--ink);
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before {
	content: ""; position: fixed; inset: 0; z-index: -2;
	background: url('img/page-bg.jpg') center top / cover no-repeat;
	filter: saturate(.85) brightness(.55);
}
body::after {
	content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(ellipse at 50% 0%, rgba(7,9,13,.2), rgba(7,9,13,.85) 70%),
		linear-gradient(180deg, rgba(7,9,13,.35), rgba(7,9,13,.92) 55%, var(--ink));
}
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-hi); }
img { max-width: 100%; }
h1, h2, h3 { font-family: 'Cinzel', Georgia, serif; color: var(--text); margin: 0; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* =====================================================================
   Buttons - metal plate with bevel, engraved label, light sweep on hover
   ===================================================================== */
.gbtn {
	--h: 46px;
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center;
	min-height: var(--h); padding: 0 26px;
	font: 700 13.5px/1 'Cinzel', serif; letter-spacing: .1em; text-transform: uppercase;
	text-decoration: none !important; cursor: pointer; user-select: none;
	border-radius: var(--radius); border: 1px solid #000;
	transition: transform .18s var(--ease), box-shadow .25s var(--ease), filter .25s;
}
.gbtn > span { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; }
.gbtn svg { width: 11px; height: 12px; }
.gbtn::before {
	content: ""; position: absolute; inset: 2px; z-index: 1; border-radius: 2px; pointer-events: none;
	border: 1px solid rgba(255, 240, 200, .35);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 4px rgba(0,0,0,.25);
}
.gbtn::after {
	content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; z-index: 1;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
	transform: skewX(-20deg); transition: left .6s var(--ease); pointer-events: none;
}
.gbtn:hover::after { left: 130%; }
.gbtn:hover { transform: translateY(-2px); }
.gbtn:active { transform: translateY(1px); transition-duration: .05s; }

.gbtn-gold {
	color: #2a1807 !important;
	text-shadow: 0 1px 0 rgba(255, 236, 190, .7);
	background:
		linear-gradient(180deg, rgba(255,255,255,.35) 0, rgba(255,255,255,0) 48%, rgba(0,0,0,.08) 52%, rgba(0,0,0,0) 100%),
		linear-gradient(180deg, #f8dca0 0%, #e6b464 45%, #c78b3e 55%, #e0a95a 100%);
	box-shadow: 0 0 0 1px #3c2510, 0 6px 16px rgba(0,0,0,.55), 0 0 22px rgba(226,176,97,.18);
}
.gbtn-gold:hover {
	filter: brightness(1.08) saturate(1.05);
	box-shadow: 0 0 0 1px #3c2510, 0 10px 24px rgba(0,0,0,.6), 0 0 34px rgba(240,190,105,.45);
}
.gbtn-gold:active { box-shadow: 0 0 0 1px #3c2510, inset 0 3px 8px rgba(80,40,0,.45); filter: brightness(.95); }

.gbtn-stone {
	color: var(--gold-hi) !important;
	text-shadow: 0 1px 2px #000;
	background: var(--noise), linear-gradient(180deg, #2a313c 0%, #161b23 50%, #0f1319 100%);
	box-shadow: 0 0 0 1px var(--bronze-line), 0 6px 16px rgba(0,0,0,.55);
}
.gbtn-stone::before { border-color: rgba(226,176,97,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.gbtn-stone::after { background: linear-gradient(100deg, transparent, rgba(127,224,208,.22), transparent); }
.gbtn-stone:hover { box-shadow: 0 0 0 1px var(--gold), 0 10px 22px rgba(0,0,0,.6), 0 0 22px rgba(127,224,208,.18); color: #fff !important; }
.gbtn-stone:active { box-shadow: 0 0 0 1px var(--gold), inset 0 3px 8px rgba(0,0,0,.7); }

.gbtn-lg { --h: 56px; padding: 0 34px; font-size: 15px; }
.gbtn-sm { --h: 38px; padding: 0 18px; font-size: 12px; }
.gbtn-block { display: flex; width: 100%; }
.gbtn-block + .gbtn-block { margin-top: 10px; }

/* =====================================================================
   Frames (panels) - stone texture, bronze double border, corner rivets
   ===================================================================== */
.frame {
	position: relative;
	background: var(--noise), linear-gradient(180deg, rgba(22,29,39,.96), rgba(11,15,21,.97));
	border: 1px solid #000;
	border-radius: var(--radius);
	box-shadow:
		0 0 0 1px var(--bronze-line),
		0 0 0 3px #06080b,
		0 0 0 4px rgba(138,100,52,.45),
		0 22px 50px rgba(0,0,0,.6),
		inset 0 1px 0 rgba(255,255,255,.05);
}
.frame::before, .frame::after {
	content: ""; position: absolute; width: 9px; height: 9px; z-index: 2; pointer-events: none;
	background: radial-gradient(circle at 35% 35%, var(--gold-hi), var(--gold-mid) 55%, var(--gold-lo));
	transform: rotate(45deg); box-shadow: 0 0 0 1px #000, 0 0 8px rgba(226,176,97,.35);
}
.frame::before { top: -6px; left: -6px; }
.frame::after { bottom: -6px; right: -6px; }

/* =====================================================================
   Top bar
   ===================================================================== */
.topbar {
	position: sticky; top: 0; z-index: 50;
	background: var(--noise), linear-gradient(180deg, #12171f, #0a0d12);
	border-bottom: 1px solid #000;
	box-shadow: 0 1px 0 var(--bronze-line), 0 10px 30px rgba(0,0,0,.55);
}
.topbar-inner { max-width: 1400px; margin: 0 auto; padding: 0 28px; height: 74px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.8)); transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand span {
	font: 800 25px/1 'Cinzel', serif; letter-spacing: .04em;
	background: linear-gradient(180deg, #fff1cf, #e2b061 55%, #a86d2c); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 2px 2px rgba(0,0,0,.8));
}
.mainnav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.mainnav > ul { list-style: none; margin: 0; padding: 0; display: flex; }
.has-sub { position: relative; }
.nav-cat {
	position: relative; display: flex; align-items: center; gap: 7px; height: 74px; padding: 0 16px;
	background: none; border: 0; cursor: pointer;
	color: var(--text-2); font: 600 13px/1 'Cinzel', serif; letter-spacing: .09em; text-transform: uppercase;
	transition: color .2s;
}
.nav-cat svg { width: 9px; height: 6px; opacity: .6; transition: transform .25s var(--ease); }
.nav-cat::after {
	content: ""; position: absolute; left: 50%; right: 50%; bottom: 14px; height: 2px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
	box-shadow: 0 0 10px rgba(226,176,97,.8); transition: left .3s var(--ease), right .3s var(--ease);
}
.has-sub:hover .nav-cat, .has-sub:focus-within .nav-cat, .has-sub.open .nav-cat { color: var(--gold-hi); }
.has-sub:hover .nav-cat::after, .has-sub:focus-within .nav-cat::after, .has-sub.open .nav-cat::after { left: 14px; right: 14px; }
.has-sub:hover .nav-cat svg, .has-sub.open .nav-cat svg { transform: rotate(180deg); }
.sub {
	position: absolute; top: calc(100% - 6px); left: 50%; min-width: 240px; list-style: none; margin: 0; padding: 10px;
	background: var(--noise), linear-gradient(180deg, #171e28, #0c1016);
	border: 1px solid #000; border-radius: var(--radius);
	box-shadow: 0 0 0 1px var(--bronze-line), 0 24px 40px rgba(0,0,0,.7);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.sub::before { content: ""; position: absolute; top: -6px; left: 50%; width: 10px; height: 10px; transform: translateX(-50%) rotate(45deg); background: #171e28; border-left: 1px solid var(--bronze-line); border-top: 1px solid var(--bronze-line); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a {
	position: relative; display: block; padding: 9px 14px 9px 26px; border-radius: 2px;
	color: var(--text-2); font-size: 14px; text-decoration: none !important; transition: background .2s, color .2s, padding .2s;
}
.sub a::before { content: ""; position: absolute; left: 11px; top: 50%; width: 5px; height: 5px; transform: translateY(-50%) rotate(45deg); background: var(--bronze-line); transition: background .2s; }
.sub a:hover { background: linear-gradient(90deg, rgba(226,176,97,.14), transparent); color: var(--gold-hi); padding-left: 30px; }
.sub a:hover::before { background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 42px; padding: 11px 10px; background: linear-gradient(180deg, #232a35, #11151b); border: 1px solid var(--bronze-line); border-radius: var(--radius); cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--gold); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle.x span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.x span:nth-child(2) { opacity: 0; }
.nav-toggle.x span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* language switcher (idioma plugin) inside the top bar */
html body #idioma-bar { position: fixed !important; top: 21px !important; right: 24px !important; z-index: 60 !important; gap: 4px !important; }
html body #idioma-bar .idioma-flag { background: #0c1016 !important; border: 1px solid var(--bronze-line) !important; font: 600 11px 'Inter', sans-serif !important; color: var(--text-2) !important; padding: 5px 8px !important; opacity: .75 !important; transition: opacity .2s, box-shadow .2s; }
html body #idioma-bar .idioma-flag:hover { opacity: 1 !important; }
html body #idioma-bar .idioma-active { opacity: 1 !important; border-color: var(--gold) !important; box-shadow: 0 0 10px rgba(226,176,97,.35) !important; }

/* =====================================================================
   Hero
   ===================================================================== */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid #000; box-shadow: 0 1px 0 var(--bronze-line); }
.hero-bg { position: absolute; inset: -2%; background-size: cover; background-position: center 30%; animation: heroDrift 40s ease-in-out infinite alternate; }
@keyframes heroDrift { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.08) translateX(-1.5%); } }
.hero-sand {
	position: absolute; left: 0; right: 0; bottom: 0; height: 45%; pointer-events: none; opacity: .55;
	background: repeating-linear-gradient(100deg, rgba(226,176,97,0) 0 60px, rgba(226,176,97,.07) 90px, rgba(226,176,97,0) 140px);
	background-size: 600px 100%; animation: sand 14s linear infinite;
	-webkit-mask-image: linear-gradient(0deg, #000 30%, transparent); mask-image: linear-gradient(0deg, #000 30%, transparent);
}
@keyframes sand { to { background-position: -600px 0; } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,9,13,.96) 0%, rgba(7,9,13,.78) 34%, rgba(7,9,13,.15) 70%, rgba(7,9,13,.35) 100%), linear-gradient(0deg, var(--ink) 0%, rgba(7,9,13,0) 40%); }
.hero-inner { position: relative; max-width: 1400px; margin: 0 auto; padding: 44px 28px 28px; }
.hero-big .hero-inner { min-height: 600px; padding-top: 60px; padding-bottom: 46px; display: flex; flex-direction: column; justify-content: center; }
.hero-logo { display: block; width: clamp(200px, 24vw, 300px); height: auto; margin: 0 0 6px -10px; filter: drop-shadow(0 10px 24px rgba(0,0,0,.8)); }
.hero-copy h1 {
	font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; letter-spacing: .02em; margin: 4px 0 16px;
	background: linear-gradient(180deg, #fff6e2 20%, #e9cfa0 70%, #c9995a); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 4px 14px rgba(0,0,0,.9));
}
.hero-copy .lead { max-width: 520px; margin: 0 0 30px; color: #e5dccd; font-size: 17px; text-shadow: 0 2px 8px #000; }
.hero-copy.small h1 { font-size: clamp(30px, 4vw, 46px); margin: 0; }
.title-rule { position: relative; width: 220px; height: 12px; margin-top: 10px; }
.title-rule::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.title-rule i { position: absolute; left: 0; top: 1px; width: 9px; height: 9px; transform: rotate(45deg); background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.status-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 2px;
	background: rgba(7,9,13,.78); border: 1px solid rgba(138,100,52,.6); color: var(--text-2); font-size: 13px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.chip b { color: var(--gold-hi); font-weight: 700; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.chip.on { color: var(--teal); border-color: rgba(127,224,208,.45); }
.chip.on i { background: var(--teal); animation: pulse 2s infinite; }
.chip.off { color: var(--danger); }
.chip.off i { background: var(--danger); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(127,224,208,.6); } 70% { box-shadow: 0 0 0 9px rgba(127,224,208,0); } 100% { box-shadow: 0 0 0 0 rgba(127,224,208,0); } }

/* =====================================================================
   Feature tiles (home)
   ===================================================================== */
.features { max-width: 1400px; margin: 34px auto 0; padding: 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
	position: relative; display: flex; flex-direction: column; min-height: 230px; overflow: hidden; text-decoration: none !important;
	border: 1px solid #000; border-radius: var(--radius); background: #0b0f15;
	box-shadow: 0 0 0 1px var(--bronze-line), 0 18px 40px rgba(0,0,0,.55);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature-art { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .8s var(--ease), filter .5s; filter: saturate(.85) brightness(.75); }
.feature-art.cast { background-size: auto 115%; background-position: right -20px bottom; background-repeat: no-repeat; background-color: #0e131a; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,9,13,.97) 18%, rgba(7,9,13,.5) 60%, rgba(7,9,13,.1)); }
.feature-body { position: relative; z-index: 1; margin-top: auto; padding: 22px 24px; }
.feature-tag { display: inline-block; padding: 3px 9px; margin-bottom: 10px; font: 700 10.5px 'Inter'; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); border: 1px solid rgba(127,224,208,.4); background: rgba(7,9,13,.6); }
.feature h3 { font-size: 21px; color: var(--gold-hi); margin-bottom: 6px; }
.feature p { margin: 0; color: var(--text-2); font-size: 14px; }
.feature:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--gold), 0 28px 50px rgba(0,0,0,.7), 0 0 30px rgba(226,176,97,.15); }
.feature:hover .feature-art { transform: scale(1.07); filter: saturate(1) brightness(.9); }

/* =====================================================================
   Layout
   ===================================================================== */
.layout { max-width: 1400px; margin: 38px auto 56px; padding: 0 28px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
.content-panel { padding: 26px 32px 34px; min-height: 480px; }
.crumbs { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid rgba(138,100,52,.35); }
.crumbs .sep { width: 6px; height: 6px; transform: rotate(45deg); background: var(--bronze-line); }

/* sidebar cards: identical structure -> title bar / body / footer bar */
.side-col { display: flex; flex-direction: column; gap: 30px; }
.card { display: flex; flex-direction: column; }
.card-title {
	display: flex; align-items: center; justify-content: center; gap: 12px; height: 50px; padding: 0 16px;
	background: linear-gradient(180deg, rgba(226,176,97,.16), rgba(226,176,97,.02)), #0d1117;
	border-bottom: 1px solid #000; box-shadow: 0 1px 0 rgba(138,100,52,.55);
}
.card-title h3 { font-size: 15.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-hi); text-shadow: 0 2px 3px #000; white-space: nowrap; }
.orn { flex: 1; height: 1px; max-width: 60px; background: linear-gradient(90deg, transparent, var(--gold)); position: relative; }
.orn::after { content: ""; position: absolute; right: -3px; top: -3px; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
.orn.r { background: linear-gradient(270deg, transparent, var(--gold)); }
.orn.r::after { right: auto; left: -3px; }
.card-body { position: relative; padding: 18px 18px 16px; flex: 1; }
.card-foot {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 18px;
	border-top: 1px solid rgba(138,100,52,.35); background: rgba(0,0,0,.25); font-size: 12.5px; color: var(--muted);
}
.card-foot b { color: var(--teal); }
.card-foot a { margin-left: auto; font: 700 12px 'Cinzel', serif; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; }
.card-foot a::after { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease); }
.card-foot a:hover { color: var(--gold-hi); }
.card-foot a:hover::after { transform: translateX(4px) rotate(45deg); }

/* boosted */
.boost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.boost {
	display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 8px 14px;
	background: linear-gradient(180deg, rgba(127,224,208,.07), rgba(0,0,0,.25)); border: 1px solid rgba(127,224,208,.28); border-radius: var(--radius);
	transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.boost.boss { background: linear-gradient(180deg, rgba(226,176,97,.10), rgba(0,0,0,.25)); border-color: rgba(226,176,97,.38); }
.boost:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 0 18px rgba(127,224,208,.18); }
.boost.boss:hover { border-color: var(--gold); box-shadow: 0 0 18px rgba(226,176,97,.22); }
.boost-tag { font: 700 10px/1 'Inter'; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.boss .boost-tag { color: var(--gold); }
.boost-stage { position: relative; width: 100%; height: 104px; display: flex; align-items: center; justify-content: center; margin: 6px 0 4px; }
.boost-stage .aura { position: absolute; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle, rgba(127,224,208,.35), rgba(127,224,208,0) 68%); animation: aura 3.2s ease-in-out infinite; }
.boss .boost-stage .aura { background: radial-gradient(circle, rgba(240,170,80,.45), rgba(240,170,80,0) 68%); }
@keyframes aura { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.12); opacity: 1; } }
.boost-stage::after { content: ""; position: absolute; bottom: 10px; width: 60px; height: 10px; border-radius: 50%; background: radial-gradient(rgba(0,0,0,.7), transparent 70%); }
.boost-stage img { position: relative; z-index: 1; width: 96px; height: 96px; image-rendering: pixelated; animation: bob 2.6s ease-in-out infinite; filter: drop-shadow(0 6px 6px rgba(0,0,0,.7)); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.boost strong { display: flex; align-items: center; justify-content: center; min-height: 2.5em; font: 700 14.5px/1.2 'Cinzel', serif; color: var(--text); }
.boost small { color: var(--muted); font-size: 11.5px; }

/* status */
.stat-list { list-style: none; margin: 0; padding: 0; }
.stat-list li { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(138,100,52,.18); font-size: 14px; }
.stat-list li:last-child { border-bottom: 0; }
.stat-list span { color: var(--muted); }
.stat-list b { display: inline-flex; align-items: center; gap: 7px; color: var(--text); }
.stat-list .ok { color: var(--teal); }
.stat-list .bad { color: var(--danger); }
.led { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }

/* top list */
.top-list { list-style: none; margin: 0; padding: 0; }
.top-list li { display: flex; align-items: center; gap: 12px; padding: 9px 6px; border-bottom: 1px solid rgba(138,100,52,.18); border-radius: 2px; transition: background .2s; }
.top-list li:last-child { border-bottom: 0; }
.top-list li:hover { background: rgba(226,176,97,.06); }
.top-list .who { flex: 1; min-width: 0; line-height: 1.3; }
.top-list .who a { display: block; color: var(--text); font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-list .who a:hover { color: var(--gold-hi); }
.top-list .who small { color: var(--muted); font-size: 12px; }
.top-list b { color: var(--gold); font-size: 13px; white-space: nowrap; }
.medal, .rank {
	width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%;
	font: 800 13px 'Cinzel', serif; color: var(--text-2); background: radial-gradient(circle at 35% 30%, #2d3440, #12161c); border: 1px solid #000; box-shadow: 0 0 0 1px rgba(138,100,52,.6);
}
.m1, .rank.r1 { color: #3a2408; background: radial-gradient(circle at 35% 30%, #fff1c4, #e2b061 55%, #9c6526); box-shadow: 0 0 0 1px #6b4518, 0 0 12px rgba(226,176,97,.5); }
.m2, .rank.r2 { color: #23272d; background: radial-gradient(circle at 35% 30%, #ffffff, #b9c1cb 55%, #6d7682); box-shadow: 0 0 0 1px #4d555f; }
.m3, .rank.r3 { color: #2c1608; background: radial-gradient(circle at 35% 30%, #ffd2ad, #c47b45 55%, #7b4220); box-shadow: 0 0 0 1px #5a2f15; }

/* download card */
.download-card { overflow: hidden; }
.dl-bg { position: absolute; inset: 50px 0 0; background-size: auto 140%; background-position: right -40px top -10px; background-repeat: no-repeat; opacity: .22; pointer-events: none; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { position: relative; background: var(--noise), linear-gradient(180deg, #0d1117, #07090d); border-top: 1px solid #000; box-shadow: 0 -1px 0 var(--bronze-line); }
.footer-orn { position: absolute; top: -7px; left: 50%; transform: translateX(-50%); }
.footer-orn i { display: block; width: 13px; height: 13px; transform: rotate(45deg); background: radial-gradient(circle at 35% 35%, var(--gold-hi), var(--gold-mid) 60%, var(--gold-lo)); box-shadow: 0 0 0 1px #000, 0 0 12px rgba(226,176,97,.5); }
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 34px 28px 26px; display: grid; grid-template-columns: auto 1fr; gap: 14px 30px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 36px; }
.footer-brand span { font: 800 20px 'Cinzel', serif; color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: flex-end; }
.footer-links a { color: var(--text-2); font: 600 12px 'Cinzel', serif; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold-hi); }
.footer-meta { grid-column: 1 / -1; color: #7d7a73; font-size: 12px; text-align: center; padding-top: 16px; border-top: 1px solid rgba(138,100,52,.2); }
.footer-credit { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 13px; }
.dev-link {
	display: inline-flex; align-items: center; gap: 7px; margin-left: 4px; padding: 5px 12px; border-radius: 999px;
	color: var(--gold-hi) !important; font-weight: 700; letter-spacing: .02em;
	border: 1px solid rgba(37,211,102,.45); background: rgba(37,211,102,.08); transition: background .2s, box-shadow .2s, transform .2s;
}
.dev-link svg { width: 16px; height: 16px; color: #25d366; }
.dev-link:hover { background: rgba(37,211,102,.18); box-shadow: 0 0 16px rgba(37,211,102,.3); transform: translateY(-1px); }

/* =====================================================================
   Legacy MyAAC content (tables, forms, boxes, news)
   ===================================================================== */
#ContentHelper { color: var(--text); overflow-x: auto; font-size: 15px; }
#ContentHelper h1, #ContentHelper h2 { font-size: 26px; margin: 8px 0 16px; color: var(--gold-hi); }
#ContentHelper h3 { font-size: 19px; margin: 6px 0 10px; }
#ContentHelper p { color: var(--text-2); }
#ContentHelper table { border-collapse: separate; border-spacing: 0; max-width: 100%; }
#ContentHelper td, #ContentHelper th { color: var(--text); }
#ContentHelper tr[bgcolor] td { border-bottom: 1px solid rgba(138,100,52,.14); padding: 8px 10px; }
#ContentHelper .white, #ContentHelper .white b, #ContentHelper td.white, #ContentHelper .white a { color: var(--gold-hi) !important; font-family: 'Cinzel', serif; letter-spacing: .04em; }
#ContentHelper input[type=text], #ContentHelper input[type=password], #ContentHelper input[type=email],
#ContentHelper input[type=number], #ContentHelper input:not([type]), #ContentHelper select, #ContentHelper textarea {
	min-height: 40px; background: #06080b; color: var(--text); border: 1px solid #000; border-radius: var(--radius); padding: 8px 12px;
	box-shadow: 0 0 0 1px rgba(138,100,52,.55), inset 0 2px 5px rgba(0,0,0,.6); font: 15px 'Inter', sans-serif; transition: box-shadow .2s;
}
#ContentHelper input:focus, #ContentHelper select:focus, #ContentHelper textarea:focus { outline: none; box-shadow: 0 0 0 1px var(--teal), 0 0 0 4px rgba(127,224,208,.15), inset 0 2px 5px rgba(0,0,0,.6); }
#ContentHelper input[type=submit], #ContentHelper button, #ContentHelper input[type=button] {
	min-height: 42px; padding: 0 22px; cursor: pointer; border: 1px solid #000; border-radius: var(--radius);
	font: 700 13px 'Cinzel', serif; letter-spacing: .08em; text-transform: uppercase; color: #2a1807;
	background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,0) 50%), linear-gradient(180deg, #f8dca0, #e6b464 45%, #c78b3e 55%, #e0a95a);
	box-shadow: 0 0 0 1px #3c2510, 0 5px 12px rgba(0,0,0,.5); transition: transform .15s, filter .2s, box-shadow .2s;
}
#ContentHelper input[type=submit]:hover, #ContentHelper button:hover, #ContentHelper input[type=button]:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 0 0 1px #3c2510, 0 8px 18px rgba(0,0,0,.55), 0 0 22px rgba(226,176,97,.35); }
#ContentHelper input[type=image] { filter: sepia(.5) saturate(1.2); }
#ContentHelper hr { border: 0; border-top: 1px solid rgba(138,100,52,.35); }
#ContentHelper small, #ContentHelper .size_xs, #ContentHelper .size_xxs { color: var(--muted); }

#ContentHelper .TableContainer, #ContentHelper .InnerTableContainer, #ContentHelper .CaptionContainer, #ContentHelper .Caption { background: transparent !important; }
#ContentHelper .Text, #ContentHelper .CaptionContainer .Text { background: linear-gradient(180deg, rgba(226,176,97,.2), rgba(226,176,97,.04)), #0d1117 !important; color: var(--gold-hi) !important; padding: 10px 14px; font: 700 14px 'Cinzel', serif; letter-spacing: .06em; border: 1px solid rgba(138,100,52,.55); border-bottom: 0; }
#ContentHelper .TableContentAndRightShadow, #ContentHelper .TableContentContainer, #ContentHelper .TableShadowContainer,
#ContentHelper .TableShadowContainerRightTop, #ContentHelper .TableShadowRightTop, #ContentHelper .TableBottomShadow,
#ContentHelper .TableBottomLeftShadow, #ContentHelper .TableBottomRightShadow { background: transparent !important; background-image: none !important; }
#ContentHelper .TableContent { background: rgba(6,8,11,.6) !important; border: 1px solid rgba(138,100,52,.55) !important; }
#ContentHelper .TableContent td { background: transparent !important; color: var(--text) !important; padding: 9px 12px; }
#ContentHelper .LabelV, #ContentHelper .LabelH { color: var(--text-2) !important; font-weight: 600; background: transparent !important; }
#ContentHelper .FormFieldError { color: var(--danger); }
#ContentHelper [style*="border:1px solid #faf0d7"] { border-color: rgba(138,100,52,.35) !important; }
#ContentHelper .CaptionEdgeLeftTop, #ContentHelper .CaptionEdgeRightTop, #ContentHelper .CaptionEdgeLeftBottom, #ContentHelper .CaptionEdgeRightBottom,
#ContentHelper .CaptionBorderTop, #ContentHelper .CaptionBorderBottom, #ContentHelper .CaptionVerticalLeft, #ContentHelper .CaptionVerticalRight { display: none !important; }

#News { margin: 0 0 8px; }
.NewsHeadline { margin: 10px 0 14px; }
.NewsHeadlineBackground {
	background: linear-gradient(90deg, rgba(226,176,97,.18), rgba(226,176,97,0) 80%) !important;
	border-left: 3px solid var(--gold); padding: 14px 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
}
.NewsHeadlineIcon { display: none; }
.NewsHeadlineDate { color: var(--teal); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; }
.NewsHeadlineText { font: 700 25px/1.2 'Cinzel', serif; color: var(--gold-hi); flex-basis: 100%; order: -1; }
.NewsHeadlineAuthor { color: var(--muted); font-size: 12.5px; margin-left: auto; }

/* =====================================================================
   Highscores
   ===================================================================== */
.hs-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.hs-head h2 { margin: 0 !important; }
.hs-filters label { display: flex; flex-direction: column; gap: 6px; font: 700 11px 'Inter'; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hs-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.hs-tabs a { padding: 7px 14px; border-radius: 2px; border: 1px solid rgba(138,100,52,.55); background: rgba(6,8,11,.5); color: var(--text-2); font: 600 12px 'Cinzel', serif; letter-spacing: .06em; text-decoration: none !important; transition: all .2s; }
.hs-tabs a:hover { border-color: var(--gold); color: var(--gold-hi); box-shadow: 0 0 12px rgba(226,176,97,.2); }
.hs-tabs a.active { color: #2a1807; border-color: #3c2510; background: linear-gradient(180deg, #f8dca0, #e6b464 45%, #c78b3e 55%, #e0a95a); }
.hs-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 14px; margin-bottom: 24px; }
.hs-podium .p { text-align: center; padding: 18px 10px 16px; border-radius: var(--radius); border: 1px solid rgba(138,100,52,.55); background: linear-gradient(180deg, rgba(226,176,97,.08), rgba(6,8,11,.6)); }
.hs-podium .p1 { order: 2; padding-top: 26px; border-color: var(--gold); background: linear-gradient(180deg, rgba(248,220,160,.2), rgba(6,8,11,.6)); box-shadow: 0 0 26px rgba(226,176,97,.18); }
.hs-podium .p2 { order: 1; }
.hs-podium .p3 { order: 3; }
.hs-podium .rank { margin: 0 auto 8px; }
.hs-podium .outfit { height: 72px; display: flex; align-items: flex-end; justify-content: center; }
.hs-podium .outfit img { max-height: 70px; image-rendering: pixelated; }
.hs-podium a { display: block; font: 700 16px 'Cinzel', serif; color: var(--text); margin-top: 6px; }
.hs-podium small { color: var(--muted); display: block; }
.hs-podium .val { color: var(--gold); font-weight: 700; margin-top: 4px; }
table.hs-table { width: 100%; border-collapse: collapse !important; }
table.hs-table th { text-align: left; padding: 11px 12px; font: 700 11px 'Inter'; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) !important; border-bottom: 1px solid rgba(138,100,52,.6); }
table.hs-table td { padding: 10px 12px; border-bottom: 1px solid rgba(138,100,52,.14); vertical-align: middle; }
table.hs-table tbody tr { transition: background .2s; }
table.hs-table tbody tr:hover { background: rgba(226,176,97,.07); }
table.hs-table .num { text-align: right; font-variant-numeric: tabular-nums; }
table.hs-table .name a { color: var(--text); font-weight: 600; }
table.hs-table .name a:hover { color: var(--gold-hi); }
table.hs-table .name small { display: block; color: var(--muted); }
table.hs-table .outfit img { height: 42px; image-rendering: pixelated; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; background: #555c66; vertical-align: middle; }
.dot.on { background: var(--teal); box-shadow: 0 0 6px var(--teal); }
.hs-pager { display: flex; justify-content: space-between; margin-top: 16px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (min-width: 1181px) { .topbar-inner { padding-right: 200px; } }
@media (max-width: 1180px) {
	.layout { grid-template-columns: 1fr; }
	.side-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
}
@media (max-width: 1180px) and (min-width: 1001px) { .topbar-inner { padding-right: 190px; } .nav-cat { padding: 0 11px; } }
@media (max-width: 1000px) {
	.topbar-inner { height: 64px; padding: 0 16px; gap: 12px; }
	.brand img { width: 38px; height: 38px; }
	.brand span { font-size: 21px; }
	.nav-toggle { display: flex; }
	.mainnav { display: none; position: absolute; top: 64px; left: 0; right: 0; max-height: calc(100vh - 64px); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; background: #0c1016; border-bottom: 1px solid var(--bronze-line); box-shadow: 0 20px 40px rgba(0,0,0,.7); }
	.mainnav.open { display: flex; }
	.mainnav > ul { flex-direction: column; }
	.nav-cat { height: 52px; width: 100%; justify-content: space-between; font-size: 14px; border-bottom: 1px solid rgba(138,100,52,.2); }
	.nav-cat::after { display: none; }
	.sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 6px 0 10px; background: transparent; min-width: 0; }
	.sub::before { display: none; }
	.has-sub.open .sub { display: block; }
	.has-sub:hover .sub { display: none; }
	.has-sub.open:hover .sub { display: block; }
	.sub a { padding: 12px 14px 12px 28px; font-size: 15px; }
	.nav-cta { margin-top: 14px; }
	html body #idioma-bar { top: 16px !important; right: 74px !important; }
	html body #idioma-bar span { display: none; }
	.hero-big .hero-inner { min-height: 520px; padding-top: 36px; }
	.hero-shade { background: linear-gradient(0deg, var(--ink) 0%, rgba(7,9,13,.82) 50%, rgba(7,9,13,.45) 100%); }
	.features { grid-template-columns: 1fr; }
	.feature { min-height: 180px; }
}
@media (max-width: 720px) {
	body { font-size: 15.5px; }
	.layout { padding: 0 16px; margin-top: 28px; gap: 28px; }
	.features { padding: 0 16px; margin-top: 26px; gap: 22px; }
	.side-col { grid-template-columns: 1fr; }
	.content-panel { padding: 18px 16px 24px; }
	.hero-inner { padding: 30px 16px 22px; }
	.hero-copy .lead { font-size: 16px; }
	.hero-actions .gbtn { width: 100%; }
	.chip { font-size: 12.5px; padding: 6px 10px; }
	.hs-podium { grid-template-columns: 1fr; }
	.hs-podium .p1, .hs-podium .p2, .hs-podium .p3 { order: initial; }
	table.hs-table .outfit { display: none; }
	.footer-inner { grid-template-columns: 1fr; text-align: center; }
	.footer-brand { justify-content: center; }
	.footer-links { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
