/* BucheeSocial mobile reels, two-column profile, and short native-looking launch */
#startup{position:fixed;inset:0;z-index:1000000;display:flex;align-items:center;justify-content:center;width:100%;height:100vh;height:100dvh;overflow:hidden;background:#14021e url("buchee-splash-neon-curves.svg?v=20261102") center/cover no-repeat;color:#fff;opacity:1;visibility:visible;isolation:isolate;transition:opacity .16s ease,visibility .16s}
#startup.hidden{display:none!important}
#startup.buchee-splash-done{opacity:0;visibility:hidden;pointer-events:none}
#startup .buchee-opening-halo{position:absolute;left:50%;top:44%;width:min(70vw,340px);height:min(70vw,340px);border-radius:50%;background:radial-gradient(circle,#b433e732 0%,transparent 67%);transform:translate(-50%,-50%);pointer-events:none}
#startup .pati-splash-center{position:relative!important;left:auto!important;top:auto!important;transform:none!important;width:min(82vw,435px)!important;max-width:435px!important;display:flex!important;flex-direction:column!important;gap:17px!important;align-items:center!important;justify-content:center!important;z-index:2}
#startup .pati-splash-icon{display:block!important;content:normal!important;width:100%!important;max-width:435px!important;height:auto!important;max-height:none!important;object-fit:contain!important;aspect-ratio:1226/195!important;animation:bucheeLogoEntrance .52s ease both!important}
#startup .buchee-opening-signature{display:block;width:min(55vw,220px);height:38px;overflow:visible}
#startup .buchee-opening-signature path{stroke-dasharray:370;stroke-dashoffset:370;animation:bucheeOpeningStroke 1.30s cubic-bezier(.32,0,.25,1) .18s both}
#startup .buchee-opening-caption{position:absolute;bottom:calc(env(safe-area-inset-bottom,0px) + 52px);left:0;right:0;text-align:center;font:600 12px/1.4 system-ui,sans-serif;letter-spacing:.14em;color:#e9cfff}
@keyframes bucheeLogoEntrance{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes bucheeOpeningStroke{to{stroke-dashoffset:0}}
/* Profile: exactly two distinct equal-width buttons with no overlapping overlays. */
#main-content .pati-ig-profile .pati-ig-actions.pati-own-profile-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:44px!important;grid-auto-flow:row!important;align-items:stretch!important;justify-content:stretch!important;gap:9px!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;margin:10px 0 14px!important;padding:0 12px!important;overflow:visible!important;flex-wrap:nowrap!important}
#main-content .pati-ig-profile .pati-ig-actions.pati-own-profile-actions>button{position:relative!important;inset:auto!important;transform:none!important;grid-row:1!important;float:none!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:3px!important;box-sizing:border-box!important;min-width:0!important;width:100%!important;max-width:100%!important;min-height:44px!important;height:44px!important;max-height:44px!important;margin:0!important;padding:5px 7px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;border-radius:12px!important;box-shadow:none!important;border:1px solid #e4e5ea!important;background:#f1f2f5!important;color:#1e2026!important;font-size:13px!important;line-height:1.1!important;font-weight:750!important}
#main-content .pati-ig-profile .pati-ig-actions.pati-own-profile-actions>button[data-action="edit-profile"]{grid-column:1!important}
#main-content .pati-ig-profile .pati-ig-actions.pati-own-profile-actions>.pati-profile-insights-preview{grid-column:2!important}
#main-content .pati-ig-profile .pati-own-profile-actions .pati-profile-insights-preview>span:first-child{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#main-content .pati-ig-profile .pati-own-profile-actions .pati-profile-insights-preview strong{display:block!important;font-size:13px!important;line-height:1.1!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}
#main-content .pati-ig-profile .pati-own-profile-actions .pati-profile-insights-preview :is(small,.pati-profile-insights-value,.pati-profile-insights-arrow){display:none!important}
/* Reels: title at upper left, camera glyph without any backing surface. */
html[data-pati-view="reels"] #main-content>.pati-page-back,
html[data-pati-view="reels"] #app-root>.mobile-header,
html[data-pati-view="reels"] #app-root>.mobile-header #pati-global-back{display:none!important}
html[data-pati-view="reels"] #main-content>.pati-reels-head{display:flex!important;position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:250!important;box-sizing:border-box!important;width:100%!important;min-height:calc(65px + env(safe-area-inset-top,0px))!important;max-height:none!important;padding:calc(env(safe-area-inset-top,0px) + 12px) 16px 8px!important;margin:0!important;align-items:center!important;justify-content:space-between!important;pointer-events:none!important;background:linear-gradient(180deg,#0008,transparent)!important}
html[data-pati-view="reels"] #main-content>.pati-reels-head h1{margin:0!important;padding:0!important;color:white!important;font-size:22px!important;line-height:1.1!important;font-weight:800!important;text-shadow:0 1px 4px #0009!important;pointer-events:none!important}
html[data-pati-view="reels"] #main-content>.pati-reels-head .buchee-reels-camera{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;max-width:46px!important;max-height:46px!important;padding:9px!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;background-color:transparent!important;box-shadow:none!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;outline-offset:2px!important;color:#fff!important;pointer-events:auto!important;cursor:pointer}
html[data-pati-view="reels"] #main-content>.pati-reels-head .buchee-reels-camera::before,
html[data-pati-view="reels"] #main-content>.pati-reels-head .buchee-reels-camera::after{content:none!important;display:none!important}
html[data-pati-view="reels"] #main-content>.pati-reels-head .buchee-reels-camera svg{width:27px!important;height:27px!important;stroke:#fff!important;fill:none!important;filter:drop-shadow(0 1px 2px #0007)!important}
/* Five navigation destinations stay visible and accessible during Reels playback. */
@media(max-width:740px){
 html[data-pati-view="reels"] #app-root:not(.hidden)>.mobile-bottom{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:500!important;display:flex!important;align-items:center!important;justify-content:space-around!important;gap:0!important;width:100%!important;min-height:calc(56px + env(safe-area-inset-bottom,0px))!important;height:auto!important;box-sizing:border-box!important;padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px))!important;border:0!important;border-top:1px solid #ffffff38!important;border-radius:0!important;background:linear-gradient(0deg,#08050bf5,#08050bc9)!important;transform:none!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
 html[data-pati-view="reels"] #app-root:not(.hidden)>.mobile-bottom>.mobile-nav-btn{display:flex!important;position:relative!important;flex:1 1 20%!important;min-width:0!important;min-height:44px!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:3px!important;color:white!important;background:transparent!important;pointer-events:auto!important}
 html[data-pati-view="reels"] #app-root:not(.hidden)>.mobile-bottom>.mobile-nav-btn :is(svg,small){color:white!important;stroke:#fff!important}
 html[data-pati-view="reels"] #main-content .pati-reel-item .pati-reel-rail{bottom:calc(95px + env(safe-area-inset-bottom,0px))!important}
 html[data-pati-view="reels"] #main-content .pati-reel-item .pati-reel-author{bottom:calc(185px + env(safe-area-inset-bottom,0px))!important}
 html[data-pati-view="reels"] #main-content .pati-reel-item .pati-reel-caption{bottom:calc(112px + env(safe-area-inset-bottom,0px))!important}
 html[data-pati-view="reels"] #main-content .pati-reel-item .pati-reel-progress{bottom:calc(67px + env(safe-area-inset-bottom,0px))!important}
}
@media(prefers-reduced-motion:reduce){#startup .pati-splash-icon,#startup .buchee-opening-signature path{animation:none!important;stroke-dashoffset:0!important}#startup{transition:none!important}}
