
/* MiKO Profile Layout Fix v15 — hard isolation for Master v14 */
.page-id-24563 .mp14-shell[data-mp14-view="overview"] .mp14-dashboard{
  display:grid!important;
  grid-template-columns:minmax(0,3fr) minmax(340px,2fr)!important;
  grid-auto-flow:row!important;
  gap:14px!important;
  align-items:start!important;
  width:100%!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="overview"] .mp14-dashboard>.mp14-left,
.page-id-24563 .mp14-shell[data-mp14-view="overview"] .mp14-dashboard>.mp14-right{
  display:flex!important;
  flex-direction:column!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:14px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="overview"] .mp14-dashboard>.mp14-left{
  grid-column:1!important;
  grid-row:1!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="overview"] .mp14-dashboard>.mp14-right{
  grid-column:2!important;
  grid-row:1!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="overview"] .mp14-dashboard .mp14-card{
  display:block!important;
  position:relative!important;
  float:none!important;
  clear:both!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  align-self:stretch!important;
  grid-column:auto!important;
  grid-row:auto!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="overview"] .mp14-left>#badges{order:1!important}
.page-id-24563 .mp14-shell[data-mp14-view="overview"] .mp14-left>#nft{order:2!important}
.page-id-24563 .mp14-shell[data-mp14-view="overview"] .mp14-left>#activity{order:3!important}
.page-id-24563 .mp14-shell[data-mp14-view="overview"] .mp14-right>#missions{order:1!important}
.page-id-24563 .mp14-shell[data-mp14-view="overview"] .mp14-right>.mp14-wallet{order:2!important}
.page-id-24563 .mp14-shell[data-mp14-view="overview"] .mp14-right>#saved{order:3!important}
.page-id-24563 .mp14-shell[data-mp14-view="overview"] .mp14-empty{
  min-height:92px!important;
  display:grid!important;
  place-items:center!important;
  padding:18px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="overview"] #activity .mp14-timeline{
  width:100%!important;
  min-width:0!important;
}

/* Activity tab must use full width; no legacy multi-column squeeze. */
.page-id-24563 .mp14-shell[data-mp14-view="activity"] .mp14-extended{
  display:block!important;
  width:100%!important;
  max-width:none!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="activity"] .mp14-extended>#reading,
.page-id-24563 .mp14-shell[data-mp14-view="activity"] .mp14-extended>#activity-all,
.page-id-24563 .mp14-shell[data-mp14-view="activity"] .mp14-extended>#history{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0 0 14px!important;
  grid-column:1/-1!important;
  float:none!important;
  clear:both!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="activity"] #activity-all .miko-activity-list{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:0!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="activity"] #activity-all .miko-activity-list>article{
  display:grid!important;
  grid-template-columns:112px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:64px!important;
  margin:0!important;
  padding:11px 4px!important;
  border:0!important;
  border-top:1px solid #edf2f7!important;
  border-radius:0!important;
  background:transparent!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="activity"] #activity-all .miko-activity-list>article:first-child{
  border-top:0!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="activity"] #activity-all .miko-activity-list .type{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  max-width:100%!important;
  min-height:30px!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  background:#edf5ff!important;
  color:#246eb7!important;
  font-size:8px!important;
  font-weight:900!important;
  line-height:1.2!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  text-align:center!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="activity"] #activity-all .miko-activity-list .type-like{background:#fff0f3!important;color:#d94d65!important}
.page-id-24563 .mp14-shell[data-mp14-view="activity"] #activity-all .miko-activity-list .type-checkin{background:#fff2e8!important;color:#d86f2d!important}
.page-id-24563 .mp14-shell[data-mp14-view="activity"] #activity-all .miko-activity-list .type-share{background:#eef8ff!important;color:#2b75ba!important}
.page-id-24563 .mp14-shell[data-mp14-view="activity"] #activity-all .miko-activity-list .type-bookmark{background:#f3efff!important;color:#7659c8!important}
.page-id-24563 .mp14-shell[data-mp14-view="activity"] #activity-all .miko-activity-list .type-comment{background:#eef8f2!important;color:#2b8c5d!important}
.page-id-24563 .mp14-shell[data-mp14-view="activity"] #activity-all .miko-activity-list article>div{
  min-width:0!important;
  width:100%!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="activity"] #activity-all .miko-activity-list b{
  display:block!important;
  width:100%!important;
  color:#244a70!important;
  font-size:10px!important;
  line-height:1.45!important;
  font-weight:850!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="activity"] #activity-all .miko-activity-list small{
  display:block!important;
  margin-top:4px!important;
  color:#8799aa!important;
  font-size:7.5px!important;
  line-height:1.4!important;
  white-space:normal!important;
  word-break:normal!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="activity"] #history .miko-history-list{
  width:100%!important;
  min-width:0!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="activity"] #history .miko-history-list>div{
  width:100%!important;
  min-width:0!important;
}

/* Settings tab: remove inherited empty space and keep content directly below tabs */
.page-id-24563 .mp14-shell[data-mp14-view="settings"]{
  grid-auto-rows:auto!important;
  align-content:start!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] .mp14-extended{
  display:block!important;
  position:relative!important;
  top:auto!important;
  inset:auto!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  align-self:start!important;
  align-content:start!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] .mp14-extended>#settings.mp14-settings{
  display:block!important;
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  transform:none!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:18px!important;
  align-self:start!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-card-head{
  margin:0 0 12px!important;
  padding:0!important;
  align-items:start!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-setting-links{
  margin:0 0 14px!important;
  gap:8px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-card-head small{
  font-size:8.5px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-card-head h2{
  font-size:20px!important;
  line-height:1.25!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-card-head p{
  font-size:10px!important;
  line-height:1.45!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-complete b{
  font-size:13px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-complete i{
  height:8px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-setting-links a{
  min-height:42px!important;
  padding:9px 12px!important;
  gap:7px!important;
  font-size:9.5px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-setting-links svg{
  width:17px!important;
  height:17px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-profile-form .fields{
  gap:12px 14px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-profile-form label,
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-account-grid label{
  gap:7px!important;
  font-size:10px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-profile-form input[type="text"],
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-profile-form input[type="email"],
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-profile-form input[type="url"],
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-account-grid input{
  min-height:46px!important;
  padding:10px 12px!important;
  font-size:12px!important;
  border-radius:11px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-profile-form legend{
  font-size:9.5px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .miko-interest-chips span{
  min-height:34px!important;
  padding:6px 10px!important;
  font-size:8.5px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-profile-form .switch{
  min-height:44px!important;
  padding:10px 12px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-profile-form .switch input{
  width:18px!important;
  height:18px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-profile-form .primary,
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-account-grid button{
  min-height:44px!important;
  padding:10px 16px!important;
  font-size:10px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-account-grid h3{
  font-size:13px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-profile-form textarea{
  min-height:98px!important;
  height:98px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-profile-form fieldset{
  padding:10px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-profile-form .badges{
  margin-top:10px!important;
}
.page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-account-grid{
  margin-top:12px!important;
  gap:10px!important;
}
@media(max-width:760px){
  .page-id-24563 .mp14-shell[data-mp14-view="settings"] .mp14-extended>#settings.mp14-settings{
    padding:13px!important;
  }
  .page-id-24563 .mp14-shell[data-mp14-view="settings"] #settings .mp14-profile-form textarea{
    min-height:78px!important;
    height:78px!important;
  }
}

/* Keep tab panels centered and visually consistent. */
.page-id-24563 .mp14-shell:not([data-mp14-view="overview"]) .mp14-extended{
  max-width:100%!important;
  margin:0!important;
}
.page-id-24563 .mp14-shell:not([data-mp14-view="overview"]) .mp14-extended>.mp14-card,
.page-id-24563 .mp14-shell:not([data-mp14-view="overview"]) .mp14-extended>.miko-cosmetic-studio{
  width:100%!important;
  max-width:none!important;
}

/* Overview more-tools CTA: hard-isolated from global theme button styles */
.page-id-24563 .mp14-overview-tools{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
  padding:4px 0!important;
}
.page-id-24563 .mp14-overview-tools>.mp14-more-btn{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) 24px!important;
  align-items:center!important;
  gap:10px!important;
  width:min(100%,520px)!important;
  min-height:58px!important;
  margin:0!important;
  padding:9px 12px!important;
  border:1px solid #cfe1f1!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,#ffffff,#f5faff)!important;
  color:#214f79!important;
  box-shadow:0 8px 24px rgba(25,72,113,.09)!important;
  text-align:left!important;
  opacity:1!important;
  visibility:visible!important;
  cursor:pointer!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease!important;
}
.page-id-24563 .mp14-overview-tools>.mp14-more-btn:hover{
  transform:translateY(-1px)!important;
  border-color:#8ebde8!important;
  background:linear-gradient(180deg,#fff,#eef7ff)!important;
  box-shadow:0 12px 28px rgba(25,72,113,.13)!important;
}
.page-id-24563 .mp14-overview-tools>.mp14-more-btn:focus-visible{
  outline:3px solid rgba(18,115,218,.22)!important;
  outline-offset:2px!important;
}
.page-id-24563 .mp14-more-icon{
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  height:38px!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#eaf5ff,#dcebff)!important;
  color:#1473d8!important;
  box-shadow:inset 0 0 0 1px rgba(20,115,216,.08)!important;
}
.page-id-24563 .mp14-more-icon svg{
  display:block!important;
  width:20px!important;
  height:20px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.page-id-24563 .mp14-more-copy{
  display:grid!important;
  gap:2px!important;
  min-width:0!important;
}
.page-id-24563 .mp14-more-copy b{
  display:block!important;
  color:#173f69!important;
  font-size:10px!important;
  line-height:1.3!important;
  font-weight:950!important;
}
.page-id-24563 .mp14-more-copy small{
  display:block!important;
  color:#7b8fa3!important;
  font-size:7.5px!important;
  line-height:1.35!important;
  font-weight:750!important;
}
.page-id-24563 .mp14-more-chevron{
  display:grid!important;
  place-items:center!important;
  width:24px!important;
  height:24px!important;
  border-radius:8px!important;
  background:#eef6fd!important;
  color:#2f6fa9!important;
  transition:transform .18s ease!important;
}
.page-id-24563 .mp14-more-chevron svg{
  width:15px!important;
  height:15px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.page-id-24563 .mp14-overview-tools>.mp14-more-btn.is-open .mp14-more-chevron{
  transform:rotate(180deg)!important;
  background:#dfefff!important;
}
@media(max-width:430px){
  .page-id-24563 .mp14-overview-tools>.mp14-more-btn{
    grid-template-columns:34px minmax(0,1fr) 22px!important;
    min-height:54px!important;
    padding:8px 9px!important;
    border-radius:13px!important;
  }
  .page-id-24563 .mp14-more-icon{width:34px!important;height:34px!important;border-radius:10px!important}
  .page-id-24563 .mp14-more-icon svg{width:18px!important;height:18px!important}
  .page-id-24563 .mp14-more-copy b{font-size:9px!important}
  .page-id-24563 .mp14-more-copy small{font-size:7px!important}
}

/* NFT header controls: never inherit dark/global theme button styles */
.page-id-24563 .mp14-shell #nft .mp14-nft-head-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  flex-wrap:nowrap!important;
}
.page-id-24563 .mp14-shell #nft .mp14-nft-head-actions>.mp14-nft-nav{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #cfe1f1!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#176fc6!important;
  box-shadow:0 4px 12px rgba(28,78,124,.07)!important;
  opacity:1!important;
  visibility:visible!important;
  cursor:pointer!important;
}
.page-id-24563 .mp14-shell #nft .mp14-nft-head-actions>.mp14-nft-nav:hover{
  border-color:#8fbde7!important;
  background:#eef7ff!important;
  color:#075fc1!important;
  transform:translateY(-1px)!important;
}
.page-id-24563 .mp14-shell #nft .mp14-nft-head-actions>.mp14-nft-nav svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  opacity:1!important;
}
.page-id-24563 .mp14-shell #nft .mp14-nft-head-actions>.mp14-nft-all{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:auto!important;
  min-width:auto!important;
  height:auto!important;
  min-height:34px!important;
  margin:0!important;
  padding:7px 10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #cfe1f1!important;
  border-radius:10px!important;
  background:#f7fbff!important;
  color:#126fcf!important;
  font-size:8px!important;
  line-height:1!important;
  font-weight:900!important;
  white-space:nowrap!important;
  opacity:1!important;
  visibility:visible!important;
  cursor:pointer!important;
}
.page-id-24563 .mp14-shell #nft .mp14-nft-head-actions>.mp14-nft-all:hover{
  border-color:#8fbde7!important;
  background:#eaf5ff!important;
}

/* Tablet/mobile */
@media(max-width:1020px){
  .page-id-24563 .mp14-shell[data-mp14-view="overview"] .mp14-dashboard{
    grid-template-columns:1fr!important;
  }
  .page-id-24563 .mp14-shell[data-mp14-view="overview"] .mp14-dashboard>.mp14-left,
  .page-id-24563 .mp14-shell[data-mp14-view="overview"] .mp14-dashboard>.mp14-right{
    grid-column:1!important;
    grid-row:auto!important;
  }
}
@media(max-width:760px){
  .page-id-24563 .mp14-shell[data-mp14-view="activity"] #activity-all .miko-activity-list>article{
    grid-template-columns:92px minmax(0,1fr)!important;
    gap:10px!important;
    padding:10px 0!important;
  }
}
@media(max-width:430px){
  .page-id-24563 .mp14-shell[data-mp14-view="activity"] #activity-all .miko-activity-list>article{
    grid-template-columns:1fr!important;
    gap:7px!important;
  }
  .page-id-24563 .mp14-shell[data-mp14-view="activity"] #activity-all .miko-activity-list .type{
    justify-self:start!important;
  }
}

/* Profile breadcrumb / share visibility fix */
.page-id-24563 .mp14-breadcrumb{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  min-height:54px!important;
  margin:0 0 2px!important;
  padding:8px 10px 8px 14px!important;
  border:1px solid #dce9f5!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(245,250,255,.98))!important;
  color:#526f8b!important;
  font-size:12px!important;
  line-height:1.35!important;
  box-shadow:0 7px 22px rgba(24,72,116,.06)!important;
}
.page-id-24563 .mp14-breadcrumb>div{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  min-width:0!important;
}
.page-id-24563 .mp14-breadcrumb>div>a{
  color:#2872b8!important;
  font-size:12px!important;
  font-weight:800!important;
  opacity:1!important;
}
.page-id-24563 .mp14-breadcrumb>div>a:hover{
  color:#0b68c9!important;
  text-decoration:none!important;
}
.page-id-24563 .mp14-breadcrumb>div>span{
  display:inline-grid!important;
  place-items:center!important;
  width:20px!important;
  height:20px!important;
  border-radius:999px!important;
  background:#eaf4ff!important;
  color:#5a84ad!important;
  font-size:12px!important;
  font-weight:900!important;
}
.page-id-24563 .mp14-breadcrumb>div>b{
  color:#173f68!important;
  font-size:12px!important;
  font-weight:950!important;
  opacity:1!important;
}
.page-id-24563 .mp14-breadcrumb>button{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-width:118px!important;
  min-height:38px!important;
  padding:8px 13px!important;
  border:1px solid #b9d7f2!important;
  border-radius:11px!important;
  background:linear-gradient(135deg,#f7fbff,#eaf4ff)!important;
  color:#1769b6!important;
  font-size:10px!important;
  font-weight:950!important;
  line-height:1!important;
  text-shadow:none!important;
  box-shadow:0 5px 14px rgba(31,100,164,.08)!important;
  opacity:1!important;
}
.page-id-24563 .mp14-breadcrumb>button:hover{
  border-color:#84b9e8!important;
  background:linear-gradient(135deg,#eef7ff,#dfefff)!important;
  color:#095ca9!important;
  transform:translateY(-1px);
}
.page-id-24563 .mp14-breadcrumb>button svg{
  width:16px!important;
  height:16px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
}
@media(max-width:430px){
  .page-id-24563 .mp14-breadcrumb{
    min-height:50px!important;
    padding:7px 8px 7px 11px!important;
    gap:8px!important;
    border-radius:12px!important;
  }
  .page-id-24563 .mp14-breadcrumb>div{
    gap:6px!important;
  }
  .page-id-24563 .mp14-breadcrumb>div>a,
  .page-id-24563 .mp14-breadcrumb>div>b{
    font-size:10.5px!important;
  }
  .page-id-24563 .mp14-breadcrumb>div>span{
    width:18px!important;
    height:18px!important;
    font-size:10px!important;
  }
  .page-id-24563 .mp14-breadcrumb>button{
    min-width:42px!important;
    width:42px!important;
    min-height:38px!important;
    padding:8px!important;
    border-radius:10px!important;
  }
  .page-id-24563 .mp14-breadcrumb>button span{
    display:none!important;
  }
}
