/* iFeedeBook - iOS standalone shell V85 */
html.ifb-ios-standalone-shell-v85 {
  background: #2f5592 !important;
  background-color: #2f5592 !important;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  touch-action: pan-y !important;
}

html.ifb-ios-standalone-shell-v85 body {
  background:
    linear-gradient(#2f5592 0, #2f5592 max(26px, env(safe-area-inset-top, 0px)), #eef1f6 max(26px, env(safe-area-inset-top, 0px)), #eef1f6 100%) !important;
  background-color: #2f5592 !important;
  padding-top: 0 !important;
  padding-bottom: env(safe-area-inset-bottom) !important;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  touch-action: pan-y !important;
  -webkit-text-size-adjust: 100% !important;
}

html.ifb-ios-standalone-shell-v85.ifb-iphone-standalone.ifb-ios6-mix-mode,
html.ifb-ios-standalone-shell-v85.ifb-iphone-standalone.ifb-ios6-mix-mode body {
  background-color: #2f5592 !important;
}

html.ifb-ios-standalone-shell-v85.ifb-iphone-standalone.ifb-ios6-mix-mode body {
  padding-top: 0 !important;
}

html.ifb-ios-standalone-shell-v85 *,
html.ifb-ios-standalone-shell-v85 *::before,
html.ifb-ios-standalone-shell-v85 *::after {
  box-sizing: border-box !important;
}


html.ifb-ios-standalone-shell-v85 .ifb-profile-photos-grid .ifb-profile-photo-item {
width: 98%;
}

html.ifb-iphone-standalone.ifb-ios6-mix-mode button .fa.fa-close {
left: -7px;
position: relative;
}

html.ifb-ios-standalone-shell-v85 img,
html.ifb-ios-standalone-shell-v85 canvas,
html.ifb-ios-standalone-shell-v85 video,
html.ifb-ios-standalone-shell-v85 audio,
html.ifb-ios-standalone-shell-v85 table {
  max-width: 100% !important;
}

html.ifb-ios-standalone-shell-v85 .container,
html.ifb-ios-standalone-shell-v85 main,
html.ifb-ios-standalone-shell-v85 aside,
html.ifb-ios-standalone-shell-v85 .box,
html.ifb-ios-standalone-shell-v85 .box-body,
html.ifb-ios-standalone-shell-v85 .post,
html.ifb-ios-standalone-shell-v85 .post-content,
html.ifb-ios-standalone-shell-v85 .comment-form,
html.ifb-ios-standalone-shell-v85 .page-comment-form,
html.ifb-ios-standalone-shell-v85 .retro-page-comment-form,
html.ifb-ios-standalone-shell-v85 .ifb-music-post-card-v22,
html.ifb-ios-standalone-shell-v85 .ifb-music-post-card-v46 {
  max-width: 100% !important;
  min-width: 0 !important;
}

html.ifb-ios-standalone-shell-v85 .container {
  padding-top: var(--ifb-ios-content-top, calc(env(safe-area-inset-top, 0px) + 90px)) !important;
}

html.ifb-ios-standalone-shell-v85 .post-content,
html.ifb-ios-standalone-shell-v85 .ifb-music-post-card-v22,
html.ifb-ios-standalone-shell-v85 .ifb-music-post-card-v46 {
  overflow-wrap: anywhere !important;
}

html.ifb-ios-standalone-shell-v85 .ifb-msn-real-window {
  transform: scale(1.25) !important;
}


html.ifb-ios-standalone-shell-v85  label.photo-upload-row.ifb-composer-photo-compact {
border-radius: 5px;
box-shadow: inset 0 1px rgba(255,255,255,.65),
0 1px 1px rgba(0,0,0,.10) !important;
}


html.ifb-ios-standalone-shell-v85 body::before {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: max(26px, env(safe-area-inset-top, 0px));
  z-index: 8900;
  pointer-events: none;
  background: #2f5592;
}

html.ifb-ios-standalone-shell-v85 #ifbIosSafeAreaPaintV94,
html.ifb-ios-standalone-shell-v85 #ifbIosSafeAreaPaintV95,
html.ifb-ios-standalone-shell-v85 #ifbIosSafeAreaPaintV96 {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: max(26px, env(safe-area-inset-top, 0px)) !important;
  z-index: 8900 !important;
  pointer-events: none !important;
  background: #2f5592 !important;
}

html.ifb-ios-standalone-shell-v85 .topbar {
  position: fixed !important;
  top: 0 !important;
  z-index: 9100 !important;
  min-height: calc(env(safe-area-inset-top, 0px) + 46px) !important;
  padding-top: env(safe-area-inset-top, 0px) !important;
  box-sizing: border-box !important;
  background: linear-gradient(to bottom, #6f8fc3 0%, #7d98ca 18%, #5578b5 47%, #3c64a4 58%, #2f5592 100%) !important;
  border-bottom: 1px solid #243f7a !important;
  box-shadow: inset 0 1px rgba(255,255,255,.42), inset 0 -1px rgba(0,0,0,.24), 0 1px 3px rgba(0,0,0,.18) !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

html.ifb-ios-standalone-shell-v85 .topbar::before {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: max(26px, env(safe-area-inset-top, 0px));
  z-index: -1;
  pointer-events: none;
  background: #2f5592 !important;
}

html.ifb-ios-standalone-shell-v85.ifb-ios-standalone-boot-v91:not(.ifb-ios-shell-ready-v91) .topbar {
  opacity: 0 !important;
}

html.ifb-ios-standalone-shell-v85 .topbar-inner {
  min-height: 46px !important;
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: 100% !important;
  padding: 0 max(10px, env(safe-area-inset-right)) 0 max(7px, env(safe-area-inset-left)) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html.ifb-ios-standalone-shell-v85 .ifb-ios-menu-button-v85 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(16,39,85,.72) !important;
  border-radius: 6px !important;
  background: linear-gradient(rgba(255,255,255,.24), rgba(255,255,255,.08) 48%, rgba(0,0,0,.08) 49%, rgba(0,0,0,.17)) !important;
  color: #fff !important;
  box-shadow: inset 0 1px rgba(255,255,255,.32), 0 1px rgba(255,255,255,.10) !important;
  text-shadow: 0 -1px rgba(0,0,0,.48) !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

html.ifb-ios-standalone-shell-v85 .logo,
html.ifb-ios-standalone-shell-v85 .brand {
  flex: 0 0 auto !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: bold !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-shadow: 0 -1px rgba(0,0,0,.52) !important;
  white-space: nowrap !important;
}

html.ifb-ios-standalone-shell-v85 .header-search-wrap,
html.ifb-ios-standalone-shell-v85 .topnav > a:not(.ifb-nav-friends-link),
html.ifb-ios-standalone-shell-v85 .topnav > button,
html.ifb-ios-standalone-shell-v85 .topnav #logoutBtn {
  display: none !important;
}

html.ifb-ios-standalone-shell-v85 .top-header-action-cluster {
  margin-left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 1px !important;
  padding-right: 16px !important;
  flex: 0 0 auto !important;
}

html.ifb-ios-standalone-shell-v85 .ifb-ios-home-button-v88,
html.ifb-ios-standalone-shell-v85 .top-friend-wrap,
html.ifb-ios-standalone-shell-v85 .top-msn-wrap,
html.ifb-ios-standalone-shell-v85 .top-notification-wrap {
  width: 36px !important;
  min-width: 36px !important;
  height: 38px !important;
  margin: 0 !important;
}

html.ifb-ios-standalone-shell-v85 .ifb-ios-home-button-v88,
html.ifb-ios-standalone-shell-v85 .top-friend-wrap .ifb-nav-friends-link,
html.ifb-ios-standalone-shell-v85 .top-msn-wrap .top-icon-button,
html.ifb-ios-standalone-shell-v85 .top-notification-wrap .top-icon-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: .96 !important;
  color: #fff !important;
  text-shadow: 0 -1px rgba(0,0,0,.40) !important;
}

html.ifb-ios-standalone-shell-v85 .ifb-ios-home-button-v88 .fa-home {
  top: 0 !important;
  font-size: 27px !important;
  line-height: 38px !important;
}

html.ifb-ios-standalone-shell-v85 .top-friend-wrap .ifb-nav-friends-icon {
  height: 30px !important;
  width: auto !important;
}

html.ifb-ios-standalone-shell-v85 .top-msn-wrap .fa-comments,
html.ifb-ios-standalone-shell-v85 .top-notification-wrap .fa-globe {
  top: 0 !important;
  font-size: 25px !important;
  line-height: 38px !important;
}

html.ifb-ios-standalone-shell-v85 .top-notification-badge {
  top: 0 !important;
  right: 0 !important;
}

html.ifb-ios-standalone-shell-v85 .top-friend-panel,
html.ifb-ios-standalone-shell-v85 .top-msn-panel,
html.ifb-ios-standalone-shell-v85 .top-notification-wrap .top-notification-panel {
  position: fixed !important;
  left: max(8px, env(safe-area-inset-left, 0px)) !important;
  right: max(8px, env(safe-area-inset-right, 0px)) !important;
  top: var(--ifb-ios-panel-top, var(--ifb-ios-topbar-height, calc(env(safe-area-inset-top, 0px) + 82px))) !important;
  width: auto !important;
  max-width: none !important;
  z-index: 9200 !important;
}

html.ifb-ios-standalone-shell-v85 .top-friend-panel .top-notification-list {
  max-height: min(320px, calc(100dvh - var(--ifb-ios-panel-top, var(--ifb-ios-topbar-height, 70px)) - 24px)) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

html.ifb-ios-standalone-shell-v85 #ifbPhotoViewerOverlay.is-open {
  top: var(--ifb-ios-viewer-top, var(--ifb-ios-panel-top, 78px)) !important;
  bottom: 0 !important;
  margin-top: -9px;
  padding-top: 2px;
  height: auto !important;
}

html.ifb-ios-standalone-shell-v85 #ifbPhotoViewerOverlay .ifb-photo-viewer-counter {
  top: 10px !important;
}

html.ifb-ios-standalone-shell-v85.ifb-ios-menu-open-v85 {
  overflow: hidden !important;
}

.ifb-ios-drawer-overlay-v85 {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: rgba(0,0,0,.28);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}

.ifb-ios-drawer-v85 {
  position: fixed;
  left: 0;
  top: env(safe-area-inset-top);
  bottom: 0;
  z-index: 99991;
  width: min(310px, 84vw);
  background: #30394d;
  color: #dce4f2;
  transform: translateX(-102%);
  transition: transform .22s ease;
  box-shadow: 4px 0 18px rgba(0,0,0,.36);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

html.ifb-ios-menu-open-v85 .ifb-ios-drawer-overlay-v85 {
  opacity: 1;
  visibility: visible;
}

html.ifb-ios-menu-open-v85 .ifb-ios-drawer-v85 {
  transform: translateX(0);
}

.ifb-ios-drawer-head-v85 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px;
  background: linear-gradient(#44506b, #30394d);
  border-bottom: 1px solid rgba(0,0,0,.36);
  box-shadow: inset 0 1px rgba(255,255,255,.10);
}

.ifb-ios-drawer-avatar-v85 {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.22);
  object-fit: cover;
  background: #d8dfea;
}

.ifb-ios-drawer-user-v85 b {
  display: block;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}

.ifb-ios-drawer-user-v85 span {
  display: block;
  color: #aeb8ca;
  font-size: 11px;
  line-height: 1.25;
}

.ifb-ios-drawer-search-v85 {
  position: relative;
  padding: 8px;
  background: #273044;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.ifb-ios-drawer-search-v85 input {
  width: 100%;
  height: 31px;
  box-sizing: border-box;
  border: 1px solid #1f2635 !important;
  border-radius: 15px !important;
  padding: 5px 10px 5px 26px !important;
  background: #f7f8fb !important;
  color: #1c2a47 !important;
  font-size: 13px !important;
}

.ifb-ios-drawer-search-v85::before {
  content: "\f002";
  position: absolute;
  left: 18px;
  top: 15px;
  color: #66738b;
  font-family: FontAwesome;
  z-index: 1;
}

.ifb-ios-drawer-results-v85 {
  display: grid;
  gap: 1px;
  margin-top: 6px;
}

.ifb-ios-drawer-section-v85 {
  padding: 7px 10px 5px;
  background: #3a445a;
  color: #aeb8ca;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(0,0,0,.30);
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
}

.ifb-ios-drawer-list-v85 {
  display: grid;
}

.ifb-ios-drawer-list-v85 a,
.ifb-ios-drawer-list-v85 button,
.ifb-ios-drawer-result-v85 {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 43px;
  padding: 7px 10px;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(0,0,0,.24);
  background: transparent;
  color: #eef3fb !important;
  box-sizing: border-box;
  text-align: left;
  text-decoration: none !important;
  font: bold 14px Tahoma, Arial, sans-serif;
}

.ifb-ios-drawer-list-v85 a:active,
.ifb-ios-drawer-list-v85 button:active,
.ifb-ios-drawer-result-v85:active {
  background: #24304a;
}

.ifb-ios-drawer-list-v85 .fa,
.ifb-ios-drawer-result-v85 .fa {
  color: #b8c7e6;
  font-size: 18px;
  text-align: center;
}

.ifb-ios-drawer-result-v85 span,
.ifb-ios-drawer-list-v85 em {
  display: block;
  color: #aeb8ca;
  font-size: 11px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.25;
}

.ifb-ios-drawer-box-v85 {
  border-top: 1px solid rgba(255,255,255,.06);
}

.ifb-ios-drawer-box-title-v85 {
  padding: 7px 10px;
  background: #3a445a;
  color: #aeb8ca;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
}

.ifb-ios-drawer-box-body-v85 {
  padding: 7px 10px;
  color: #dce4f2;
  font-size: 12px;
  line-height: 1.35;
}

.ifb-ios-drawer-box-body-v85 a {
  color: #fff !important;
  font-weight: bold;
}

.ifb-ios-drawer-box-body-v85 input,
.ifb-ios-drawer-box-body-v85 textarea,
.ifb-ios-drawer-box-body-v85 select {
  max-width: 100%;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] .container {
  display: flex !important;
  flex-direction: column !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] .container > aside:first-of-type {
  display: none !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] .container > main {
  display: contents !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] .container > aside:last-of-type {
  display: contents !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] main > .box:first-child {
  order: 1 !important;
  width: 100% !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #profileActionsBox {
  order: 2 !important;
  width: 100% !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #editProfileBox {
  order: 3 !important;
  width: 100% !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #ifbProfileFriendBlocks {
  order: 4 !important;
  width: 100% !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] main > .post-box {
  order: 5 !important;
  width: 100% !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #ifbProfilePhotosBox {
  order: 6 !important;
  width: 100% !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #posts {
  order: 7 !important;
  width: 100% !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #miniMsnBox {
  order: 8 !important;
  width: 100% !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] main > .box,
html.ifb-ios-standalone-shell-v85 body[data-page="profile"] main > #posts,
html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #profileActionsBox,
html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #ifbProfileFriendBlocks {
  margin-bottom: 8px !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #profileActions {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #profileActions button {
  min-height: 30px !important;
  margin: 0 !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #editProfileForm {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px 8px !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #editProfileForm label,
html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #editProfileForm textarea,
html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #editProfileForm .ifb-profile-custom-field,
html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #editProfileForm div {
  grid-column: 1 / -1 !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #editProfileForm input,
html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #editProfileForm select,
html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #editProfileForm textarea {
  width: 100% !important;
  box-sizing: border-box !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #ifbProfileFriendBlocks {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 8px !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #ifbProfileFriendBlocks:empty {
  display: none !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #ifbProfileFriendBlocks .box {
  min-width: 0 !important;
  margin: 0 !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile"] #ifbProfileFriendBlocks .box-body {
  max-height: 148px !important;
  overflow-y: auto !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="network-info"] .container {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: var(--ifb-ios-content-top, calc(env(safe-area-inset-top, 0px) + 74px)) 7px calc(12px + env(safe-area-inset-bottom, 0px)) 7px !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="network-info"] .container > aside {
  display: none !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="network-info"] .container > main {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="network-info"] .ifb-info-toolbar-v17 {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 6px !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="network-info"] .ifb-info-search-v17,
html.ifb-ios-standalone-shell-v85 body[data-page="network-info"] .ifb-info-select-v17 {
  width: 100% !important;
  min-width: 0 !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="network-info"] .ifb-info-item-v17 {
  grid-template-columns: 34px minmax(0, 1fr) !important;
  gap: 7px !important;
  overflow-wrap: anywhere !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="games"] .container {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: var(--ifb-ios-content-top, calc(env(safe-area-inset-top, 0px) + 90px)) 7px calc(12px + env(safe-area-inset-bottom, 0px)) 7px !important;
  overflow-x: hidden !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile-photos"] .container {
  display: block !important;
  padding: var(--ifb-ios-content-top, calc(env(safe-area-inset-top, 0px) + 90px)) 7px calc(12px + env(safe-area-inset-bottom, 0px)) 7px !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile-photos"] .container > aside {
  display: none !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile-photos"] .container > main {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile-photos"] .ifb-photo-progress-note {
  display: none !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile-photos"] .ifb-profile-photos-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 7px !important;
  margin: 0 !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile-photos"] .ifb-profile-photo-item {
  min-height: 0 !important;
  padding: 3px !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile-photos"] .ifb-profile-photo-frame,
html.ifb-ios-standalone-shell-v85 body[data-page="profile-photos"] .ifb-profile-photo-frame img,
html.ifb-ios-standalone-shell-v85 body[data-page="profile-photos"] .ifb-profile-photo-frame video {
  height: 118px !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="profile-photos"] .ifb-profile-photo-caption,
html.ifb-ios-standalone-shell-v85 body[data-page="profile-photos"] .ifb-profile-photo-source,
html.ifb-ios-standalone-shell-v85 body[data-page="profile-photos"] .ifb-profile-photo-meta {
  display: none !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="games"] .container > aside,
html.ifb-ios-standalone-shell-v85 body[data-page="games"] .container > main,
html.ifb-ios-standalone-shell-v85 body[data-page="games"] .ifb-games-layout,
html.ifb-ios-standalone-shell-v85 body[data-page="games"] .ifb-games-side {
  display: contents !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="games"] .container > aside:first-of-type > .box:first-child,
html.ifb-ios-standalone-shell-v85 body[data-page="games"] .container > aside:last-of-type {
  display: none !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="games"] .ifb-games-main > .box:first-child {
  order: 1 !important;
  width: 100% !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="games"] .ifb-games-panel {
  order: 2 !important;
  width: 100% !important;
  min-width: 0 !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="games"] .container > aside:first-of-type > .box:nth-child(2) {
  order: 3 !important;
  width: 100% !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="games"] .ifb-games-side > .box:nth-child(1) {
  order: 4 !important;
  width: 100% !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="games"] .ifb-games-side > .box:nth-child(2) {
  order: 5 !important;
  width: 100% !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="games"] .ifb-games-side > .box:nth-child(3) {
  order: 6 !important;
  width: 100% !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="games"] .box,
html.ifb-ios-standalone-shell-v85 body[data-page="games"] .ifb-games-panel {
  margin-bottom: 8px !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="games"] .ifb-games-hero h2 {
  font-size: 20px !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="games"] .ifb-games-panel-body {
  padding: 6px !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="games"] #ifbGameMount {
  min-height: 0 !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="games"] .ifb-game-canvas-wrap {
  min-height: 0 !important;
  padding: 5px !important;
  overflow: hidden !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="games"] .ifb-game-canvas {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="games"] .ifb-game-touch button {
  min-width: 42px !important;
  min-height: 34px !important;
}

html.ifb-ios-standalone-shell-v85 body[data-page="games"] .ifb-games-tabs {
  grid-template-columns: 1fr !important;
}

/* iPod touch 4 / iOS 6 installed-webapp rescue layer.
   Keep every rule scoped so current iPhone, Android and desktop shells stay untouched. */
html.ifb-ipod4-standalone-v1,
html.ifb-ipod4-standalone-v1 body {
  width: 320px !important;
  min-width: 320px !important;
  max-width: 320px !important;
  margin: 0 !important;
  overflow-x: hidden !important;
  background: #2f5592 !important;
  -webkit-text-size-adjust: 100% !important;
}

html.ifb-ipod4-standalone-v1 body {
  padding: 0 !important;
  background: #eef1f6 !important;
  font-size: 12px !important;
}

html.ifb-ipod4-standalone-v1 body::before,
html.ifb-ipod4-standalone-v1 #ifbIosSafeAreaPaintV94,
html.ifb-ipod4-standalone-v1 #ifbIosSafeAreaPaintV95,
html.ifb-ipod4-standalone-v1 #ifbIosSafeAreaPaintV96 {
  height: 20px !important;
  background: #2f5592 !important;
  z-index: 8900 !important;
}

html.ifb-ipod4-standalone-v1 .topbar {
  top: 20px !important;
  left: 0 !important;
  right: auto !important;
  width: 320px !important;
  max-width: 320px !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

html.ifb-ipod4-standalone-v1 .topbar::before {
  height: 20px !important;
  background: #2f5592 !important;
}

html.ifb-ipod4-standalone-v1 .topbar-inner {
  position: relative !important;
  display: block !important;
  width: 320px !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

html.ifb-ipod4-standalone-v1 .ifb-ios-menu-button-v85 {
  position: absolute !important;
  left: 5px !important;
  top: 5px !important;
  display: block !important;
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  line-height: 30px !important;
  text-align: center !important;
}

html.ifb-ipod4-standalone-v1 .logo,
html.ifb-ipod4-standalone-v1 .brand {
  position: absolute !important;
  left: 47px !important;
  top: 10px !important;
  display: block !important;
  width: 112px !important;
  max-width: 112px !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  font-size: 18px !important;
  line-height: 23px !important;
}

html.ifb-ipod4-standalone-v1 .top-header-action-cluster {
  position: absolute !important;
  right: 4px !important;
  top: 3px !important;
  display: block !important;
  width: 148px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

html.ifb-ipod4-standalone-v1 .ifb-ios-home-button-v88,
html.ifb-ipod4-standalone-v1 .top-friend-wrap,
html.ifb-ipod4-standalone-v1 .top-msn-wrap,
html.ifb-ipod4-standalone-v1 .top-notification-wrap {
  display: inline-block !important;
  width: 35px !important;
  min-width: 35px !important;
  height: 38px !important;
  margin: 0 !important;
  vertical-align: top !important;
}

html.ifb-ipod4-standalone-v1 .ifb-ios-home-button-v88,
html.ifb-ipod4-standalone-v1 .top-friend-wrap > a,
html.ifb-ipod4-standalone-v1 .top-msn-wrap > button,
html.ifb-ipod4-standalone-v1 .top-notification-wrap > button {
  width: 35px !important;
  min-width: 35px !important;
  height: 38px !important;
}

html.ifb-ipod4-standalone-v1 .top-friend-panel,
html.ifb-ipod4-standalone-v1 .top-msn-panel,
html.ifb-ipod4-standalone-v1 .top-notification-panel {
  position: fixed !important;
  top: 70px !important;
  left: 5px !important;
  right: auto !important;
  width: 310px !important;
  max-width: 310px !important;
  max-height: 380px !important;
  overflow: auto !important;
  z-index: 9300 !important;
}

html.ifb-ipod4-standalone-v1 .ifb-ios-drawer-v85 {
  top: 20px !important;
  width: 270px !important;
  max-width: 270px !important;
}

html.ifb-ipod4-standalone-v1 .ifb-ios-drawer-inner-v85 {
  width: 270px !important;
}

html.ifb-ipod4-standalone-v1 .container {
  display: block !important;
  width: 320px !important;
  max-width: 320px !important;
  margin: 0 !important;
  padding: 70px 5px 10px 5px !important;
  overflow-x: hidden !important;
}

html.ifb-ipod4-standalone-v1 .container > aside {
  display: none !important;
}

html.ifb-ipod4-standalone-v1 .container > main,
html.ifb-ipod4-standalone-v1 main {
  display: block !important;
  width: 310px !important;
  max-width: 310px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html.ifb-ipod4-standalone-v1 .box,
html.ifb-ipod4-standalone-v1 .post {
  width: 310px !important;
  max-width: 310px !important;
  margin: 0 0 7px 0 !important;
  overflow: hidden !important;
  border-radius: 4px !important;
}

html.ifb-ipod4-standalone-v1 .box-title,
html.ifb-ipod4-standalone-v1 .box-body {
  width: 100% !important;
  max-width: 100% !important;
}

html.ifb-ipod4-standalone-v1 textarea,
html.ifb-ipod4-standalone-v1 input,
html.ifb-ipod4-standalone-v1 select {
  font-size: 16px !important;
  max-width: 100% !important;
}

html.ifb-ipod4-standalone-v1 #postContent,
html.ifb-ipod4-standalone-v1 #pagePostContent,
html.ifb-ipod4-standalone-v1 .post-box textarea {
  width: 100% !important;
  height: 78px !important;
  min-height: 78px !important;
}

html.ifb-ipod4-standalone-v1 .post-actions,
html.ifb-ipod4-standalone-v1 .composer-actions,
html.ifb-ipod4-standalone-v1 .publisher-actions,
html.ifb-ipod4-standalone-v1 .ifb-composer-actions,
html.ifb-ipod4-standalone-v1 .ifb-page-composer-actions {
  white-space: normal !important;
}

html.ifb-ipod4-standalone-v1 .post-head,
html.ifb-ipod4-standalone-v1 .post-header {
  display: block !important;
  min-height: 44px !important;
}

html.ifb-ipod4-standalone-v1 .post .avatar,
html.ifb-ipod4-standalone-v1 .post .avatar-small,
html.ifb-ipod4-standalone-v1 .post .profile-pic {
  float: left !important;
  width: 40px !important;
  height: 40px !important;
  margin: 0 7px 5px 0 !important;
}

html.ifb-ipod4-standalone-v1 .post-content {
  clear: both !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 5px 0 0 0 !important;
  overflow: hidden !important;
  font-size: 15px !important;
  line-height: 1.28 !important;
  word-wrap: break-word !important;
}

html.ifb-ipod4-standalone-v1 .ifb-post-media-grid,
html.ifb-ipod4-standalone-v1 .ifb-post-media-list,
html.ifb-ipod4-standalone-v1 .ifb-post-media-stack,
html.ifb-ipod4-standalone-v1 .photo-grid {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

html.ifb-ipod4-standalone-v1 .ifb-post-media-item,
html.ifb-ipod4-standalone-v1 .ifb-post-photo-item,
html.ifb-ipod4-standalone-v1 .ifb-post-video-item {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 5px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html.ifb-ipod4-standalone-v1 img,
html.ifb-ipod4-standalone-v1 video,
html.ifb-ipod4-standalone-v1 canvas,
html.ifb-ipod4-standalone-v1 iframe {
  max-width: 100% !important;
}

html.ifb-ipod4-standalone-v1 video,
html.ifb-ipod4-standalone-v1 img {
  height: auto !important;
}

html.ifb-ipod4-standalone-v1 .ifb-music-post-card-v22,
html.ifb-ipod4-standalone-v1 .ifb-music-post-card-v46 {
  display: block !important;
  width: 100% !important;
  padding: 6px !important;
}

html.ifb-ipod4-standalone-v1 .ifb-youtube-retro-embed-card {
  width: 100% !important;
  margin: 4px 0 !important;
}

html.ifb-ipod4-standalone-v1 .ifb-youtube-retro-video,
html.ifb-ipod4-standalone-v1 .ifb-youtube-retro-frame,
html.ifb-ipod4-standalone-v1 .ifb-youtube-retro-player {
  height: 172px !important;
  max-height: 172px !important;
  overflow: hidden !important;
}

html.ifb-ipod4-standalone-v1 .comment-form,
html.ifb-ipod4-standalone-v1 .page-comment-form,
html.ifb-ipod4-standalone-v1 .retro-page-comment-form {
  display: block !important;
  width: 100% !important;
  white-space: nowrap !important;
}

html.ifb-ipod4-standalone-v1 .comment-form input,
html.ifb-ipod4-standalone-v1 .page-comment-form input,
html.ifb-ipod4-standalone-v1 .retro-page-comment-form input {
  display: inline-block !important;
  width: 185px !important;
  height: 31px !important;
  vertical-align: top !important;
}

html.ifb-ipod4-standalone-v1 .comment-form button,
html.ifb-ipod4-standalone-v1 .page-comment-form button,
html.ifb-ipod4-standalone-v1 .retro-page-comment-form button {
  display: inline-block !important;
  width: 94px !important;
  min-width: 0 !important;
  height: 31px !important;
  padding: 0 4px !important;
  vertical-align: top !important;
}

html.ifb-ipod4-standalone-v1 .ifb-msn-real-window {
  right: 4px !important;
  left: auto !important;
  bottom: 0 !important;
  width: 282px !important;
  max-width: 282px !important;
  transform: none !important;
}

html.ifb-ipod4-standalone-v1 body[data-page="profile"] .container,
html.ifb-ipod4-standalone-v1 body[data-page="network-info"] .container,
html.ifb-ipod4-standalone-v1 body[data-page="profile-photos"] .container,
html.ifb-ipod4-standalone-v1 body[data-page="games"] .container {
  display: block !important;
  padding: 70px 5px 10px 5px !important;
}

html.ifb-ipod4-standalone-v1 body[data-page="profile"] #editProfileForm,
html.ifb-ipod4-standalone-v1 body[data-page="profile"] #ifbProfileFriendBlocks,
html.ifb-ipod4-standalone-v1 body[data-page="profile-photos"] .ifb-profile-photos-grid,
html.ifb-ipod4-standalone-v1 body[data-page="games"] .ifb-games-layout,
html.ifb-ipod4-standalone-v1 body[data-page="games"] .ifb-games-main,
html.ifb-ipod4-standalone-v1 body[data-page="games"] .ifb-games-side,
html.ifb-ipod4-standalone-v1 body[data-page="games"] .ifb-games-panel {
  display: block !important;
  width: 100% !important;
}

html.ifb-ipod4-standalone-v1 body[data-page="profile"] #editProfileForm input,
html.ifb-ipod4-standalone-v1 body[data-page="profile"] #editProfileForm select,
html.ifb-ipod4-standalone-v1 body[data-page="profile"] #editProfileForm textarea {
  width: 100% !important;
}

html.ifb-ipod4-standalone-v1 body[data-page="profile-photos"] .ifb-profile-photo-item {
  display: inline-block !important;
  width: 48% !important;
  max-width: 48% !important;
  margin: 0 1% 7px 0 !important;
  vertical-align: top !important;
}

html.ifb-ipod4-standalone-v1 body[data-page="profile-photos"] .ifb-profile-photo-frame,
html.ifb-ipod4-standalone-v1 body[data-page="profile-photos"] .ifb-profile-photo-frame img,
html.ifb-ipod4-standalone-v1 body[data-page="profile-photos"] .ifb-profile-photo-frame video {
  height: 104px !important;
}

html.ifb-ipod4-standalone-v1 body[data-page="games"] .container > aside,
html.ifb-ipod4-standalone-v1 body[data-page="games"] .ifb-games-side {
  display: none !important;
}

html.ifb-ipod4-standalone-v1 body[data-page="games"] .ifb-game-canvas-wrap {
  padding: 4px !important;
  overflow: hidden !important;
}

html.ifb-ipod4-standalone-v1 body[data-page="games"] .ifb-game-canvas {
  width: 300px !important;
  max-width: 300px !important;
  height: auto !important;
}

html.ifb-ipod4-standalone-v1 body[data-page="games"] .ifb-game-touch button {
  min-width: 48px !important;
  min-height: 40px !important;
}
