/*
Theme Name: BossDark Traducciones
Description: Portada editorial de fantraducciones para Dramas Studios.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 7.4
Author: Dramas Studios
Text Domain: bossdark-traducciones
*/
:root{color-scheme:dark;--bg:#101714;--band:#141f19;--card:#1c2922;--line:#314438;--green:#22c55e;--light:#4ade80;--ink:#f3f7f4;--muted:#b7c8bd;--header:4.6rem}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-padding-top:calc(var(--header) + 1rem)}
body{margin:0;background:var(--bg);color:var(--ink);font:1rem/1.55 system-ui,sans-serif}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--light);outline-offset:4px}
img{display:block;max-width:100%;height:auto}
p{margin:.55rem 0 1rem;color:var(--muted)}
h1,h2,h3{margin:0;line-height:1.16;letter-spacing:-.025em;overflow-wrap:anywhere}
h2{font-size:clamp(1.5rem,2.7vw,2.15rem);margin-bottom:1.15rem}
h2>span{color:var(--light);font-size:.86em}
h3{font-size:1.2rem}
time{font-size:.875rem;color:var(--muted)}
.bd-shell{width:min(88rem,calc(100% - 3rem));margin-inline:auto}
.bd-sr,.bd-skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.bd-skip:focus{position:fixed;top:.5rem;left:.5rem;padding:.6rem;background:var(--ink);color:var(--bg);z-index:100000}
.bd-header{position:sticky;top:0;z-index:20;background:#0c130f;border-bottom:1px solid var(--line)}
.admin-bar .bd-header{top:32px}
.bd-header-inner{min-height:var(--header);display:flex;align-items:center;justify-content:space-between;gap:1.3rem}
.bd-brand{display:inline-flex;align-items:center;gap:.6rem;font-size:1.12rem;line-height:1;font-weight:820;white-space:nowrap;letter-spacing:-.03em}
.bd-brand img{width:2.65rem;height:2.65rem;object-fit:contain}
.bd-brand small{display:block;margin-top:.25rem;font-size:.71rem;letter-spacing:.08em;text-transform:uppercase;color:var(--light)}
.bd-nav,.bd-tools,.bd-actions{display:flex;align-items:center;gap:clamp(.5rem,1.3vw,1.3rem)}
.bd-nav a{font-size:.875rem;font-weight:660}
.bd-nav a:hover,.bd-footer a:hover,.bd-card a:hover h3,.bd-updates a:hover strong{color:var(--light)}
.bd-tools{gap:.38rem}
.bd-icon,.bd-language-menu summary{height:2.5rem;min-width:2.5rem;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:.45rem;background:#152019;color:var(--ink);padding:0 .5rem}
.bd-icon:hover,.bd-language-menu summary:hover{border-color:var(--light)}
.bd-search-icon{position:relative;width:.8rem;height:.8rem;border:2px solid currentColor;border-radius:50%;margin:-.15rem .15rem 0 0}
.bd-search-icon::after{content:"";position:absolute;width:.38rem;height:2px;background:currentColor;transform:rotate(45deg);left:.55rem;top:.62rem}
.bd-user-icon{position:relative;width:.9rem;height:.42rem;border:2px solid currentColor;border-radius:100% 100% 25% 25%;margin-top:.45rem}
.bd-user-icon::before{content:"";position:absolute;left:50%;top:-.66rem;transform:translateX(-50%);width:.47rem;height:.47rem;border:2px solid currentColor;border-radius:50%}
.bd-language-menu{position:relative;font-size:.875rem;font-weight:750}
.bd-language-menu summary{list-style:none;cursor:pointer}
.bd-language-menu summary::-webkit-details-marker{display:none}
.bd-language-menu ul{position:absolute;right:0;top:100%;min-width:9rem;margin:.35rem 0 0;padding:.25rem;list-style:none;background:var(--card);border:1px solid var(--line);border-radius:.45rem}
.bd-language-menu a{display:block;padding:.4rem .6rem}
.bd-language-menu a[aria-current],.bd-language-menu a:hover{color:var(--light)}
.bd-menu-toggle{display:none}
.bd-hero{padding:clamp(2rem,5vw,4rem) 0 2rem;background:radial-gradient(ellipse at 41% 10%,#1e3426,transparent 67%),var(--bg)}
.bd-hero-top{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:clamp(1rem,3vw,3rem);width:min(61rem,100%);margin-inline:auto}
.bd-mascot{width:clamp(6rem,15vw,11rem);height:auto;image-rendering:pixelated}
.bd-kicker{margin:0 0 .5rem;color:var(--light);font:700 .875rem/1.3 ui-monospace,monospace;letter-spacing:.1em}
.bd-hero h1{font-size:clamp(2.15rem,4.8vw,4.25rem);max-width:22ch}
.bd-intro{margin-bottom:.85rem}
.bd-stats{display:flex;flex-wrap:wrap;gap:.45rem .85rem;margin:.65rem 0 0}
.bd-stats div{display:flex;align-items:baseline;flex-direction:row-reverse;gap:.35rem;color:var(--muted);font-size:.875rem}
.bd-stats dd{margin:0;font-size:1.25rem;font-weight:820;font-variant-numeric:tabular-nums}
.bd-stat--total dd,.bd-stat--complete dd{color:var(--light)}
.bd-stat--working dd{color:#ffb477}
.bd-search{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.65rem;width:min(61rem,100%);margin:1.6rem auto 0}
.bd-search input,.bd-button{border:1px solid var(--line);border-radius:.45rem;padding:.65rem 1rem;min-height:2.85rem}
.bd-search input{background:var(--card);color:var(--ink);min-width:0;width:100%}
.bd-search input::placeholder{color:var(--muted)}
.bd-button{display:inline-flex;align-items:center;justify-content:center;text-align:center;color:var(--light);background:transparent;font-weight:720;font-size:.925rem}
.bd-button:hover{background:#23382a;border-color:var(--light)}
.bd-button:disabled{color:var(--muted);opacity:.7;cursor:default}
.bd-primary{background:var(--green);color:#07160c;border-color:var(--green)}
.bd-primary:hover{background:var(--light);color:#07160c}
.bd-section{padding:clamp(1.6rem,3vw,2.65rem) 0}
.bd-band{background:var(--band);border-block:1px solid #213227}
.bd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.05rem}
.bd-card{min-width:0;background:var(--card);border:1px solid var(--line);border-radius:.65rem;overflow:hidden}
.bd-card:focus-within,.bd-card:hover{border-color:#53966a}
.bd-card>a{display:block;height:100%}
.bd-card>a:focus-visible{outline-offset:-3px}
.bd-card h3{color:var(--light)}
.bd-card p{margin-bottom:.7rem}
.bd-card time{display:block;margin-bottom:.38rem}
.bd-card-body{padding:1.05rem}
.bd-by{font-size:.875rem}
.bd-art{display:block;overflow:hidden;aspect-ratio:16/9;background:#101a14}
.bd-art img,.bd-art-fallback{width:100%;height:100%;object-fit:cover}
.bd-art-fallback{display:block;background:repeating-linear-gradient(135deg,#19271e 0 15px,#1c2c22 15px 30px)}
.bd-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.38rem;color:var(--muted);font-size:.875rem}
.bd-language,.bd-console,.bd-state{display:inline-flex;align-items:center;min-height:1.55rem;border-radius:.27rem;padding:.12rem .4rem}
.bd-language,.bd-console{border:1px solid #405648;background:#15211a}
.bd-state{background:#2b3930;color:#c7d5cc}
.bd-state--complete{color:#a3f8b9;background:#203e2b}
.bd-state--working{color:#ffd0a7;background:#4a3222}
.bd-state--cancelled{color:#ffb5b7;background:#492a2d}
.bd-carousel{position:relative}
.bd-carousel-controls{position:absolute;top:.7rem;right:.7rem;z-index:2;display:flex;gap:.3rem}
.bd-carousel-controls button{font-size:1.65rem;line-height:1}
.bd-track{display:grid;gap:.85rem}
.bd-feature>a,.bd-discover>a{display:grid;grid-template-columns:1.55fr 1fr}
.bd-feature .bd-card-body,.bd-discover .bd-card-body{display:flex;align-items:flex-start;flex-direction:column;justify-content:center;min-width:0;padding:clamp(1rem,3vw,2.4rem)}
.bd-feature h3{font-size:clamp(1.6rem,3.1vw,2.85rem)}
.bd-feature .bd-art,.bd-discover .bd-art{height:100%}
.bd-feature .bd-art{min-height:19rem}
.bd-carousel:has(.bd-carousel-controls:not([hidden])) .bd-feature .bd-card-body{padding-top:3.65rem}
.bd-launch-grid{margin-top:.75rem;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}
.bd-launch-grid a{display:grid;grid-template-columns:4.65rem minmax(0,1fr);align-items:center;gap:.65rem;background:var(--card);border:1px solid var(--line);border-radius:.45rem;padding:.55rem;font-size:.875rem}
.bd-launch-grid time{display:block}
.bd-launch-grid a[aria-current]{border-color:var(--green)}
.bd-more{display:table;margin:1.2rem auto 0}
.bd-updates{padding:0;margin:0;list-style:none}
.bd-updates li+li{border-top:1px solid var(--line)}
.bd-updates a{display:grid;grid-template-columns:minmax(7rem,.65fr) 5rem minmax(0,2.4fr) minmax(0,1.5fr);align-items:center;gap:.8rem;padding:.65rem .45rem}
.bd-updates .bd-art,.bd-launch-grid .bd-art{border-radius:.27rem}
.bd-updates strong{overflow-wrap:anywhere}
.bd-updates .bd-meta{justify-content:flex-end}
.bd-discover>a{grid-template-columns:minmax(0,.52fr) minmax(0,1.48fr)}
.bd-empty{border:1px dashed var(--line);border-radius:.5rem;padding:1rem;margin:0}
.bd-pagination{text-align:center;margin-top:1.25rem}
.bd-pagination .page-numbers{padding:.35rem .55rem}
.bd-pagination .current{color:var(--light)}
.bd-plan-panel{display:grid;grid-template-columns:1.4fr 1fr;gap:1.5rem;align-items:center;border:1px solid var(--line);background:var(--card);border-radius:.65rem;padding:clamp(1rem,3vw,2rem)}
.bd-plan-panel h2{margin-bottom:.5rem}
.bd-actions{flex-wrap:wrap}
.bd-prices{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}
.bd-prices div{border:1px solid var(--line);border-radius:.4rem;padding:.65rem;text-align:center;background:var(--bg)}
.bd-prices strong{display:block;color:var(--light);font-size:clamp(1.1rem,2vw,1.55rem)}
.bd-prices p{grid-column:1/-1;margin:0;font-size:.875rem}
.bd-footer{border-top:1px solid var(--line);padding:1.7rem 0;background:#0c130f}
.bd-footer-inner{display:flex;justify-content:space-between;gap:1.25rem;flex-wrap:wrap}
.bd-footer ul{list-style:none;margin:0;padding:0}
.bd-footer a,.bd-footer p{font-size:.875rem}
.bd-generic article+article{margin-top:1.5rem}
.bd-generic a{text-decoration:underline;text-underline-offset:.2em}
@media(max-width:70rem){.bd-header-inner{gap:.7rem}.bd-nav{gap:.65rem}.bd-brand img{width:2.35rem;height:2.35rem}}
@media(max-width:62rem){.bd-header-inner{flex-wrap:wrap;padding-block:.45rem}.bd-nav{order:3;width:100%;flex-wrap:wrap;gap:.45rem .8rem;padding-bottom:.25rem}.bd-menu-ready .bd-menu-toggle{display:inline-grid}.bd-menu-ready:not(.bd-menu-open) .bd-nav{display:none}.bd-menu-ready .bd-nav a{flex:1 0 40%;padding:.3rem 0}.bd-feature .bd-art{min-height:14rem}}
@media(max-width:48rem){.bd-shell{width:calc(100% - 1.5rem)}.bd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bd-launch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bd-updates a{grid-template-columns:4rem minmax(0,1fr);gap:.3rem .65rem}.bd-updates .bd-art{grid-column:1;grid-row:1/span 2}.bd-updates time,.bd-updates strong,.bd-updates .bd-meta{grid-column:2}.bd-updates .bd-meta{justify-content:flex-start}.admin-bar .bd-header{top:46px}}
@media(max-width:36rem){.admin-bar .bd-header{top:0}.bd-hero-top{grid-template-columns:1fr;gap:.65rem}.bd-mascot{width:5.5rem}.bd-search{grid-template-columns:1fr 1fr}.bd-search input{grid-column:1/-1}.bd-grid,.bd-feature>a,.bd-discover>a,.bd-plan-panel{grid-template-columns:1fr}.bd-feature .bd-art{min-height:0}.bd-carousel:has(.bd-carousel-controls:not([hidden])) .bd-feature .bd-card-body{padding-top:1rem}.bd-launch-grid{grid-template-columns:1fr}.bd-footer-inner{justify-content:flex-start}}

.bd-flag{display:block;width:1.05rem;height:.73rem;border-radius:.11rem;box-shadow:0 0 0 1px #ffffff30}
.bd-flag--es{background:linear-gradient(#bf242f 25%,#ffc83d 25% 75%,#bf242f 75%)}
.bd-flag--fr{background:linear-gradient(90deg,#19439d 33%,#fff 33% 66%,#e74750 66%)}
.bd-flag--it{background:linear-gradient(90deg,#159b60 33%,#fff 33% 66%,#d53b46 66%)}
.bd-flag--de{background:linear-gradient(#111 33%,#de323b 33% 66%,#f4c236 66%)}
.bd-flag--pt{background:radial-gradient(circle at 40%,#ffcf40 12%,transparent 15%),linear-gradient(90deg,#18804a 40%,#d33743 40%)}
.bd-flag--en{background:linear-gradient(90deg,transparent 42%,#cb2c42 42% 58%,transparent 58%),linear-gradient(transparent 37%,#cb2c42 37% 63%,transparent 63%),linear-gradient(90deg,transparent 33%,white 33% 67%,transparent 67%),linear-gradient(transparent 29%,white 29% 71%,transparent 71%),linear-gradient(33deg,transparent 43%,white 43% 57%,transparent 57%),linear-gradient(-33deg,#243a7f 43%,white 43% 57%,#243a7f 57%)}
.bd-flag--ja{background:radial-gradient(circle,#d53050 32%,white 35%)}
@media(min-width:48.01rem){
  .bd-carousel-controls{inset:0 -.7rem auto;top:calc(clamp(14rem,33vw,28rem) / 2);display:flex;justify-content:space-between;pointer-events:none}
  .bd-carousel-controls button{pointer-events:auto;border-radius:50%;box-shadow:0 3px 10px #07110aaa}
  .bd-carousel:has(.bd-carousel-controls:not([hidden])) .bd-feature .bd-card-body{padding:clamp(1.5rem,3.5vw,3rem)}
}
@media(prefers-reduced-motion:no-preference){.bd-card,.bd-button,.bd-icon{transition:background-color .16s,border-color .16s}}

.bd-sheet{width:min(70rem,calc(100% - 3rem));padding:1.4rem 0 4rem}
.bd-sheet-path{margin-bottom:.8rem;font-size:.875rem;color:var(--light)}
.bd-sheet-head,.bd-patch,.bd-patcher,.bd-sheet-facts,.bd-progress-grid>div{background:var(--card);border:1px solid var(--line);border-radius:.7rem}
.bd-sheet-head{background:linear-gradient(135deg,#263c2e,var(--card) 55%,#15211a);overflow:hidden}
.bd-sheet-title,.bd-sheet-summary{padding:clamp(1rem,3vw,1.85rem)}
.bd-sheet-title{display:flex;align-items:end;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line)}
.bd-sheet-title h1{font-size:clamp(2rem,4.4vw,3.45rem)}
.bd-sheet-title time{background:#101c15;border-radius:.35rem;padding:.38rem .65rem;flex-shrink:0}
.bd-sheet-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);gap:clamp(1rem,3vw,2rem)}
.bd-cover{display:grid;place-items:center;background:#101914;overflow:hidden;border-radius:.55rem;min-height:9rem}
.bd-cover img{max-height:24rem;width:auto;object-fit:contain}
.bd-cover .bd-art-fallback{min-height:12rem}
.bd-sheet-actions{margin-top:.7rem;gap:.4rem}
.bd-sheet-actions .bd-button{padding:.4rem .6rem}
.bd-sheet-actions [aria-pressed=true]{background:#254937;border-color:#62b87d}
.bd-sheet-grid{display:grid;gap:0;margin:.9rem 0 0}
.bd-sheet-grid>div{display:grid;grid-template-columns:minmax(9rem,.65fr) minmax(0,1.35fr);gap:.6rem;padding:.45rem 0;border-bottom:1px solid #ffffff13}
.bd-sheet-grid>div:last-child{border:0}
.bd-sheet-grid dt{font-size:.875rem;font-weight:700;color:var(--muted)}
.bd-sheet-grid dd{margin:0;overflow-wrap:anywhere}
.bd-sheet-facts{padding:.75rem 1.25rem;margin:0 0 1.15rem}
.bd-sheet-section{margin-top:clamp(2rem,5vw,3.5rem)}
.bd-sheet-section>h2{padding-bottom:.7rem;border-bottom:1px solid var(--green)}
.bd-patch,.bd-patcher{padding:.9rem 1.1rem;margin-bottom:.7rem;overflow-wrap:anywhere}
.bd-patch-title{display:flex;align-items:center;justify-content:space-between;gap:.65rem;flex-wrap:wrap}
.bd-patch-title h3{color:var(--light)}
.bd-patch-title>span{color:var(--muted)}
.bd-patch-note{padding:.6rem .85rem;margin-top:.7rem;border-inline-start:3px solid #ffb477;background:#152019}
.bd-patch-note p,.bd-patcher p{margin:.25rem 0}
.bd-patcher{border-style:dashed}
.bd-editorial{overflow-wrap:anywhere}
.bd-editorial :is(video,iframe){max-width:100%}
.bd-editorial :is(a),.bd-history a{color:var(--light);text-decoration:underline}
.bd-progress-grid,.bd-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}
.bd-progress-language{margin:.75rem 0 .5rem}
.bd-progress-grid>div{padding:.75rem;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.4rem;font-size:.875rem}
.bd-progress-grid progress{grid-column:1/-1;width:100%;accent-color:var(--green)}
.bd-gallery a{background:#0e1812;border:1px solid var(--line);border-radius:.5rem;aspect-ratio:16/10;display:grid;place-items:center;min-height:0;overflow:hidden}
.bd-gallery img{width:100%;height:100%;object-fit:contain}
.bd-lightbox{width:min(68rem,calc(100% - 1rem));max-height:95dvh;border:1px solid var(--line);border-radius:.65rem;background:var(--card);color:var(--ink);padding:.7rem}
.bd-lightbox::backdrop{background:#000d}
.bd-lightbox-controls{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:.6rem;margin-bottom:.65rem}
.bd-lightbox img{max-height:calc(95dvh - 8rem);width:auto;margin:auto;object-fit:contain;touch-action:pan-y}
.bd-history{border-left:1px solid var(--green);padding:0 0 0 1.3rem;list-style:none}
.bd-history li{padding:0 0 1.15rem;position:relative}
.bd-history li::before{content:"";position:absolute;left:-1.55rem;top:.45rem;width:.45rem;height:.45rem;border-radius:50%;background:var(--light)}
@media(max-width:56rem){.bd-progress-grid,.bd-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:43rem){.bd-sheet{width:calc(100% - 1.5rem)}.bd-sheet-title,.bd-sheet-summary{grid-template-columns:1fr}.bd-sheet-title{display:grid}.bd-sheet-title time{justify-self:start}.bd-sheet-grid>div{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}}
@media(max-width:22rem){.bd-progress-grid{grid-template-columns:1fr}}
.bd-report{display:grid;justify-items:start;gap:.65rem}
.bd-report textarea{width:min(100%,42rem);padding:.55rem;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:.4rem;font:inherit}
