.rp-screen,.rp-example{position:absolute;inset:0;background:#fff;color:#171719;font:14px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:hidden}
.rp-screen{display:flex;flex-direction:column;padding:0 19px 8px}
.rp-icon{width:20px;height:20px;display:block;flex:none}
.rp-header{height:55px;display:flex;align-items:center;gap:8px;flex:none;margin:0 -4px 3px}
.rp-header strong{font-size:16px;font-weight:600;white-space:nowrap;letter-spacing:-.25px;min-width:0;overflow:hidden;text-overflow:ellipsis}
.rp-back{width:28px;height:36px;border:0;background:none;color:#252529;padding:3px;display:grid;place-items:center}
.rp-back .rp-icon{width:19px;height:19px}
.rp-balance{margin-left:auto;border:0;border-radius:20px;background:#f3f3f5;color:#28282b;padding:5px 8px;display:flex;align-items:center;gap:4px;font-size:12px;white-space:nowrap}
.rp-balance .rp-icon{width:15px;height:15px;color:#18181b}
.rp-avatar{padding:0;border:0;background:none;width:36px;height:28px;border-radius:9px;overflow:hidden;flex:none}
.rp-avatar img{width:100%;height:100%;object-fit:cover}
.rp-cards{flex:1 1 0;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;padding:1px 0 8px;scrollbar-width:none}
.rp-cards::-webkit-scrollbar{display:none}
.rp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
.rp-card-frame{position:relative;min-width:0}
/* The frame sizes the grid row before the overlaid button is laid out. */
.rp-card-frame::before{display:block;content:"";padding-top:116.28%}
.rp-card{position:absolute;inset:0;width:100%;height:100%;display:block;border:0;border-radius:15px;overflow:hidden;padding:0;background:#ececf0;color:#fff;text-align:center}
.rp-card:focus-visible{outline-offset:-3px}
.rp-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.rp-card-shade{position:absolute;inset:38% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.65))}
.rp-card-name{position:absolute;left:5px;right:5px;bottom:10px;font-size:10px;text-shadow:0 1px 2px #111}
.rp-new{position:absolute;right:8px;top:8px;background:#8351ed;border-radius:12px;padding:4px 7px;font-size:9px;font-weight:500}
.rp-composer{position:relative;z-index:2;flex:0 0 auto;margin:0 -8px;padding:8px 8px 4px;border-radius:26px;background:#fff;box-shadow:0 2px 18px #0000000c,0 -1px 5px #00000005}
.rp-prompt{display:block;padding:0 4px}
.rp-prompt textarea{display:block;width:100%;height:49px;resize:none;border:0;outline:0;background:transparent;color:#202024;padding:8px 0;font:inherit;font-size:14px;line-height:1.4}
.rp-prompt textarea::placeholder{color:#a1a1a6}
.rp-compose-actions{height:46px;display:flex;align-items:center;justify-content:space-between}
.rp-mode{border:0;background:none;padding:5px 4px;display:flex;align-items:center;gap:7px;color:#252529;font-size:12px}
.rp-mode .rp-icon{width:18px;height:18px}
.rp-chevron{font-size:17px;color:#999}
.rp-go{width:34px;height:34px;border:0;border-radius:50%;background:#f1f1f3;color:#b8b8bd;display:grid;place-items:center}
.rp-go.active{background:#8650ed;color:white}
.rp-go{font-size:10px;font-weight:600;white-space:nowrap;width:auto;min-width:36px;padding:0 12px}.rp-go:not(:has(svg)){border-radius:18px}
.rp-quality-trigger{border:0;background:none;color:#343439;font-size:11px;padding:6px 3px}.rp-quality-trigger span{color:#999;font-size:15px;margin-left:2px}
.rp-go .rp-icon{width:18px;height:18px}
.rp-composer.expanded{padding-top:8px}
.rp-composer.expanded .rp-prompt textarea{height:58px}
.rp-slots{display:flex;gap:8px;overflow:hidden;padding:0 0 4px}
.rp-slot{position:relative;flex:0 0 58px;height:68px;border:0;border-radius:12px;overflow:hidden;background:#f1f1f3;color:#8e8e94;display:grid;place-items:center;padding:0}
.rp-slot img{width:100%;height:100%;object-fit:cover}
.rp-slot i{position:absolute;right:3px;top:3px;width:17px;height:17px;border-radius:50%;background:rgba(15,15,18,.48);color:white;font-style:normal;font-size:16px;line-height:15px}
.rp-slot small{position:absolute;left:5px;bottom:5px;color:white;font-size:9px;text-shadow:0 1px 2px black}
.rp-scrim{position:absolute;z-index:5;inset:0;background:rgba(0,0,0,.28)}
.rp-quality{position:absolute;z-index:6;left:0;right:0;bottom:0;padding:12px 20px 24px;border-radius:22px 22px 0 0;background:#fff;box-shadow:0 -8px 30px rgba(0,0,0,.16)}
.rp-sheet-grab{width:35px;height:4px;border-radius:8px;background:#ddd;margin:0 auto 15px}
.rp-quality header{display:flex;align-items:center;justify-content:space-between;font-size:16px}
.rp-quality header button{border:0;background:none;color:#555;padding:4px}
.rp-quality p{font-size:12px;color:#8a8a90;margin:7px 0 8px}
.rp-quality-option{width:100%;border:0;border-bottom:1px solid #f0f0f2;background:#fff;padding:12px 0;display:flex;align-items:center;justify-content:space-between;text-align:left;color:#222}
.rp-quality-option span{display:flex;gap:8px;align-items:baseline}.rp-quality-option small{font-size:11px;color:#8e8e94}
.rp-quality-option i{width:19px;height:19px;border:1.5px solid #c9c9ce;border-radius:50%}
.rp-quality-option i.checked{border:6px solid #8650ed}
.rp-example{background:#202020;color:#fff}
.rp-example-image{position:absolute;inset:0;background-position:center;background-size:cover;filter:saturate(.94)}
.rp-example:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.36))}
.rp-example-top{position:absolute;z-index:1;top:12px;left:12px;right:12px;display:flex;align-items:center;gap:10px;font-size:10px}
.rp-example-top span{margin-left:auto}.rp-circle{width:32px;height:32px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:#171719;display:grid;place-items:center;padding:6px}
.rp-example-top .rp-circle{background:transparent;color:white}
.rp-example-caption{position:absolute;z-index:1;left:0;right:0;bottom:25%;display:flex;flex-direction:column;align-items:center;gap:5px;text-shadow:0 1px 4px #333}
.rp-example-caption small{font-size:9px;background:rgba(0,0,0,.25);padding:3px 7px;border-radius:9px}.rp-example-caption strong{font-size:14px}.rp-example-caption span{font-size:10px}
.rp-example-bottom{position:absolute;z-index:1;left:28px;right:28px;bottom:15px;display:flex;align-items:center;gap:8px}
.rp-publish{height:34px;padding:0 17px;border:0;border-radius:20px;background:#8650ed;color:white;font-size:11px;margin-right:auto}
.rp-detail{position:absolute;inset:0;background:#fff;color:#171719;font:14px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:hidden}
.rp-detail-hero{position:absolute;inset:0 0 40% 0;background-position:center 42%;background-size:cover;color:white;cursor:pointer}
.rp-detail-hero:after{content:"";position:absolute;inset:38% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.4));pointer-events:none}
.rp-detail-close,.rp-detail-mute,.rp-detail-share{position:absolute;z-index:1;top:11px;width:32px;height:32px;border:0;border-radius:50%;background:rgba(20,20,20,.14);color:white;display:grid;place-items:center;padding:6px}
.rp-detail-close{left:10px}.rp-detail-mute{right:47px}.rp-detail-share{right:10px}
.rp-detail-title{position:absolute;z-index:1;left:8px;right:8px;bottom:15px;display:flex;flex-direction:column;align-items:center;gap:4px;text-shadow:0 1px 5px rgba(0,0,0,.7)}
.rp-detail-title small{font-size:9px;background:rgba(0,0,0,.22);border-radius:8px;padding:3px 7px}.rp-detail-title strong{font-size:14px;font-weight:600}.rp-detail-title span{font-size:10px}
.rp-hero-play{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);width:38px;height:38px;border:0;border-radius:50%;background:rgba(20,20,20,.35);color:white;font-size:14px;padding-left:4px;opacity:.8}
.rp-detail-panel{position:absolute;left:0;right:0;bottom:0;height:40%;min-height:188px;padding:14px 14px 12px;background:#fff;display:flex;flex-direction:column}
.rp-detail-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:0 0 9px}.rp-detail-heading strong{font-weight:550}.rp-detail-heading span{color:#999}
.rp-detail-slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.rp-detail-slot{height:62px;position:relative;padding:0;overflow:hidden;border:0;border-radius:11px;background:#f0f0f2}
.rp-detail-slot img{width:100%;height:100%;display:block;object-fit:cover}.rp-remove{position:absolute;right:3px;top:3px;border-radius:50%;width:17px;height:17px;line-height:15px;background:rgba(0,0,0,.55);color:white;font-size:15px}
.rp-detail-controls{display:flex;align-items:center;justify-content:space-between;margin-top:auto;gap:8px}
.rp-detail-controls .rp-quality-trigger{font-size:11px;white-space:nowrap}
.rp-detail-repeat{position:relative;min-width:138px;height:32px;padding:0 12px;border:0;border-radius:18px;background:#8851ed;color:white;display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;opacity:1}
.rp-detail-repeat:disabled{opacity:1}.rp-detail-repeat .rp-icon{width:15px;height:15px}.rp-detail-repeat b{position:absolute;right:-2px;top:-8px;border-radius:10px;background:#fff;color:#252529;padding:1px 5px;font-size:8px;box-shadow:0 1px 4px #aaa}
@media(max-height:700px){.rp-detail-panel{min-height:172px;padding-top:10px}.rp-detail-slot{height:58px}.rp-detail-hero{inset:0 0 41% 0}.rp-detail-panel{height:41%}}
@media(max-height:700px){.rp-card-frame::before{padding-top:110%}.rp-card-name{bottom:7px}}
.rp-card-name{font-size:12px}
.rp-new{font-size:11px}
.rp-balance{font-size:14px}
.rp-avatar{width:46px;height:26px}
.rp-attach-row{display:flex;gap:6px;margin-bottom:9px}
.rp-attach-row button{height:44px;background:#f3f3f3;border-radius:30px;display:flex;align-items:center;justify-content:center;gap:6px;flex:1;font-size:15px}
.rp-attach-row .rp-icon{width:21px;height:21px}
.rp-prompt{padding:0 6px}
.rp-prompt textarea{height:41px;padding:6px 0;font-size:16px}
.rp-compose-actions{height:44px}
.rp-go{width:35px;height:35px;padding:0;min-width:0}
.rp-detail-hero{inset:0 0 30% 0;border-radius:0 0 30px 30px;overflow:hidden}
.rp-detail-panel{height:30%;min-height:187px;padding:19px 15px 20px}
.rp-detail-heading{font-size:14px;margin-bottom:12px}
.rp-detail-slot{height:clamp(61px,20vw,93px);border-radius:13px}
.rp-detail-repeat{height:36px;font-size:12px}
.rp-detail-controls .rp-quality-trigger{font-size:13px}
.rp-detail-title{bottom:18px}
.rp-detail-title strong{font-size:18px}
.rp-detail-title small,.rp-detail-title span{font-size:12px}
.rp-detail-close,.rp-detail-share,.rp-detail-mute{background:transparent}
.rp-report{margin-left:auto;color:white;padding:6px}
.rp-preview-caption{display:none}
@media(max-height:700px){.rp-header{height:43px}.rp-detail-panel{height:34%;min-height:165px;padding:12px 12px 10px}.rp-detail-hero{inset:0 0 34% 0}.rp-detail-slot{height:57px}.rp-composer{padding-top:5px}}
.rp-slot-add{position:absolute;display:grid;place-items:center;bottom:5px;left:50%;transform:translateX(-50%);width:22px;height:22px;border-radius:50%;background:#fff;color:#161616}
.rp-slot-add .rp-icon{width:14px;height:14px}
.rp-detail-hero{inset:0 0 31% 0;border-radius:0 0 27px 27px}
.rp-detail-hero.is-station{background-size:cover;background-position:center 50%}
.rp-detail-hero::after{z-index:0}
.rp-hero-play{inset:0;width:100%;height:100%;transform:none;border-radius:inherit;background:transparent;z-index:0;padding:0;opacity:1}
.rp-hero-play:focus-visible{outline-offset:-5px}
.rp-detail-title{pointer-events:none;bottom:17px}
.rp-detail-title .rp-detail-author{display:flex;align-items:center;gap:4px;font-size:11px}
.rp-detail-author img{width:15px;height:15px;border-radius:50%;object-fit:cover}
.rp-detail-panel{height:31%;padding:17px 15px 13px}
.rp-detail-controls{justify-content:space-between;margin-top:15px;min-height:37px}
.rp-detail-repeat{width:auto;min-width:132px;height:34px;background:#8252f5}
.rp-detail-repeat b{top:-8px;right:5px;background:#292929;color:white;padding:1px 5px}
.rp-detail-close,.rp-detail-share,.rp-detail-mute{width:42px;height:42px;top:7px}
.rp-detail-close{left:10px}.rp-detail-mute{right:47px}.rp-detail-share{right:10px}
.rp-detail-slot{height:auto;aspect-ratio:.86}
.rp-slot-add{width:24px;height:24px}
@media(max-height:700px){.rp-detail-hero{bottom:34%}.rp-detail-panel{height:34%;padding-top:12px}.rp-detail-slot{aspect-ratio:1.04}.rp-detail-controls{margin-top:12px}}
@media(max-width:350px){.rp-detail-panel{padding-inline:11px}.rp-detail-repeat{min-width:119px}}
.rp-example-image{background-position:center 55%}
@media(max-width:350px){
  .rp-screen{padding-inline:13px}
  .rp-header{gap:6px}
  .rp-header strong{font-size:15px}
  .rp-balance{padding-inline:6px}
  .rp-avatar{width:38px}
}
