:root{
  --instable-note-size:4.3rem;
  --instable-bubble-top:-1.9rem;
  --instable-bubble-tail-left:1.05rem;
}

html{
  font-size:16px;
}

@font-face{
  font-family:'SF Pro Display Medium';
  src:url('/story-insta/SFPRODISPLAYMEDIUM.woff2') format('woff2');
  font-weight:500;
  font-style:normal;
}

@font-face{
  font-family:'SF Pro Display Regular';
  src:url('/story-insta/SFPRODISPLAYREGULAR.woff2') format('woff2');
  font-weight:400;
  font-style:normal;
}

body{
  background:#fff;
}

.layout{
  display:grid;
  grid-template-columns:1fr;
  max-width:1170px;
  margin:auto;
}

@media (min-width:768px){
  .layout{
    grid-template-columns:1fr 1fr;
    gap:2rem;
  }
}

.special-container{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding:1rem;
  margin-top:.75rem;
  min-height:800px;
}

@media (max-width:450px){
  .special-container{
    padding:0;
  }
}

.form-container{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:1rem;
  padding:1rem;
  margin-top:.75rem;
  background-color:#f9f9f9;
  box-shadow:0 0 2px #ccc;
}

.main-container{
  width:370px;
  height:700px;
  position:relative;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background-color:#fff;
  box-shadow:0 0 10px rgba(0,0,0,.30);
}

#mainContainer{
  position:relative;
  --preview-font-scale:1;
}

#mainContainer::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:8px;
  transform:translateX(-50%);
  width:120px;
  height:4px;
  background:#000;
  border-radius:999px;
  z-index:9999;
  pointer-events:none;
}

.bezzel-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
  padding:6px 24px 0 35px;
  background:#fff;
}

.time-para{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0;
  color:#000;
  line-height:1;
  font-family:'SF Pro Display Medium',system-ui,-apple-system,sans-serif;
  font-size:calc(.875rem * var(--preview-font-scale));
  transition:color .2s ease;
}

.time-para.is-green-pill{
  color:#fff;
}

.time-para.is-green-pill::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:calc(100% + 1.7rem);
  height:calc(100% + .65rem);
  background:#5cb25d;
  border-radius:999px;
  z-index:-1;
}

.time-icon{
  width:10px;
  height:auto;
  display:inline-block;
  vertical-align:middle;
  margin-left:4px;
}

.icons-container1{
  display:flex;
  align-items:center;
  gap:4px;
  height:30px;
}

.new-header-iphone-signal-icon,
.new-header-iphone-network-icon,
.new-header-iphone-wifi-icon,
.new-header-iphone-airplane-icon{
  width:14px;
  height:auto;
}

.new-header-iphone-battery-normal,
.new-header-iphone-battery-charge,
.new-header-iphone-battery-percent{
  width:22px;
  height:auto;
}

.instable-screen{
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
  background:#fff;
}

.instable-scroll-area{
  flex:1;
  min-height:0;
  overflow-y:auto;
  padding:.5rem .875rem 6rem .875rem;
  background:#fff;
  -ms-overflow-style:none;
  scrollbar-width:none;
}

.instable-scroll-area::-webkit-scrollbar{
  width:0;
  height:0;
  display:none;
}

.instable-header-row{
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  padding:.2rem 0;
}

.instable-header-row.is-scrolled{
  border-bottom:.5px solid rgba(0,0,0,.06);
}

.instable-header-center{
  display:inline-flex;
  align-items:center;
  gap:.3rem;
}

.instable-header-username{
  color:#000;
  letter-spacing:-.02em;
  font-family:'SF Pro Display Medium',system-ui,-apple-system,sans-serif;
  font-size:calc(1.20rem * var(--preview-font-scale));
  font-weight:800;
}

.instable-header-caret{
  width:.6rem;
  height:auto;
  display:block;
  margin-top:.2rem;
  opacity:.95;
}

.instable-header-reddot{
  width:.45rem;
  height:.45rem;
  display:none;
  margin-top:.2rem;
  background:#ff2d2d;
  border-radius:999px;
}

.instable-header-right{
  position:absolute;
  top:50%;
  right:14px;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  gap:1.1rem;
}

.instable-header-more{
  width:1rem;
  height:auto;
  display:none;
}

.instable-header-compose{
  width:1.2rem;
  height:auto;
  display:block;
}

.instable-search-wrap{
  margin-top:.2rem;
  display:flex;
  align-items:center;
  gap:.75rem;
}

.instable-searchbar{
  flex:1;
  min-width:0;
  display:flex;
  align-items:center;
  gap:.6rem;
  padding:.45rem .8rem;
  background:#f3f4f6;
  border-radius:999px;
}

.instable-searchbar.is-pro{
  border-radius:10px;
}

.instable-search-icon{
  width:.8rem;
  height:auto;
  display:block;
  opacity:.65;
}

.instable-search-text{
  flex:1;
  min-width:0;
  color:#8b8b8b;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-family:'SF Pro Display Regular',system-ui,-apple-system,sans-serif;
  font-size:calc(.95rem * var(--preview-font-scale));
}

.instable-search-filter{
  display:none;
  color:#2f57ff;
  white-space:nowrap;
  font-family:'SF Pro Display Medium',system-ui,-apple-system,sans-serif;
  font-size:calc(.95rem * var(--preview-font-scale));
}

.instable-notesrow{
  margin-top:2.5rem;
  display:flex;
  align-items:flex-start;
  gap:1.2rem;
  flex-wrap:nowrap;
  width:max-content;
  min-width:100%;
}

.instable-noteitem{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.15rem;
}

.instable-noteitem.is-thread-note{
  flex:0 0 auto;
}

.instable-note-avatarbox{
  position:relative;
  width:var(--instable-note-size);
  height:var(--instable-note-size);
}

.instable-note-avatar,
.instable-map-avatar{
  width:var(--instable-note-size);
  height:var(--instable-note-size);
  border-radius:999px;
  background:#d9dee5;
  background-size:cover;
  background-position:center;
}

.instable-note-bubble{
  position:absolute;
  top:var(--instable-bubble-top);
  left:0;
  bottom:auto;
  transform:none;
  z-index:3;
  display:none;
  width:max-content;
  min-width:2.1rem;
  max-width:var(--instable-note-size);
  box-sizing:border-box;
  padding:.55rem .42rem;
  color:#6b6b6b;
  text-align:center;
  line-height:1.08;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
  background:#fff;
  border-radius:.8rem;
  box-shadow:0 3px 9px rgba(0,0,0,.1);
  font-family:'SF Pro Display Regular',system-ui,-apple-system,sans-serif;
  font-size:calc(.7rem * var(--preview-font-scale));
}

.instable-note-bubble::before{
  content:"";
  position:absolute;
  left:var(--instable-bubble-tail-left);
  bottom:-4px;
  transform:translateX(-50%);
  width:15px;
  height:13px;
  background:#fff;
  border-radius:15px;
}

.instable-note-bubble::after{
  content:"";
  position:absolute;
  left:calc(var(--instable-bubble-tail-left) + .25rem);
  bottom:-12px;
  transform:translateX(-50%);
  width:6px;
  height:6px;
  background:#fff;
  border-radius:999px;
  box-shadow:0 6px 12px rgba(0,0,0,.06);
}

.instable-note-label{
  color:#6b6b6b;
  font-family:'SF Pro Display Regular',system-ui,-apple-system,sans-serif;
  font-size:calc(.70rem * var(--preview-font-scale));
}

.instable-locrow{
  display:flex;
  align-items:center;
  gap:.1rem;
  max-width:160px;
  margin-top:-.1rem;
}

.instable-locx{
  width:7px;
  height:auto;
  display:block;
}

.instable-loctext{
  color:#000;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-family:'SF Pro Display Medium',system-ui,-apple-system,sans-serif;
  font-size:calc(.6rem * var(--preview-font-scale));
}

.instable-map-label{
  color:#000;
  font-family:'SF Pro Display Regular',system-ui,-apple-system,sans-serif;
  font-size:calc(.70rem * var(--preview-font-scale));
}

.instable-note-contact-wrap{
  position:relative;
  width:var(--instable-note-size);
  height:var(--instable-note-size);
}

.instable-note-contact-ring{
  width:100%;
  height:100%;
  padding:0;
  background:transparent;
  border-radius:999px;
}

.instable-note-contact-ring.is-gray{
  border:2.5px solid #c9cbd19c;
}

.instable-note-contact-ring.is-insta{
  padding:2px;
  background:conic-gradient(from 30deg,#da3ed3,#fd1d1d,#ee8031,#f7d046,#ee8031,#fd1d1d,#da3ed3);
}

.instable-note-contact-gap{
  width:100%;
  height:100%;
  padding:0;
  background:transparent;
  border-radius:999px;
}

.instable-note-contact-ring.is-gray .instable-note-contact-gap,
.instable-note-contact-ring.is-insta .instable-note-contact-gap{
  padding:2px;
  background:#fff;
}

.instable-note-contact-avatar{
  width:100%;
  height:100%;
  border:.5px solid #7d7d7e1f;
  border-radius:999px;
  background:#d9dee5;
  background-size:cover;
  background-position:center;
}

.instable-note-contact-online{
  position:absolute;
  right:2px;
  bottom:2px;
  width:.95rem;
  height:.95rem;
  z-index:3;
  opacity:0;
  background:#2ad14a;
  border:3px solid #fff;
  border-radius:999px;
}

.instable-note-contact-online.is-visible{
  opacity:1;
}

.instable-note-contact-name{
  max-width:var(--instable-note-size);
  color:#000;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-family:'SF Pro Display Regular',system-ui,-apple-system,sans-serif;
  font-size:calc(.70rem * var(--preview-font-scale));
}

.instable-protabs{
  width:100%;
  margin-top:.85rem;
  margin-bottom:.85rem;
  display:none;
  align-items:center;
  gap:.5rem;
}

.instable-protab{
  flex:1 1 auto;
  min-width:0;
  padding:.3rem .65rem;
  color:#000;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  text-align:center;
  background:#f1f2f5;
  border:0;
  border-radius:.5rem;
  font-family:'SF Pro Display Medium',system-ui,-apple-system,sans-serif;
  font-size:calc(.7rem * var(--preview-font-scale));
}

.instable-protab.is-active{
  background:#e8f0ff;
  color:#495dfc;
}

.instable-sectionhead{
  margin-top:.5rem;
  margin-bottom:.5rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.instable-messages-title{
  color:#000;
  font-family:'SF Pro Display Medium',system-ui,-apple-system,sans-serif;
  font-size:calc(1rem * var(--preview-font-scale));
  font-weight:900;
}

.instable-requests-title{
  color:#6b7179;
  font-family:'SF Pro Display Medium',system-ui,-apple-system,sans-serif;
  font-size:calc(.8rem * var(--preview-font-scale));
}

.instable-requests-title.is-hot{
  color:#2f57ff;
}

.instable-thread{
  display:flex;
  align-items:center;
  gap:.5rem;
  padding:.30rem 0;
}

.instable-thread-avatarwrap{
  position:relative;
  overflow:visible;
}

.instable-thread-ring{
  width:3.2rem;
  height:3.2rem;
  padding:0;
  background:transparent;
  border-radius:999px;
}

.instable-thread-ring.is-gray{
  border:2.5px solid #c9cbd19c;
}

.instable-thread-ring.is-insta{
  padding:2px;
  background:conic-gradient(from 30deg,#da3ed3,#fd1d1d,#ee8031,#f7d046,#ee8031,#fd1d1d,#da3ed3);
  border:none;
}

.instable-thread-gap{
  width:100%;
  height:100%;
  padding:2px;
  background:#fff;
  border-radius:999px;
}

.instable-thread-avatar{
  width:100%;
  height:100%;
  border:.5px solid #7d7d7e1f;
  border-radius:999px;
  background:#d9dee5;
  background-size:cover;
  background-position:center;
}

.instable-thread-online{
  position:absolute;
  right:2px;
  bottom:2px;
  width:.9rem;
  height:.9rem;
  z-index:10;
  opacity:0;
  pointer-events:none;
  background:#2ad14a;
  border:3px solid #fff;
  border-radius:999px;
}

.instable-thread-online.is-visible{
  opacity:1;
}

.instable-thread-body{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:3px;
}

.instable-thread-username{
  display:inline-flex;
  align-items:center;
  gap:3px;
  max-width:100%;
  margin:0;
  line-height:1.05;
  color:#000;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-family:'SF Pro Display Regular',system-ui,-apple-system,sans-serif;
  font-size:calc(.8rem * var(--preview-font-scale));
}

.instable-thread-username-text{
  display:block;
  min-width:0;
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.instable-thread-verified{
  width:13px;
  height:13px;
  flex:0 0 auto;
  display:block;
}

.instable-thread-msgline{
  display:flex;
  align-items:baseline;
  gap:.25rem;
  min-width:0;
  margin:0;
  line-height:1.05;
}

.instable-thread-message{
  flex:0 1 auto;
  min-width:0;
  color:#8b8b8b;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-family:'SF Pro Display Regular',system-ui,-apple-system,sans-serif;
  font-size:calc(.8rem * var(--preview-font-scale));
}

.instable-thread-time{
  flex:0 0 auto;
  color:#8b8b8b;
  white-space:nowrap;
  font-family:'SF Pro Display Regular',system-ui,-apple-system,sans-serif;
  font-size:calc(.8rem * var(--preview-font-scale));
}

.instable-thread-right{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:.6rem;
}

.instable-thread-unreaddot{
  width:.45rem;
  height:.45rem;
  display:none;
  background:#5465f6;
  border-radius:999px;
}

.instable-thread-photoicon{
  width:1.2rem;
  height:auto;
  display:block;
  opacity:.9;
}

.instable-thread.is-unread .instable-thread-username-text{
  font-family:'SF Pro Display Medium',system-ui,-apple-system,sans-serif;
}

.instable-thread.is-unread .instable-thread-message{
  color:#000;
  font-family:'SF Pro Display Medium',system-ui,-apple-system,sans-serif;
}

.instable-thread.is-unread .instable-thread-unreaddot{
  display:block;
}

.instable-thread.is-unread .instable-thread-time{
  color:#8b8b8b;
  font-family:'SF Pro Display Regular',system-ui,-apple-system,sans-serif;
  font-weight:400;
}

.instable-footer{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-around;
  padding:.85rem 0 2.3rem 0;
  background:#fff;
  border-top:.5px solid rgba(0,0,0,.06);
}

.instable-footer-item{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.instable-footer-icon{
  width:1.2rem;
  height:auto;
  object-fit:contain;
  display:block;
}

.instable-footer-profilewrap{
  width:1.3rem;
  height:1.3rem;
  overflow:hidden;
  background:#d9dee5;
  border-radius:999px;
}

.instable-footer-profileimg{
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center;
}

.instable-footer-unread{
  position:absolute;
  right:-3px;
  bottom:-1px;
  width:6px;
  height:6px;
  display:none;
  background:#ff2d2d;
  border-radius:999px;
}

.instable-footer-center.has-unread{
  transform:translateX(-4px);
}

.instable-footer-center.has-unread .instable-footer-unread{
  display:block;
}

.toggle-switch{
  position:relative;
  display:inline-block;
  width:46px;
  height:24px;
}

.toggle-switch input{
  opacity:0;
  width:0;
  height:0;
}

.toggle-slider{
  position:absolute;
  inset:0;
  cursor:pointer;
  background-color:#d1d5db;
  border-radius:999px;
  transition:.2s;
}

.toggle-slider:before{
  content:"";
  position:absolute;
  left:3px;
  bottom:3px;
  width:18px;
  height:18px;
  background:#fff;
  border-radius:999px;
  transition:.2s;
}

.toggle-switch input:checked + .toggle-slider{
  background-color:#3b82f6;
}

.toggle-switch input:checked + .toggle-slider:before{
  transform:translateX(22px);
}

#myProgress{
  width:100%;
  display:none;
  overflow:hidden;
  text-align:center;
  background-color:#ddd;
  border-radius:10px;
}

#myBar{
  width:1%;
  height:26px;
  position:relative;
  text-align:center;
  background-color:#373737;
  border-radius:10px;
}

#myBar span{
  color:#fff;
  line-height:26px;
  font-size:.9rem;
  font-weight:600;
}

.btn-darkish{
  background:#343434;
  color:#fff;
  border:none;
}

.ps-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.ps-actions .btn{
  flex:1;
}

.ps-modal-title{
  font-weight:900;
}

.ps-small{
  font-size:.8rem;
}

#gold-countdown{
  display:none;
}

.d-none-soft{
  display:none !important;
}

.thread-card-toggle{
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
}

.thread-card-title{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.thread-card-chevron{
  flex:0 0 auto;
  font-size:.9rem;
  line-height:1;
  transition:transform .2s ease;
}

.thread-card-toggle.collapsed .thread-card-chevron{
  transform:rotate(-90deg);
}

.thread-card-drag{
  cursor:grab;
  user-select:none;
}

.thread-card-drag:active{
  cursor:grabbing;
}

.ps-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:10px 16px;
  color:#111;
  background:#f3f4f6;
  border:1px solid transparent;
  border-radius:10px;
  cursor:pointer;
  text-decoration:none;
  line-height:1.2;
  font-family:Arial,sans-serif;
  font-size:14px;
  font-weight:600;
  transition:all .2s ease;
}

.ps-btn:hover{
  opacity:.92;
}

.ps-btn-block{
  width:100%;
}

.ps-btn-sm{
  padding:8px 12px;
  font-size:13px;
}

.ps-btn-primary{
  color:#fff;
  background:#0d6efd;
  border-color:#0d6efd;
}

.ps-btn-success{
  color:#fff;
  background:#198754;
  border-color:#198754;
}

.ps-btn-secondary{
  color:#fff;
  background:#6c757d;
  border-color:#6c757d;
}

.ps-btn-outline{
  color:#6c757d;
  background:#fff;
  border-color:#ced4da;
}

.ps-btn-danger-outline{
  color:#dc3545;
  background:#fff;
  border-color:#dc3545;
}

footer::before,
footer::after{
  content:none !important;
  display:none !important;
}

#progress{
  display:none !important;
}


.instable-note-contact-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:3px;
  max-width:var(--instable-note-size);
}

.instable-note-contact-name{
  max-width:calc(var(--instable-note-size) - 16px);
  color:#000;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-family:'SF Pro Display Regular',system-ui,-apple-system,sans-serif;
  font-size:calc(.70rem * var(--preview-font-scale));
}

.instable-note-contact-verified{
  width:12px;
  height:12px;
  flex:0 0 auto;
  display:block;
}