/* Compact, responsive screens; reuse the MonAvenir red/white identity. */
.ch-shell{--ch-red:#c60835;--ch-line:#e5e7ed;--ch-ink:#182638;--ch-muted:#697789;max-width:720px;margin:0 auto;color:var(--ch-ink);display:grid;gap:12px;min-width:0}.ch-shell h1{font-size:clamp(21px,5vw,27px);margin:0;letter-spacing:-.7px}.ch-shell h2{font-size:17px;line-height:1.35;margin:0 0 8px}.ch-shell p{margin:0;line-height:1.45}.ch-sub{font-size:12px;color:var(--ch-muted)}.ch-top,.ch-line,.ch-setting,.ch-rank,.ch-versus{display:flex;align-items:center;gap:10px;justify-content:space-between}.ch-top{margin-bottom:3px}.ch-back{color:var(--ch-red);font-weight:750;border:0;background:none;padding:9px 0;display:flex;align-items:center;gap:5px}.ch-btn{min-height:44px;border:1px solid var(--ch-line);color:var(--ch-red);font-size:13px;font-weight:750;border-radius:11px;padding:10px 12px;background:#fff;overflow-wrap:anywhere;min-width:0}.ch-primary{background:var(--ch-red);color:white;border-color:var(--ch-red)}.ch-btn:focus-visible,.ch-tile:focus-visible,.ch-row:focus-visible,.ch-option:focus-visible,.ch-switch:focus-visible{outline:3px solid #e58ca3;outline-offset:2px}.ch-top .ch-btn{min-height:36px;padding:7px 12px}.ch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ch-tile{background:#fff;border:1px solid var(--ch-line);text-align:left;padding:12px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;border-radius:15px;color:var(--ch-ink);min-width:0;min-height:110px}.ch-tile b{font-size:14px;line-height:1.25;overflow-wrap:anywhere}.ch-tile small,.ch-setting small,.ch-rank small,.ch-row small,.ch-stat small,.ch-hero small{display:block;color:var(--ch-muted);font-size:11px;line-height:1.35}.ch-icon{display:grid;place-items:center;background:#fff0f3;color:var(--ch-red);width:35px;height:35px;border-radius:10px;flex:none}.ch-icon svg{width:20px;height:20px}.ch-badge{font-size:10px;display:inline-flex;font-weight:700;padding:4px 8px;border-radius:20px;background:#eef0f4;color:#586474;align-self:flex-start;white-space:nowrap}.ch-badge.good{background:#e5f5ec;color:#166743}.ch-hero{display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid #f1d8e0;border-radius:15px;background:linear-gradient(115deg,#fff4f6,#fff);color:var(--ch-ink)}.ch-hero b{display:block;font-size:16px;margin-bottom:4px}.ch-trophy{font-size:31px}.ch-trophy.big{font-size:46px;display:block}.ch-stats{display:flex;gap:8px;margin:4px 0}.ch-stat{flex:1;min-width:0;background:#f8f9fc;text-align:center;border-radius:11px;padding:10px 4px}.ch-stat b{display:block;color:var(--ch-red);font-size:20px;overflow-wrap:anywhere}.ch-card{background:white;border:1px solid var(--ch-line);border-radius:15px;padding:14px;display:grid;gap:10px;min-width:0}.ch-card .ch-btn{width:100%}.ch-center{text-align:center}.ch-note,.ch-error,.ch-empty{font-size:12px;line-height:1.45;padding:11px 13px;border-radius:11px;overflow-wrap:anywhere}.ch-note{background:#fff0f3;color:#85263e}.ch-empty{border:1px dashed #dfe2e8;color:#5f6c7c;background:#fff;text-align:center}.ch-error{background:#fff0f2;color:#931431;border:1px solid #edcbd3}.ch-stack{display:grid;gap:8px}.ch-row{display:flex;width:100%;align-items:center;gap:10px;justify-content:space-between;background:white;border:1px solid var(--ch-line);color:var(--ch-ink);border-radius:12px;text-align:left;padding:13px;min-height:59px;min-width:0;overflow-wrap:anywhere}.ch-row b{font-size:14px}.ch-row svg{color:var(--ch-red);width:17px}.ch-setting{justify-content:flex-start;border-bottom:1px solid var(--ch-line);padding:9px 0}.ch-setting:last-child{border:0}.ch-setting>span:nth-child(2){flex:1;min-width:0}.ch-switch{border:0;width:46px;height:27px;border-radius:15px;background:#c6cad3;position:relative;flex:none}.ch-switch:after{content:'';position:absolute;left:4px;top:4px;width:19px;height:19px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002}.ch-switch.on{background:var(--ch-red)}.ch-switch.on:after{left:23px}.ch-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:5px}.ch-tabs button{font-size:11px;padding:9px 5px}.ch-actions{display:flex;gap:8px;align-items:center;justify-content:space-between}.ch-actions .ch-btn{flex:1;width:auto}.ch-step{display:grid;gap:6px}.ch-step small{color:var(--ch-red);font-size:11px;font-weight:750}.ch-step>div,.ch-progress{display:flex;gap:3px;height:5px;background:#e9ebf1;border-radius:12px;overflow:hidden}.ch-step i{flex:1;background:#dce0e8;border-radius:8px}.ch-step i.active,.ch-progress i{background:var(--ch-red)}.ch-field{display:grid;gap:4px;font-size:12px;font-weight:700;color:#314154;min-width:0}.ch-field input,.ch-field select,.ch-field textarea{display:block;width:100%;min-width:0;font-size:14px;font-weight:400;border:1px solid #dce0e6;border-radius:10px;padding:10px 11px;min-height:40px;background:#fafbfc;color:var(--ch-ink)}.ch-field textarea{resize:vertical}.ch-field select[multiple]{min-height:100px}.ch-clock{padding:7px 12px;background:#fff0f3;border-radius:24px;font-weight:800;color:var(--ch-red);font-variant-numeric:tabular-nums}.ch-option{display:flex;align-items:center;gap:10px;min-height:46px;background:#fff;border:1px solid var(--ch-line);border-radius:10px;text-align:left;color:var(--ch-ink);font-size:14px;padding:9px 10px;overflow-wrap:anywhere}.ch-option span{display:grid;place-items:center;width:26px;height:26px;background:#f0f2f6;border-radius:8px;font-weight:800;font-size:11px;flex:none}.ch-option.chosen{border-color:var(--ch-red);background:#fff0f3;color:var(--ch-red)}.ch-score{font-size:44px;letter-spacing:-1px;color:var(--ch-red)}.ch-versus{justify-content:space-evenly}.ch-versus>div{display:grid;gap:5px;justify-items:center}.ch-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:var(--ch-red);background:#fee5eb;font-size:23px;font-weight:800}.ch-answer{border:1px solid var(--ch-line);border-radius:8px;padding:9px;font-size:13px;overflow-wrap:anywhere}.ch-answer.correct{background:#e5f5ec;color:#166743;border-color:#b4e0c7}.ch-rank{padding:10px 0;border-bottom:1px solid var(--ch-line);font-size:13px}.ch-rank:last-child{border:0}.ch-rank-num{width:26px;text-align:center;flex:none}.ch-rank>div{flex:1;min-width:0}.ch-rank strong{color:var(--ch-red)}.ch-entry{color:#c60835}.ch-app .ege-footer{display:none!important}
@media(min-width:700px){.ch-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ch-tile{min-height:125px}.ch-shell{gap:15px}.ch-card{padding:18px}.ch-shell .ch-actions{max-width:100%}}
@media(max-width:380px){.ch-shell{gap:8px}.ch-card{padding:11px;gap:8px}.ch-grid{gap:7px}.ch-tile{padding:10px;min-height:102px}.ch-tile b{font-size:13px}.ch-hero{padding:10px}.ch-field input,.ch-field select,.ch-field textarea{padding:8px 9px}.ch-btn{padding:9px 8px}.ch-actions{gap:6px}}
