/* Mu Paprioka · web · what production adds on top of css/paprioka.css (the approved reference, untouched).
   Real <input>, checkbox and buttons with the look of the reference; nothing here imitates the art. */

/* fields: the .inp box of the reference, as a real input */
input.inp{width:100%;margin:0;font:400 14px 'Open Sans',sans-serif;color:#fbf9ef;outline:none;border-radius:0;-webkit-appearance:none;appearance:none}
input.inp::placeholder{color:#7d7871;opacity:1}
input.inp:focus{border-color:#e6c068;box-shadow:inset 0 2px 7px rgba(0,0,0,.75),0 0 0 3px rgba(230,192,104,.15)}
input.inp.ok{border-color:rgba(88,200,96,.55)}
input.inp.bad{border-color:rgba(240,138,132,.6)}
input.inp[readonly]{color:#bebdbb;cursor:default}
input.inp:disabled{opacity:.6;cursor:not-allowed}
/* A disabled field shows no blinking caret: Chrome left one inside after a click (tested: the email of "Recuperar contraseña",
   at the start of its placeholder). Not selectable, so the click places nothing in it; and a transparent caret just in case. */
input:disabled,textarea:disabled{caret-color:transparent;-webkit-user-select:none;user-select:none}
input.inp:-webkit-autofill{-webkit-text-fill-color:#fbf9ef;-webkit-box-shadow:inset 0 2px 7px rgba(0,0,0,.75),0 0 0 40px #080907 inset;caret-color:#fbf9ef}

/* the gold plates as <button> */
button.plate{border:0;padding:0;margin:0;background-color:transparent;color:inherit;cursor:pointer}
.plate.nb:disabled,.plate.nb[aria-disabled="true"]{cursor:not-allowed;opacity:.5}
.plate.nb:disabled::before{display:none}
.plate.nb:focus-visible::before{opacity:1}

/* checkbox: casilla_0 / casilla_2 of the reference over a real checkbox */
label.chk{position:relative;cursor:pointer;user-select:none}
.chk input{position:absolute;left:0;top:50%;width:20px;height:20px;margin:-10px 0 0;opacity:0}
.chk .bx{flex:none;width:20px;height:20px;background:url(../img/casilla_0.png) 0 0/20px 20px no-repeat}
.chk input:checked+.bx{background-image:url(../img/casilla_2.png)}
.chk input:focus-visible+.bx{outline:2px solid #e6c068;outline-offset:2px}

/* buttons that look like the links / items around them (log out is a POST) */
form.inl{display:contents}
.linkbtn{background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;cursor:pointer;text-align:left}
.linkbtn.small{font-size:14px}
.linkbtn.muted{color:#bebdbb}
.linkbtn.muted:hover{color:#ded8d0}
.menu-v button.it{display:block;width:100%}
.menu-v .it:hover{color:#f7dd82}
.menu-panel .menu-a{display:block;width:100%;padding:12px 22px;font:700 15px/1 'Cinzel';color:#e6c068;border-bottom:1px solid rgba(222,202,183,.10)}
.menu-panel .menu-langs{padding:12px 22px;gap:14px;font:600 13px 'Open Sans'}
.menu-panel .menu-langs a{padding:0;border:0;font:inherit;color:#ded8d0}
.menu-panel .menu-langs a.on{color:#f7dd82}
@media (max-width:900px){.menu-panel .menu-langs.solo-cel{display:flex}}

/* language selector of the header ("ES ▾") */
.lang-dd{position:relative}
.lang-dd summary{list-style:none;cursor:pointer;color:#ded8d0}
.lang-dd summary::-webkit-details-marker{display:none}
.lang-dd summary:hover,.lang-dd[open] summary{color:#f7dd82}
.lang-dd .lang-list{position:absolute;top:28px;left:-14px;z-index:40;display:flex;flex-direction:column;min-width:64px;padding:6px 0;
  background:#111110 url(../img/piedra_panel.png) 0 0/490px auto;border:1px solid rgba(230,192,104,.45);box-shadow:0 14px 30px rgba(0,0,0,.7)}
.lang-dd .lang-list a{padding:6px 14px;color:#ded8d0}
.lang-dd .lang-list a:hover,.lang-dd .lang-list a.on{color:#f7dd82}
.langs a{color:inherit}
.langs a.on,.langs a:hover{color:#f7dd82}
.crumb a:hover{color:#f7dd82}
a.muted:hover{color:#ded8d0}

/* error message (same box as .ok-box, in the error color of DISENO.md section 2) */
.err-box{display:flex;gap:12px;align-items:center;padding:12px 14px;border:1px solid rgba(240,138,132,.45);background:rgba(120,24,20,.25);font-size:14px;color:#f6d2cf}

/* Top 5 tabs: pestana_0 (active) / pestana_1, 84x30, Cinzel 13 */
.plate.tab{width:84px;height:30px;border:0;padding:0;background-color:transparent;background-image:url(../img/pestana_1.png);font:700 13px Cinzel;color:#9c8863;cursor:pointer}
.plate.tab.on{background-image:url(../img/pestana_0.png);color:#f7dd82}
.plate.tab:focus-visible{outline:1px solid #e6c068;outline-offset:2px}

/* frequent problems: the rows of the reference, as <details> */
details.faq>summary{list-style:none;cursor:pointer}
details.faq>summary::-webkit-details-marker{display:none}
details.faq>summary.row{border-bottom:1px solid rgba(222,202,183,.10)}
details.faq:last-of-type>summary.row{border-bottom:0}
details.faq .plus{display:inline-block;transition:transform .15s}
details.faq[open] .plus{transform:rotate(45deg)}
details.faq p{margin:0;padding:8px 2px 12px;border-bottom:1px solid rgba(222,202,183,.10)}
details.faq summary:hover span:first-child{color:#f7dd82!important}

/* .gin keeps align-items:start from its grid; as a column (<= 1299 px) the panels must take the whole width.
   In the reference it did not show because the success box, with its long text, pushed the width. */
@media (max-width:1299px){.gin{align-items:stretch}}

/* strip under the hero (Ivan 2026-10-14): frame without the title band (marco_simple), no vertical separators, and
   under each label, where the gold line of the band was, the thin separator of the News rows at 60 % of its column
   (20 % off each side, centered) */
.zoc.d-only .cell+.cell::before{display:none}
.zoc.d-only .cell::after{content:"";position:absolute;left:20%;right:20%;top:28px;height:1px;background:rgba(222,202,183,.10);pointer-events:none}

/* character cards: real names and maps can be longer than the sample ones */
.pjc .nm{min-width:0;overflow-wrap:anywhere}
.pjc .st3>div{min-width:0}
.pjc .st3 .val{overflow-wrap:anywhere}
@media (min-width:901px) and (max-width:1243px){.pjs{grid-template-columns:minmax(0,1fr)}}

/* texts that depend on the state of the hero (before the opening / after it), like .hslot */
body:not([data-estado="antes"]) [data-solo="antes"],body[data-estado="antes"] [data-solo="online"]{display:none}

/* ---- /rankings -----------------------------------------------------------------------------------------------------
   The same kit: .w panels, .menu-v, .caja boxes, the gold of .gold. New here: the podium (medals in metal: gold, silver,
   bronze), the class filter with the portraits (img/mini, 192x240 WebP) and the guild marks (SVG of G_Mark, lib/guildmark.js). */
.rk .rk-lado{display:flex;flex-direction:column;gap:22px;min-width:0}

/* class filter: "all" + the 7 portraits, dim until hovered or chosen */
.rk-clases{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 10px}
.rk-cl{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;color:#9c8863;text-decoration:none}
.rk-cl .ph{position:relative;display:block;width:100%;aspect-ratio:4/5;overflow:hidden;background:#0b0806;
  border:1px solid rgba(230,192,104,.28);box-shadow:0 0 0 1px #000,0 3px 8px rgba(0,0,0,.6);transition:border-color .2s,box-shadow .2s}
.rk-cl .ph img{display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(.55) brightness(.6);transition:filter .2s}
.rk-cl .ph.todas{display:flex;align-items:center;justify-content:center;background:#0d0b09 url(../img/piedra_panel.png) 0 0/245px auto}
.rk-cl .ph.todas img{width:26px;height:24px;object-fit:contain;filter:grayscale(.5) brightness(.75)}
.rk-cl .ab{font:700 11px/1 'Cinzel';letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}
.rk-cl:hover{color:#e6c068}
.rk-cl:hover .ph img,.rk-cl.on .ph img{filter:none}
.rk-cl:hover .ph{border-color:rgba(230,192,104,.6)}
.rk-cl.on{color:#f7dd82}
.rk-cl.on .ph{border-color:#e6c068;box-shadow:0 0 0 1px #000,0 0 14px rgba(230,192,104,.45)}
.rk-cl:focus-visible{outline:none}
.rk-cl:focus-visible .ph{outline:2px solid #e6c068;outline-offset:2px}

/* your characters and their place */
.rk-mios{display:flex;flex-direction:column}
.rk-mio{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid rgba(222,202,183,.10)}
.rk-mio:last-child{border-bottom:0}
.rk-mio img{width:36px;height:45px;object-fit:cover;flex:none;border:1px solid rgba(230,192,104,.45);box-shadow:0 0 0 1px #000}
.rk-mio .tx{flex:1;min-width:0}
.rk-mio .nm{font:600 19px/1.15 'EB Garamond';color:#fbf9ef;overflow-wrap:anywhere}
.rk-mio .cls{font-size:13px;color:#9a948c}
.rk-mio .ps{font:700 17px/1 'Cinzel';color:#e6c068;white-space:nowrap}

/* the notice when there is nothing to show */
.rk-aviso{min-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;padding:0 18px}

/* podium: 2 · 1 · 3, the first one higher and bigger */
.rk-podio{list-style:none;margin:4px 0 24px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:end}
.rk-pd{--metal:#e6c068;--glow:rgba(230,192,104,.35);position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;
  padding:16px 10px 14px;border:18px solid transparent;border-image:url(../img/kit_caja_modelo.png) 18 fill / 18px stretch}
.rk-pd.p1{order:2;padding-top:24px}
.rk-pd.p2{order:1;--metal:#cfd3d9;--glow:rgba(207,211,217,.22)}
.rk-pd.p3{order:3;--metal:#cd915a;--glow:rgba(205,145,90,.24)}
.rk-pd .fr{position:relative;margin-bottom:24px}
.rk-pd .ph{display:block;width:96px;height:120px;object-fit:cover;border:2px solid var(--metal);box-shadow:0 0 0 1px #000,0 6px 16px rgba(0,0,0,.7),0 0 22px var(--glow)}
.rk-pd.p1 .ph{width:124px;height:155px}
.rk-pd .gm.big{width:96px;height:96px;padding:8px;border:2px solid var(--metal);outline:0;box-shadow:0 0 0 1px #000,0 6px 16px rgba(0,0,0,.7),0 0 22px var(--glow)}
.rk-pd.p1 .gm.big{width:124px;height:124px;padding:10px}
.rk-pd .nm{display:flex;align-items:center;justify-content:center;gap:7px;max-width:100%;font:600 24px/1.1 'EB Garamond';color:#fbf9ef;overflow-wrap:anywhere}
.rk-pd.p1 .nm{font-size:29px}
.rk-pd .cls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:3px;font-size:14px;color:#bebdbb}
.rk-pd .gd{display:flex;align-items:center;justify-content:center;gap:7px;max-width:100%;margin-top:8px;font-size:14px;color:#ded8d0}
.rk-pd .gd span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rk-pd .vl{margin-top:12px;font:700 11px/1 'Open Sans';letter-spacing:.16em;text-transform:uppercase;color:#bebdbb}
.rk-pd .vl b{display:block;margin-bottom:5px;font:600 36px/1 'EB Garamond';letter-spacing:0;color:var(--metal)}
.rk-pd.p1 .vl b{font-size:44px;background:linear-gradient(180deg,#f3d98f 0%,#e6c169 35%,#d5ab53 65%,#be8d35 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.rk-pd .sub{margin-top:7px;font-size:13px;color:#9a948c}

/* medals: a coin of metal with the roman number */
.rk-pd .med{position:absolute;left:50%;bottom:-18px;width:36px;height:36px;margin-left:-18px;border-radius:50%;overflow:hidden;
  display:flex;align-items:center;justify-content:center;font:700 14px/1 'Cinzel';color:#2a1a06;text-shadow:0 1px 0 rgba(255,255,255,.4);
  background:radial-gradient(circle at 34% 28%,#fff8da 0,#f3d27e 30%,#c99a3e 64%,#7a5418 100%);
  box-shadow:0 0 0 2px #120c05,0 0 0 3px rgba(240,210,130,.8),0 4px 10px rgba(0,0,0,.75)}
.rk-pd.p1 .med{width:44px;height:44px;margin-left:-22px;bottom:-22px;font-size:17px}
.rk-pd .med.m2{color:#1d2026;background:radial-gradient(circle at 34% 28%,#fff 0,#e4e7eb 30%,#a9aeb6 64%,#575c64 100%);box-shadow:0 0 0 2px #0d0e10,0 0 0 3px rgba(222,226,232,.75),0 4px 10px rgba(0,0,0,.75)}
.rk-pd .med.m3{color:#2a1406;background:radial-gradient(circle at 34% 28%,#ffe8d0 0,#e4a66e 30%,#a8693a 64%,#57300f 100%);box-shadow:0 0 0 2px #120a05,0 0 0 3px rgba(222,160,108,.75),0 4px 10px rgba(0,0,0,.75)}

/* guild marks (8x8 pixel art: crisp, on a dark slot so the transparent cells read) */
.gm{display:inline-block;flex:none;width:18px;height:18px;background:#0b0806;outline:1px solid rgba(230,192,104,.35);shape-rendering:crispEdges;vertical-align:middle}
.gm.vacio{visibility:hidden}
.gm.row{width:30px;height:30px;padding:2px}

/* "you" */
.rk-vos{display:inline-block;padding:3px 6px 2px;font:700 10px/1 'Open Sans';letter-spacing:.12em;text-transform:uppercase;color:#1a1208;background:linear-gradient(180deg,#edce7f,#be8d35);border-radius:2px}
img.on{width:12px;height:12px;flex:none}

/* the table, 4 to 100 */
.rk-t{width:100%;border-collapse:collapse;font-size:15px}
.rk-t th{padding:0 10px 10px;font:700 11px/1.3 'Open Sans';letter-spacing:.16em;text-transform:uppercase;color:#9c8863;text-align:left;border-bottom:1px solid rgba(230,192,104,.3)}
.rk-t td{padding:7px 10px;border-bottom:1px solid rgba(222,202,183,.08);color:#ded8d0;vertical-align:middle}
.rk-t tbody tr:last-child td{border-bottom:0}
.rk-t tbody tr:hover td{background:rgba(230,192,104,.045)}
.rk-t th.n,.rk-t td.n{width:46px;padding-left:4px;padding-right:4px;text-align:center}
.rk-t td.n{font:700 15px/1 'Cinzel';color:#e6c068}
.rk-t .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.rk-t td.v{font-weight:700;font-size:16px;color:#fbf9ef}
.rk-t .pj{display:flex;align-items:center;gap:12px;min-width:0}
.rk-t .pj>img{width:32px;height:40px;object-fit:cover;flex:none;border:1px solid rgba(230,192,104,.35);box-shadow:0 0 0 1px #000}
.rk-t .tx{min-width:0}
.rk-t .nm{display:flex;align-items:center;flex-wrap:wrap;gap:4px 7px;font:600 18px/1.15 'EB Garamond';color:#fbf9ef;overflow-wrap:anywhere}
.rk-t .cls{margin-top:1px;font-size:13px;color:#9a948c}
.rk-t .gd{display:inline-flex;align-items:center;gap:8px}
.rk-t tr.mio td{background:rgba(230,192,104,.08)}
.rk-t tr.mio td:first-child{box-shadow:inset 3px 0 0 #e6c068}
.m-only-rk{display:none}
.rk-pie{margin:18px 0 0;text-align:center}

@media (max-width:900px){
  .rk .rk-lado{display:contents}
  .rk .rk-lado>.w{width:100%}	/* .g39>* {width:100%} no longer reaches them through display:contents */
  .rk .rk-cats{order:1}
  .rk .rk-filtro{order:2}
  .rk .rk-main{order:3}
  .rk .rk-tuyos{order:4}
  .rk-cats .menu-v{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .rk-cats .menu-v .it{text-align:center;border-bottom:0;padding:10px 4px}
  .rk-t .c-gd,.rk-t .c-sec,.rk-t .c-mas,.rk-t .c-mie{display:none}
  .rk-t span.m-only-rk{display:inline}
  .rk-t div.m-only-rk{display:block}
}
@media (max-width:600px){
  .rk-clases{gap:10px 8px}
  .rk-podio{gap:6px;margin-bottom:18px}
  .rk-pd{padding:10px 2px;border-width:12px;border-image-width:12px}
  .rk-pd.p1{padding-top:14px}
  .rk-pd .ph{width:60px;height:75px}
  .rk-pd .gm.big{width:60px;height:60px;padding:5px}
  .rk-pd.p1 .ph{width:74px;height:92px}
  .rk-pd.p1 .gm.big{width:74px;height:74px;padding:6px}
  .rk-pd .fr{margin-bottom:18px}
  .rk-pd .med{width:28px;height:28px;margin-left:-14px;bottom:-14px;font-size:12px}
  .rk-pd.p1 .med{width:32px;height:32px;margin-left:-16px;bottom:-16px;font-size:13px}
  .rk-pd .nm,.rk-pd.p1 .nm{font-size:17px}
  .rk-pd .cls{font-size:12px}
  .rk-pd .gd,.rk-pd .sub{display:none}
  .rk-pd .vl{margin-top:8px;font-size:9px;letter-spacing:.1em}
  .rk-pd .vl b{font-size:24px}
  .rk-pd.p1 .vl b{font-size:28px}
  .rk-t td{padding:6px}
  .rk-t th{padding:0 6px 8px}
  .rk-t th.n,.rk-t td.n{width:30px}
  .rk-t .pj{gap:9px}
  .rk-t .pj>img{width:28px;height:35px}
  .rk-t .nm{font-size:17px}
  .rk-t .cls{font-size:12px}
  .rk-t .gm.row{width:26px;height:26px}
}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}}
