/* Repost Studio – Area Studenti v1.1 (app a tutto schermo) */
html.rsas-noscroll, html.rsas-noscroll body { overflow: hidden !important; }
body.rsas-full { margin: 0 !important; padding: 0 !important; background: #f6f5f2 !important; }

.rsas-app {
	--rsas-accent: #ff3d6e;
	--rsas-dark: #141414;
	--rsas-bg: #f6f5f2;
	--rsas-card: #ffffff;
	--rsas-line: #e7e4de;
	--rsas-text: #1b1b1b;
	--rsas-muted: #77736b;
	--rsas-ok: #17a673;
	--rsas-warn: #f2a516;
	--rsas-bad: #d63a3a;
	--rsas-radius: 20px;
	color: var(--rsas-text);
	background: var(--rsas-bg);
	font-size: 16px;
	line-height: 1.55;
	min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
	display: flex;
	flex-direction: column;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}
.rsas-app *, .rsas-app *::before, .rsas-app *::after { box-sizing: border-box; }
.rsas-app h2, .rsas-app h3 { color: inherit; padding: 0; margin: 0 0 .4em; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.rsas-app h2 { font-size: clamp(26px, 4vw, 38px); }
.rsas-app h3 { font-size: 20px; }
.rsas-app p { padding: 0; margin: 0 0 .8em; }
.rsas-app ul, .rsas-app ol { list-style: none; margin: 0; padding: 0; }
.rsas-app a { color: var(--rsas-accent); }
.rsas-app input, .rsas-app select, .rsas-app textarea {
	width: 100%; font: inherit; color: inherit; background: #fff;
	border: 1.5px solid var(--rsas-line); border-radius: 12px; padding: 10px 12px; margin: 4px 0 0;
	transition: border-color .15s; box-shadow: none;
}
.rsas-app input:focus, .rsas-app select:focus, .rsas-app textarea:focus { outline: none; border-color: var(--rsas-accent); }
.rsas-app input[type=checkbox] { width: auto; }
.rsas-app input[type=color] { padding: 2px; height: 40px; cursor: pointer; }
.rsas-app button { font-family: inherit; }
.rsas-app [hidden] { display: none !important; }
.rsas-muted { color: var(--rsas-muted); }
.rsas-small { font-size: 14px; }
.rsas-center { text-align: center; }
.rsas-big { font-size: 56px; line-height: 1; margin-bottom: 12px; }
.rsas-narrow { max-width: 520px; margin: 40px auto; }
.rsas-stars { color: #f2a516; letter-spacing: 1px; white-space: nowrap; }

/* ---------- Barra in alto ---------- */
.rsas-top {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50;
	background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--rsas-line);
}
.rsas-top-in { max-width: 1240px; margin: 0 auto; height: 68px; padding: 0 20px; display: flex; align-items: center; gap: 20px; }
.rsas-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.rsas-logo { height: 34px; width: auto; display: block; }
.rsas-logo-text { color: var(--rsas-text); font-size: 18px; font-weight: 800; }
.rsas-brand-tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; background: var(--rsas-dark); color: #fff; padding: 5px 10px; border-radius: 99px; white-space: nowrap; }
.rsas-nav { display: flex; gap: 2px; margin: 0 auto; }
.rsas-nav a { padding: 9px 14px; border-radius: 99px; font-weight: 700; font-size: 15px; color: var(--rsas-text) !important; text-decoration: none; white-space: nowrap; transition: background .15s; }
.rsas-nav a:hover { background: #efede8; }
.rsas-nav a.is-active { background: var(--rsas-dark); color: #fff !important; }
.rsas-user { display: flex; align-items: center; gap: 10px; flex: none; }
.rsas-user-lv { font-size: 13px; font-weight: 800; color: var(--rsas-accent); background: color-mix(in srgb, var(--rsas-accent) 10%, #fff); padding: 6px 10px; border-radius: 99px; white-space: nowrap; }
.rsas-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--rsas-dark); color: #fff !important; display: inline-grid; place-items: center; font-weight: 800; font-size: 14px; text-decoration: none; flex: none; }
.rsas-logout, .rsas-top-link { font-size: 14px; font-weight: 600; color: var(--rsas-muted) !important; text-decoration: none; }
.rsas-top-link { margin-left: auto; }

/* ---------- Contenuto e footer ---------- */
.rsas-main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 28px 20px 56px; }
.rsas-main.is-login { display: grid; place-items: center; }
.rsas-foot { border-top: 1px solid var(--rsas-line); background: #fff; }
.rsas-foot-in { max-width: 1240px; margin: 0 auto; padding: 18px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--rsas-muted); }

/* ---------- Barra in basso (mobile) ---------- */
.rsas-bnav { display: none; }

/* ---------- Bottoni ---------- */
.rsas-btn, .rsas-app .login-submit input[type=submit] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--rsas-accent); color: #fff !important; border: 0; border-radius: 999px;
	padding: 12px 22px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
	box-shadow: 0 6px 0 rgba(0,0,0,.18); transition: transform .12s, box-shadow .12s, opacity .15s; width: auto; line-height: 1.2;
}
.rsas-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(0,0,0,.18); }
.rsas-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.rsas-btn[disabled], .rsas-btn.is-disabled { opacity: .45; pointer-events: none; box-shadow: none; }
.rsas-btn.is-disabled { background: #d8d5ce; color: var(--rsas-text) !important; }
.rsas-btn-big { padding: 16px 28px; font-size: 18px; }
.rsas-btn-ghost { background: transparent; color: var(--rsas-text) !important; border: 2px solid var(--rsas-text); box-shadow: none; }
.rsas-btn-dark { background: var(--rsas-dark); }
.rsas-btn-light { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,.35); box-shadow: none; }
.rsas-link { background: none; border: 0; color: var(--rsas-muted); cursor: pointer; font-size: 16px; padding: 4px; }
.rsas-link:hover { color: var(--rsas-bad); }
.rsas-link-btn { background: none; border: 0; padding: 6px 4px; font: inherit; font-size: 14px; font-weight: 700; color: var(--rsas-muted) !important; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Card e intestazioni ---------- */
.rsas-card { background: var(--rsas-card); border: 1.5px solid var(--rsas-line); border-radius: var(--rsas-radius); padding: 24px; margin-bottom: 20px; }
.rsas-page-head { margin: 4px 0 22px; }
.rsas-page-head h2 { margin-bottom: 6px; }
.rsas-page-head p { color: var(--rsas-muted); max-width: 62ch; margin: 0; }
.rsas-sub-title { margin: 30px 0 14px !important; }
.rsas-kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--rsas-accent); margin-bottom: 10px; }

/* ---------- Login ---------- */
.rsas-login { width: 100%; max-width: 980px; display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 28px; overflow: hidden; border: 1.5px solid var(--rsas-line); background: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); }
.rsas-login-art { background: var(--rsas-dark); color: #fff; padding: 52px 44px; position: relative; overflow: hidden; }
.rsas-login-art::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; bottom: -120px; border-radius: 50%; background: var(--rsas-accent); opacity: .9; }
.rsas-login-art h2 { font-size: clamp(34px, 5vw, 56px); position: relative; z-index: 1; color: #fff; }
.rsas-login-art p { position: relative; z-index: 1; max-width: 36ch; opacity: .85; }
.rsas-login-dots { display: flex; gap: 10px; margin-top: 28px; position: relative; z-index: 1; }
.rsas-login-dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; }
.rsas-login-dots i:nth-child(-n+2) { background: #fff; }
.rsas-login-form { padding: 52px 44px; }
.rsas-login-form form p { margin-bottom: 14px; }
.rsas-login-form label { font-weight: 600; font-size: 14px; }
.rsas-login-form .login-remember label { font-weight: 400; display: flex; gap: 8px; align-items: center; }

/* ---------- Anteprima tutor ---------- */
.rsas-preview { background: #fff7e0; border: 1.5px dashed var(--rsas-warn); border-radius: 14px; padding: 10px 16px; margin-bottom: 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.rsas-hero { background: var(--rsas-dark); color: #fff; border-radius: 28px; padding: 32px; display: flex; gap: 24px; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; position: relative; overflow: hidden; margin-bottom: 24px; }
.rsas-hero::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--rsas-accent); right: -90px; top: -140px; opacity: .9; }
.rsas-hero > * { position: relative; z-index: 1; }
.rsas-hero h2 { color: #fff; }
.rsas-level { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.rsas-level-n { background: var(--rsas-accent); color: #fff; font-weight: 800; border-radius: 14px; padding: 10px 12px; font-size: 18px; white-space: nowrap; }
.rsas-level-info { min-width: 220px; }
.rsas-level-info small { opacity: .75; }
.rsas-xpbar { height: 10px; background: rgba(255,255,255,.15); border-radius: 99px; margin: 6px 0; overflow: hidden; }
.rsas-xpbar span { display: block; height: 100%; background: var(--rsas-accent); border-radius: 99px; transition: width .6s; }
.rsas-hero-stats { display: flex; gap: 10px; }
.rsas-hero-stats div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 12px 16px; min-width: 88px; text-align: center; }
.rsas-hero-stats strong { display: block; font-size: 24px; font-weight: 800; white-space: nowrap; }
.rsas-hero-stats span { font-size: 12px; opacity: .7; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.rsas-welcome { font-size: 18px; max-width: 60ch; }

/* ---------- Percorso ---------- */
.rsas-path-wrap { position: relative; padding: 10px 0 20px; }
.rsas-path-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.rsas-path-line path { fill: none; stroke-width: 6; stroke-linecap: round; }
.rsas-path-line .base { stroke: #dcd8d0; stroke-dasharray: 2 14; }
.rsas-path-line .done { stroke: var(--rsas-accent); }
.rsas-path { position: relative; z-index: 1; }
.rsas-node { height: 168px; position: relative; }
.rsas-node-link { position: absolute; left: var(--x, 50%); top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; width: 210px; text-decoration: none; color: inherit !important; }
.rsas-node:nth-child(4n+1) { --x: 50%; }
.rsas-node:nth-child(4n+2) { --x: 74%; }
.rsas-node:nth-child(4n+3) { --x: 50%; }
.rsas-node:nth-child(4n+4) { --x: 26%; }
.rsas-node-circle { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; position: relative; background: #fff; border: 4px solid var(--rsas-line); box-shadow: 0 8px 0 var(--rsas-line); transition: transform .15s; }
.rsas-node-icon { font-size: 38px; line-height: 1; }
.rsas-node-check { position: absolute; right: -4px; bottom: -4px; width: 30px; height: 30px; border-radius: 50%; background: var(--rsas-ok); color: #fff; display: grid; place-items: center; font-size: 15px; border: 3px solid #fff; }
.rsas-node-ch { position: absolute; left: -10px; top: -6px; background: var(--rsas-warn); color: #1b1b1b; font-size: 12px; font-weight: 800; border-radius: 99px; padding: 3px 7px; border: 2px solid #fff; }
.rsas-node-text { margin-top: 12px; display: flex; flex-direction: column; background: rgba(246,245,242,.92); border-radius: 10px; padding: 4px 10px; }
.rsas-node-text small { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--rsas-muted); }
.rsas-node-text strong { font-size: 16px; line-height: 1.2; }
.rsas-node-text em { font-style: normal; font-size: 13px; color: var(--rsas-muted); }
a.rsas-node-link:hover .rsas-node-circle { transform: translateY(-4px) rotate(-4deg); }
.rsas-completato .rsas-node-circle { background: var(--rsas-accent); border-color: var(--rsas-accent); box-shadow: 0 8px 0 color-mix(in srgb, var(--rsas-accent) 60%, #000); }
.rsas-aperto .rsas-node-circle { border-color: var(--rsas-text); box-shadow: 0 8px 0 var(--rsas-text); }
.rsas-node.is-current .rsas-node-circle { animation: rsas-pulse 1.8s infinite; }
.rsas-node.is-current .rsas-node-text em { color: var(--rsas-accent); font-weight: 700; }
.rsas-bloccato .rsas-node-circle { background: #f0eee9; }
.rsas-bloccato .rsas-node-icon { opacity: .55; font-size: 30px; }
.rsas-bloccato .rsas-node-text { opacity: .6; }
.rsas-finish { height: 140px; }
.rsas-finish .rsas-node-circle { border-style: dashed; }
@keyframes rsas-pulse {
	0%, 100% { outline: 0 solid color-mix(in srgb, var(--rsas-accent) 40%, transparent); }
	50% { outline: 14px solid color-mix(in srgb, var(--rsas-accent) 0%, transparent); }
}

/* ---------- Checkpoint ---------- */
.rsas-back { display: inline-block; margin-bottom: 14px; text-decoration: none; font-weight: 600; color: var(--rsas-muted) !important; }
.rsas-cp-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.rsas-cp-head small { color: var(--rsas-muted); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 700; }
.rsas-cp-head h2 { margin: 0; }
.rsas-cp-head .rsas-pill { margin-left: auto; }
.rsas-cp-icon { width: 72px; height: 72px; border-radius: 22px; background: var(--rsas-dark); display: grid; place-items: center; font-size: 36px; flex: none; }
.rsas-pill { display: inline-block; padding: 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; background: #eee; }
.rsas-pill-completato { background: color-mix(in srgb, var(--rsas-ok) 15%, #fff); color: var(--rsas-ok); }
.rsas-pill-aperto { background: color-mix(in srgb, var(--rsas-accent) 12%, #fff); color: var(--rsas-accent); }
.rsas-steps { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.rsas-steps span { flex: 1; min-width: 140px; text-align: center; font-size: 13px; font-weight: 700; padding: 8px; border-radius: 12px; background: #efede8; color: var(--rsas-muted); }
.rsas-steps span.is-on { background: var(--rsas-text); color: #fff; }
.rsas-steps span.is-ch { background: color-mix(in srgb, var(--rsas-warn) 22%, #fff); color: #7a5200; }
.rsas-content { font-size: 17px; }
.rsas-content img { max-width: 100%; height: auto; border-radius: 12px; }
.rsas-video { position: relative; margin-bottom: 18px; }
.rsas-video iframe { width: 100%; aspect-ratio: 16/9; height: auto; border-radius: 14px; border: 0; }
.rsas-test-intro { display: flex; gap: 20px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.rsas-test-intro > div { flex: 1; min-width: 240px; }
.rsas-trick { background: #fffaf0; border-color: #f3dfb3; }
.rsas-trick.is-open { background: color-mix(in srgb, var(--rsas-accent) 6%, #fff); border-color: color-mix(in srgb, var(--rsas-accent) 30%, #fff); }
.rsas-blur { filter: blur(5px); user-select: none; }
.rsas-challenges { background: linear-gradient(180deg, color-mix(in srgb, var(--rsas-warn) 9%, #fff), #fff 140px); }
.rsas-challenges .rsas-chs { margin-top: 14px; }

/* ---------- Obiettivi ---------- */
.rsas-ob { border: 1.5px solid var(--rsas-line); border-radius: 16px; padding: 16px; margin-top: 12px; }
.rsas-ob-head { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; }
.rsas-ob-head p { margin: 4px 0 0; color: var(--rsas-muted); font-size: 15px; }
.rsas-xp { background: var(--rsas-dark); color: #fff; font-weight: 800; font-size: 13px; border-radius: 99px; padding: 4px 10px; white-space: nowrap; }
.rsas-ob-state { margin: 10px 0 0; font-weight: 600; font-size: 14px; }
.rsas-ob-approvato { border-color: color-mix(in srgb, var(--rsas-ok) 40%, #fff); background: color-mix(in srgb, var(--rsas-ok) 5%, #fff); }
.rsas-ob-approvato .rsas-ob-state { color: var(--rsas-ok); }
.rsas-ob-inviato .rsas-ob-state { color: #b07a05; }
.rsas-ob-rifiutato .rsas-ob-state { color: var(--rsas-bad); }
.rsas-ob-form { display: grid; gap: 8px; margin-top: 12px; }
.rsas-ob-form .rsas-btn { justify-self: start; }

/* ---------- Schede sfida ---------- */
.rsas-chs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.rsas-ch { background: #fff; border: 1.5px solid var(--rsas-line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
.rsas-ch::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--rsas-accent), var(--rsas-warn)); }
.rsas-ch.is-running { border-color: var(--rsas-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rsas-accent) 15%, transparent); }
.rsas-ch.is-locked { opacity: .6; }
.rsas-ch-head { display: flex; gap: 12px; align-items: center; }
.rsas-ch-head strong { display: block; font-size: 17px; line-height: 1.25; }
.rsas-ch-head small { color: var(--rsas-muted); font-size: 13px; }
.rsas-ch-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--rsas-dark); display: grid; place-items: center; font-size: 24px; flex: none; }
.rsas-ch-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.rsas-ch-meta span { font-size: 13px; font-weight: 700; background: #f2f0eb; border-radius: 99px; padding: 4px 10px; }
.rsas-ch-brief { font-size: 15px; color: #4a4741; margin: 0 !important; }
.rsas-ch-record { font-size: 14px; background: color-mix(in srgb, var(--rsas-ok) 8%, #fff); border: 1px solid color-mix(in srgb, var(--rsas-ok) 25%, #fff); border-radius: 12px; padding: 8px 12px; }
.rsas-ch-status { font-size: 14px; font-weight: 600; border-radius: 12px; padding: 8px 12px; background: #f2f0eb; }
.rsas-ch-status.is-wait { background: #fff4d9; color: #8a5a00; }
.rsas-ch-status.is-no { background: #fde6e6; color: #a32020; }
.rsas-ch-status.is-run { background: color-mix(in srgb, var(--rsas-accent) 10%, #fff); color: var(--rsas-accent); }
.rsas-ch-status.is-ok { background: color-mix(in srgb, var(--rsas-ok) 8%, #fff); color: #0d6b48; }
.rsas-ch-board { border-top: 1px dashed var(--rsas-line); padding-top: 8px !important; }
.rsas-ch-board li { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; }
.rsas-ch-board .nm { flex: 1; }
.rsas-ch-board li.is-me { font-weight: 800; }
.rsas-ch-foot { margin-top: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rsas-ch-group { margin-bottom: 26px; }
.rsas-ch-group h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rsas-ch-group h3 span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--rsas-muted); background: #efede8; padding: 4px 10px; border-radius: 99px; }
.rsas-ch-group h3 em { font-style: normal; font-size: 14px; color: var(--rsas-muted); font-weight: 600; }

/* ---------- Classifica ---------- */
.rsas-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; max-width: 620px; margin: 0 auto 22px; }
.rsas-pod { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.rsas-pod .rsas-avatar { width: 54px; height: 54px; font-size: 18px; }
.rsas-pod-1 .rsas-avatar { width: 66px; height: 66px; background: var(--rsas-accent); }
.rsas-pod small { color: var(--rsas-muted); font-weight: 700; }
.rsas-pod-bar { width: 100%; border-radius: 16px 16px 6px 6px; background: var(--rsas-dark); color: #fff; display: grid; place-items: center; font-size: 30px; margin-top: 6px; }
.rsas-pod-1 .rsas-pod-bar { height: 130px; background: var(--rsas-accent); }
.rsas-pod-2 .rsas-pod-bar { height: 96px; }
.rsas-pod-3 .rsas-pod-bar { height: 70px; }
.rsas-pod.is-me strong::after { content: " (tu)"; color: var(--rsas-accent); }
.rsas-rank li { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-bottom: 1px solid var(--rsas-line); }
.rsas-rank li:last-child { border-bottom: 0; }
.rsas-rank .pos { width: 28px; text-align: center; font-weight: 800; color: var(--rsas-muted); }
.rsas-rank .nm { flex: 1; display: flex; flex-direction: column; font-weight: 700; }
.rsas-rank .nm em { font-style: normal; font-weight: 500; font-size: 13px; color: var(--rsas-muted); }
.rsas-rank .nm b { color: var(--rsas-accent); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.rsas-rank li.is-me { background: color-mix(in srgb, var(--rsas-accent) 7%, #fff); border-radius: 12px; }

/* ---------- Gioco a domande ---------- */
.rsas-game { margin-top: 20px; border-top: 1.5px dashed var(--rsas-line); padding-top: 22px; }
.rsas-game-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 14px; color: var(--rsas-muted); font-weight: 600; }
.rsas-dots { display: flex; gap: 6px; }
.rsas-dots i { width: 26px; height: 6px; border-radius: 9px; background: var(--rsas-line); }
.rsas-dots i.is-done { background: var(--rsas-text); }
.rsas-dots i.is-now { background: var(--rsas-accent); }
.rsas-q-type { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--rsas-accent); margin-bottom: 6px; }
.rsas-q { font-size: 22px; font-weight: 800; margin-bottom: 18px; line-height: 1.25; }
.rsas-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.rsas-choice { text-align: left; font: inherit; font-weight: 600; padding: 16px 18px; border-radius: 16px; cursor: pointer; color: var(--rsas-text); background: #fff; border: 2px solid var(--rsas-line); box-shadow: 0 5px 0 var(--rsas-line); transition: transform .1s, border-color .1s; }
.rsas-choice:hover { border-color: var(--rsas-text); }
.rsas-choice.is-sel { border-color: var(--rsas-accent); box-shadow: 0 5px 0 var(--rsas-accent); background: color-mix(in srgb, var(--rsas-accent) 7%, #fff); }
.rsas-vf .rsas-choice { text-align: center; font-size: 22px; padding: 26px; }
.rsas-match { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.rsas-match-col { display: grid; gap: 10px; align-content: start; }
.rsas-match .rsas-choice { position: relative; }
.rsas-match .rsas-choice.is-active { border-color: var(--rsas-text); border-style: dashed; }
.rsas-match .rsas-choice[data-pair]::after { content: attr(data-pair); position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #fff; background: var(--pc, var(--rsas-accent)); }
.rsas-match .rsas-choice[data-pair] { border-color: var(--pc); box-shadow: 0 5px 0 var(--pc); padding-right: 46px; }
.rsas-order { display: grid; gap: 8px; }
.rsas-order li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 2px solid var(--rsas-line); border-radius: 14px; background: #fff; font-weight: 600; cursor: grab; user-select: none; }
.rsas-order li.is-drag { opacity: .4; }
.rsas-order li .n { width: 28px; height: 28px; border-radius: 50%; background: var(--rsas-text); color: #fff; display: grid; place-items: center; font-size: 13px; flex: none; }
.rsas-order li .t { flex: 1; }
.rsas-order li button { background: #f2f0eb; border: 0; border-radius: 8px; width: 34px; height: 34px; cursor: pointer; font-size: 14px; }
.rsas-hint { font-size: 14px; color: var(--rsas-muted); margin: 10px 0 0; }
.rsas-game-foot { display: flex; justify-content: flex-end; margin-top: 22px; gap: 10px; flex-wrap: wrap; }
.rsas-result { text-align: center; padding: 10px 0; }
.rsas-ring { --p: 0; width: 160px; height: 160px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: conic-gradient(var(--rc, var(--rsas-accent)) calc(var(--p) * 1%), var(--rsas-line) 0); }
.rsas-ring span { width: 128px; height: 128px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 40px; font-weight: 800; }
.rsas-result.is-pass .rsas-ring { --rc: var(--rsas-ok); }
.rsas-result-list { text-align: left; max-width: 560px; margin: 20px auto; }
.rsas-result-list li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rsas-line); font-size: 15px; }
.rsas-result-list li b { flex: none; width: 24px; }
.rsas-newbadges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0; }
.rsas-newbadges span { background: var(--rsas-dark); color: #fff; padding: 8px 14px; border-radius: 99px; font-weight: 700; animation: rsas-pop .5s both; }
@keyframes rsas-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.rsas-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 1000001; }

/* ---------- Sfida in corso (schermata focus) ---------- */
.rsas-focus { position: fixed; inset: 0; z-index: 1000000; background: var(--rsas-bg); display: flex; flex-direction: column; animation: rsas-fade .2s both; }
@keyframes rsas-fade { from { opacity: 0; } to { opacity: 1; } }
.rsas-focus-top { display: flex; align-items: center; gap: 16px; padding: 12px 20px; background: var(--rsas-dark); color: #fff; flex: none; }
.rsas-focus-title { min-width: 0; }
.rsas-focus-title small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--rsas-accent); font-weight: 800; }
.rsas-focus-title strong { display: block; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rsas-timer { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 30px; font-weight: 800; letter-spacing: .02em; background: rgba(255,255,255,.1); padding: 4px 16px; border-radius: 12px; min-width: 120px; text-align: center; transition: background .3s, color .3s; }
.rsas-timer.is-warn { color: #ffc84a; }
.rsas-timer.is-over { background: var(--rsas-bad); color: #fff; animation: rsas-blink 1s infinite; }
@keyframes rsas-blink { 50% { opacity: .75; } }
.rsas-focus-actions { display: flex; gap: 8px; flex: none; }
.rsas-focus-actions .rsas-btn { padding: 10px 18px; }
.rsas-focus-body { flex: 1; overflow: auto; padding: 22px 20px; }
.rsas-focus-body.is-mb { overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 14px 20px 18px; }
.rsas-intro { max-width: 680px; margin: 3vh auto; background: #fff; border: 1.5px solid var(--rsas-line); border-radius: 26px; padding: 34px; text-align: center; }
.rsas-intro-ico { width: 84px; height: 84px; border-radius: 26px; background: var(--rsas-dark); display: grid; place-items: center; font-size: 42px; margin: 0 auto 14px; }
.rsas-intro-meta { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 6px 0 18px; }
.rsas-intro-meta span { background: #f2f0eb; border-radius: 99px; padding: 6px 12px; font-weight: 700; font-size: 14px; }
.rsas-intro-brief { text-align: left; background: #faf9f6; border-radius: 16px; padding: 16px 18px; margin: 0 0 14px; white-space: pre-line; }
.rsas-intro-req { text-align: left; margin: 0 0 16px !important; }
.rsas-intro-req li { padding: 4px 0; }
.rsas-intro-req li::before { content: "✓ "; color: var(--rsas-ok); font-weight: 800; }
.rsas-intro .rsas-btn-big { margin-top: 10px; }
.rsas-linkform { text-align: left; }
.rsas-linkform .rsas-f { display: block; margin-top: 12px; font-weight: 700; font-size: 14px; }
.rsas-done .rsas-bigtime { font-size: 64px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; margin: 10px 0 14px; }
.rsas-count { position: fixed; inset: 0; z-index: 1000002; display: grid; place-items: center; background: rgba(20,20,20,.8); color: #fff; font-size: 160px; font-weight: 800; }
.rsas-count span { animation: rsas-zoom .9s both; }
@keyframes rsas-zoom { from { transform: scale(2); opacity: 0; } 30% { opacity: 1; } to { transform: scale(.8); opacity: 0; } }

/* Requisiti live */
.rsas-req { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; flex: none; }
.rsas-req span { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1.5px solid var(--rsas-line); color: var(--rsas-muted); }
.rsas-req span.ok { border-color: var(--rsas-ok); color: #0d6b48; background: color-mix(in srgb, var(--rsas-ok) 8%, #fff); }
.rsas-req details { font-size: 14px; }
.rsas-req summary { cursor: pointer; font-weight: 700; color: var(--rsas-muted); }
.rsas-req .rsas-req-brief { margin-top: 6px; background: #fff; border-radius: 12px; padding: 10px 14px; border: 1.5px solid var(--rsas-line); white-space: pre-line; max-width: 70ch; }

/* ---------- Menu Builder ---------- */
.rsas-mb-host { flex: 1; min-height: 0; }
.rsas-mb { display: grid; grid-template-columns: minmax(330px, 440px) 1fr; gap: 20px; height: 100%; }
.rsas-mb-switch { display: none; }
.rsas-mb-panel { background: #fff; border: 1.5px solid var(--rsas-line); border-radius: 20px; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.rsas-mb-tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--rsas-line); flex: none; }
.rsas-mb-tabs button, .rsas-mb-switch button { flex: 1; border: 0; background: transparent; border-radius: 12px; padding: 10px; font-weight: 800; font-size: 14px; cursor: pointer; color: var(--rsas-muted); }
.rsas-mb-tabs button.is-on, .rsas-mb-switch button.is-on { background: var(--rsas-dark); color: #fff; }
.rsas-mb-pane { padding: 16px; overflow: auto; flex: 1; }
.rsas-mb-pane[hidden] { display: none; }
.rsas-f { display: block; font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.rsas-f-l { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--rsas-muted); margin: 16px 0 8px; }
.rsas-f-l:first-child { margin-top: 0; }
.rsas-mb-cat { border: 1.5px solid var(--rsas-line); border-radius: 16px; padding: 12px; margin-bottom: 12px; background: #fcfbf9; }
.rsas-mb-cat-hd { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.rsas-mb-cat-hd input { font-weight: 800; margin: 0 !important; }
.rsas-mb-item { display: grid; grid-template-columns: 1fr 78px 34px; gap: 6px; padding: 8px 0; border-top: 1px dashed var(--rsas-line); }
.rsas-mb-item input { margin: 0 !important; padding: 8px 10px !important; font-size: 14px !important; }
.rsas-mb-item .rsas-mb-desc { grid-column: 1 / 3; font-size: 13px !important; color: var(--rsas-muted); }
.rsas-mb-item input.is-bad { border-color: var(--rsas-bad) !important; background: #fff5f5; }
.rsas-x { width: 34px; height: 36px; border: 0; border-radius: 10px; background: #f2f0eb; cursor: pointer; color: var(--rsas-muted); font-size: 13px; flex: none; }
.rsas-x:hover { background: #fde6e6; color: var(--rsas-bad); }
.rsas-mini { border: 1.5px dashed #cfcac0; background: transparent; border-radius: 10px; padding: 7px 12px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--rsas-text); margin-top: 6px; }
.rsas-mini:hover { border-color: var(--rsas-text); }
.rsas-mini-dark { border: 0; background: var(--rsas-dark); color: #fff; padding: 10px 16px; }
.rsas-sw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rsas-sw button { border: 2px solid var(--rsas-line); background: #fff; border-radius: 14px; padding: 8px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--rsas-text); }
.rsas-sw button span { display: flex; }
.rsas-sw button i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); margin-left: -4px; }
.rsas-sw button i:first-child { margin-left: 0; }
.rsas-sw button.is-sel { border-color: var(--rsas-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rsas-accent) 18%, transparent); }
.rsas-colors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.rsas-colors label { font-size: 12px; font-weight: 700; color: var(--rsas-muted); }
.rsas-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.rsas-opt { border: 1.5px solid var(--rsas-line); background: #fff; border-radius: 99px; padding: 7px 13px; font-size: 14px; font-weight: 700; cursor: pointer; color: var(--rsas-text); }
.rsas-opt.is-sel { background: var(--rsas-dark); border-color: var(--rsas-dark); color: #fff; }
.rsas-mb-preview { min-height: 0; overflow: auto; display: flex; justify-content: center; align-items: flex-start; padding: 4px 0 10px; }

/* Telefono */
.rsas-phone { width: 360px; max-width: 100%; border-radius: 46px; background: #111; padding: 12px; box-shadow: 0 30px 60px -25px rgba(0,0,0,.45), inset 0 0 0 2px #333; position: relative; flex: none; }
.rsas-phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 99px; background: #111; z-index: 3; }
.rsas-phone-screen { border-radius: 36px; overflow: hidden auto; height: 690px; max-height: calc(100vh - 220px); min-height: 460px; background: #fff; scrollbar-width: none; }
.rsas-phone-screen::-webkit-scrollbar { display: none; }

/* ---------- Anteprima menù (stile MenuCreator) ---------- */
.mcp { --bg: #111; --tx: #fff; --ac: #ffd400; background: var(--bg); color: var(--tx); min-height: 100%; font-family: var(--fb); padding-bottom: 26px; font-size: 15px; line-height: 1.4; }
.mcp h1, .mcp h2 { font-family: var(--ft); margin: 0; padding: 0; color: inherit; line-height: 1.15; letter-spacing: 0; }
.mcp p { margin: 0; padding: 0; }
.mcp-head { padding: 54px 22px 22px; text-align: center; }
.mcp-logo { width: 64px; height: 64px; border-radius: 50%; background: var(--ac); color: var(--bg); display: grid; place-items: center; font: 800 28px/1 var(--ft); margin: 0 auto 12px; }
.mcp-head h1 { font-size: 26px; font-weight: 800; }
.mcp-head p { opacity: .75; margin-top: 6px; font-size: 14px; }
.mcp[data-header=banner] .mcp-head { background: var(--ac); color: var(--bg); border-radius: 0 0 28px 28px; margin-bottom: 14px; }
.mcp[data-header=banner] .mcp-logo { background: var(--bg); color: var(--ac); }
.mcp[data-header=sinistra] .mcp-head { text-align: left; display: flex; align-items: center; gap: 14px; }
.mcp[data-header=sinistra] .mcp-logo { margin: 0; width: 54px; height: 54px; flex: none; }
.mcp-cats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 18px 14px; position: sticky; top: 0; background: var(--bg); z-index: 2; scrollbar-width: none; }
.mcp-cats span { border: 1.5px solid color-mix(in srgb, var(--tx) 25%, transparent); border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.mcp-cats span.on { background: var(--ac); border-color: var(--ac); color: var(--bg); }
.mcp-empty { text-align: center; opacity: .6; padding: 30px 26px; font-size: 14px; }
.mcp-sec { padding: 6px 18px 10px; }
.mcp-sec h2 { font-size: 19px; font-weight: 800; margin: 14px 0 8px; display: flex; align-items: center; gap: 10px; }
.mcp-sec h2::after { content: ""; flex: 1; height: 2px; background: var(--ac); opacity: .6; }
.mcp-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed color-mix(in srgb, var(--tx) 18%, transparent); }
.mcp-item-body { flex: 1; min-width: 0; }
.mcp-thumb { display: none; }
.mcp-item-top { display: flex; align-items: baseline; gap: 8px; }
.mcp-item-top .n { font-weight: 700; }
.mcp-item-top .dots { flex: 1; border-bottom: 2px dotted color-mix(in srgb, var(--tx) 35%, transparent); transform: translateY(-4px); min-width: 10px; }
.mcp-item-top .p { font-weight: 800; color: var(--ac); white-space: nowrap; }
.mcp-item .d { font-size: 13px; opacity: .72; margin-top: 3px; }
.mcp[data-stile=card] .mcp-item { background: color-mix(in srgb, var(--tx) 7%, var(--bg)); border: 0; border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
.mcp[data-stile=card] .dots, .mcp[data-stile=griglia] .dots, .mcp[data-stile=minimal] .dots { display: none; }
.mcp[data-stile=card] .mcp-item-top { justify-content: space-between; }
.mcp[data-stile=griglia] .mcp-items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mcp[data-stile=griglia] .mcp-item { flex-direction: column; gap: 8px; border: 0; padding: 0 0 10px; background: color-mix(in srgb, var(--tx) 7%, var(--bg)); border-radius: 14px; overflow: hidden; }
.mcp[data-stile=griglia] .mcp-thumb { display: grid; place-items: center; aspect-ratio: 4/3; background: color-mix(in srgb, var(--ac) 30%, var(--bg)); color: var(--ac); font: 800 30px/1 var(--ft); }
.mcp[data-stile=griglia] .mcp-item-body { padding: 0 10px; }
.mcp[data-stile=griglia] .mcp-item-top { flex-direction: column; gap: 2px; }
.mcp[data-stile=griglia] .mcp-item .d { font-size: 12px; }
.mcp[data-stile=minimal] .mcp-sec { text-align: center; }
.mcp[data-stile=minimal] .mcp-sec h2 { justify-content: center; text-transform: uppercase; letter-spacing: .22em; font-size: 14px; color: var(--ac); }
.mcp[data-stile=minimal] .mcp-sec h2::after { display: none; }
.mcp[data-stile=minimal] .mcp-item { border: 0; justify-content: center; padding: 8px 0; }
.mcp[data-stile=minimal] .mcp-item-top { flex-direction: column; align-items: center; gap: 0; }
.mcp[data-stile=minimal] .mcp-item-top .p { color: inherit; opacity: .8; font-weight: 600; }
.mcp[data-font=elegante] h1, .mcp[data-font=elegante] h2 { text-transform: uppercase; letter-spacing: .12em; font-weight: 400; }
.mcp[data-font=giocoso] h1, .mcp[data-font=giocoso] h2 { letter-spacing: -.01em; }
.mcp-foot { text-align: center; font-size: 11px; opacity: .5; margin-top: 18px; }

/* ---------- Visualizzatore layout ---------- */
.rsas-viewer { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.rsas-viewer .rsas-phone-screen { max-height: none; }

/* ---------- Registro ---------- */
.rsas-reg-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; }
.rsas-reg-form label { font-size: 14px; font-weight: 600; }
.rsas-reg-form .rsas-wide { grid-column: 1 / -1; }
.rsas-reg-form .rsas-btn { justify-self: start; }
.rsas-reg-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.rsas-reg-head h3 { margin: 0; }
.rsas-table-wrap { overflow-x: auto; }
.rsas-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rsas-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--rsas-muted); padding: 8px; border-bottom: 1.5px solid var(--rsas-line); }
.rsas-table td { padding: 10px 8px; border-bottom: 1px solid var(--rsas-line); vertical-align: top; }

/* ---------- Traguardi ---------- */
.rsas-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.rsas-badge { border: 1.5px solid var(--rsas-line); border-radius: 18px; padding: 18px 14px; text-align: center; display: flex; flex-direction: column; gap: 4px; opacity: .6; background: #faf9f6; }
.rsas-badge.is-ok { opacity: 1; background: #fff; border-color: var(--rsas-text); box-shadow: 0 6px 0 var(--rsas-text); }
.rsas-badge-icon { font-size: 36px; }
.rsas-badge small { color: var(--rsas-muted); font-size: 13px; line-height: 1.3; }
.rsas-levels li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; }
.rsas-levels li span { font-weight: 800; width: 44px; color: var(--rsas-muted); }
.rsas-levels li small { margin-left: auto; color: var(--rsas-muted); }
.rsas-levels li.is-done { opacity: .55; }
.rsas-levels li.is-current { background: var(--rsas-dark); color: #fff; }
.rsas-levels li.is-current span, .rsas-levels li.is-current small { color: var(--rsas-accent); }

/* ---------- Profilo ---------- */
.rsas-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rsas-grid2 .rsas-card { margin: 0; }
.rsas-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 12px; }
.rsas-dl dt { color: var(--rsas-muted); font-size: 14px; }
.rsas-dl dd { margin: 0; font-weight: 600; }
.rsas-stack { display: grid; gap: 10px; }
.rsas-stack label { font-size: 14px; font-weight: 600; }
.rsas-stack .rsas-btn { justify-self: start; }

/* ---------- Toast ---------- */
.rsas-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(140px); background: #141414; color: #fff; padding: 12px 20px; border-radius: 99px; font-weight: 600; z-index: 1000003; transition: transform .3s; max-width: calc(100% - 32px); font-family: inherit; }
.rsas-toast.is-on { transform: translateX(-50%) translateY(0); }
.rsas-toast.is-err { background: #c0392b; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
	.rsas-user-lv { display: none; }
	.rsas-nav a { padding: 8px 10px; font-size: 14px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
	.rsas-top-in { height: 58px; padding: 0 16px; }
	.rsas-logo { height: 28px; }
	.rsas-nav { display: none; }
	.rsas-user { margin-left: auto; }
	.rsas-main { padding: 20px 16px 40px; }
	.rsas-app.has-bnav .rsas-foot { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	.rsas-bnav { display: grid; grid-template-columns: repeat(6, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--rsas-line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
	.rsas-bnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--rsas-muted) !important; font-size: 10.5px; font-weight: 700; padding: 4px 0; border-radius: 12px; }
	.rsas-bnav a .i { font-size: 20px; line-height: 1.1; filter: grayscale(1); opacity: .7; }
	.rsas-bnav a.is-active { color: var(--rsas-text) !important; background: #f2f0eb; }
	.rsas-bnav a.is-active .i { filter: none; opacity: 1; }
	.rsas-login { grid-template-columns: 1fr; }
	.rsas-login-art, .rsas-login-form { padding: 32px 24px; }
	.rsas-hero { padding: 24px; }
	.rsas-hero-stats { width: 100%; gap: 6px; }
	.rsas-hero-stats div { flex: 1; min-width: 0; padding: 10px 4px; }
	.rsas-hero-stats strong { font-size: 19px; }
	.rsas-hero-stats span { font-size: 10px; letter-spacing: .04em; }
	.rsas-node:nth-child(4n+2) { --x: 66%; }
	.rsas-node:nth-child(4n+4) { --x: 34%; }
	.rsas-node-link { width: 160px; }
	.rsas-node-circle { width: 78px; height: 78px; }
	.rsas-cp-head .rsas-pill { margin-left: 0; }
	.rsas-match { gap: 8px; }
	.rsas-reg-form, .rsas-grid2, .rsas-viewer { grid-template-columns: 1fr; }
	.rsas-viewer .rsas-phone { margin: 0 auto; }
	.rsas-q { font-size: 19px; }
	.rsas-card { padding: 18px; }
	.rsas-chs { grid-template-columns: 1fr; }

	.rsas-focus-top { flex-wrap: wrap; gap: 8px 12px; padding: 10px 14px; }
	.rsas-focus-title { flex: 1 1 60%; order: 1; }
	.rsas-timer { order: 2; font-size: 22px; min-width: 96px; padding: 4px 10px; }
	.rsas-focus-actions { order: 3; width: 100%; justify-content: flex-end; }
	.rsas-focus-body { padding: 14px; }
	.rsas-focus-body.is-mb { padding: 10px 12px 12px; }
	.rsas-intro { padding: 24px 20px; margin: 0 auto; }
	.rsas-mb { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 10px; }
	.rsas-mb-switch { display: flex; gap: 4px; background: #fff; border: 1.5px solid var(--rsas-line); border-radius: 14px; padding: 4px; }
	.rsas-mb.is-preview .rsas-mb-panel { display: none; }
	.rsas-mb:not(.is-preview) .rsas-mb-preview { display: none; }
	.rsas-phone { width: 330px; }
	.rsas-phone-screen { max-height: none; height: 600px; }
	.rsas-req .rsas-req-hide-m { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.rsas-app *, .rsas-focus, .rsas-count span { animation: none !important; transition: none !important; }
}
