@charset "UTF-8";
.button, .facetwp-load-more, input[type=submit] {
  font-size: 14px;
  line-height: 1;
  padding: 13px 36px;
  min-width: 235px;
  border-radius: 50px;
  background: #02ad96;
  border: 2px solid #02ad96;
  color: #fff5f5;
  text-decoration: none;
  font-weight: 700;
  transition: 150ms linear all;
}
.button:hover, .facetwp-load-more:hover, input[type=submit]:hover, .button.active, .active.facetwp-load-more, input.active[type=submit] {
  color: #02ad96;
  background: transparent;
  transition: 150ms linear all;
}

/* ============================
   BIG-SCREEN OVERRIDES (>= 2100px)
   ============================ */
@media (min-width: 2100px) {
  .button, .facetwp-load-more, input[type=submit] {
    font-size: 1.0606060606vw;
    padding: 0.9848484848vw 2.7272727273vw;
    min-width: 17.803030303vw;
    border-radius: 3.7878787879vw;
    border-width: 0.1515151515vw;
  }
}
.creating-story {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.creating-story.visible {
  opacity: 1;
  pointer-events: auto;
  transition: 150ms linear opacity;
}
.creating-story.visible .circle-container {
  opacity: 1;
  transition: 350ms linear opacity 0.25s;
}
.creating-story.visible .title {
  opacity: 1;
  transition: 350ms linear opacity 1.5s;
}
.creating-story.visible .step {
  opacity: 1;
}
.creating-story.visible .step:nth-child(1) {
  transition: 350ms linear opacity 3s;
}
.creating-story.visible .step:nth-child(2) {
  transition: 350ms linear opacity 4.5s;
}
.creating-story.visible .step:nth-child(3) {
  transition: 350ms linear opacity 6s;
}
.creating-story.visible .view-story-button {
  opacity: 1;
  transition: 350ms linear opacity 9.5s;
}
.creating-story .throbbing {
  border: 3px solid #d9d9d9;
  background-color: #d9d9d9;
  height: 92px;
  width: 92px;
  border-radius: 50%;
  z-index: 999;
  display: inline-block;
}
.creating-story .title {
  text-align: center;
  text-transform: uppercase;
  font-size: 54px;
  font-weight: 700;
}
.creating-story .step {
  text-align: center;
  color: #0d1a2d;
  text-transform: uppercase;
  font-size: 28px;
  font-weight: 800;
  color: #d4a8f5;
}

section.structure-block-participant {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff5f5;
  opacity: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: 500ms linear opacity;
}
section.structure-block-participant.active {
  opacity: 1;
  pointer-events: auto;
  transition: 500ms linear opacity;
}
section.structure-block-participant .simple-hero {
  padding-top: 50px;
  padding-bottom: 50px;
}

section.writing {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background-color: #fff5f5;
}
section.writing.active {
  pointer-events: auto;
  opacity: 1;
  transition: 500ms linear opacity 3s;
}

.structure-block-leader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: scroll;
  background: #fff5f5;
  transition: 150ms linear opacity 150ms;
  pointer-events: none;
  opacity: 0;
}

.story-archetype-block {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: scroll;
  background: #fff5f5;
  opacity: 0;
  pointer-events: none;
}
.story-archetype-block .simple-hero {
  padding-bottom: 100px;
  padding-top: 0 !important;
}
.story-archetype-block .simple-hero .simple-hero-inner {
  padding-top: 0 !important;
}
.story-archetype-block .btn-group {
  width: 100%;
}
.story-archetype-block .btn-group label {
  flex: 1;
}
.story-archetype-block .btn-group label img,
.story-archetype-block .btn-group label svg {
  width: 100%;
  height: auto;
}
.story-archetype-block .story-archetype-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.story-archetype-block .btn-outline-primary {
  padding: 10px;
  border-color: transparent;
  color: #ffbf40;
}
.story-archetype-block .btn-outline-primary:hover {
  color: #ffbf40;
  background-color: #ffbf40;
}
.story-archetype-block .btn-outline-primary .card-image {
  display: inline-block;
}
.story-archetype-block .archetype-modal {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: #fff5f5;
  z-index: 5;
}
.story-archetype-block .archetype-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.story-archetype-block .btn-check:active + .btn-outline-primary,
.story-archetype-block .btn-check:checked + .btn-outline-primary,
.story-archetype-block .btn-outline-primary.active,
.story-archetype-block .btn-outline-primary.dropdown-toggle.show,
.story-archetype-block .btn-outline-primary:active {
  background-color: #f45346;
  border-color: transparent;
}
.story-archetype-block .btn-check:focus + .btn-outline-primary,
.story-archetype-block .btn-outline-primary:focus {
  box-shadow: none;
}

main[data-progression=""] .structure-block-leader {
  pointer-events: auto;
  opacity: 1;
}

main[data-user-type=admin][data-progression=writing] .writing {
  opacity: 1;
  pointer-events: auto;
}

main[data-progression=archetype] .structure-block-leader {
  opacity: 0;
  pointer-events: none;
  transition: 150ms linear opacity 150ms;
}
main[data-progression=archetype] .story-archetype-block {
  opacity: 1;
  pointer-events: auto;
  transition: 150ms linear opacity 150ms;
}

main[data-progression=lobby] .story-questions-container,
main[data-progression=lobby] .writing {
  opacity: 0;
  pointer-events: none;
}

.story-structure-form .form-group {
  opacity: 0;
  transition: 500ms linear all;
}
.story-structure-form[data-progress="0"] .hero-group {
  opacity: 1;
}
.story-structure-form[data-progress="1"] .hero-group,
.story-structure-form[data-progress="1"] .villain-group {
  opacity: 1;
}
.story-structure-form[data-progress="2"] .hero-group,
.story-structure-form[data-progress="2"] .villain-group,
.story-structure-form[data-progress="2"] .quest-group {
  opacity: 1;
}
.story-structure-form[data-progress="3"] .hero-group,
.story-structure-form[data-progress="3"] .villain-group,
.story-structure-form[data-progress="3"] .quest-group,
.story-structure-form[data-progress="3"] .setting-group {
  opacity: 1;
}
.story-structure-form[data-progress="4"] .hero-group,
.story-structure-form[data-progress="4"] .villain-group,
.story-structure-form[data-progress="4"] .quest-group,
.story-structure-form[data-progress="4"] .setting-group,
.story-structure-form[data-progress="4"] .end-group {
  opacity: 1;
}
.story-structure-form[data-progress="5"] .hero-group,
.story-structure-form[data-progress="5"] .villain-group,
.story-structure-form[data-progress="5"] .quest-group,
.story-structure-form[data-progress="5"] .setting-group,
.story-structure-form[data-progress="5"] .end-group,
.story-structure-form[data-progress="5"] .submit-group {
  opacity: 1;
}

/* ============================
   BIG-SCREEN OVERRIDES (>= 2100px)
   ============================ */
@media (min-width: 2100px) {
  .creating-story .throbbing {
    border-width: 0.2272727273vw;
    height: 6.9696969697vw;
    width: 6.9696969697vw;
  }
  .creating-story .title {
    font-size: 4.0909090909vw;
  }
  .creating-story .step {
    font-size: 2.1212121212vw;
  }
  .story-archetype-block .simple-hero {
    padding-bottom: 7.5757575758vw;
  }
  .story-archetype-block .story-archetype-form {
    gap: 2.2727272727vw;
  }
  .story-archetype-block .btn-outline-primary {
    padding: 0.7575757576vw;
  }
}
.content-row {
  padding-bottom: 120px;
  scroll-margin-top: 50px;
}

.content-rows {
  padding-top: 50px;
  margin-bottom: 150px;
}

p:has(.alignleft) {
  text-align: left;
}

p:has(.aligncenter) {
  text-align: center;
}

p:has(.alignright) {
  text-align: right;
}

p img {
  width: revert-layer;
  height: revert-layer;
}

@media only screen and (max-width: 767px) {
  .content-rows .content-row {
    margin-bottom: 50px;
  }
}
@media only screen and (max-width: 480px) {
  .content-rows {
    padding-bottom: 25px;
  }
}
.bootstrap-tagsinput {
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  display: inline-block;
  padding: 4px 6px;
  color: #555;
  vertical-align: middle;
  border-radius: 4px;
  max-width: 100%;
  line-height: 22px;
  cursor: text;
}
.bootstrap-tagsinput.has-focus {
  background-color: #fff;
  border-color: #5cb3fd;
}
.bootstrap-tagsinput .label-info {
  display: inline-block;
  background-color: #5cb3fd;
  padding: 0 0.4em 0.15em;
  border-radius: 0.25rem;
  margin-bottom: 0.4em;
}
.bootstrap-tagsinput input {
  border: 0;
  width: auto;
}
.bootstrap-tagsinput input:focus {
  outline: none;
}

.bootstrap-tagsinput .tag [data-role=remove]:after {
  content: "×";
  margin-left: 5px;
}

.form-control,
.bootstrap-tagsinput {
  border: 2px solid #fde7e7;
  background-color: #fff5f5;
  border-radius: 6px;
  font-size: 18px;
}
.form-control:focus,
.bootstrap-tagsinput:focus {
  background-color: inherit;
  border-color: #fde7e7;
  box-shadow: 0 0 0 0.25rem rgba(2, 173, 150, 0.25);
}

.form-group {
  margin-bottom: 25px;
}
.form-group .form-group-labels {
  padding: 0;
}
.form-group label {
  font-size: 28px;
  margin-bottom: 10px;
}
.form-group label strong {
  font-weight: 800;
}
.form-group .toast-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: transparent;
  border: 0;
}
.form-group .toast-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-group .form-text {
  width: 100%;
  margin-top: 5px;
  display: inline-block;
  font-size: 18px;
}
.form-group.submit-group {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bootstrap-tagsinput {
  width: 100%;
}
.bootstrap-tagsinput:has(input:focus) {
  box-shadow: 0 0 0 0.25rem rgba(2, 173, 150, 0.25);
}
.bootstrap-tagsinput input {
  background-color: inherit;
}

.disclaimer-form-group {
  max-width: 450px;
  margin: 0 auto 20px auto;
}

/* ============================
   BIG-SCREEN OVERRIDES (>= 2100px)
   ============================ */
@media (min-width: 2100px) {
  .content-row {
    padding-bottom: 9.0909090909vw;
    scroll-margin-top: 3.7878787879vw;
  }
  .content-rows {
    padding-top: 3.7878787879vw;
    margin-bottom: 11.3636363636vw;
  }
  /* Bootstrap Tagsinput */
  .bootstrap-tagsinput {
    border-width: 0.0757575758vw;
    padding: 0.303030303vw 0.4545454545vw;
    line-height: 1.6666666667vw;
    border-radius: 0.303030303vw;
  }
  .bootstrap-tagsinput .label-info {
    /* keep em untouched — it already responds to text scaling */
    padding: 0 0.4em 0.15em;
    border-radius: 0.303030303vw;
    margin-bottom: 0.4em;
  }
  /* Form elements */
  .form-control,
  .bootstrap-tagsinput {
    border-width: 0.1515151515vw;
    font-size: 1.3636363636vw;
    border-radius: 0.4545454545vw;
  }
  .form-group {
    margin-bottom: 1.8939393939vw;
  }
  .form-group label {
    font-size: 2.1212121212vw;
    margin-bottom: 0.7575757576vw;
  }
  .form-group .form-text {
    font-size: 1.3636363636vw;
    margin-top: 0.3787878788vw;
  }
  .form-group .toast-btn {
    padding: 0.4545454545vw 0.7575757576vw;
  }
  .disclaimer-form-group {
    max-width: 34.0909090909vw;
    margin: 0 auto 1.5151515152vw auto;
  }
}
footer {
  padding: 20px;
}
footer .footer-inner {
  border: 2px solid #fde7e7;
  border-radius: 20px;
  padding: 5px 10px;
}
footer p,
footer a.nav-link {
  color: #0d1a2d;
  font-size: 14px;
}
footer a.nav-link:hover {
  color: #02ad96;
}

/* ============================
  BIG-SCREEN OVERRIDES (>= 2100px)
  ============================ */
@media (min-width: 2100px) {
  footer {
    padding: 1.5151515152vw;
  }
  footer .footer-inner {
    border-width: 0.1515151515vw;
    border-radius: 1.5151515152vw;
    padding: 0.3787878788vw 0.7575757576vw;
  }
  footer p,
  footer a.nav-link {
    font-size: 1.0606060606vw;
  }
}
.error-page .error-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.error-page .error-content .error-content-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  height: 100%;
}

#loadingQuestions {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  align-items: center;
  justify-content: center;
  display: flex;
  background: #fff5f5;
  opacity: 0;
  pointer-events: none;
  transition: 250ms linear all;
}
#loadingQuestions.active {
  opacity: 1;
  pointer-events: auto;
  transition: 250ms linear all;
}

/* ============================
   BIG-SCREEN OVERRIDES (>= 2100px)
   ============================ */
.stories-container .row .your-stories-row {
  padding: 30px 20px;
  border-bottom: 2px solid #fde7e7;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: auto;
  grid-template-areas: "icon name name name name notes ownership progress link";
  align-items: center;
  gap: 15px p;
  gap-font-size: 14px;
}
.stories-container .row .your-stories-row .icon-col {
  grid-area: icon;
}
.stories-container .row .your-stories-row .title-col {
  grid-area: name;
}
.stories-container .row .your-stories-row .title-col .story-title {
  font-size: 28px;
  font-weight: 800;
}
.stories-container .row .your-stories-row .title-col .story-title span {
  font-weight: 300;
}
.stories-container .row .your-stories-row .title-col .datetime {
  margin-bottom: 0;
}
.stories-container .row .your-stories-row .notes-col {
  grid-area: notes;
}
.stories-container .row .your-stories-row .ownership-col {
  grid-area: ownership;
}
.stories-container .row .your-stories-row .progress-col {
  grid-area: progress;
}
.stories-container .row .your-stories-row .progress-col .progress-num {
  color: #d4a8f5;
  font-size: 28px;
  margin-bottom: 2px;
  font-weight: 800;
}
.stories-container .row .your-stories-row .link-col {
  grid-area: link;
}

.no-stories-container .no-stories-inner {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: Center;
  padding: 50px;
  margin: 50px auto;
  border: 3px solid #fde7e7;
  border-radius: 65px;
}
.no-stories-container .no-stories-inner .icon {
  margin-bottom: 35px;
}
.no-stories-container .no-stories-inner h2 {
  text-transform: uppercase;
  font-weight: 800;
}

.facetwp-load-more {
  margin-top: 40px;
}

/* ============================
   BIG-SCREEN OVERRIDES (>= 2100px)
   ============================ */
@media (min-width: 2100px) {
  .stories-container .row .your-stories-row {
    padding: 2.2727272727vw 1.5151515152vw;
    border-bottom-width: 0.1515151515vw;
    grid-template-columns: repeat(9, 1fr);
  }
  .stories-container .row .your-stories-row p {
    font-size: 1.0606060606vw;
  }
  .stories-container .row .your-stories-row .story-title {
    font-size: 2.1212121212vw;
  }
  .stories-container .row .your-stories-row .progress-col .progress-num {
    font-size: 2.1212121212vw;
    margin-bottom: 0.1515151515vw;
  }
  /* No Stories display */
  .no-stories-container .no-stories-inner {
    max-width: 60.6060606061vw;
    padding: 3.7878787879vw;
    margin: 3.7878787879vw auto;
    border-width: 0.2272727273vw;
    border-radius: 4.9242424242vw;
  }
  .no-stories-container .no-stories-inner .icon {
    margin-bottom: 2.6515151515vw;
  }
  .facetwp-load-more {
    margin-top: 3.0303030303vw;
  }
}
.flip-cards {
  height: 100vh;
  width: 100%;
  /* ----------------------------
     BASE STATES (not hovered)
  ---------------------------- */
  /* ======================================
     🔥 GLOBAL HOVER — flip BOTH cards
     When hovering anywhere inside `.cols`
  ====================================== */
  /* ================
     TRUE PARALLAX LAYER
     ================= */
}
.flip-cards .cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.flip-cards .flip-col {
  width: calc(50% - 2rem);
  margin: 1rem;
  cursor: pointer;
  height: 100%;
}
.flip-cards .card-container {
  transform-style: preserve-3d;
  perspective: 10000px;
}
.flip-cards .front,
.flip-cards .back {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  backface-visibility: hidden;
  text-align: center;
  min-height: 280px;
  border-radius: 21px;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
}
.flip-cards .front img.card-back,
.flip-cards .back img.card-back {
  width: 100%;
  height: auto;
  display: block;
}
.flip-cards .back {
  height: 100%;
  background: #fff5f5;
  overflow: hidden;
}
.flip-cards .back img {
  height: 100% !important;
}
.flip-cards .card-container .back {
  transform: rotateY(180deg);
  transform-style: preserve-3d;
}
.flip-cards .card-container .front {
  transform: rotateY(0deg);
  transform-style: preserve-3d;
}
.flip-cards .cols:hover .card-container .back {
  transform: rotateY(0deg);
  transform-style: preserve-3d;
}
.flip-cards .cols:hover .card-container .front {
  transform: rotateY(-180deg);
  transform-style: preserve-3d;
}
.flip-cards .back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.flip-cards .inner {
  transform: translateY(-50%) translateZ(60px) scale(0.9);
  top: 50%;
  position: absolute;
  left: 0;
  width: 100%;
  padding: 2rem;
  box-sizing: border-box;
  perspective: inherit;
  z-index: 2;
  transform-style: preserve-3d;
}
.flip-cards .front .inner p {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
}
.flip-cards .front .inner p:after {
  content: "";
  width: 4rem;
  height: 2px;
  position: absolute;
  background: #c6d4df;
  display: block;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: -0.75rem;
}
.flip-cards .front .inner span {
  color: rgba(255, 255, 255, 0.7);
  font-family: "Montserrat";
  font-weight: 300;
}

/* ============================
   RESPONSIVE
============================ */
@media screen and (max-width: 64rem) {
  .flip-col {
    width: calc(33.333333% - 2rem);
  }
}
@media screen and (max-width: 48rem) {
  .flip-col {
    width: calc(50% - 2rem);
  }
}
@media screen and (max-width: 32rem) {
  .flip-col {
    width: 100%;
    margin: 0 0 2rem 0;
  }
}
/* ============================
   SECTION LAYOUT
============================ */
.flip-cards-col-container {
  width: 100%;
  gap: 50px;
}

.flashcards-section-inner {
  opacity: 0;
  pointer-events: none;
  transition: 350ms linear opacity;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff5f5;
}
.flashcards-section-inner.active {
  opacity: 1;
  pointer-events: auto;
  transition: 350ms linear opacity;
}
.flashcards-section-inner h2 {
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
}
.flashcards-section-inner h2 span,
.flashcards-section-inner h2 strong {
  font-weight: 800;
}
.flashcards-section-inner .flip-cards-wrapper {
  flex: 3;
  width: 100%;
}
.flashcards-section-inner .flip-cards-writing {
  flex: 2;
  width: 100%;
}
.flashcards-section-inner .note-editable {
  min-height: 60vh;
  max-height: 60vh;
  overflow-y: auto;
}

/* ============================
   BIG-SCREEN OVERRIDES (>= 2100px)
============================ */
@media (min-width: 2100px) {
  .flip-cards .front,
  .flip-cards .back {
    min-height: 21.2121212121vw;
    border-radius: 1.5909090909vw;
    box-shadow: 0 0.303030303vw 0.6060606061vw 0 rgba(0, 0, 0, 0.25);
  }
  .flashcards-section-inner h2 {
    font-size: 2.1212121212vw;
  }
  .flip-cards-col-container {
    gap: 3.7878787879vw;
  }
}
.flip-cards .inner {
  transition: transform 350ms ease-in-out;
  transform: translateY(-50%) translateZ(60px) scale(0.9);
}
.flip-cards .inner.swapping {
  transition: transform 350ms ease-in-out;
  transform: translateY(-50%) translateZ(60px) scale(0.7);
}

#storyQuestionsContainer .story-questions-container {
  opacity: 0;
  pointer-events: none;
  transition: 500ms linear opacity;
  height: 100vh;
  overflow: scroll;
}
#storyQuestionsContainer.active .story-questions-container {
  opacity: 1;
  transition: 500ms linear opacity;
  pointer-events: auto;
}

.story-questions-container {
  width: 100vw;
  overflow: hidden;
  height: 100%;
}
.story-questions-container .questions-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
}
.story-questions-container .questions-container .question {
  width: 100vw;
  min-width: 100vw;
}
.story-questions-container .questions-container .question .prompt-answer-form {
  padding: 20px;
  width: 100%;
}
.story-questions-container .questions-container .question .prompt-answer-form label {
  margin-bottom: 30px;
  font-size: 28px;
}
.story-questions-container .questions-container .question .prompt-answer-form textarea {
  border-radius: 6px;
  background: #fff5f5;
  border: 2px solid #fde7e7;
  width: 100%;
  max-width: 890px;
  font-size: 28px;
}
.story-questions-container .step-count-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.story-questions-container .step-count {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fde7e7;
  border-radius: 50%;
  position: relative;
  transition: 150ms linear all;
}
.story-questions-container .step-count:after {
  transition: 500ms linear transform;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background-color: #f45346;
  transform: scale(0);
  will-change: scale;
  border-radius: 50%;
  z-index: 0;
}
.story-questions-container .step-count.active {
  transition: 150ms linear all;
}
.story-questions-container .step-count.active:after {
  transition: 500ms linear transform;
  transform: scale(1);
}
.story-questions-container .step-count p {
  position: relative;
  font-size: 14px;
  letter-spacing: normal;
  margin: 0;
  line-height: 1;
  z-index: 2;
}

.story-lobby {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes float {
  0% {
    margin-top: 0;
    margin-bottom: 0;
  }
  50% {
    margin-top: -20px;
    margin-bottom: 20px;
  }
  100% {
    margin-top: 0;
    margin-bottom: 0;
  }
}
.story-lobby .user-column {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}
.story-lobby .user-column:nth-child(2) .user-avatar {
  animation-delay: 150ms;
}
.story-lobby .user-column:nth-child(3) .user-avatar {
  animation-delay: 300ms;
}
.story-lobby .user-column:nth-child(4) .user-avatar {
  animation-delay: 210ms;
}
.story-lobby .user-column:nth-child(5) .user-avatar {
  animation-delay: 190ms;
}
.story-lobby .user-column:nth-child(6) .user-avatar {
  animation-delay: 440ms;
}
.story-lobby .user-column:nth-child(7) .user-avatar {
  animation-delay: 310ms;
}
.story-lobby .user-column:nth-child(8) .user-avatar {
  animation-delay: 490ms;
}
.story-lobby .user-column .user-avatar {
  transform-origin: bottom center;
  transform: scale(0.75);
  will-change: transform;
  animation-name: float;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  filter: grayscale(100%);
}
.story-lobby .user-column p {
  opacity: 0.5;
}
.story-lobby .user-column.completed {
  transition: 500ms 500ms linear all;
}
.story-lobby .user-column.completed .user-avatar {
  animation-iteration-count: 0;
  filter: grayscale(0%);
  transform: scale(1);
  transition: 500ms 500ms linear all;
}
.story-lobby .user-column.completed p {
  transition: 500ms 500ms linear opacity;
  opacity: 1;
}
.story-lobby .user-column p {
  margin-bottom: 0;
}

.swiper-wrapper {
  width: auto;
}

/* ============================
   BIG-SCREEN OVERRIDES (>= 2100px)
   ============================ */
@media (min-width: 2100px) {
  /* Root container fade state remains untouched — only scaling */
  .story-questions-container .questions-container .question .prompt-answer-form {
    padding: 1.5151515152vw;
  }
  .story-questions-container .questions-container .question .prompt-answer-form label {
    font-size: 2.1212121212vw;
    margin-bottom: 2.2727272727vw;
  }
  .story-questions-container .questions-container .question .prompt-answer-form textarea {
    max-width: 67.4242424242vw;
    font-size: 2.1212121212vw;
    border-width: 0.1515151515vw;
    border-radius: 0.4545454545vw;
  }
  /* Step indicators */
  .story-questions-container .step-count-container {
    gap: 0.6060606061vw;
  }
  .story-questions-container .step-count {
    width: 2.8787878788vw;
    height: 2.8787878788vw;
  }
  .story-questions-container .step-count p {
    font-size: 1.0606060606vw;
  }
  /* Story lobby */
  .story-lobby {
    top: 0;
    left: 0;
  }
  .story-lobby .user-column {
    gap: 1.5151515152vw;
  }
  .story-lobby .user-column p {
    margin-bottom: 0;
  }
  .swiper-wrapper {
    width: auto;
  }
}
.story-results .user-answer {
  max-width: 362px;
  min-width: 362px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  height: auto;
}
.story-results .user-answer .story-prompt-answer {
  padding: 72px 15px;
  width: 100%;
  background: #fde7e7;
  display: flex !important;
  flex-direction: column;
  height: auto;
  flex-grow: 1;
}
.story-results .user-answer .user-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}
.story-results .prompt-title {
  font-weight: 900;
}

/* NEW: base highlighted span starts transparent and will animate background-color */
.highlighted {
  /* NEW: start from transparent so we can fade in */
  background-color: transparent;
  /* NEW: animate background-color for smooth fade in/out */
  transition: background-color 150ms ease;
}

/* NEW: when .active is present, we show the highlight color (set this color as you like) */
.highlighted.active {
  /* NEW: your highlight color here (or use a CSS variable) */
  background-color: #02ad96;
}

.outer-tabs-navs {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
}
.outer-tabs-navs .outer-nav-pills {
  background: #fde7e7;
  border-radius: 50px;
}
.outer-tabs-navs .outer-nav-pills button {
  color: #0d1a2d;
  text-transform: uppercase;
  font-weight: 800;
  background-color: #fde7e7;
  border-radius: 50px;
  transition: 150ms linear all;
}
.outer-tabs-navs .outer-nav-pills button.active {
  color: #0d1a2d;
  background-color: #02ad96;
  transition: 150ms linear all;
}

.story-results .questions-pills {
  margin-top: 20px;
}
.story-results .questions-pills button.nav-link {
  background: transparent;
  color: #0d1a2d;
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
}
.story-results .questions-pills button.nav-link.active {
  background: transparent;
  color: #02ad96;
}

.container-wider {
  max-width: 1600px;
  margin: 0 auto;
}

.count-container {
  padding: 0 40px;
  gap: 10px 30px;
}
.count-container button {
  border: 0;
  padding: 0;
  background: transparent;
}
.count-container button p.count {
  color: #02ad96;
  font-size: 14px;
}
.count-container button p.word {
  transition: 150ms linear all;
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
}
.count-container button.active p.word {
  transition: 150ms linear all;
  color: #02ad96;
}

.scrollbar-container .swiper-scrollbar {
  max-width: 500px;
}

/* ============================
   BIG-SCREEN OVERRIDES (>= 2100px)
   ============================ */
@media (min-width: 2100px) {
  .story-results .user-answer {
    max-width: 27.4242424242vw;
    min-width: 27.4242424242vw;
    gap: 3.0303030303vw;
  }
  .story-results .user-answer .story-prompt-answer {
    padding: 5.4545454545vw 1.1363636364vw;
  }
  .story-results .user-answer .user-info {
    gap: 0.7575757576vw;
  }
  .outer-tabs-navs {
    margin-top: 1.5151515152vw;
  }
  .outer-tabs-navs .outer-nav-pills {
    border-radius: 3.7878787879vw;
  }
  .outer-tabs-navs .outer-nav-pills button {
    border-radius: 3.7878787879vw;
  }
  .story-results .questions-pills {
    margin-top: 1.5151515152vw;
  }
  .story-results .questions-pills button.nav-link {
    font-size: 1.3636363636vw;
  }
  .container-wider {
    max-width: 121.2121212121vw;
  }
  .count-container {
    padding: 0 3.0303030303vw;
    gap: 0.7575757576vw 2.2727272727vw;
  }
  .count-container button p.count {
    font-size: 1.0606060606vw;
  }
  .count-container button p.word {
    font-size: 1.3636363636vw;
  }
  .scrollbar-container .swiper-scrollbar {
    max-width: 37.8787878788vw;
  }
}
#story-creating-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
}

#story-creating-overlay.active {
  display: flex; /* flex when active */
}

.story-creating-overlay__inner {
  background: #111;
  color: #fff;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.story-creating-overlay__inner h2 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
}

.story-creating-overlay__inner p {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Simple spinner */
.story-creating-overlay__spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  animation: storyCreatingSpin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes storyCreatingSpin {
  to {
    transform: rotate(360deg);
  }
}
/* ============================
   BIG-SCREEN OVERRIDES (>= 2100px)
   ============================ */
@media (min-width: 2100px) {
  .story-creating-overlay__inner {
    padding: 2rem 2.5rem;
    border-radius: 0.9090909091vw;
    max-width: 31.8181818182vw;
    box-shadow: 0 1.5151515152vw 4.5454545455vw rgba(0, 0, 0, 0.6);
  }
  .story-creating-overlay__spinner {
    width: 2.4242424242vw;
    height: 2.4242424242vw;
    border-width: 0.2272727273vw;
  }
}