/* Workshop: extras premium (jugador, valoración, filtros, línea de tiempo, inicio) */
.wsx-rate { display: flex; gap: 6px; flex-wrap: wrap; }
.wsx-rate__b { height: 32px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: 500 12.5px/1 var(--font-ui); cursor: pointer; transition: all .15s; }
.wsx-rate__b:hover { border-color: var(--brand); }
.wsx-rate__b--pos.is-on { background: #DDF2E6; border-color: #2E8B5E; color: #0F4130; }
.wsx-rate__b--neg.is-on { background: #F8DEDA; border-color: #C45A4A; color: #8E2A1E; }
.wsx-rate__b--rev.is-on { background: #FBEFC9; border-color: #D9A62E; color: #7A5600; }
.wsx-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wsx-tag { height: 28px; padding: 0 11px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: 500 12px/1 var(--font-ui); cursor: pointer; transition: all .15s; }
.wsx-tag:hover { border-color: var(--brand); }
.wsx-tag.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Tarjeta de recorte */
.ws-clip-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 3px; }
.ws-clip-player { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--brand); }
.ws-clip-rating { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; }
.ws-clip-rating--pos { background: #DDF2E6; color: #0F4130; }
.ws-clip-rating--neg { background: #F8DEDA; color: #8E2A1E; }
.ws-clip-rating--rev { background: #FBEFC9; color: #7A5600; }
.ws-clip-card.ws-rate-pos { box-shadow: inset 3px 0 0 #2E8B5E; }
.ws-clip-card.ws-rate-neg { box-shadow: inset 3px 0 0 #C45A4A; }
.ws-clip-card.ws-rate-rev { box-shadow: inset 3px 0 0 #D9A62E; }

/* Filtros */
.wsx-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 0 2px 10px; }
.wsx-filters[hidden] { display: none; }
.wsx-fg { display: flex; flex-wrap: wrap; gap: 6px; }
.wsx-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: 500 12px/1 var(--font-ui); cursor: pointer; transition: all .15s; }
.wsx-chip b { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.wsx-chip:hover { border-color: var(--brand); }
.wsx-chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.wsx-chip.is-on b { color: rgba(255,255,255,.8); }
.wsx-chip--pos { box-shadow: inset 0 -2px 0 #2E8B5E; } .wsx-chip--neg { box-shadow: inset 0 -2px 0 #C45A4A; } .wsx-chip--rev { box-shadow: inset 0 -2px 0 #D9A62E; }
.wsx-sel { height: 28px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: 500 12px/1 var(--font-ui); }

/* Línea de tiempo */
.wsx-tl { margin-top: 10px; }
.wsx-tl[hidden] { display: none; }
.wsx-tl__bar { position: relative; height: 22px; border-radius: 8px; background: #E3EBE6; overflow: hidden; }
.wsx-tl__m { position: absolute; top: 3px; bottom: 3px; padding: 0; border: 0; border-radius: 5px; background: #7DBD9A; cursor: pointer; transition: transform .12s, filter .12s; min-width: 5px; }
.wsx-tl__m:hover { filter: brightness(.9); transform: scaleY(1.15); }
.wsx-tl__m--pos { background: #2E8B5E; } .wsx-tl__m--neg { background: #C45A4A; } .wsx-tl__m--rev { background: #D9A62E; } .wsx-tl__m--none { background: #8FA89A; }
.wsx-tl__head { position: absolute; top: 0; bottom: 0; width: 2px; background: #0F2D22; z-index: 2; pointer-events: none; }
.wsx-tl__legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 7px; font-size: 11.5px; color: var(--ink-3); align-items: center; }
.wsx-tl__legend span { margin-right: auto; }
.wsx-tl__legend kbd { font: 600 10.5px/1 var(--font-mono); padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); margin-left: 4px; }
#shortcutsHint { display: none !important; }

/* Compartida / mover */
.wsx-pill { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; padding: 3px 10px; border-radius: 99px; background: #DDF2E6; color: #0F4130; font: 600 11px/1 var(--font-ui); vertical-align: middle; }
.wsx-mode { display: flex; flex-direction: column; gap: 8px; }
.wsx-mode label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); }

/* Inicio */
.wsx-recent { margin-top: 22px; text-align: left; }
.wsx-recent__h { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.wsx-recent__g { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.wsx-rc { display: grid; grid-template-columns: 10px 1fr; gap: 2px 10px; align-items: center; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; font-family: var(--font-ui); }
.wsx-rc:hover { border-color: var(--brand); box-shadow: 0 8px 20px rgba(27,103,70,.12); transform: translateY(-1px); }
.wsx-rc i { width: 10px; height: 10px; border-radius: 50%; grid-row: 1 / 3; }
.wsx-rc b { font-size: 13.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wsx-rc span { font-size: 11.5px; color: var(--ink-3); }

/* Perfil del jugador: recortes propios */
.jc { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.jc__h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.jc__h h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.jc__h span { font-size: 12px; color: var(--ink-3); }
.jc__h a { font-size: 12.5px; font-weight: 600; color: var(--brand); text-decoration: none; white-space: nowrap; }
.jc__l { list-style: none; margin: 0; padding: 6px 8px 10px; }
.jc__l a { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 13px; transition: background .15s; }
.jc__l a:hover { background: #EAF3EE; }
.jc__t { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.jc__l b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jc__l em { font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.jc__r { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; }
.jc__r--pos { background: #DDF2E6; color: #0F4130; } .jc__r--neg { background: #F8DEDA; color: #8E2A1E; } .jc__r--rev { background: #FBEFC9; color: #7A5600; }
@media (max-width: 640px) { .jc__l a { grid-template-columns: 1fr auto; } .jc__t, .jc__l em { display: none; } }

/* Cargando */
.ws-loading-box { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px 16px; color: var(--ink-3); font-size: 13px; }
.ws-loading-box--big { padding: 26px 16px; font-size: 14px; }
