.rm-root { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 4px 6px 4px; gap: 4px; }
.rm-top { display: flex; align-items: center; gap: 6px; padding-right: 64px; min-height: 48px; }
.rm-back { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--gold-l); background: var(--pink); color: #fff; font-size: 18px; font-weight: 900; text-shadow: var(--outline); cursor: pointer; flex: none; }
.rm-title { font-size: 17px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm-chips { display: flex; gap: 4px; flex: none; }
.rm-chip { min-width: 44px; height: 44px; padding: 0 8px; border-radius: 22px; border: 3px solid var(--gold-l); background: rgba(255,255,255,.85); color: var(--ink); font: 900 13px var(--font); cursor: pointer; }
.rm-chip.on { background: var(--pink); color: #fff; text-shadow: var(--outline); }
.rm-stage { position: relative; flex: 1; min-height: 0; border-radius: 16px; overflow: hidden; border: 3px solid var(--gold); background: #f7dfe8 center / cover no-repeat; touch-action: none; }
.rm-f { position: absolute; transform: translate(-50%, -100%); height: auto; touch-action: none; -webkit-user-drag: none; cursor: grab; }
.rm-f.sel { filter: drop-shadow(0 0 3px #ffd34a) drop-shadow(0 0 6px #ffd34a); }
.rm-f.focus { outline: 2px dashed #ffe28a; }
.rm-pose { position: absolute; transform: translate(-50%, -100%); height: 36%; cursor: pointer; }
.rm-pose img { height: 100%; width: auto; display: block; transform-origin: 50% 100%; animation: rm-breath 3s ease-in-out infinite; pointer-events: none; }
@keyframes rm-breath { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.012, 1.025); } }
.rm-bub { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); width: 190px; padding: 6px 10px; border-radius: 14px; background: #fff; border: 2px solid var(--gold); font-size: 14px; font-weight: 800; color: var(--ink); text-align: center; line-height: 1.35; pointer-events: none; animation: pop-in .25s both; z-index: 5; }
.rm-tool { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; border-radius: 26px; background: rgba(255,248,240,.92); border: 2px solid var(--gold); z-index: 300; max-width: 98%; }
.rm-tool button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold-l); background: var(--pink); color: #fff; font-size: 18px; font-weight: 900; text-shadow: var(--outline); cursor: pointer; padding: 0; flex: none; }
.rm-tool button.ok { background: var(--mint-d); }
.rm-cap { text-align: center; font-size: 14px; min-height: 20px; line-height: 20px; }
.rm-bar { display: flex; gap: 8px; justify-content: center; padding-bottom: 2px; }
.rm-empty { position: absolute; left: 0; right: 0; top: 12%; text-align: center; font-size: 14px; pointer-events: none; }
.rm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.rm-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px; min-height: 130px; border-radius: 14px; background: rgba(255,255,255,.85); border: 2px solid var(--gold-l); font: 800 13px var(--font); color: var(--ink); cursor: pointer; }
.rm-card.on { border-color: var(--pink-d); }
.rm-card.lock .pic { filter: grayscale(.7) brightness(.9); }
.rm-card .pic { width: 100%; height: 72px; object-fit: contain; }
.rm-card .st { font-size: 13px; color: var(--mint-d); }
.rm-card .pr { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; justify-content: center; font-size: 13px; }
.rm-card .pr img { width: 20px; height: 20px; object-fit: contain; }
.rm-bgs .pic { height: 120px; object-fit: cover; border-radius: 8px; }
