/*
Theme Name: Rncalation Collectible Arena
Theme URI: https://rncalation.online/
Author: Rncalation
Author URI: https://rncalation.online/
Description: Tema oscuro premium de Rncalation para cromos, sobres, skins animadas, Arena PvE/JvJ, clanes y clasificaciones.
Version: 2.4.4
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rncalation-collectible-arena
Tags: dark, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, entertainment, grid-layout
*/

:root{--rnc-theme-bg:#080a12;--rnc-theme-panel:#111728;--rnc-theme-panel-2:#151c30;--rnc-theme-text:#f5f6ff;--rnc-theme-muted:#9da8c1;--rnc-theme-border:rgba(185,198,232,.15);--rnc-theme-gold:#e9c575;--rnc-theme-gold-light:#ffedb5;--rnc-theme-violet:#9f8cff;--rnc-theme-content:1320px; color-scheme:dark}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:radial-gradient(ellipse at 78% 6%,rgba(93,72,174,.13),transparent 32rem),radial-gradient(ellipse at 8% 34%,rgba(32,97,154,.08),transparent 28rem),var(--rnc-theme-bg);color:var(--rnc-theme-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65;min-height:100vh}
body.admin-bar .site-header{top:32px}
a{color:var(--rnc-theme-gold-light);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:#fff}
img{height:auto;max-width:100%}
button,input,select,textarea{font:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--rnc-theme-gold);outline-offset:3px}
.site{min-height:100vh;display:flex;flex-direction:column}
.site-header{position:relative;z-index:50;width:min(var(--rnc-theme-content),calc(100% - 36px));margin:18px auto 0;padding:10px 13px;border:1px solid var(--rnc-theme-border);border-radius:17px;background:rgba(13,17,30,.88);box-shadow:0 12px 40px rgba(0,0,0,.18);backdrop-filter:blur(18px)}
.site-header-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:46px}
.site-brand{display:inline-flex;align-items:center;gap:11px;min-width:0;color:inherit;text-decoration:none}
.site-custom-logo{display:block;width:auto;max-width:110px;max-height:40px;object-fit:contain;border-radius:4px}.site-brand-mark{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border-radius:12px;color:#191526;background:linear-gradient(135deg,var(--rnc-theme-gold-light),#b88b3e);font-size:13px;font-weight:950;letter-spacing:-.06em;box-shadow:inset 0 1px 0 #fff8,0 5px 16px #b78c3733}
.site-brand-copy{display:flex;flex-direction:column;gap:3px;line-height:1}
.site-brand-copy strong{font-size:12px;font-weight:900;letter-spacing:.17em}
.site-brand-copy small{color:var(--rnc-theme-muted);font-size:8px;font-weight:800;letter-spacing:.2em}
.primary-navigation{display:flex;align-items:center;gap:clamp(12px,2.3vw,30px)}
.primary-navigation ul{display:flex;align-items:center;gap:clamp(12px,2.3vw,30px);margin:0;padding:0;list-style:none}
.primary-navigation a{color:#c8cde0;font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap}
.primary-navigation a:hover{color:var(--rnc-theme-gold-light)}
.primary-navigation .menu-item-account a,.header-account-link{display:inline-flex;align-items:center;padding:10px 13px;border:1px solid rgba(233,197,117,.32);border-radius:10px;color:var(--rnc-theme-gold-light);background:rgba(233,197,117,.07);text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap}
.menu-toggle{display:none;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:1px solid var(--rnc-theme-border);border-radius:9px;background:#ffffff09;color:var(--rnc-theme-text);cursor:pointer}
.site-main{flex:1;width:100%;margin:0 auto;padding:26px 0 64px}
.content-shell{width:min(var(--rnc-theme-content),calc(100% - 36px));margin:0 auto}
.entry-header{margin:0 auto 22px;max-width:var(--rnc-theme-content)}
.entry-title,.page-title{margin:0 0 14px;color:var(--rnc-theme-text);font-size:clamp(30px,4vw,48px);font-weight:850;line-height:1.1;letter-spacing:-.035em}
.entry-content{color:#e4e8f5;overflow-wrap:anywhere}
.entry-content>p,.entry-content>ul,.entry-content>ol,.entry-content>blockquote,.entry-content>h2,.entry-content>h3,.entry-content>h4,.entry-content>.wp-block-group,.entry-content>.wp-block-columns{max-width:var(--rnc-theme-content);margin-left:auto;margin-right:auto}
.entry-content h2,.entry-content h3,.entry-content h4{color:var(--rnc-theme-text);line-height:1.2}
.entry-content blockquote{padding:18px 22px;border-left:3px solid var(--rnc-theme-gold);border-radius:0 12px 12px 0;background:#ffffff08;color:#c7cde0}
.entry-content table{width:100%;border-collapse:collapse;background:#111728;border:1px solid var(--rnc-theme-border)}
.entry-content th,.entry-content td{padding:11px;border-bottom:1px solid var(--rnc-theme-border);text-align:left}
.entry-content input:not([type=checkbox]):not([type=radio]),.entry-content textarea,.entry-content select{max-width:100%;padding:10px 12px;border:1px solid var(--rnc-theme-border);border-radius:9px;background:#0f1422;color:var(--rnc-theme-text)}
.entry-content .wp-block-button__link{border-radius:9px;background:linear-gradient(135deg,#f6d88d,#d9a847);color:#1a1720;font-weight:850;text-decoration:none}
.post-card{padding:24px;border:1px solid var(--rnc-theme-border);border-radius:17px;background:linear-gradient(155deg,#151c2c,#0e1220);box-shadow:0 16px 50px #0002}
.post-card+.post-card{margin-top:18px}
.post-meta{margin:0 0 10px;color:var(--rnc-theme-muted);font-size:12px}
.post-excerpt{color:#c4cce0}
.post-navigation,.pagination,.nav-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:30px}
.post-navigation a,.pagination a,.pagination span{display:inline-flex;padding:9px 13px;border:1px solid var(--rnc-theme-border);border-radius:9px;background:#ffffff07;text-decoration:none}
.site-footer{width:min(var(--rnc-theme-content),calc(100% - 36px));margin:20px auto 0;padding:23px 0 30px;border-top:1px solid var(--rnc-theme-border);color:var(--rnc-theme-muted);font-size:12px}
.site-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.site-footer p{margin:0}
.comments-area{margin-top:40px;padding-top:24px;border-top:1px solid var(--rnc-theme-border)}
.comment-list{padding-left:20px}
.comment-body{margin:14px 0;padding:16px;border-radius:12px;background:#111728}
.widget-area{margin-top:26px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.alignwide{max-width:var(--rnc-theme-content)}
.alignfull{width:100%;max-width:none}
body.rn-cromos-visual-page .site-main{padding-top:2px}
body.rn-cromos-visual-page .entry-header{width:min(var(--rnc-theme-content),calc(100% - 36px));margin-top:24px}
body.rn-cromos-visual-page .entry-content>p:first-child:empty{display:none}
body.rn-cromos-visual-page .content-shell{width:100%;max-width:none}
body.rn-cromos-visual-page .entry-content{width:100%}
body.rn-cromos-visual-page .entry-content>p:has(+ .rn-cromos-wrap){display:none}
.error-404{text-align:center;padding:60px 20px}
.error-404 .page-title{font-size:clamp(40px,7vw,80px);color:var(--rnc-theme-gold)}
@media(max-width:980px){body.admin-bar .site-header{top:46px}.site-header{width:calc(100% - 22px);margin-top:11px;padding:9px 10px}.site-header-inner{gap:10px}.menu-toggle{display:inline-flex}.primary-navigation{display:none;position:absolute;top:calc(100% + 9px);left:0;right:0;align-items:stretch;padding:12px;border:1px solid var(--rnc-theme-border);border-radius:13px;background:#0e1321;box-shadow:0 20px 42px #0008}.primary-navigation.is-open{display:flex;flex-direction:column}.primary-navigation ul{align-items:stretch;flex-direction:column;gap:3px}.primary-navigation a{display:block;padding:11px 10px;white-space:normal}.primary-navigation .menu-item-account a,.header-account-link{justify-content:center}.site-main{padding-top:22px}.content-shell,.site-footer{width:calc(100% - 24px)}.post-card{padding:18px}.site-footer-inner{flex-direction:column;align-items:flex-start}body.rn-cromos-visual-page .entry-header{width:calc(100% - 24px)}}
@media(max-width:380px){.site-brand-copy strong{font-size:10px}.site-brand-copy small{font-size:7px}.site-brand-mark{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* 2.2.0 — Navigation and separated app pages */
.primary-navigation .menu-item-ascension a{color:#d6c6ff}.primary-navigation .menu-item-ascension a:hover{color:#fff}
.primary-navigation .menu-item-pve a,.primary-navigation .menu-item-pvp a{color:#e7d9ff}
.primary-navigation .menu-item-home a{opacity:.85}
body.rn-ascension-page .content-shell,body.rn-forja-page .content-shell{width:min(1460px,calc(100% - 36px));max-width:1460px}
body.rn-login-page .content-shell{width:min(900px,calc(100% - 36px));max-width:900px}
body.rn-login-page .entry-header{margin-bottom:12px}
body.rn-ascension-page .entry-content>p:first-child:empty,body.rn-forja-page .entry-content>p:first-child:empty{display:none}
@media(max-width:980px){.site-header{position:relative}.primary-navigation .menu-item-ascension a,.primary-navigation .menu-item-pve a,.primary-navigation .menu-item-pvp a{color:#c8cde0}}

.site-main--front{padding-top:20px}.content-shell--front{width:min(1480px,calc(100% - 36px));max-width:1480px}.front-page-content>.entry-content{width:100%;max-width:none}.front-page-content>.entry-content>p:empty{display:none}


/* 2.3.0 — Halloween seasonal visual refresh */
:root{
  --rnc-theme-gold:#ff9148;
  --rnc-theme-gold-light:#ffd09a;
  --rnc-theme-violet:#b18cff;
  --rnc-theme-border:rgba(255,151,83,.20);
}
body{
  background:
    radial-gradient(ellipse at 82% 8%,rgba(126,76,192,.19),transparent 34rem),
    radial-gradient(ellipse at 12% 22%,rgba(255,111,43,.12),transparent 28rem),
    radial-gradient(ellipse at 75% 78%,rgba(93,132,72,.075),transparent 30rem),
    #08070d;
}
body.rn-cromos-visual-page,
body.rn-game-visual-page{
  background:
    radial-gradient(ellipse at 82% 8%,rgba(130,78,203,.19),transparent 34rem),
    radial-gradient(ellipse at 12% 22%,rgba(255,111,43,.13),transparent 28rem),
    radial-gradient(ellipse at 75% 78%,rgba(93,132,72,.075),transparent 30rem),
    #08070d!important;
}
.site-header{
  width:min(1320px,calc(100% - 64px));
  margin:26px auto 0;
  border-color:rgba(255,151,83,.23);
  background:linear-gradient(110deg,rgba(14,10,20,.95),rgba(17,12,27,.93));
  box-shadow:0 14px 42px rgba(0,0,0,.30),0 0 30px rgba(255,110,45,.035);
}
.site-brand-mark{
  color:#22120d;
  background:linear-gradient(135deg,#ffe0a1,#ff8d3b 72%,#cc5b28);
  box-shadow:inset 0 1px 0 #fff9,0 5px 18px rgba(255,112,45,.22);
}
.primary-navigation a:hover{color:#ffbf7a}
.primary-navigation .menu-item-account a,.header-account-link{
  border-color:rgba(255,145,72,.38);
  color:#ffd09a;
  background:rgba(255,126,57,.09);
}
.content-shell,.site-footer{border-color:rgba(255,151,83,.12)}
.site-footer{border-top-color:rgba(255,151,83,.18)}
.post-card{
  border-color:rgba(255,151,83,.17);
  background:linear-gradient(150deg,rgba(29,17,34,.96),rgba(12,10,18,.98));
}
.entry-content blockquote{border-left-color:#ff9148;background:rgba(255,130,56,.065)}
.entry-content table{background:#120d19;border-color:rgba(255,151,83,.17)}
.entry-content th,.entry-content td{border-bottom-color:rgba(255,151,83,.14)}
@media(max-width:980px){
  .site-header{width:calc(100% - 32px);margin-top:18px}
}
@media(max-width:620px){
  .site-header{width:calc(100% - 24px);margin-top:14px;border-radius:14px}
}


/* 2.4.0 — Clanes: integrar la incursión cooperativa en la navegación y la paleta del sitio. */
.primary-navigation .menu-item-clanes a,.rnc-vault-clans{color:var(--rnc-theme-gold-light)}
.primary-navigation .menu-item-clanes a:hover,.rnc-vault-clans:hover{color:#fff}
body.rn-clanes-page .content-shell{width:min(1240px,calc(100% - 36px));max-width:1240px}
body.rn-clanes-page .entry-header{width:min(1240px,calc(100% - 36px));margin:24px auto 18px}
body.rn-clanes-page .entry-content{width:100%;max-width:none}
body.rn-clanes-page .entry-content>p:first-child:empty{display:none}
body.rn-clanes-page .rnc-wrap{max-width:1240px;margin:8px auto 32px}
body.rn-clanes-page .rnc-hero,body.rn-clanes-page .rnc-panel,body.rn-clanes-page .rnc-clan-card,body.rn-clanes-page .rnc-boss-panel{box-shadow:0 18px 48px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.025)}
@media(max-width:650px){body.rn-clanes-page .content-shell,body.rn-clanes-page .entry-header{width:calc(100% - 20px)}}


/* 2.4.2 — Enlace de soporte oficial a Discord. */
.primary-navigation .menu-item-support a,
.site-footer-support{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 11px;border:1px solid rgba(114,137,218,.42);border-radius:10px;background:rgba(88,101,242,.12);color:#dce3ff!important;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap;transition:background .18s ease,border-color .18s ease,color .18s ease}
.primary-navigation .menu-item-support a:hover,
.site-footer-support:hover{background:rgba(88,101,242,.22);border-color:rgba(143,160,255,.72);color:#fff!important}
.site-footer-inner{align-items:center}
.site-footer-support{margin-left:auto}
@media(max-width:980px){.primary-navigation .menu-item-support a{justify-content:flex-start;width:100%}.site-footer-support{margin-left:0}}

/* 2.4.3 — Acceso a skins cosméticas. */
.primary-navigation .menu-item-skins a,.rnc-vault-skins{color:var(--rnc-theme-gold-light)!important}.primary-navigation .menu-item-skins a:hover,.rnc-vault-skins:hover{color:#fff!important}
