/* Agora Social: additions on top of /css/app.css + /es/es.css */
.so-tag { background: var(--green); }

/* home: level, XP and the five stats */
.so-strip { display: block; padding: 12px 14px; text-align: left; }
.lvl-row { display: flex; align-items: center; gap: 12px; }
.lvl-badge { flex: none; width: 58px; height: 58px; border-radius: 16px; border: 3px solid var(--ink); background: var(--sun); display: grid; place-items: center; align-content: center; box-shadow: 2px 2px 0 var(--ink); }
.lvl-badge small { font-size: 9.5px; font-weight: 800; letter-spacing: .12em; line-height: 1; }
.lvl-badge b { font-family: var(--font-comic); font-size: 30px; line-height: 1; }
.xp { flex: 1; min-width: 0; }
.xp-top { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; opacity: .7; margin-bottom: 5px; }
.xp-bar, .st-bar { display: block; height: 11px; border-radius: 7px; background: rgba(28,18,34,.12); border: 2px solid var(--ink); overflow: hidden; }
.xp-bar i { display: block; height: 100%; background: linear-gradient(90deg, #2bd46b, #7fe0a0); }
.stat-grid { display: grid; gap: 5px; margin-top: 12px; }
.stat-row { display: grid; grid-template-columns: 22px 96px 1fr 30px; align-items: center; gap: 6px; font-size: 13px; }
.stat-row .st-ico { text-align: center; }
.stat-row .st-name { font-weight: 700; }
.stat-row .st-bar { height: 9px; }
.stat-row .st-bar i { display: block; height: 100%; background: #ffc93c; }
.stat-row b { text-align: right; font-size: 13px; }
.stat-row.big { grid-template-columns: 26px 110px 1fr 34px; font-size: 15px; }
.stat-row.big .st-bar { height: 12px; }
.rc-stats .stat-row { grid-template-columns: 22px 92px 1fr 28px 38px; }
.stat-row .delta { font-style: normal; font-size: 12px; font-weight: 800; text-align: right; opacity: .6; }
.stat-row .delta.up { color: #13893f; opacity: 1; }
.stat-row .delta.down { color: #c2331c; opacity: 1; }

/* scenario cards */
.concept .tag-boss { display: inline-block; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--red); color: #fff; border-radius: 6px; padding: 2px 6px; margin-left: 6px; vertical-align: 2px; }
.concept .sc-meta { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-top: 6px; opacity: 1 !important; }
.concept .diff { font-size: 11px; letter-spacing: 1px; color: #c24a1c; margin-right: 2px; }
.concept .st-chip { font-size: 11px; font-weight: 700; background: rgba(28,18,34,.07); border-radius: 6px; padding: 1px 6px; }

/* live coach chips */
.fix-chip.tip .k { color: #1f7a45; }
.fix-chip.nice { background: #d9f7e3; }
.fix-chip.nice .k { color: #13893f; }

/* result card extras */
.rc-xp { font-size: 14px; font-weight: 700; padding: 6px 10px; border-radius: 10px; background: #fff3c4; border: 2px solid var(--ink); }
.rc-tip { font-size: 14px; line-height: 1.4; padding: 9px 11px; border-radius: 10px; background: rgba(43, 212, 107, .16); border: 2px solid #13893f; }
.rc-stats { display: grid; gap: 5px; }

/* progress page */
.stat-card .st-sub { font-size: 12.5px; opacity: .65; margin: 4px 0 0 32px; }
.train { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0 32px; }
.train-btn { border: 2px solid var(--ink); background: #fff; color: var(--ink); border-radius: 10px; padding: 5px 9px; font-size: 13px; font-weight: 600; cursor: pointer; }
.train-btn i { font-style: normal; opacity: .55; font-weight: 500; }

/* interest chips (onboarding + settings) */
.chips { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.chip-btn { border: 2.5px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
.chip-btn.sel { background: var(--green); }
.drawer .chips { justify-content: flex-start; }
/* the strip reuses the Spanish app's box: undo its small-caps label style inside */
.so-strip span { text-transform: none; letter-spacing: 0; margin-top: 0; opacity: 1; font-size: inherit; display: inline; }
.so-strip .st-bar, .so-strip .xp-bar { display: block; }
.so-strip .xp-top span { opacity: .75; font-size: 12.5px; }
.so-strip .stat-row { font-size: 12.5px; }
.so-strip > div { padding: 0; } .so-strip > div + div { border-left: 0; }

