:root {
  --bg: #12151d; --panel: #1b1f2a; --panel-2: #222735; --line: #2b3040; --text: #f3f4f6; --muted: #8b93a7;
  --amber: #e9b173; --blue: #3b82f6; --green: #22c55e; --purple: #a855f7; --red: #ef4444;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.4 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif; }
.hidden { display: none !important; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
button, select, input { font: inherit; color: inherit; }
.muted { color: var(--muted); }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card { width: 100%; max-width: 340px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: grid; gap: 12px; text-align: center; }
.login-logo { width: 44px; margin: 0 auto; }
.login h1 { font-size: 20px; margin: 4px 0 8px; }
.login input { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; }
.login button { background: var(--amber); color: #1a1206; border: 0; border-radius: 8px; padding: 11px; font-weight: 600; cursor: pointer; }
.err { color: var(--red); min-height: 1em; margin: 0; font-size: 13px; }

/* cabecera */
.top { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 10px 20px; background: var(--panel); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.brand img { width: 30px; height: 30px; }
.tabs { display: flex; gap: 28px; }
.tabs a { display: flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-weight: 500; }
.tabs a.on { color: var(--amber); }
.right { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.country { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
/* páginas */
.page { max-width: 1520px; margin: 0 auto; padding: 28px 24px 48px; }
.page h1 { font-size: 30px; margin: 4px 0 22px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.card-h { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 600; }
.card-b { padding: 22px 16px 18px; display: grid; gap: 4px; }
.card-b b { font-size: 34px; font-weight: 700; letter-spacing: -.5px; }
.card-b small { color: var(--muted); font-size: 13px; }
.card[data-open] { cursor: pointer; transition: border-color .15s; }
.card[data-open]:hover { border-color: #3a4154; }
.go { margin-left: auto; color: var(--muted); font-weight: 400; }
.ic { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; flex: none; }
.ic.blue { background: rgba(59,130,246,.16); color: var(--blue); }
.ic.amber { background: rgba(233,177,115,.16); color: var(--amber); }
.ic.green { background: rgba(34,197,94,.14); color: var(--green); }
.ic.purple { background: rgba(168,85,247,.16); color: var(--purple); }
.goal { margin-bottom: 24px; }
.goal-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.goal-row small { display: block; color: var(--muted); font-size: 13px; }
.goal-row b { font-size: 28px; }
.bar { height: 14px; background: #2c3242; border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.bar div { height: 100%; width: 0; background: var(--blue); border-radius: 99px; transition: width .6s; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }

/* gráficos */
.charts { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; }
.viewer, .card { min-width: 0; }
.list { padding: 0 0 8px; position: sticky; top: 76px; }
.list-h { padding: 16px 20px; font-weight: 700; font-size: 17px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.grp { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 20px; background: none; border: 0; cursor: pointer; color: #e5e7eb; font-weight: 600; font-size: 14.5px; text-align: left; }
.grp:hover { background: var(--panel-2); }
.grp em { margin-left: auto; color: var(--muted); font-style: normal; font-weight: 400; font-size: 12px; }
.grp .chev { color: var(--muted); transition: transform .15s; font-weight: 400; }
.sec.open .grp .chev { transform: rotate(90deg); }
.items { display: none; padding: 2px 0 6px; }
.sec.open .items { display: block; }
.item { padding: 6px 20px 6px 60px; cursor: pointer; color: #c9cdd6; font-size: 14px; border-radius: 0; }
.item:hover { background: var(--panel-2); }
.item.on { background: #2b3141; color: #fff; box-shadow: inset 3px 0 0 var(--amber); }
.viewer-h { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.vt { font-size: 18px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.info { color: var(--muted); font-size: 15px; font-weight: 400; cursor: help; }
.controls { display: flex; gap: 10px; flex-wrap: wrap; }
.viewer-b { padding: 22px; }
.chartbox { position: relative; height: 430px; border: 1px solid var(--line); border-radius: 6px; padding: 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13px; color: #cfd3dc; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend em { color: var(--muted); font-style: normal; }
.note { font-size: 13px; margin: 12px 0 0; }
.empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; pointer-events: none; text-align: center; padding: 20px; }

/* tablas */
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { text-align: right; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
th { color: var(--muted); font-weight: 500; cursor: pointer; user-select: none; position: sticky; top: 0; background: var(--panel); }
tr:hover td { background: var(--panel-2); }
td.neg { color: var(--red); } td.pos { color: var(--green); }

/* ── events.moonody.com: lo propio ── */
.top { grid-template-columns: auto 1fr auto; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.filters select { font-size: 13px; padding: 6px 8px; }
.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; max-width: 1600px; margin: 0 auto; padding: 24px; align-items: start; }
.nav { padding: 8px 0; position: sticky; top: 76px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 8px 18px; color: #c9cdd6; text-decoration: none; font-size: 14.5px; }
.nav a:hover { background: var(--panel-2); }
.nav a.on { background: #2b3141; color: #fff; box-shadow: inset 3px 0 0 var(--amber); }
.nav .grp-t { padding: 14px 18px 4px; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.nav .ic { width: 24px; height: 24px; font-size: 12px; }
main.page { padding: 0; max-width: none; margin: 0; min-width: 0; }
main.page h1 { font-size: 28px; margin: 2px 0 6px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sub { color: var(--muted); margin: 0 0 20px; font-size: 14px; }
.grid { display: grid; gap: 20px; margin-bottom: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.kpi .card-b { padding: 16px; } .kpi .card-b b { font-size: 28px; }
.kpi .card-h { padding: 11px 14px; font-size: 13.5px; }
.delta { font-size: 12.5px; } .delta.up { color: var(--green); } .delta.down { color: var(--red); }
.card .pad { padding: 16px; }
.card h3 { margin: 0; font-size: 15px; }
.chartbox.sm { height: 260px; } .chartbox.md { height: 340px; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; padding: 2px 8px; border-radius: 99px; background: var(--panel-2); color: #cfd3dc; border: 1px solid var(--line); white-space: nowrap; font-weight: 500; }
.badge.new { background: rgba(168,85,247,.16); color: #d8b4fe; border-color: transparent; }
.badge.good { background: rgba(34,197,94,.14); color: #86efac; border-color: transparent; }
.badge.bad { background: rgba(239,68,68,.15); color: #fca5a5; border-color: transparent; }
.badge.warn { background: rgba(233,177,115,.16); color: var(--amber); border-color: transparent; }
.badge.zone { background: rgba(59,130,246,.14); color: #93c5fd; border-color: transparent; }
.few { color: var(--muted) !important; font-style: italic; }
.ci { color: var(--muted); font-size: 11.5px; margin-left: 4px; }
td a, .link { color: #93c5fd; text-decoration: none; } td a:hover, .link:hover { text-decoration: underline; }
td.l, th.l { text-align: left; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.btn { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; cursor: pointer; font-size: 13px; }
.btn:hover { border-color: #3a4154; } .btn.pri { background: var(--amber); color: #1a1206; border: 0; font-weight: 600; }
input.in, textarea.in { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: 13px; }
textarea.in { width: 100%; min-height: 70px; }
.alert { padding: 10px 14px; border-radius: 8px; margin-bottom: 10px; font-size: 13.5px; border: 1px solid var(--line); background: var(--panel); }
.alert.warn { border-color: rgba(233,177,115,.5); } .alert.bad { border-color: rgba(239,68,68,.5); }
.bars .b { display: grid; grid-template-columns: minmax(120px, 1.2fr) 3fr auto; gap: 10px; align-items: center; padding: 5px 0; font-size: 13px; }
.bars .t { height: 10px; border-radius: 99px; background: #2c3242; overflow: hidden; }
.bars .t div { height: 100%; background: var(--blue); border-radius: 99px; }
.bars .n { color: var(--muted); font-variant-numeric: tabular-nums; }
.loading { color: var(--muted); padding: 30px 0; }

/* iPhone y capas */
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.phone { position: relative; width: 300px; border-radius: 38px; border: 8px solid #0b0d12; box-shadow: 0 0 0 1px #2b3040, 0 20px 50px rgba(0,0,0,.45); overflow: hidden; background: #000; }
.phone img { display: block; width: 100%; }
.phone canvas, .phone .bub { position: absolute; inset: 0; }
.phone .ph { aspect-ratio: 402/874; display: grid; place-items: center; color: var(--muted); font-size: 13px; text-align: center; padding: 20px; background: linear-gradient(#141826, #0b0d14); }
.bubble { position: absolute; transform: translate(-50%, -50%); border-radius: 99px; background: rgba(233,177,115,.92); color: #1a1206; font-size: 11px; font-weight: 700; padding: 2px 7px; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.5); cursor: default; }
.bubble.dead { background: rgba(239,68,68,.92); color: #fff; }
.layers { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.layers .btn.on { border-color: var(--amber); color: var(--amber); }
.dot { position: absolute; width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--amber); transform: translate(-50%, -50%); animation: ripple 1s ease-out infinite; pointer-events: none; }
@keyframes ripple { 0% { opacity: 1; transform: translate(-50%, -50%) scale(.5); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.8); } }

/* mapa */
.mapwrap { position: relative; overflow: auto; height: calc(100vh - 230px); min-height: 520px; border: 1px solid var(--line); border-radius: 10px; background: radial-gradient(circle at 20% 0%, #182033, var(--bg) 60%); cursor: grab; }
.mapwrap svg.edges { position: absolute; left: 0; top: 0; pointer-events: none; width: auto; height: auto; }
.mnode { position: absolute; width: 92px; text-align: center; font-size: 11px; color: #cfd3dc; cursor: pointer; user-select: none; }
.mnode .th { width: 92px; height: 200px; border-radius: 14px; border: 3px solid var(--line); overflow: hidden; background: #0b0d12; display: grid; place-items: center; color: var(--muted); font-size: 10.5px; padding: 6px; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.mnode .th img { width: 100%; height: 100%; object-fit: cover; }
.mnode .nm { margin-top: 5px; font-weight: 600; line-height: 1.2; word-break: break-word; }
.mnode .st { color: var(--muted); }
.mnode.dim { opacity: .25; } .mnode.hi .th { border-color: var(--amber); }
.zonelbl { position: absolute; top: 10px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* embudos */
.fsteps { display: grid; gap: 10px; }
.fstep { display: grid; grid-template-columns: 220px 1fr 150px; gap: 14px; align-items: center; }
.fstep .lbl { font-weight: 600; font-size: 14px; }
.fstep .bar2 { height: 34px; background: #222735; border-radius: 6px; position: relative; overflow: hidden; }
.fstep .bar2 div { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #3b82f6, #6366f1); border-radius: 6px; }
.fstep .bar2 > span { position: absolute; left: 10px; top: 8px; font-size: 13px; font-weight: 600; }
.fstep .bar2.b div { background: linear-gradient(90deg, #a855f7, #c084fc); }
.fstep .drop { font-size: 12.5px; color: var(--red); cursor: pointer; }
.instead { grid-column: 2 / 4; font-size: 12.5px; color: var(--muted); padding: 4px 0 6px; }
.stepedit { display: grid; gap: 8px; }
.stepedit .r { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* sesiones */
.tl { display: grid; gap: 2px; font-size: 13px; max-height: 70vh; overflow: auto; }
.tl .e { display: grid; grid-template-columns: 64px 18px 1fr; gap: 8px; padding: 4px 8px; border-radius: 6px; cursor: pointer; }
.tl .e:hover { background: var(--panel-2); } .tl .e.on { background: #2b3141; box-shadow: inset 3px 0 0 var(--amber); }
.tl .e .tm { color: var(--muted); font-variant-numeric: tabular-nums; }
.tl .e.scr { font-weight: 600; color: #fff; } .tl .e.biz { color: #d8b4fe; } .tl .e.ui { color: #cfd3dc; } .tl .e.sys { color: var(--muted); }
.player { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 24px; align-items: start; }
.props { font-family: ui-monospace, Menlo, monospace; font-size: 12px; white-space: pre-wrap; color: #cfd3dc; background: var(--bg); border-radius: 8px; padding: 10px; max-height: 260px; overflow: auto; }
.live .e { grid-template-columns: 76px 90px 1fr; }
.insight { padding: 14px 16px; display: grid; gap: 6px; }
.insight .k { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.insight .t { font-weight: 700; font-size: 15.5px; }
.insight .a { font-size: 13px; color: #cfd3dc; }
.insight.bad { border-left: 3px solid var(--red); } .insight.warn { border-left: 3px solid var(--amber); } .insight.good { border-left: 3px solid var(--green); }
.heat td { text-align: center; font-size: 11px; padding: 6px 4px; }
.spark { width: 120px; height: 26px; }
.split { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
.shots { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.shots figure { margin: 0; width: 120px; flex: none; text-align: center; font-size: 11.5px; color: var(--muted); }
.shots img { width: 120px; border-radius: 12px; border: 2px solid var(--line); cursor: pointer; }
.shots img.on { border-color: var(--amber); }
@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .nav { position: static; display: flex; flex-wrap: wrap; padding: 6px; } .nav .grp-t { display: none; }
  .nav a { padding: 6px 10px; font-size: 13px; } .nav .ic { display: none; }
  .g4, .g6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: minmax(0, 1fr); }
  .split, .player { grid-template-columns: minmax(0, 1fr); }
  .top { grid-template-columns: 1fr auto; } .filters { grid-column: 1 / -1; grid-row: 2; }
  .fstep { grid-template-columns: 1fr; } .instead { grid-column: 1; }
}
@media (max-width: 640px) { .g2 { grid-template-columns: minmax(0, 1fr); } .phone { width: 260px; } }
.ic.red { background: rgba(239,68,68,.15); color: var(--red); }
.desc { color: var(--muted); font-size: 12px; white-space: normal; max-width: 520px; line-height: 1.35; margin-top: 2px; }
.zonelbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.btn { text-decoration: none; display: inline-flex; align-items: center; }
.card.pad { padding: 16px; }

/* mapa v2: foco + todas por zona */
.crumbs { font-size: 13px; color: var(--muted); margin: -8px 0 14px; } .crumbs a { color: #93c5fd; text-decoration: none; }
.focus { display: grid; grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr); gap: 24px; padding: 22px; margin-bottom: 30px; align-items: start; }
.fh { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.fcol { display: grid; gap: 8px; align-content: start; }
.mlink { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: inherit; background: var(--panel-2); }
a.mlink:hover { border-color: var(--amber); }
.mlink .mt { width: 46px; height: 100px; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 15px; color: var(--muted); background: #0b0d12; overflow: hidden; }
.mlink .mt.out { color: var(--red); border-color: rgba(239,68,68,.5); } .mlink .mt.in { color: var(--green); border-color: rgba(34,197,94,.5); }
.mlink.out { border-color: rgba(239,68,68,.35); }
.mlink .mx { display: grid; gap: 5px; font-size: 13.5px; min-width: 0; } .mlink .mx b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mlink .t { height: 8px; background: #2c3242; border-radius: 99px; overflow: hidden; } .mlink .t div { height: 100%; background: var(--blue); border-radius: 99px; }
.mlink.out .t div { background: var(--red); } .mlink.in .t div { background: var(--green); }
.mlink .muted { font-size: 12px; }
.fcenter { display: grid; gap: 8px; justify-items: center; text-align: center; }
.fphone { width: 220px; border-radius: 30px; border: 6px solid #0b0d12; box-shadow: 0 0 0 1px var(--amber), 0 18px 40px rgba(0,0,0,.5); overflow: hidden; background: #0b0d12; }
.fphone .fimg { display: block; width: 100%; } .fphone .noshot { aspect-ratio: 402/874; display: grid; place-items: center; color: var(--muted); font-size: 13px; padding: 16px; }
.ftitle { font-size: 18px; font-weight: 700; margin-top: 4px; }
.fkpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; margin: 6px 0; }
.fkpis b { display: block; font-size: 22px; } .fkpis small { color: var(--muted); font-size: 11.5px; }
.h2 { font-size: 20px; margin: 0 0 4px; }
.zrow { margin-bottom: 22px; } .zh { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.zcards { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.zcard { flex: none; width: 118px; display: grid; gap: 4px; justify-items: start; text-decoration: none; color: inherit; padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.zcard:hover, .zcard.on { border-color: var(--amber); }
.zcard .zimg { width: 100px; height: 150px; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); }
.zcard .noshot.zimg { display: grid; place-items: center; font-size: 11px; color: var(--muted); background: #0b0d12; padding: 6px; text-align: center; word-break: break-word; }
.zcard .zn { font-size: 12.5px; font-weight: 600; line-height: 1.25; min-height: 2.5em; }
@media (max-width: 1100px) { .focus { grid-template-columns: minmax(0, 1fr); } .fcenter { order: -1; } }

/* Analizar */
.sentence { padding: 16px 18px; font-size: 16px; line-height: 2.3; margin-bottom: 16px; }
.chip { background: rgba(59,130,246,.12); border: 0; border-bottom: 2px solid var(--blue); color: #dbe7ff; border-radius: 6px; padding: 3px 9px; cursor: pointer; font-size: 15px; font-weight: 600; }
.chip:hover { background: rgba(59,130,246,.25); } .chip.pick { border-color: var(--amber); color: var(--amber); background: rgba(233,177,115,.12); }
.link2 { background: none; border: 0; color: #93c5fd; cursor: pointer; font-size: 13.5px; padding: 0 4px; } .x { background: none; border: 0; color: var(--muted); cursor: pointer; }
.answer { font-size: 17px; line-height: 1.5; padding: 14px 18px; border-radius: 10px; background: linear-gradient(90deg, rgba(233,177,115,.12), rgba(233,177,115,.02)); border: 1px solid rgba(233,177,115,.3); margin-bottom: 16px; }
.pop { position: absolute; z-index: 50; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.5); max-height: 320px; overflow: auto; min-width: 200px; }
.pop .opt { padding: 7px 10px; border-radius: 6px; cursor: pointer; font-size: 14px; } .pop .opt:hover { background: var(--panel-2); }
.modal { position: fixed; inset: 0; z-index: 40; background: rgba(5,7,12,.7); display: grid; place-items: start center; padding: 6vh 16px; }
.mbox { width: min(760px, 100%); max-height: 84vh; display: grid; grid-template-rows: auto auto 1fr auto; overflow: hidden; }
.mh { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; }
.tabs2 { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.tabs2 button { background: none; border: 0; padding: 7px 12px; cursor: pointer; color: var(--muted); font-size: 13.5px; } .tabs2 button.on { background: #2b3141; color: #fff; }
.tabs2.big { margin-bottom: 10px; }
.plist { overflow: auto; padding: 10px 16px; display: grid; gap: 6px; align-content: start; }
.pitem { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 7px 10px; border-radius: 8px; cursor: pointer; border: 1px solid transparent; }
.pitem:hover { background: var(--panel-2); border-color: var(--line); }
.pitem img, .pnoshot { width: 34px; height: 60px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); background: #0b0d12; }
.pprops { padding: 10px 16px; border-top: 1px solid var(--line); } .pprops:empty { display: none; }
.qgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.qcard { padding: 16px; display: grid; gap: 8px; align-content: start; text-decoration: none; color: inherit; font-size: 15px; } .qcard:hover { border-color: var(--amber); } .qcard .badge { justify-self: start; }
.fsb { display: grid; gap: 6px; } .fsbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fsbs .num { width: 24px; height: 24px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.fsb .btn { justify-self: start; }
#f-group { max-width: 220px; }
