/* Shared touch and reading rules; immersive geometry lives in live-experience.css. */
.rs-body button,.rs-body .mc-btn{touch-action:manipulation}
.rs-body .rs-header-actions>a,.rs-body .mc-post button,.rs-body .mc-comment button{min-width:44px;min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center}
.rs-body :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--brand,#c7fa74);outline-offset:3px}
.rs-body .rs-password-toggle{margin:8px 0;min-height:44px;font-size:13px}
.rs-body .mc-auth summary{min-height:44px;line-height:24px;padding:10px 0;box-sizing:border-box}
.rs-body .rs-dm-back{display:none}
@media(max-width:760px){
 .rs-body .rs-discovery{flex-wrap:wrap;gap:12px}
 .rs-body .rs-search{width:100%;max-width:none;flex:1 0 100%;min-height:44px;box-sizing:border-box}
 .rs-body .rs-search input{width:100%;min-width:0;font-size:16px;min-height:44px}
 .rs-body .rs-page-heading{margin-bottom:16px}
 .rs-body .mc-auth{margin:12px auto;padding-top:0}
 .rs-body .rs-auth-brand{display:none}
 .rs-body .mc-auth .mc-pad{padding:20px}
 .rs-body .rs-stage-art{display:none}
 .rs-body .rs-quiet-stage{min-height:0;padding:20px}
 .rs-body .rs-stage-copy{padding:16px 0}
 .rs-body .rs-stage-copy h2{font-size:30px;line-height:1.15}
 .rs-body .rs-stage-top,.rs-body .rs-stage-bottom{position:static}
 .rs-body .mc-small{font-size:13px}
 .rs-body .rs-dm-back{display:inline-flex;align-self:flex-start;flex-shrink:0}
 .rs-body .rs-dm-open .rs-dm-inbox,.rs-body .rs-dm-open>.rs-page-heading,.rs-body .rs-dm-open>p{display:none}
 .rs-body.rs-dm-mobile{overflow:hidden}
 .rs-body.rs-dm-mobile #rs-messages{position:fixed;left:0;right:0;top:var(--dm-top,0px);height:var(--dm-height,100dvh);z-index:1001;background:var(--bg,#101112);padding:max(8px,env(safe-area-inset-top)) 10px max(8px,env(safe-area-inset-bottom));box-sizing:border-box}
 .rs-body .rs-dm-open .rs-dm-layout{height:100%;margin:0;display:block}
 .rs-body .rs-dm-open .rs-dm-chat{height:100%;box-sizing:border-box;display:flex;flex-direction:column;padding:10px;gap:6px}
 .rs-body .rs-dm-open #rs-dm-person{margin:0;padding:4px 0;flex-shrink:0}
 .rs-body .rs-dm-open #rs-dm-log{flex:1;min-height:0;height:auto;max-height:none}
 .rs-body .rs-dm-open #rs-dm-status{margin:0;min-height:1em;font-size:12px;flex-shrink:0}
 .rs-body .rs-dm-open #rs-dm-form{flex-shrink:0;margin:0}
 .rs-body .rs-dm-open #rs-dm-form[hidden]{display:none}
 .rs-body .rs-dm-open #rs-dm-text{height:48px;min-height:48px;max-height:80px;resize:none;font-size:16px}
 .rs-body .rs-dm-open .rs-dm-compose{margin-top:4px}
}
html[data-rs-light="1"] .rs-gift-particle,html[data-rs-light="1"] .rs-gift-firework{display:none!important}
html[data-rs-light="1"] .mc-msg-body,html[data-rs-light="1"] .mc-chat-foot .mc-input{backdrop-filter:none!important}

/* 3.15: predictable inbox, touch targets and compact profile settings. */
.rs-profile-actions .mc-menu-btn,.rs-account-links a,.rs-profile-settings summary{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.rs-account-links{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.rs-account-links a{padding:10px 14px;border:1px solid var(--border);border-radius:12px}
.rs-profile-settings{margin:16px 0;border:1px solid var(--border);border-radius:14px;padding:8px 16px}
.rs-profile-settings summary{cursor:pointer;font-weight:600;justify-content:flex-start;list-style:disclosure-closed}
.rs-profile-settings .rs-appearance{border:0;margin:0;padding:12px 0}
.rs-audience-notice{margin:16px 0;border-color:var(--brand)}
.rs-audience-notice .mc-check{min-height:44px;align-items:center}
.rs-body :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--brand,#caff63);outline-offset:3px}
@media(max-width:760px){
 .rs-body #rs-messages:not(.rs-dm-open) .rs-dm-chat{display:none}
 .rs-body #rs-messages:not(.rs-dm-open) #rs-dm-list{max-height:none;overflow:visible}
 .rs-body .rs-account-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .rs-body .rs-account-links a{font-size:13px;text-align:center;overflow-wrap:anywhere}
 .rs-body .rs-quiet-stage .rs-stage-copy h2{font-size:26px}
}
@media(prefers-reduced-motion:reduce){.rs-body .rs-spark,.rs-body .rs-orbit{animation:none!important}}

.rs-release-notice{position:fixed;top:calc(env(safe-area-inset-top) + 10px);left:12px;right:12px;z-index:100001;display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:#20251d;color:#fff;box-shadow:0 4px 20px #0008}.rs-release-notice span{flex:1}.rs-release-notice button{min-height:44px;padding:8px 14px;border-radius:12px;border:0;background:#bdff67;color:#17200f}
@media(prefers-reduced-motion:reduce){.rs-gift-float,.rs-reaction-particle{animation-duration:.01ms!important;transition:none!important}}

/* RealShow app finish: compact controls, quiet surfaces and safe touch targets. */
.rs-body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-tap-highlight-color:transparent}
.rs-body :is(button,.mc-btn,.rs-bottom-nav>a,.rs-icon-button){-webkit-user-select:none;user-select:none}
.rs-body .mc-btn{border-radius:13px;font-weight:650;letter-spacing:.01em;transition:background-color .15s ease,transform .15s ease}
.rs-body .mc-btn:active{transform:scale(.97)}
.rs-body .mc-input{border-radius:13px;border-color:var(--border,#2b2e30);transition:border-color .15s ease}
.rs-body .mc-input:focus{border-color:var(--brand,#c7fa74)}
.rs-body .rs-header-actions .rs-icon-button{width:44px;height:44px;border-radius:50%;background:#ffffff08;border:1px solid #ffffff10}
.rs-body .rs-header-actions .rs-icon-button svg{width:21px;height:21px}
.rs-body .rs-header-actions{gap:8px}
.rs-body .rs-login{border:1px solid #ffffff25;border-radius:22px;padding:0 15px;font-weight:650}
.rs-body .mc-toasts{pointer-events:none}.rs-body .mc-toasts>*{border-radius:16px;box-shadow:0 8px 30px #0004}
.rs-body .mc-modal{border-radius:22px;border:1px solid var(--border,#2b2e30);box-shadow:0 20px 70px #0006}
.rs-body .rs-sidebar nav a{border-radius:14px;transition:background-color .15s ease}
@media(max-width:760px){
 .rs-body .rs-header{padding-left:16px;padding-right:16px;padding-top:env(safe-area-inset-top);height:calc(66px + env(safe-area-inset-top));box-sizing:border-box}
 .rs-body .rs-header .rs-platform-age{font-size:10px;opacity:.65}
 .rs-body .rs-bottom-nav{box-sizing:border-box;height:calc(74px + env(safe-area-inset-bottom));min-height:0;padding:7px 4px calc(7px + env(safe-area-inset-bottom));background:#111314fa;backdrop-filter:none;border-top:1px solid #ffffff10}
 .rs-body .rs-bottom-nav>a{gap:3px;min-height:0;text-decoration:none;border-radius:14px;color:var(--muted,#9b9f9c)}
 .rs-body .rs-bottom-icon{width:42px;height:31px;border-radius:12px;transition:background-color .15s ease,transform .15s ease}
 .rs-body .rs-bottom-icon svg{width:23px;height:23px;stroke-width:1.8}
 .rs-body .rs-bottom-nav>a.is-active{color:var(--brand,#c7fa74)}
 .rs-body .rs-bottom-nav>a.is-active:not(.rs-plus) .rs-bottom-icon{background:#c7fa7412}
 .rs-body .rs-bottom-nav>a:active .rs-bottom-icon{transform:scale(.91)}
 .rs-body .rs-bottom-nav .rs-bottom-label{font-size:10px;font-weight:600;line-height:15px}
 .rs-body .rs-bottom-nav>a.rs-plus{margin-top:0}
 .rs-body .rs-main-dialog{border-radius:24px;padding:24px 20px;box-shadow:0 20px 70px #0006}
 .rs-body .rs-main-dialog .rs-dialog-close{display:grid;place-items:center;width:44px;height:44px;font-size:24px}
 .rs-body .rs-main-dialog h2{font-size:24px;letter-spacing:-.5px;line-height:1.2}
 .rs-body .rs-create-choices>a,.rs-body .rs-create-choices>button{border-radius:18px;min-height:82px}
 .rs-body .rs-comments-dialog{border-radius:24px 24px 0 0}
 .rs-body .rs-comments-dialog::before{content:"";display:block;width:36px;height:4px;border-radius:4px;background:#ffffff35;margin:-10px auto 7px;flex-shrink:0}
 .rs-body :is(.rs-main-dialog,.rs-comments-dialog) :is(input,textarea,select){font-size:16px}
}
html[data-rs-theme=light] .rs-body .rs-bottom-nav{background:#fafbf8fa;border-top-color:#0001}
html[data-rs-theme=light] .rs-body .rs-header-actions .rs-icon-button{background:#00000005;border-color:#0001}
html[data-rs-theme=light] .rs-body .rs-login{border-color:#0002}
@media(prefers-reduced-motion:reduce){.rs-body .mc-btn,.rs-body .mc-input,.rs-body .rs-bottom-icon,.rs-body .rs-sidebar nav a{transition:none}}

@media(max-width:760px){body.rs-body{padding-bottom:calc(74px + env(safe-area-inset-bottom))}}
