/* ===== Rejeu ===== */
.rp { display: flex; flex-direction: column; }
.rp.rp-full { position: fixed; inset: 0; z-index: 100; }
body.rp-lock { overflow: hidden; }
.rp:fullscreen, .rp.rp-full { background: var(--bg) url(../parchemin.jpg) center top/500px; padding: 12px; height: 100vh; overflow: auto; }
.rp .card { margin-bottom: 10px; }
.rp-ctl { margin: 10px 0 8px; gap: 8px; align-items: center; flex-wrap: wrap; }
.rp-playbtn { min-width: 124px; font-size: 1.05rem; }
.rp-speed { display: flex; align-items: center; gap: 4px; background: #fff6dc99; border: 1.5px solid var(--line); border-radius: 10px; padding: 3px 6px; flex-wrap: wrap; }
.rp-speed button { padding: 4px 9px; border-color: transparent; background: transparent; min-width: 40px; }
.rp-speed button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.rp-chk { display: flex; gap: 4px; align-items: center; margin: 0; } .rp-chk input { width: auto; }
.rp-time { margin-left: auto; font-variant-numeric: tabular-nums; }
#rp-slider { width: 100%; }
.rp-main { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr); gap: 10px; align-items: stretch; }
.rp-mapc { padding: 8px; } .rp-mapc .mvhost { height: clamp(380px, 58vh, 720px); max-height: none; }
.rp-side { display: flex; flex-direction: column; min-height: 0; } .rp-side .log { flex: 1; overflow: auto; max-height: clamp(380px, 58vh, 720px); }
.rp:fullscreen .rp-main, .rp.rp-full .rp-main { flex: 1 1 auto; min-height: 260px; } .rp:fullscreen .rp-mapc, .rp.rp-full .rp-mapc { display: flex; } .rp:fullscreen .rp-mapc .mvhost, .rp.rp-full .rp-mapc .mvhost { height: 100%; width: 100%; flex: 1; min-height: 240px; } .rp:fullscreen .rp-side .log, .rp.rp-full .rp-side .log { max-height: none; }
.gr { display: grid; grid-template-columns: minmax(130px, 200px) 1fr 54px minmax(120px, auto); gap: 10px; align-items: center; padding: 3px 0; border-bottom: 1px dashed var(--line); } .gr.dim { opacity: .35; }
.gn { display: flex; align-items: center; gap: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .gn .cdot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.gcells { display: grid; grid-template-columns: repeat(var(--n, 20), minmax(0, 1fr)); gap: 3px; }
.gc { display: grid; place-items: center; height: 26px; border-radius: 5px; background: #0000001a; border: 1px solid #00000022; font: 800 .95rem var(--serif); font-style: normal; color: #14451f; transition: background .3s; }
.gc.ok { background: linear-gradient(160deg, #cfeacb, #8bc98a); border-color: #3f7d3a; }
.gc.new { animation: gcpop 1.2s ease-out; }
@keyframes gcpop { 0% { transform: scale(1.7); box-shadow: 0 0 0 0 #ffd24a; } 60% { transform: scale(1.1); box-shadow: 0 0 12px 6px #ffd24a99; } 100% { transform: none; box-shadow: none; } }
.gs { text-align: right; font-variant-numeric: tabular-nums; } .gst { font-size: .85rem; white-space: nowrap; color: var(--muted); }
@media (max-width: 900px) { .rp-main { grid-template-columns: 1fr; } .gr { grid-template-columns: 1fr 54px; } .gr .gcells { grid-column: 1 / -1; order: 3; } .gst { display: none; } }

