.brand:has(>.tt-brand-lockup){display:flex;align-items:center;gap:0;min-width:0;white-space:normal;line-height:1}
.tt-brand-lockup{display:inline-flex;flex-direction:column;align-items:flex-end;justify-content:center;min-width:0;max-width:100%;flex-shrink:1}
.brand .tt-brand-logo,.tt-brand-logo{display:block;width:clamp(158.7px,23vw,253px);height:auto;max-width:100%;object-fit:contain;aspect-ratio:1453/346}
.brand .tt-brand-subtitle,.tt-brand-subtitle{margin:-3px 5px 0 0;color:inherit;font-size:9px;letter-spacing:.07em;font-weight:650;white-space:nowrap;line-height:1.2}
@media(max-width:600px){.brand .tt-brand-logo,.tt-brand-logo{width:clamp(127.6px,38.5vw,184.8px)}.brand .tt-brand-subtitle{font-size:8px}}
.auth-brand .tt-brand-logo{width:min(264.5px,100%)}
@media(max-width:600px){.auth-brand .tt-brand-logo{width:min(253px,100%)}}

@media(max-width:420px){.site-header .brand .tt-brand-logo{width:129.8px;max-width:100%}.site-header .brand .tt-brand-subtitle{font-size:7px}}


/* Logo de cabecera: mantener compatibilidad con páginas aún no migradas al SVG. */
img.tt-brand-logo { content:url("/assets/brand/tickercito-header.svg?v=20261121-logo-fix"); aspect-ratio:510/112; object-fit:contain; }

/* Navegación principal visible y funcional incluso con JavaScript desactivado. */
.site-header .tt-header-nav{display:flex;align-items:center;justify-content:center;gap:clamp(5px,1.1vw,16px);min-width:0;flex:1}
.site-header .tt-header-nav a{color:inherit;text-decoration:none;font-size:clamp(.7rem,.85vw,.82rem);font-weight:750;white-space:nowrap;padding:8px 5px;border-radius:6px}
.site-header .tt-header-nav a:hover,.site-header .tt-header-nav a:focus-visible{color:#d0fc66;text-decoration:underline}
.site-header .tt-header-nav a[aria-current="page"]{color:#d0fc66}
.site-header .header-inner{gap:clamp(8px,1.3vw,20px)}
.site-header .tt-header-actions{flex-shrink:0}
@media(max-width:900px){
  .site-header .header-inner{flex-wrap:wrap;gap:0 10px;padding-top:8px;padding-bottom:5px}
  .site-header .tt-header-nav{order:3;flex:0 0 100%;justify-content:flex-start;gap:14px;overflow-x:auto;scrollbar-width:thin}
  .site-header .tt-header-nav a{font-size:.75rem;padding:6px 2px}
  .site-header .tt-header-actions{margin-left:auto}
}

/* Tienda: navegación pública antes del menú comercial interno. */
.store .masthead{flex-wrap:wrap}
.store .masthead .tt-header-nav{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:0;padding:0;background:none;border:0;flex:1 1 auto;min-width:250px}
.store .masthead .tt-header-nav a{display:inline-flex;padding:6px 3px;text-decoration:none;font-size:.78rem;font-weight:750;color:var(--text);background:none;box-shadow:none;white-space:nowrap}
.store .masthead .tt-header-nav a:hover{color:#d0fc66;text-decoration:underline}
@media(max-width:840px){.store .masthead .tt-header-nav{order:3;flex:0 0 100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap}}

/* Fichus y Mercado: cabeceras propias, accesos principales compartidos. */
.mast .tt-header-nav,.masthead .tt-header-nav{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px 14px;min-width:0;flex:1 1 auto;margin:0;background:none;border:0;padding:0}
.mast .tt-header-nav a,.masthead .tt-header-nav a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:.78rem;font-weight:750;color:inherit;padding:6px 3px;background:none;border:0;box-shadow:none;white-space:nowrap}
.mast .tt-header-nav a:hover,.masthead .tt-header-nav a:hover{color:#d0fc66;text-decoration:underline}
.mast:has(>.tt-header-nav),.masthead:has(>.tt-header-nav){flex-wrap:wrap}
@media(max-width:840px){.mast .tt-header-nav,.masthead .tt-header-nav{order:3;flex:0 0 100%;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto}}

/* Cuenta: el avatar es el acceso visual. El nombre queda en aria-label/title,
   actualizado por contact-header.js para usuarios autenticados. */
.site-header #tt-header-account{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:0;width:44px;min-width:44px;height:44px;min-height:44px;padding:0}
.site-header #tt-header-account::after{content:none}
.site-header #tt-header-avatar{width:44px;height:44px;flex:none;overflow:hidden;border-radius:50%}
.site-header #tt-header-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}

/* Íconos decorativos de los accesos principales, sin JS ni fuentes externas. */
.tt-header-nav a{display:inline-flex;align-items:center;gap:7px}
.tt-header-nav a::before{content:"";display:block;width:17px;height:17px;flex:none;background-color:currentColor;-webkit-mask-image:var(--tt-nav-icon);mask-image:var(--tt-nav-icon);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}
.tt-header-nav a:is([href="/#play-title"],[href="/eng/"],[href="/eng/#play-title"]){--tt-nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22m10%208%206%204-6%204z%22%2F%3E%3C%2Fsvg%3E")}
.tt-header-nav a:is([href="/ranking/"],[href="/eng/ranking/"]){--tt-nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%2021h8M12%2017v4M7%203h10v7a5%205%200%200%201-10%200V3Z%22%2F%3E%3Cpath%20d%3D%22M7%206H4v2a4%204%200%200%200%204%204M17%206h3v2a4%204%200%200%201-4%204%22%2F%3E%3C%2Fsvg%3E")}
.tt-header-nav a:is([href="/tickerdex/"],[href="/eng/tickerdex/"]){--tt-nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%207v14M3%2018V4.5A2.5%202.5%200%200%201%205.5%202H9a3%203%200%200%201%203%203%203%203%200%200%201%203-3h3.5A2.5%202.5%200%200%201%2021%204.5V18a2%202%200%200%200-2-2h-4a3%203%200%200%200-3%203%203%203%200%200%200-3-3H5a2%202%200%200%200-2%202Z%22%2F%3E%3C%2Fsvg%3E")}
.tt-header-nav a:is([href="/arena/"],[href="/arena/duelo/"],[href="/duelo/"]){--tt-nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%2020%205-5M14%2010l7-7-5%201-6%206M3%203l7%207M20%2020l-7-7M10%2014l4-4%22%2F%3E%3Cpath%20d%3D%22m3%2016%205%205M16%203l5%205%22%2F%3E%3C%2Fsvg%3E")}

.tt-site-footer .tt-footer-social svg{width:17px;height:17px;max-width:17px;max-height:17px;flex:0 0 17px}

/* Shared bilingual chrome. No extra stylesheet or third-party assets. */
.site-header .tt-header-actions{display:flex;align-items:center;gap:clamp(4px,1vw,10px);flex-wrap:nowrap;min-width:0}
.site-header .tt-language-switch,.masthead .tt-language-switch,.masthead .store-language{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:36px;min-height:36px;padding:6px 9px;border:1px solid #46565c;border-radius:9px;color:var(--text,#f2f1e9);background:#182329;font-size:.75rem;font-weight:800;line-height:1;text-decoration:none;letter-spacing:.04em}
.site-header .tt-language-switch:hover,.masthead .tt-language-switch:hover,.masthead .store-language:hover{border-color:var(--accent,#d0fc66);color:var(--accent,#d0fc66)}
.tt-language-switch:focus-visible,.store-language:focus-visible{outline:2px solid var(--accent,#d0fc66);outline-offset:3px}
.site-header .tt-header-nav a[aria-current="location"]{color:var(--accent,#d0fc66)}
.tt-site-footer.site-footer{position:relative;display:block;padding:0;margin:clamp(36px,6vw,72px) 0 0;background:linear-gradient(155deg,#122326,#0a1115 74%);border-top:1px solid #354d47;color:#d5e4da;text-align:left}
.tt-site-footer.site-footer::before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,transparent,#d0fc66 39%,#617f62 74%,transparent)}
.tt-site-footer .shell{width:min(1120px,calc(100% - 40px));margin:0 auto;min-width:0}
.tt-site-footer .tt-footer-top{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.95fr);gap:clamp(24px,5vw,64px);padding:clamp(30px,5vw,58px) 0}
.tt-site-footer .tt-footer-brand,.tt-site-footer .tt-footer-group{min-width:0}
.tt-site-footer .tt-footer-brand .brand{display:inline-flex}
.tt-site-footer .tt-footer-tag{margin:20px 0 8px;font-size:clamp(1.3rem,3vw,1.9rem);line-height:1.15;font-weight:850;letter-spacing:-.04em;color:#f2f1e9}
.tt-site-footer nav{margin:0;padding:0;border:0;border-radius:0;background:none}
.tt-site-footer .tt-footer-social{display:flex;flex-wrap:wrap;gap:12px 16px;margin-top:22px}
.tt-site-footer .tt-footer-social a,.tt-site-footer .tt-footer-group a{display:inline-flex;align-items:center;justify-content:flex-start;flex-direction:row;gap:7px;min-height:24px;margin:0;padding:0;border:0;border-radius:3px;background:none;box-shadow:none;color:#bdccc9;font-size:.8rem;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
.tt-site-footer .tt-footer-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.tt-site-footer .tt-footer-group{display:flex;flex-direction:column;align-items:flex-start;gap:7px}
.tt-site-footer .tt-footer-group h2{font-size:.69rem;color:#d0fc66;letter-spacing:.12em;text-transform:uppercase;margin:0 0 8px;font-weight:850}
.tt-site-footer .tt-footer-group a:hover,.tt-site-footer .tt-footer-social a:hover,.tt-site-footer .tt-footer-bottom a:hover{color:#d0fc66}
.tt-site-footer .tt-footer-group a:focus-visible,.tt-site-footer .tt-footer-social a:focus-visible{outline:2px solid #d0fc66;outline-offset:3px}
.tt-site-footer .tt-footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 22px;padding:19px 0 23px;border-top:1px solid #30433f;font-size:.72rem;line-height:1.6;color:#aabbb9}
.tt-site-footer .tt-footer-bottom p{margin:0}
.tt-site-footer .tt-footer-bottom a{color:#d5e4da}
@media(max-width:850px){.tt-site-footer .tt-footer-top{grid-template-columns:1fr;gap:28px}}
@media(max-width:570px){.tt-site-footer .shell{width:calc(100% - 32px)}.tt-site-footer .tt-footer-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}.tt-site-footer .tt-footer-bottom{display:grid}.site-header .tt-language-switch,.masthead .tt-language-switch,.masthead .store-language{min-width:34px;min-height:36px;padding:6px}}
@media(max-width:350px){.tt-site-footer .tt-footer-nav{grid-template-columns:1fr}.site-header .tt-header-actions{gap:3px}}

/* External avatar frames: original portrait retains its exact layout box. */
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)::after{content:var(--tt-outer-content,none);position:absolute;inset:-15.625%;z-index:2;background:var(--tt-outer-art,none) center/100% 100% no-repeat;pointer-events:none;border-radius:0}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="18"],[src*="18&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c118"]:not([src*="preview_frame="]),:is([src$="preview_frame=24"],[src*="preview_frame=24&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/gold-plain.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="19"],[src*="19&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c119"]:not([src*="preview_frame="]),:is([src$="preview_frame=25"],[src*="preview_frame=25&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/silver-plain.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="1a"],[src*="1a&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c11a"]:not([src*="preview_frame="]),:is([src$="preview_frame=26"],[src*="preview_frame=26&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/copper-plain.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="1b"],[src*="1b&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c11b"]:not([src*="preview_frame="]),:is([src$="preview_frame=27"],[src*="preview_frame=27&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/ice-plain.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="1c"],[src*="1c&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c11c"]:not([src*="preview_frame="]),:is([src$="preview_frame=28"],[src*="preview_frame=28&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/jade-plain.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="1d"],[src*="1d&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c11d"]:not([src*="preview_frame="]),:is([src$="preview_frame=29"],[src*="preview_frame=29&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/amethyst-plain.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="1e"],[src*="1e&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c11e"]:not([src*="preview_frame="]),:is([src$="preview_frame=30"],[src*="preview_frame=30&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/gold-crest.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="1f"],[src*="1f&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c11f"]:not([src*="preview_frame="]),:is([src$="preview_frame=31"],[src*="preview_frame=31&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/silver-crest.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="20"],[src*="20&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c120"]:not([src*="preview_frame="]),:is([src$="preview_frame=32"],[src*="preview_frame=32&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/copper-crest.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="21"],[src*="21&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c121"]:not([src*="preview_frame="]),:is([src$="preview_frame=33"],[src*="preview_frame=33&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/ice-crest.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="22"],[src*="22&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c122"]:not([src*="preview_frame="]),:is([src$="preview_frame=34"],[src*="preview_frame=34&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/jade-crest.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="23"],[src*="23&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c123"]:not([src*="preview_frame="]),:is([src$="preview_frame=35"],[src*="preview_frame=35&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/amethyst-crest.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="24"],[src*="24&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c124"]:not([src*="preview_frame="]),:is([src$="preview_frame=36"],[src*="preview_frame=36&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/gold-royal.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="25"],[src*="25&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c125"]:not([src*="preview_frame="]),:is([src$="preview_frame=37"],[src*="preview_frame=37&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/silver-royal.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="26"],[src*="26&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c126"]:not([src*="preview_frame="]),:is([src$="preview_frame=38"],[src*="preview_frame=38&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/copper-royal.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="27"],[src*="27&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c127"]:not([src*="preview_frame="]),:is([src$="preview_frame=39"],[src*="preview_frame=39&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/ice-royal.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="28"],[src*="28&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c128"]:not([src*="preview_frame="]),:is([src$="preview_frame=40"],[src*="preview_frame=40&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/jade-royal.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):not([data-tt-frame]):has(>img:not([hidden])[src*="action=avatar"]:is([src*="v=0000000000000000000000000000"]:is([src$="29"],[src*="29&"]):not([src*="preview_frame="]),[src*="v=f0a7e8c129"]:not([src*="preview_frame="]),:is([src$="preview_frame=41"],[src*="preview_frame=41&"]))){--tt-outer-content:"";--tt-outer-art:url("/assets/avatars/frames/amethyst-royal.svg");position:relative;overflow:visible!important;border-color:transparent!important}
:where(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar):has(>img:not([hidden]))>img{border-radius:50%}

/* Explicit server-owned frame code; legacy token selectors remain a fallback. */
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame]{--tt-outer-content:none;--tt-outer-art:none}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame]:not([data-tt-frame="0"]):has(>img:not([hidden])){position:relative;overflow:visible!important;border-color:transparent!important;isolation:isolate}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame]:not([data-tt-frame="0"]):has(>img:not([hidden]))::after{display:block;content:"";position:absolute;inset:-15.625%;z-index:3;background:var(--tt-outer-art) center/100% 100% no-repeat;pointer-events:none;border:0;border-radius:0;box-shadow:none;transform:none}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="0"]::after{content:none!important}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame]>img{border-radius:50%;object-fit:cover}
.public-identity:has(>.public-avatar[data-tt-frame]:not([data-tt-frame="0"])){gap:24px}
@media(max-width:600px){.public-identity:has(>.public-avatar[data-tt-frame]:not([data-tt-frame="0"])){gap:18px}}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="24"]{--tt-outer-art:url("/assets/avatars/frames/gold-plain.svg")}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="25"]{--tt-outer-art:url("/assets/avatars/frames/silver-plain.svg")}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="26"]{--tt-outer-art:url("/assets/avatars/frames/copper-plain.svg")}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="27"]{--tt-outer-art:url("/assets/avatars/frames/ice-plain.svg")}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="28"]{--tt-outer-art:url("/assets/avatars/frames/jade-plain.svg")}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="29"]{--tt-outer-art:url("/assets/avatars/frames/amethyst-plain.svg")}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="30"]{--tt-outer-art:url("/assets/avatars/frames/gold-crest.svg")}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="31"]{--tt-outer-art:url("/assets/avatars/frames/silver-crest.svg")}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="32"]{--tt-outer-art:url("/assets/avatars/frames/copper-crest.svg")}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="33"]{--tt-outer-art:url("/assets/avatars/frames/ice-crest.svg")}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="34"]{--tt-outer-art:url("/assets/avatars/frames/jade-crest.svg")}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="35"]{--tt-outer-art:url("/assets/avatars/frames/amethyst-crest.svg")}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="36"]{--tt-outer-art:url("/assets/avatars/frames/gold-royal.svg")}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="37"]{--tt-outer-art:url("/assets/avatars/frames/silver-royal.svg")}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="38"]{--tt-outer-art:url("/assets/avatars/frames/copper-royal.svg")}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="39"]{--tt-outer-art:url("/assets/avatars/frames/ice-royal.svg")}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="40"]{--tt-outer-art:url("/assets/avatars/frames/jade-royal.svg")}
:is(.tt-avatar,.public-avatar,.store-avatar,.duel-avatar,#tt-header-avatar,#tt-profile-avatar)[data-tt-frame="41"]{--tt-outer-art:url("/assets/avatars/frames/amethyst-royal.svg")}

/* Ecosistema S&D: mantener el layout local y sus enlaces legales. */
@media(min-width:1000px){.tt-site-footer .tt-footer-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.tt-site-footer .tt-footer-top{grid-template-columns:minmax(0,1fr) minmax(0,2.5fr)}}

/* Firma horizontal S&D en el pie: conservar fondo y marca de Tickercito. */
.tt-site-footer .tt-footer-bottom .tt-sd-signature{display:inline-block;vertical-align:middle;width:140px;max-width:100%;height:auto;filter:invert(1);aspect-ratio:512/58;margin-inline:4px}
/* Copias estáticas anteriores: la etiqueta textual permanece accesible. */
.tt-site-footer .tt-footer-bottom a[href="https://www.santoroydonoso.com/"]:not(:has(img)),.tt-site-footer .tt-footer-bottom a[href="https://santoroydonoso.com/"]:not(:has(img)){display:inline-block;vertical-align:middle;font-size:0;width:140px;height:16px;background:url('/assets/sd-firma-horizontal.png') center/contain no-repeat;filter:invert(1);margin-inline:4px}
