/* Hybrid surfaces and palette inherited from the existing Home tokens. */
.roleplay-catalog{padding-bottom:24px;color:var(--home-text)}
.rp-header{display:flex;align-items:center;gap:14px;margin:4px 0 20px}.rp-back{width:44px;height:44px;flex:none;border:1px solid var(--home-line);border-radius:14px;background:var(--home-surface);color:var(--home-text);font-size:22px}.rp-header h1{margin:0;font-size:26px;letter-spacing:-.6px}.rp-header p{margin:4px 0 0;color:var(--home-muted);font-size:13px}
.rp-intro{margin-bottom:18px;color:var(--home-muted);line-height:1.5}.rp-categories{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.rp-filter{min-height:44px;padding:10px 14px;border-radius:14px;border:1px solid var(--home-line);background:var(--home-surface);color:var(--home-text);font:inherit;font-size:14px}.rp-filter[aria-pressed=true]{background:var(--home-soft);color:var(--home-accent);border-color:var(--home-brand)}
.rp-items{display:grid;gap:14px}.rp-scenario{min-width:0;padding:20px;border-radius:22px;background:var(--home-surface);border:1px solid var(--home-line);box-shadow:var(--home-shadow);overflow-wrap:anywhere}.rp-recommended{border-color:var(--home-brand)}.rp-recommendation{display:block;margin-bottom:12px;color:var(--home-accent);font-size:12px;font-weight:700}.rp-scenario-heading{display:flex;align-items:flex-start;gap:12px}.rp-scenario h2{margin:0;flex:1;font-size:19px;line-height:1.3}.rp-level{padding:5px 9px;border-radius:10px;background:var(--home-soft);font-weight:700;font-size:12px}.rp-scenario p{margin:10px 0 14px;color:var(--home-muted);line-height:1.5;font-size:14px}.rp-meta{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--home-muted);margin-bottom:16px}.rp-scenario .btn{width:100%;min-height:48px}.rp-history-note{font-size:12px;line-height:1.5;color:var(--home-muted);margin:20px 4px}.rp-error,.rp-empty{padding:20px;background:var(--home-surface);border-radius:20px}.rp-error .btn{margin-top:12px}.rp-all{margin-top:12px}.rp-filter:focus-visible,.rp-back:focus-visible{outline:3px solid var(--home-brand);outline-offset:3px}

.rp-icon{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}.rp-filter{display:inline-flex;align-items:center;gap:7px}.rp-scenario>.btn:not(.btn-secondary){background:var(--home-brand);color:#fff;border:0}

.rp-scenario>.btn-secondary{background:transparent;color:var(--home-text);border-color:var(--home-line)}

/* Compact cards: the scene's mark, one line of facts, voice and text side by side (2026-11-13). */
.rp-scenario{padding:18px}.rp-scenario-heading{align-items:center;gap:14px}.rp-mark{width:52px;height:52px;flex:none;display:flex;align-items:center;justify-content:center;border-radius:16px;background:var(--home-soft);font-size:27px;line-height:1}
.rp-titles{min-width:0;flex:1}.rp-titles h2{margin:0;font-size:18px;line-height:1.25}.rp-sub{display:block;margin-top:3px;font-size:13px;color:var(--home-muted)}.rp-done{color:var(--success,#177750);font-weight:650}.rp-going{color:var(--home-accent);font-weight:650}
.rp-scenario p{margin:12px 0 14px}.rp-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rp-actions .btn{width:100%;min-height:46px;margin:0}.rp-actions .btn:only-child{grid-column:1/-1}
.rp-actions>.btn:not(.btn-secondary){background:var(--home-brand);color:#fff;border:0}.rp-actions>.btn-secondary{background:transparent;color:var(--home-text);border-color:var(--home-line)}
.rp-recommended{background:linear-gradient(180deg,var(--home-soft),var(--home-surface) 70%)}
