/* MorFM PWA Shell v4 — mobile/tablet stability layer.
   Loaded after page-specific styles so mobile safety rules win without changing desktop compositions. */
:root{
  --morfm-pwa-safe-top:env(safe-area-inset-top,0px);
  --morfm-pwa-safe-right:env(safe-area-inset-right,0px);
  --morfm-pwa-safe-bottom:env(safe-area-inset-bottom,0px);
  --morfm-pwa-safe-left:env(safe-area-inset-left,0px);
  --morfm-pwa-vh:100dvh;
  --morfm-pwa-keyboard:0px;
  --morfm-mobile-tabbar-height:68px;
}
html,body{max-width:100%;overflow-x:clip}
body{min-height:100%;min-height:var(--morfm-pwa-vh);overscroll-behavior-y:auto}
body.morfm-pwa-standalone{overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent}
body.morfm-pwa-standalone .morfm-header{padding-top:var(--morfm-pwa-safe-top)}
body.morfm-pwa-standalone .morfm-mobile-tabbar{bottom:max(6px,var(--morfm-pwa-safe-bottom))}
.morfm-main-content,.morfm-main-content>*{min-width:0}
.morfm-main-content img,.morfm-main-content video,.morfm-main-content canvas,.morfm-main-content iframe{max-width:100%;height:auto}
.morfm-main-content input,.morfm-main-content select,.morfm-main-content textarea,.morfm-main-content button{max-width:100%}

/* PWA install/update affordances. */
.morfm-pwa-install-banner,.morfm-pwa-update-banner,.morfm-network-toast{
  position:fixed;z-index:98;left:50%;transform:translateX(-50%);width:min(520px,calc(100vw - 24px));
  border:1px solid rgba(168,85,247,.34);border-radius:16px;background:rgba(7,10,25,.97);backdrop-filter:blur(20px);
  box-shadow:0 20px 70px rgba(0,0,0,.52),0 0 30px rgba(124,58,237,.14);color:#f8fafc
}
.morfm-pwa-install-banner,.morfm-pwa-update-banner{bottom:20px;padding:11px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:9px;align-items:center}
.morfm-pwa-install-banner[hidden],.morfm-pwa-update-banner[hidden],.morfm-network-toast[hidden]{display:none!important}
.morfm-pwa-install-banner__copy,.morfm-pwa-update-banner__copy{min-width:0;display:grid;gap:2px}
.morfm-pwa-install-banner__copy strong,.morfm-pwa-update-banner__copy strong{font-size:.79rem;font-weight:900}
.morfm-pwa-install-banner__copy small,.morfm-pwa-update-banner__copy small{color:#94a3b8;font-size:.67rem;line-height:1.35}
.morfm-pwa-action{min-height:40px;padding:0 13px;border:1px solid rgba(192,132,252,.42);border-radius:11px;background:linear-gradient(110deg,#7c3aed,#d946ef);color:#fff;font:inherit;font-size:.72rem;font-weight:900;cursor:pointer;white-space:nowrap}
.morfm-pwa-dismiss{width:38px;height:38px;min-height:38px;padding:0;border:1px solid rgba(148,163,184,.16);border-radius:10px;background:rgba(255,255,255,.04);color:#94a3b8;font-size:18px;cursor:pointer}
.morfm-network-toast{bottom:20px;padding:10px 14px;text-align:center;font-size:.74rem;font-weight:800;border-color:rgba(248,113,113,.28)}
.morfm-network-toast.is-online{border-color:rgba(52,211,153,.30);color:#a7f3d0}
.morfm-pwa-ios-help{position:fixed;z-index:1200;inset:0;display:grid;place-items:end center;padding:14px max(14px,var(--morfm-pwa-safe-right)) max(14px,var(--morfm-pwa-safe-bottom)) max(14px,var(--morfm-pwa-safe-left));background:rgba(2,6,23,.72);backdrop-filter:blur(8px)}
.morfm-pwa-ios-help[hidden]{display:none!important}.morfm-pwa-ios-help__card{width:min(520px,100%);padding:20px;border:1px solid rgba(168,85,247,.38);border-radius:22px;background:linear-gradient(165deg,#11162d,#080b1b);box-shadow:0 30px 100px rgba(0,0,0,.65);color:#fff}.morfm-pwa-ios-help__card h3{margin:0 0 8px;font-size:1.05rem}.morfm-pwa-ios-help__card p{margin:0;color:#aab4c8;font-size:.82rem;line-height:1.6}.morfm-pwa-ios-help__steps{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:8px}.morfm-pwa-ios-help__steps li{padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.045);color:#dbe3f1;font-size:.78rem}.morfm-pwa-ios-help__card button{width:100%;margin-top:14px;min-height:44px;border:1px solid rgba(168,85,247,.38);border-radius:12px;background:rgba(124,58,237,.18);color:#fff;font-weight:900;cursor:pointer}
.morfm-pwa-footer-install{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;min-height:42px;padding:0 14px;border:1px solid rgba(168,85,247,.34);border-radius:11px;background:linear-gradient(135deg,rgba(124,58,237,.2),rgba(217,70,239,.1));color:#f5eefe;font-size:.72rem;font-weight:900;cursor:pointer}
.morfm-pwa-footer-install[hidden]{display:none!important}

/* Native mobile tab bar: key actions remain reachable when the desktop nav is hidden. */
.morfm-mobile-tabbar{display:none}

@media (max-width:900px){
  :root{--morfm-mobile-tabbar-height:68px}
  html{scroll-padding-top:72px;scroll-padding-bottom:calc(var(--morfm-mobile-tabbar-height) + var(--morfm-pwa-safe-bottom) + 12px)}
  body{padding:0!important;background:#050716}
  .morfm-app-layout{width:100%!important;max-width:100%!important;min-width:0!important;padding-bottom:calc(var(--morfm-mobile-tabbar-height) + var(--morfm-pwa-safe-bottom) + 12px)}
  .auth-layout-mode,.embedded-layout-mode{padding-bottom:0!important}

  .morfm-header{position:sticky!important;top:0!important;left:0!important;right:0!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;z-index:100!important;border-radius:0!important;background:rgba(5,7,18,.96)!important;backdrop-filter:blur(18px)!important;box-shadow:0 7px 28px rgba(0,0,0,.28)!important}
  .morfm-header-container{width:100%!important;max-width:100%!important;min-width:0!important;height:60px!important;min-height:60px!important;margin:0!important;padding:6px max(10px,var(--morfm-pwa-safe-right)) 6px max(10px,var(--morfm-pwa-safe-left))!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;overflow:visible!important}
  .morfm-header-container::before{opacity:.35!important;background-position:center!important;background-size:auto 100%!important}
  .morfm-logo{min-width:0!important;max-width:48vw!important;margin:0!important;gap:7px!important;flex:0 1 auto!important}
  .morfm-logo .logo-icon{width:32px!important;height:32px!important;flex:0 0 32px!important;font-size:.95rem!important}
  .morfm-logo .logo-text{font-size:20px!important;line-height:1!important;white-space:nowrap!important}.morfm-logo-tagline{display:none!important}
  .morfm-nav{display:none!important}
  .morfm-header-tools{margin:0 0 0 auto!important;min-width:0!important;max-width:50vw!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important}
  .morfm-user-menu{min-width:0!important;gap:5px!important}
  .morfm-navbar-notifications{width:40px!important;height:40px!important;min-width:40px!important;flex:0 0 40px!important}
  .morfm-navbar-profile{min-width:40px!important;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:12px!important}
  .morfm-navbar-profile__avatar{width:30px!important;height:30px!important;flex-basis:30px!important}.morfm-navbar-profile .status-dot{left:auto!important;right:3px!important;bottom:3px!important}
  .morfm-navbar-profile__name,.morfm-navbar-profile__chevron,.morfm-navbar-profile .vip-tier-badge{display:none!important}
  .morfm-navbar-logout{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border-radius:12px!important;display:grid!important;place-items:center!important}.morfm-navbar-logout span{display:none!important}.morfm-navbar-logout__svg{width:17px!important;height:17px!important}
  .auth-navbar-entry{min-width:0!important;height:40px!important;min-height:40px!important;padding:0 12px!important;border-radius:12px!important;font-size:.7rem!important;white-space:nowrap!important}

  .morfm-main-content{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:12px max(10px,var(--morfm-pwa-safe-right)) 18px max(10px,var(--morfm-pwa-safe-left))!important;overflow:visible!important}
  .morfm-main-content>[class],.morfm-main-content>main,.morfm-main-content>section{max-width:100%!important;min-width:0!important}
  .morfm-main-content table{min-width:620px}.morfm-main-content .table-responsive,.morfm-main-content .table-wrapper,.morfm-main-content .dj-table-wrap{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}

  .morfm-mobile-tabbar{position:fixed;z-index:95;left:max(8px,var(--morfm-pwa-safe-left));right:max(8px,var(--morfm-pwa-safe-right));bottom:max(7px,var(--morfm-pwa-safe-bottom));height:var(--morfm-mobile-tabbar-height);padding:6px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;border:1px solid rgba(148,163,184,.18);border-radius:18px;background:rgba(7,10,24,.96);backdrop-filter:blur(20px);box-shadow:0 18px 55px rgba(0,0,0,.55)}
  .morfm-mobile-tabbar>a,.morfm-mobile-tabbar>button{min-width:0!important;min-height:54px!important;padding:4px 2px!important;border:1px solid transparent!important;border-radius:12px!important;background:transparent!important;color:#8793aa!important;text-decoration:none!important;font:inherit!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;cursor:pointer!important}
  .morfm-mobile-tabbar svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.morfm-mobile-tabbar span{max-width:100%;font-size:.61rem;font-weight:850;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .morfm-mobile-tabbar .is-active{color:#fff!important;border-color:rgba(168,85,247,.36)!important;background:linear-gradient(145deg,rgba(124,58,237,.28),rgba(219,39,119,.11))!important;box-shadow:inset 0 1px rgba(255,255,255,.04)}
  html.global-auth-drawer-visible .morfm-mobile-tabbar,html.quick-guest-open .morfm-mobile-tabbar,body.morfm-live-room-page .morfm-mobile-tabbar{display:none!important}
  body.morfm-live-room-page .morfm-app-layout{padding-bottom:0!important}
  /* Live room behaves like an app screen on phones. Its dedicated room dock
     replaces the global footer/tab bar, keeping chat and audio controls close. */
  body.morfm-live-room-page .morfm-global-footer{display:none!important}

  .morfm-pwa-install-banner,.morfm-pwa-update-banner,.morfm-network-toast{bottom:calc(var(--morfm-mobile-tabbar-height) + var(--morfm-pwa-safe-bottom) + 14px)}
  body.morfm-live-room-page .morfm-pwa-install-banner,body.morfm-live-room-page .morfm-pwa-update-banner,body.morfm-live-room-page .morfm-network-toast{bottom:calc(82px + var(--morfm-pwa-safe-bottom))}

  /* Global footer: compact, touch-friendly and never wider than the viewport. */
  .morfm-site-component.morfm-global-footer,.morfm-global-footer{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:28px max(14px,var(--morfm-pwa-safe-right)) calc(24px + var(--morfm-mobile-tabbar-height) + var(--morfm-pwa-safe-bottom)) max(14px,var(--morfm-pwa-safe-left))!important;overflow:hidden!important}
  .morfm-global-footer__grid{width:100%!important;max-width:720px!important;margin:0 auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .morfm-global-footer__brand,.morfm-global-footer__connect{grid-column:1/-1!important;padding:0!important}
  .morfm-global-footer__brand{padding-bottom:7px!important}.morfm-global-footer__brand p{max-width:100%!important;margin-top:9px!important}.morfm-global-footer__signature{margin-top:9px!important}
  .morfm-global-footer__nav{min-width:0!important;padding:13px!important;gap:7px!important;border:1px solid rgba(148,163,184,.10);border-radius:14px;background:rgba(255,255,255,.025)}
  .morfm-global-footer__nav:nth-of-type(3){grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.morfm-global-footer__nav:nth-of-type(3) h3{grid-column:1/-1}
  .morfm-global-footer__nav a{width:auto!important;min-height:30px!important;display:flex!important;align-items:center!important;font-size:.72rem!important}
  .morfm-global-footer__newsletter{padding:14px!important;border:1px solid rgba(148,163,184,.12)!important;border-radius:14px!important;background:rgba(255,255,255,.025)!important}.morfm-global-footer__newsletter label{min-width:0!important}.morfm-global-footer__newsletter input{font-size:16px!important}.morfm-global-footer__newsletter button{min-width:88px!important;min-height:42px!important}
  .morfm-global-footer__bottom{width:100%!important;max-width:720px!important;margin:16px auto 0!important;padding-top:14px!important;grid-template-columns:1fr auto!important;gap:8px 12px!important;font-size:.66rem!important}.morfm-global-footer__pulse{display:none!important}.morfm-global-footer__bottom>a{min-height:36px!important;display:flex!important;align-items:center!important;justify-content:center!important}

  /* Drawer/modal surfaces follow the visual viewport and keyboard. */
  .global-auth-drawer,.auth-drawer{top:calc(60px + var(--morfm-pwa-safe-top))!important;bottom:0!important;width:min(100vw,460px)!important;max-width:100vw!important;padding:22px 16px calc(24px + var(--morfm-pwa-safe-bottom))!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
  .auth-drawer-tabs{margin-top:28px!important}.auth-drawer-field-grid{grid-template-columns:1fr!important}
  .quick-guest-modal{padding:max(10px,var(--morfm-pwa-safe-top)) max(10px,var(--morfm-pwa-safe-right)) max(10px,var(--morfm-pwa-safe-bottom)) max(10px,var(--morfm-pwa-safe-left))!important}.quick-guest-modal-card{width:min(100%,520px)!important;max-height:calc(var(--morfm-pwa-vh) - 20px - var(--morfm-pwa-safe-top) - var(--morfm-pwa-safe-bottom))!important;overflow:auto!important}

  /* Member dashboard: one horizontal navigation rail and natural-height content. */
  .mrg-shell{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;overflow:visible!important}.mrg-sidebar{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;border-right:0!important}.mrg-nav{display:flex!important;grid-template-columns:none!important;gap:6px!important;padding:8px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity!important;scrollbar-width:none!important}.mrg-nav::-webkit-scrollbar{display:none!important}.mrg-nav a{flex:0 0 auto!important;min-width:98px!important;min-height:48px!important;padding:7px 10px!important;justify-content:center!important;gap:5px!important;scroll-snap-align:start!important;white-space:nowrap!important}.mrg-nav a span{display:inline-grid!important}.mrg-sidefoot{display:none!important}.mrg-main{width:100%!important;max-width:100%!important;min-width:0!important;padding:8px!important}.mrg-member-hero{min-width:0!important;overflow:hidden!important}.mrg-badge-grid{overflow-x:auto!important;display:flex!important;gap:9px!important;padding-bottom:6px!important;scroll-snap-type:x proximity!important}.mrg-badge{flex:0 0 120px!important;scroll-snap-align:start!important}.mrg-grid3,.mrg-utility{grid-template-columns:1fr!important}

  /* Directory / discovery pages. */
  .rooms-v12,.people-page-shell,.profile-reference,.pm-shell,.social-stream-shell{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;transform:none!important}
  .rooms-v12{padding:0!important}.rooms-v12-grid{grid-template-columns:1fr!important}.rooms-v12-grid.is-list .rooms-v12-card{grid-template-columns:1fr!important}.rooms-v12-grid.is-list .rooms-v12-card__media{min-height:190px!important}.rooms-v12-featured{grid-template-columns:1fr!important;grid-template-areas:none!important}.rooms-v12-featured>*{grid-area:auto!important}.rooms-v12-tools,.rooms-v12-searchrow{min-width:0!important}.rooms-v12-searchrow{grid-template-columns:1fr!important}.rooms-v12-layout-switch,.rooms-v12-sort{grid-column:auto!important;grid-row:auto!important}.rooms-v12-tabs{overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:none!important}.rooms-v12-tabs::-webkit-scrollbar{display:none!important}.rooms-v12-tabs>*{flex:0 0 auto!important}
  .people-page-shell{padding:0!important}.people-card-grid{grid-template-columns:1fr!important}.people-filter-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.people-view-tools{margin-left:0!important;overflow-x:auto!important}.people-search-panel input,.people-search-panel select{font-size:16px!important}
  .profile-reference{padding:0!important}.profile-exact{border-radius:18px!important}.profile-exact__tabs{overflow-x:auto!important;display:flex!important;grid-template-columns:none!important;scrollbar-width:none!important}.profile-exact__tabs::-webkit-scrollbar{display:none!important}.profile-tab-btn{flex:0 0 auto!important;min-width:116px!important}.profile-exact__about{grid-template-columns:1fr!important}
  .pm-shell{padding:10px 0 26px!important}.pm-header-actions{width:100%!important;overflow-x:auto!important}.pm-tabs{top:calc(60px + var(--morfm-pwa-safe-top) + 5px)!important;margin-left:0!important;margin-right:0!important;border-radius:12px!important}.pm-panel{padding:15px!important;border-radius:16px!important}.pm-media-grid,.pm-field-grid,.pm-privacy-grid{grid-template-columns:1fr!important}.pm-savebar{bottom:calc(var(--morfm-mobile-tabbar-height) + var(--morfm-pwa-safe-bottom) + 8px)!important}.pm-savebar>div{width:100%!important}.pm-savebar .pm-primary{flex:1!important}
  .social-stream-grid{grid-template-columns:1fr!important}.social-stream-hero{grid-template-columns:1fr!important}.social-stream-hero__visual{min-height:180px!important}.social-stream-composer{padding:14px!important}
}

@media (max-width:640px){
  .morfm-main-content{padding:10px max(8px,var(--morfm-pwa-safe-right)) 16px max(8px,var(--morfm-pwa-safe-left))!important}
  .morfm-logo .logo-icon{display:none!important}.morfm-logo{max-width:40vw!important}.morfm-logo .logo-text{font-size:19px!important}
  .morfm-header-tools{max-width:58vw!important}.auth-navbar-entry{max-width:118px!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .morfm-pwa-install-banner,.morfm-pwa-update-banner{grid-template-columns:minmax(0,1fr) auto!important}.morfm-pwa-dismiss{position:absolute!important;right:7px!important;top:7px!important;width:30px!important;height:30px!important;min-height:30px!important}.morfm-pwa-install-banner__copy,.morfm-pwa-update-banner__copy{padding-right:28px!important}.morfm-pwa-action{grid-column:1/-1!important;width:100%!important}

  /* Homepage mobile composition: content first, artwork second, no fixed-height traps. */
  .morfm-ref-home{width:100%!important;overflow:clip!important}.morfm-ref-home .morfm-ref-hero{min-height:0!important;height:auto!important;border-radius:0!important;overflow:hidden!important}.morfm-ref-home .morfm-ref-hero__grid{display:flex!important;flex-direction:column!important;min-height:0!important;height:auto!important;width:100%!important;padding:24px 14px 28px!important;gap:18px!important}.morfm-ref-home .morfm-ref-hero__copy{order:1!important;width:100%!important;max-width:none!important;padding:0!important}.morfm-ref-home .morfm-ref-kicker{font-size:.58rem!important;letter-spacing:.14em!important}.morfm-ref-home .morfm-ref-hero__copy h1{max-width:none!important;margin:12px 0 12px!important;font-size:clamp(2.35rem,12vw,3.45rem)!important;line-height:1!important;letter-spacing:-.04em!important}.morfm-ref-home .morfm-ref-hero__copy>p{max-width:none!important;font-size:.82rem!important;line-height:1.62!important}.morfm-ref-home .morfm-ref-hero__actions{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;margin-top:17px!important}.morfm-ref-home .morfm-ref-btn{width:100%!important;min-height:48px!important}.morfm-ref-home .morfm-ref-hero__benefits{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:none!important;margin-top:18px!important;gap:0!important}.morfm-ref-home .morfm-ref-hero__benefits span{min-height:54px!important;padding:8px!important}.morfm-ref-home .morfm-ref-hero__visual,.morfm-ref-home .morfm-ref-hero__visual--artwork{order:2!important;width:100%!important;min-height:310px!important;height:auto!important;align-self:auto!important}.morfm-ref-home .morfm-ref-hero__artwork-card{width:100%!important;height:320px!important;min-height:0!important;border-radius:18px!important;mask-image:none!important}.morfm-ref-home .morfm-ref-hero__artwork-card img{object-position:center 34%!important}.morfm-ref-home .morfm-ref-device{min-width:0!important;width:48%!important;max-width:210px!important;right:5px!important;top:24px!important;transform:none!important;padding:9px!important;border-radius:17px!important}.morfm-ref-home .morfm-ref-device__stage{height:112px!important}.morfm-ref-home .morfm-ref-device__mic{width:56px!important;height:56px!important}.morfm-ref-home .morfm-ref-device__avatar{width:34px!important;height:34px!important}.morfm-ref-home .morfm-ref-center,.morfm-ref-home .morfm-ref-discover,.morfm-ref-home .morfm-ref-rooms,.morfm-ref-home .morfm-ref-stats,.morfm-ref-home .morfm-ref-final{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:14px!important;padding-right:14px!important}.morfm-ref-home .morfm-ref-feature-grid,.morfm-ref-home .morfm-ref-room-grid{grid-template-columns:1fr!important}.morfm-ref-home .morfm-ref-vip{margin-top:34px!important}.morfm-ref-home .morfm-ref-stats{grid-template-columns:1fr 1fr!important}

  .morfm-global-footer__grid{grid-template-columns:1fr 1fr!important}.morfm-global-footer__nav:nth-of-type(3){grid-column:1/-1!important}.morfm-global-footer__newsletter label{display:grid!important;grid-template-columns:1fr!important}.morfm-global-footer__newsletter button{width:100%!important}.morfm-global-footer__bottom{grid-template-columns:1fr!important}.morfm-global-footer__bottom>a{justify-self:start!important}

  .mrg-profile{grid-template-columns:84px minmax(0,1fr)!important;padding:14px!important}.mrg-avatar-wrap{width:80px!important;height:80px!important}.mrg-avatar{width:74px!important;height:74px!important}.mrg-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mrg-nav a{min-width:92px!important;font-size:.68rem!important}.mrg-badge{flex-basis:108px!important}
  .profile-exact__main{grid-template-columns:1fr!important;text-align:center!important;padding:0 12px 16px!important}.profile-exact__avatar-wrap{margin-inline:auto!important}.profile-exact__identity{align-items:center!important}.profile-exact__actions{grid-template-columns:1fr!important}.profile-exact__stats{grid-template-columns:1fr 1fr!important}.profile-exact__social-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media (max-width:390px){
  :root{--morfm-mobile-tabbar-height:64px}.morfm-mobile-tabbar{left:max(4px,var(--morfm-pwa-safe-left));right:max(4px,var(--morfm-pwa-safe-right));bottom:max(4px,var(--morfm-pwa-safe-bottom));height:64px;padding:5px;gap:2px;border-radius:16px}.morfm-mobile-tabbar>a,.morfm-mobile-tabbar>button{min-height:52px!important}.morfm-mobile-tabbar span{font-size:.56rem!important}
  .morfm-global-footer__grid{grid-template-columns:1fr!important}.morfm-global-footer__nav:nth-of-type(3){grid-column:auto!important;grid-template-columns:1fr 1fr!important}.morfm-ref-home .morfm-ref-stats{grid-template-columns:1fr!important}.morfm-ref-home .morfm-ref-device{display:none!important}.morfm-ref-home .morfm-ref-hero__artwork-card{height:285px!important}
}

@media (display-mode:standalone){
  html{background:#050716}.morfm-header{user-select:none}.morfm-mobile-tabbar{box-shadow:0 12px 44px rgba(0,0,0,.66)}
}
@media (prefers-reduced-motion:reduce){.morfm-pwa-install-banner,.morfm-pwa-update-banner,.morfm-network-toast,.morfm-mobile-tabbar{transition:none!important}}

/* 2026-09-21 · Nostalji ana sayfa footer + PWA premium finish */
.morfm-pwa-install-banner__eyebrow{
  display:inline-flex;align-items:center;width:max-content;margin-bottom:2px;padding:3px 7px;border-radius:999px;
  border:1px solid rgba(192,132,252,.24);background:rgba(124,58,237,.12);color:#d8b4fe;
  font-size:.52rem;font-weight:900;letter-spacing:.12em;line-height:1.1
}

.morfm-global-footer--nostalgia{
  position:relative!important;left:0!important;right:auto!important;transform:none!important;isolation:isolate!important;width:100%!important;max-width:none!important;margin:0!important;
  padding:46px clamp(24px,4vw,76px) 22px!important;overflow:hidden!important;box-sizing:border-box!important;
  border-top:1px solid rgba(211,157,111,.22)!important;
  background:
    radial-gradient(circle at 10% 18%,rgba(157,78,54,.16),transparent 30%),
    radial-gradient(circle at 88% 12%,rgba(130,57,73,.16),transparent 29%),
    linear-gradient(180deg,#120c11 0%,#0d090d 48%,#09070a 100%)!important;
  box-shadow:inset 0 1px rgba(255,232,202,.035),0 -22px 60px rgba(0,0,0,.28)!important;
  color:#f4e7da!important
}
.morfm-global-footer--nostalgia::before{
  content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:-2!important;pointer-events:none!important;
  background:
    repeating-linear-gradient(90deg,rgba(255,238,211,.012) 0 1px,transparent 1px 92px),
    linear-gradient(90deg,transparent,rgba(226,169,119,.035) 50%,transparent)!important;
  opacity:.9!important
}
.morfm-global-footer--nostalgia::after{
  content:"GEÇMİŞ  •  BUGÜN  •  DAİMA"!important;display:block!important;position:absolute!important;right:4.5%!important;bottom:82px!important;z-index:-1!important;
  color:rgba(233,192,157,.035)!important;font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(2.2rem,5vw,5.6rem)!important;
  font-weight:700!important;letter-spacing:.08em!important;white-space:nowrap!important;transform:rotate(-3deg)!important;pointer-events:none!important
}
.morfm-global-footer--nostalgia .morfm-global-footer__ambient{
  background:
    radial-gradient(circle at 4% 46%,rgba(190,101,70,.10),transparent 21%),
    radial-gradient(circle at 95% 42%,rgba(145,59,78,.12),transparent 23%),
    linear-gradient(90deg,rgba(87,43,35,.10),transparent 25%,transparent 75%,rgba(83,32,47,.10))!important
}
.morfm-global-footer--nostalgia .morfm-global-footer__grid{
  width:min(1600px,100%)!important;gap:clamp(24px,3vw,50px)!important;position:relative!important;z-index:1!important
}
.morfm-global-footer--nostalgia .morfm-global-footer__logo{gap:12px!important;color:#fff1df!important}
.morfm-global-footer--nostalgia .morfm-global-footer__logo-mark{
  width:43px!important;height:43px!important;border-radius:50%!important;border:1px solid rgba(222,166,116,.48)!important;
  background:radial-gradient(circle at 35% 30%,#c98f67 0 9%,#744237 38%,#2a191b 72%)!important;
  color:#fff0d9!important;box-shadow:0 0 0 5px rgba(171,94,67,.055),0 10px 28px rgba(0,0,0,.28)!important
}
.morfm-global-footer--nostalgia .morfm-global-footer__logo strong{
  font-family:Georgia,"Times New Roman",serif!important;font-size:30px!important;font-weight:700!important;letter-spacing:-.035em!important
}
.morfm-global-footer--nostalgia .morfm-global-footer__brand p{
  max-width:345px!important;margin-top:14px!important;color:#bca99f!important;font-size:12px!important;line-height:1.75!important
}
.morfm-global-footer--nostalgia .morfm-global-footer__signature{
  margin-top:16px!important;color:#d49a7f!important;font-family:"Segoe Script","Brush Script MT",cursive!important;font-size:14px!important;
  text-shadow:0 0 18px rgba(202,112,82,.13)!important
}
.morfm-global-footer--nostalgia .morfm-global-footer__nav h3,
.morfm-global-footer--nostalgia .morfm-global-footer__newsletter h3{
  margin-bottom:10px!important;color:#f8e8d8!important;font-family:Georgia,"Times New Roman",serif!important;font-size:14px!important;font-weight:700!important
}
.morfm-global-footer--nostalgia .morfm-global-footer__nav a{
  color:#b9a69e!important;font-size:11px!important;transition:color .18s ease,transform .18s ease!important
}
.morfm-global-footer--nostalgia .morfm-global-footer__nav a:hover{color:#f1c29c!important;transform:translateX(4px)!important}
.morfm-global-footer--nostalgia .morfm-global-footer__newsletter{
  padding:18px!important;border:1px solid rgba(207,151,108,.18)!important;border-radius:16px!important;
  background:linear-gradient(145deg,rgba(41,27,27,.70),rgba(22,16,20,.78))!important;
  box-shadow:inset 0 1px rgba(255,236,211,.035),0 14px 34px rgba(0,0,0,.18)!important
}
.morfm-global-footer--nostalgia .morfm-global-footer__newsletter p{color:#ad9a92!important;font-size:11px!important;line-height:1.65!important}
.morfm-global-footer--nostalgia .morfm-global-footer__newsletter label{
  min-height:44px!important;border-color:rgba(206,151,110,.28)!important;border-radius:12px!important;background:rgba(13,9,12,.72)!important
}
.morfm-global-footer--nostalgia .morfm-global-footer__newsletter input{color:#fff0df!important}
.morfm-global-footer--nostalgia .morfm-global-footer__newsletter input::placeholder{color:#7f6c65!important}
.morfm-global-footer--nostalgia .morfm-global-footer__newsletter label>button{
  background:linear-gradient(115deg,#9a5741,#7d394b)!important;color:#fff2e4!important;box-shadow:inset 0 1px rgba(255,235,210,.06)!important
}
.morfm-global-footer--nostalgia .morfm-global-footer__form-status{color:#d7b187!important}
.morfm-global-footer--nostalgia .morfm-global-footer__bottom{
  width:min(1600px,100%)!important;margin-top:30px!important;border-top-color:rgba(210,158,117,.16)!important;color:#8f7d76!important;font-size:10px!important
}
.morfm-global-footer--nostalgia .morfm-global-footer__bottom>a{
  border-color:rgba(205,150,109,.25)!important;background:rgba(38,24,24,.52)!important;color:#d7c2b5!important
}
.morfm-global-footer--nostalgia .morfm-global-footer__bottom>a:hover{border-color:rgba(226,172,126,.48)!important;color:#fff0df!important}
.morfm-global-footer--nostalgia .morfm-global-footer__pulse i{
  background:linear-gradient(#b6674e,#e1a16f)!important;box-shadow:0 0 8px rgba(202,119,83,.28)!important
}

.morfm-pwa-footer-card{
  margin-top:13px;padding:11px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;
  border:1px solid rgba(208,151,109,.22);border-radius:13px;background:linear-gradient(135deg,rgba(125,61,47,.18),rgba(104,43,61,.12));
  box-shadow:inset 0 1px rgba(255,236,211,.03)
}
.morfm-pwa-footer-card__icon{
  width:36px;height:36px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(222,169,122,.34);
  background:radial-gradient(circle,#c4825e 0 8%,#633943 46%,#24171a 73%);color:#f5d4b6;font-size:.72rem;box-shadow:0 0 18px rgba(189,104,76,.10)
}
.morfm-pwa-footer-card__copy{min-width:0;display:grid;gap:2px;font-style:normal}
.morfm-pwa-footer-card__copy small{color:#c88f70!important;font-size:.48rem!important;font-weight:900!important;letter-spacing:.14em!important}
.morfm-pwa-footer-card__copy strong{color:#f8e7d7;font-size:.68rem;line-height:1.25}
.morfm-pwa-footer-card__copy em{color:#9f8b82;font-size:.55rem;line-height:1.35;font-style:normal}
.morfm-global-footer--nostalgia .morfm-pwa-footer-install{
  margin:0!important;min-height:36px!important;padding:0 11px!important;border:1px solid rgba(220,163,116,.32)!important;border-radius:10px!important;
  background:linear-gradient(120deg,#8c4a3b,#743345)!important;color:#fff0df!important;font-size:.60rem!important;font-weight:900!important;white-space:nowrap!important
}

body.morfm-pwa-nostalgia .morfm-pwa-install-banner{
  width:min(590px,calc(100vw - 28px))!important;bottom:22px!important;padding:13px 14px!important;gap:11px!important;
  border:1px solid rgba(219,161,116,.34)!important;border-radius:18px!important;
  background:
    radial-gradient(circle at 8% 0,rgba(159,76,54,.17),transparent 28%),
    linear-gradient(145deg,rgba(28,18,19,.985),rgba(14,10,14,.99))!important;
  box-shadow:0 24px 76px rgba(0,0,0,.58),0 0 34px rgba(151,74,61,.10),inset 0 1px rgba(255,235,209,.045)!important;
  color:#f8eadb!important
}
body.morfm-pwa-nostalgia .morfm-pwa-install-banner__eyebrow{
  border-color:rgba(216,158,113,.26)!important;background:rgba(139,70,52,.18)!important;color:#dca17e!important
}
body.morfm-pwa-nostalgia .morfm-pwa-install-banner__copy{gap:3px!important}
body.morfm-pwa-nostalgia .morfm-pwa-install-banner__copy strong{
  color:#fff0df!important;font-family:Georgia,"Times New Roman",serif!important;font-size:.86rem!important;font-weight:700!important
}
body.morfm-pwa-nostalgia .morfm-pwa-install-banner__copy small{color:#b5a099!important;font-size:.67rem!important;line-height:1.45!important}
body.morfm-pwa-nostalgia .morfm-pwa-action{
  min-height:42px!important;padding:0 16px!important;border-color:rgba(225,170,124,.34)!important;border-radius:11px!important;
  background:linear-gradient(115deg,#a15a43,#7b364a)!important;color:#fff3e4!important;box-shadow:0 8px 22px rgba(92,37,43,.22)!important
}
body.morfm-pwa-nostalgia .morfm-pwa-dismiss{
  border-color:rgba(207,157,120,.17)!important;background:rgba(255,236,211,.035)!important;color:#a58d83!important
}
body.morfm-pwa-nostalgia .morfm-pwa-dismiss:hover{color:#fff0df!important;border-color:rgba(224,170,126,.35)!important}

@media (max-width:900px){
  .morfm-global-footer--nostalgia{padding-top:30px!important;background:linear-gradient(180deg,#120c11,#09070a)!important}
  .morfm-global-footer--nostalgia .morfm-global-footer__grid{max-width:720px!important;gap:13px!important}
  .morfm-global-footer--nostalgia .morfm-global-footer__nav{border-color:rgba(207,151,109,.13)!important;background:rgba(46,29,28,.36)!important}
  .morfm-global-footer--nostalgia .morfm-global-footer__newsletter{padding:14px!important}
  body.morfm-pwa-nostalgia .morfm-pwa-install-banner{bottom:calc(var(--morfm-mobile-tabbar-height) + var(--morfm-pwa-safe-bottom) + 14px)!important}
}
@media (max-width:640px){
  .morfm-global-footer--nostalgia{padding-left:14px!important;padding-right:14px!important}
  .morfm-global-footer--nostalgia::after{display:none!important}
  .morfm-global-footer--nostalgia .morfm-global-footer__logo strong{font-size:26px!important}
  .morfm-pwa-footer-card{grid-template-columns:34px minmax(0,1fr)!important}
  .morfm-pwa-footer-card__icon{width:34px;height:34px}
  .morfm-global-footer--nostalgia .morfm-pwa-footer-install{grid-column:1/-1!important;width:100%!important;margin-top:3px!important}
  body.morfm-pwa-nostalgia .morfm-pwa-install-banner{width:calc(100vw - 18px)!important;padding:12px!important;border-radius:16px!important}
  body.morfm-pwa-nostalgia .morfm-pwa-install-banner__copy strong{font-size:.82rem!important}
  body.morfm-pwa-nostalgia .morfm-pwa-install-banner__copy small{font-size:.64rem!important}
}

/* PWA shell is loaded after page styles; retain the homepage's nostalgic navigation palette on mobile. */
@media (max-width:900px){
  body.morfm-pwa-nostalgia .morfm-header{
    border-bottom-color:rgba(207,151,109,.18)!important;
    background:linear-gradient(180deg,rgba(24,14,18,.98),rgba(13,9,13,.98))!important;
    box-shadow:0 8px 28px rgba(0,0,0,.34),0 1px rgba(221,165,119,.05)!important
  }
  body.morfm-pwa-nostalgia .morfm-header-container::before{
    opacity:1!important;background:linear-gradient(90deg,rgba(183,91,63,.08),transparent 34%,transparent 66%,rgba(144,55,82,.08))!important
  }
}
