:root {

  --border: 1px solid #ddd;

  --cc-navscore-bg: #DAEFB3;
  --cc-navscore: #1C2826;

  --cc-navbar: #DAEFB3;

  --cc-msger-bg: #1C2826;

        --cc-voice-bg: #07A0C3;
        --cc-voice: black;
        --left-msg-bg: #BFEDEF;
        --right-msg-bg: #98E2C6;
        --cc-voiceA-bg: #21D19F;
        --cc-voiceA: black;

--cc-level-bg: #FED766;
--cc-level: black;

  --cc-header-bg: #1C2826;
  --cc-navbar-bg: #1C2826;

  --cc-buttonask-bg: #FBC252;
  --cc-buttonfast-bg: #82C3EC;

  --cc-header: #ffffff;

  --cc-navbar-brand: #FF4747;
  --cc-navbar-hover: #000000;
  --cc-form: #ffffff;
  --cc-form-border: #dddddd;


  --qq-quizgroup-bg: #363636;
  --qq-quizgroup: #1C2826;
  --tf-truefalse-bg: #363636;
  --tf-truefalse: #1C2826;
  --qq-button_a-bg: #0F6099;
  --qq-button_a: #DAF7A6;
  --qq-button_b-bg: #583881;
  --qq-button_b: #DAF7A6;
  --qq-button_c-bg: #3a5a40;
  --qq-button_c: #DAF7A6;
  --tf-button_t-bg: #583881;
  --tf-button_t: #DAF7A6;
  --tf-button_f-bg: #3a5a40;
  --tf-button_f: #DAF7A6;


--cc-msger-send-bg: #2CAD2C; /* yeşil */
--cc-msger-play-bg: yellow; /* sarı */



--cc-headbubble-bg: #82C3EC;
--cc-headbubble: #581845;

--cc-scenariobA-bg: #EC7063;
--cc-scenariobB-bg: #DAF7A6;
--cc-scenariobC-bg: #85C1E9;

  box-sizing: border-box;

}

*,
*:before,
*:after {
  box-sizing: inherit;
}



body {

  justify-content: center;
  align-items: center;
    padding-top: 0%;
  background-color: var(--cc-header-bg);
  background-size: cover;
  margin-top: 1.8rem;
  height: 100%;
  font-family: 'Mali', cursive;

  top: 0px !important;
  overflow-y: hidden;
}

.bigger {
  font-size: larger;
}

.navbar {
  padding-top: 0rem;   /* do not delete 0rem, they are fixing size */
  padding-bottom: 0rem;
  font-size: x-large;
  line-height: 1em;
  background-color: var(--cc-navbar-bg) !important;

}

.navbar-nav>li>a {

   color: var(--cc-navbar) !important;
}

.navbar-brand {
   padding-top: 0;
   padding-bottom: 0;
   font-size: xx-large;
   font-weight: 700;
   color: var(--cc-navbar-brand) !important;

}

.nav-link:hover {
    background-color: var(--cc-navbar-hover) !important;

}


.mflex-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 44px - env(safe-area-inset-bottom, 0px));
  margin-top: 44px;
  margin-bottom: env(safe-area-inset-bottom, 0px);
  width: 100%;
}

.aflex-container {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 100%;
    padding: 3px;
}

.flex-container {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-flow: row wrap;
  z-index: 10;
}

.flex-w1 {
  height: 100%;
  width: 75%;

}
.flex-w2 {
  height: 100%;
  width: 25%;

}

.msger {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;      /* 🔒 CRITICAL */
  min-width: 0;           /* 🔒 REQUIRED */
  width: 100%;

  height: calc(100% - 10px);
  border: var(--border);
  border-radius: 5px;

  box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2);
}

.msger > div {
  padding: 1vh;
}

.sidePage {
  display: flex;
  flex-flow: column wrap;
  justify-content: top;
  width: 100%;

  height: calc(100% - 10px);
  border: var(--border);
  border-radius: 5px;

  box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2);
}

.sidePage > div {
  padding: 1vh;
}

.progress {
  height: 14px;
  background-color: #1a1a2e;
  border-radius: 10px;
  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.45);
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.55),
    inset 0 -1px 3px rgba(255, 255, 255, 0.06),
    0 1px 3px rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

#pb {
  border-radius: 7px;
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.32) 0%,
      rgba(255, 255, 255, 0.08) 45%,
      transparent 60%,
      rgba(0, 0, 0, 0.22) 100%
    ) !important;
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.28),
    0 3px 10px rgba(0, 0, 0, 0.45);
  transition:
    width 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s ease,
    filter 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Subtle top-shine sweep that rides with the bar */
#pb::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent);
  border-radius: 7px 7px 0 0;
  pointer-events: none;
}

/* Success glow pulses when threshold is reached */
@keyframes pbarSuccessGlow {
  0%, 100% {
    box-shadow:
      inset 0 2px 5px rgba(255, 255, 255, 0.28),
      0 0 8px  rgba(39, 174, 96, 0.55),
      0 0 18px rgba(39, 174, 96, 0.25);
    filter: brightness(1.05);
  }
  50% {
    box-shadow:
      inset 0 2px 5px rgba(255, 255, 255, 0.42),
      0 0 22px rgba(39, 174, 96, 0.90),
      0 0 42px rgba(39, 174, 96, 0.38);
    filter: brightness(1.18);
  }
}

#pb.pbar-success {
  animation: pbarSuccessGlow 1.8s ease-in-out infinite;
}

.msger-header {
  display: flex;
  justify-content: center;
  justify-items: center;
  align-content: center;
  align-items: center;

    flex-flow: row wrap;
  border-bottom: var(--border);

  background: var(--cc-header-bg);
  color: var(--cc-header);
  height: auto;
  padding: 2px 0;
}

.msger-chat {
  flex: 1;
  min-width: 0;          /* 🔥 THIS FIXES IT */
  overflow-y: auto;
  overflow-x: hidden;    /* extra safety */

  background-color: var(--cc-msger-bg);
  position: relative;
}

.msger-chat::-webkit-scrollbar {

  width: 6px;
}
.msger-chat::-webkit-scrollbar-track {

  background: #ddd;
}
.msger-chat::-webkit-scrollbar-thumb {
  background: #bdbdbd;
}

.sideOptions {
  flex: 1;
  display: flex;
  flex-direction: column;

  /* Horizontal Constraint Fixes */
  min-width: 0;        /* Critical: allows the flex item to shrink below content width */
  max-width: 100%;     /* Ensures it never pushes past the parent border */
  box-sizing: border-box;
    font-size: 1.2rem;
  /* Handling Internal Overflow */
  overflow-x: hidden;  /* Prevents the annoying horizontal scrollbar */
  overflow-y: auto;    /* Keeps the vertical scroll functional */

  background-color: var(--cc-msger-bg);
}

.sideOptionsitem {
margin-top: 4vh;
}
.sideTrufalse {
margin-top: 24vh;
}

.sideOptions::-webkit-scrollbar {

  width: 6px;
}
.sideOptions::-webkit-scrollbar-track {

  background: #ddd;
}
.sideOptions::-webkit-scrollbar-thumb {
  background: #bdbdbd;

}

/* Hide the episode-button div in the right panel when the screen is too short */
@media (max-height: 480px) {
  .sidePage > div:first-child {
    display: none !important;
  }
}

.sideInfeed{
    background-color: var(--cc-msger-bg);
    color: var(--cc-msger-bg);
}


.msger-inputarea {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  padding: 1vh;
  border-top: var(--border);
  background: var(--cc-msger-bg);
  z-index: 10;
  height: auto;
  overflow: visible;
}
.msger-inputarea * {
  padding: 1vh;
  border: none;
  border-radius: 3px;
  font-size: calc(40% + 2vmin);

}
.msger-input {
  flex: 1;
  background: var(--cc-navbar);

}

/* ============================================================
   Action buttons — unified 3D style.
   Shared geometry / typography here; each variant only sets
   its gradient and matching bottom-shadow tone. Original
   background colors are preserved as the gradient mid-stop.
     .msger-ask     #FBC252  yellow   "Tap Here"
     .msger-fast    #82C3EC  blue     "Tap to Speak"
     .msger-next    #FF9E9E  red      "Try Again"
     .msger-ataturk #637A9F  slate    (with portrait overlay)
   ============================================================ */
.msger-ask,
.msger-fast,
.msger-next,
.msger-ataturk {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: none;
  border-radius: 12px;
  margin: 0 4px 6px;
  padding: 12px 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  /* Same dark-brown text color across every action button (the original
     Tap Here color). Light text-shadow lifts it off the gradient so the
     letters look slightly embossed. */
  color: #3a2705;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

/* Unified label typography. The .btn-label span overrides the
   .msger-inputarea * rule above, which would otherwise force a tiny
   font-size and extra padding onto every descendant. */
.msger-ask .btn-label,
.msger-fast .btn-label,
.msger-next .btn-label,
.msger-ataturk .btn-label {
  font-size: calc(20px + 1.6vmin);
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 0;
  display: inline-block;
}

/* ── Tap finger ─────────────────────────────────────────────
   Pseudo-element so no extra HTML is needed. Animates a finger
   tapping the button: hover up → press down (squash) → settle.
   Loops forever to keep drawing the eye to the call-to-action.
   pointer-events:none so it never intercepts the button click.
   ─────────────────────────────────────────────────────────── */
.msger-ask::after,
.msger-fast::after,
.msger-next::after,
.msger-ataturk::after {
  /*content: "\01F446"; /* 👆 white-up-pointing-backhand-index */
  /*display: inline-block;
  margin-left: 10px;
  font-size: calc(16px + 1.4vmin);
  line-height: 1;
  pointer-events: none;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.45));
  animation: tapPulse 1.4s ease-in-out infinite;
  transform-origin: 50% 90%;*/

    content: "";
  width:  calc(20px + 1.4vmin);
  height: calc(20px + 1.4vmin);
  margin-left: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231C2826'><path d='M12 2a2 2 0 0 0-2 2v8.2L8.6 10.8a2 2 0 1 0-2.83 2.83l4.4 4.4a4 4 0 0 0 2.83 1.17H17a3 3 0 0 0 3-3v-4a3 3 0 0 0-3-3h-3V4a2 2 0 0 0-2-2z'/></svg>") no-repeat center / contain;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.45));
  animation: tapPulse 1.4s ease-in-out infinite;
  pointer-events: none;
  display: inline-block;
}

@keyframes tapPulse {
  0%   { transform: translateY(-2px) scale(1);    }
  25%  { transform: translateY(-10px) scale(1.05);} /* lift */
  45%  { transform: translateY(2px)  scale(0.88); } /* tap & squash */
  60%  { transform: translateY(-1px) scale(1);    } /* recoil */
  100% { transform: translateY(-2px) scale(1);    }
}

/* Press-down effect — every action button shares the same depress travel.
   Pause the finger animation while pressed so the tap reads as committed. */
.msger-ask:active,
.msger-fast:active,
.msger-next:active,
.msger-ataturk:active {
  transform: translateY(4px);
}
.msger-ask:active::after,
.msger-fast:active::after,
.msger-next:active::after,
.msger-ataturk:active::after {
  animation-play-state: paused;
}

/* Respect users who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .msger-ask::after,
  .msger-fast::after,
  .msger-next::after,
  .msger-ataturk::after {
    animation: none;
  }
}

/* ── Tap Here — yellow (#FBC252).
   Uses the unified white text + heavy dark shadow from the shared rule
   above (matches "Tap to Speak"). The deeper bottom-stop on this gradient
   gives the white label enough dark area beneath it to stay legible. ── */
.msger-ask {
  background: linear-gradient(to bottom,
    #fed684 0%,
    #FBC252 55%,
    #b78214 100%);
  box-shadow:
    0 6px 0 #8a5d0a,
    0 8px 15px rgba(0, 0, 0, 0.35),
    inset 0 2px 2px rgba(255, 255, 255, 0.6);
}
.msger-ask:active {
  box-shadow:
    0 2px 0 #8a5d0a,
    0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 2px 2px rgba(255, 255, 255, 0.6);
}

/* ── Tap to Speak — light blue (#82C3EC) ── */
.msger-fast {
  background: linear-gradient(to bottom,
    #b5dcf3 0%,
    #82C3EC 55%,
    #3d7da4 100%);
  box-shadow:
    0 6px 0 #2a5d7e,
    0 8px 15px rgba(0, 0, 0, 0.35),
    inset 0 2px 2px rgba(255, 255, 255, 0.55);
}
.msger-fast:active {
  box-shadow:
    0 2px 0 #2a5d7e,
    0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 2px 2px rgba(255, 255, 255, 0.55);
}

/* ── Try Again — soft red (#FF9E9E) ── */
.msger-next {
  background: linear-gradient(to bottom,
    #ffc6c6 0%,
    #FF9E9E 55%,
    #a85050 100%);
  box-shadow:
    0 6px 0 #6e3434,
    0 8px 15px rgba(0, 0, 0, 0.35),
    inset 0 2px 2px rgba(255, 255, 255, 0.55);
}
.msger-next:active {
  box-shadow:
    0 2px 0 #6e3434,
    0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 2px 2px rgba(255, 255, 255, 0.55);
}

/* ── Ataturk — slate blue (#637A9F) with portrait overlay.
   Image layered on top of the gradient via comma-separated background. ── */
.msger-ataturk {
  background:
    url("/static/profile_pics/ata1.png") center/contain no-repeat,
    linear-gradient(to bottom,
      #8a9fc0 0%,
      #637A9F 55%,
      #384761 100%);
  box-shadow:
    0 6px 0 #243049,
    0 8px 15px rgba(0, 0, 0, 0.35),
    inset 0 2px 2px rgba(255, 255, 255, 0.45);
}
.msger-ataturk:active {
  box-shadow:
    0 2px 0 #243049,
    0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 2px 2px rgba(255, 255, 255, 0.45);
}

.quiz-group {
  background-color: transparent;
  display: flex;
  align-content: center;
  justify-content: center;
  gap: 3%;
  text-align: center;
  width: 100%;
  padding: 6px 4px;
}

.truefalse-group {
  background-color: transparent;
  display: flex;
  align-content: center;
  justify-content: center;
  gap: 4%;
  text-align: center;
  width: 100%;
  padding: 6px 4px;
}

/* ── shared 3D base for all bottom-pane selection buttons ── */
.button_a,
.button_b,
.button_c,
.button_true,
.button_false {
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  color: white;
  font-weight: 800;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.4);
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 0 2px rgba(0, 0, 0, 0.8);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

/* Press-down effect */
.button_a:active,
.button_b:active,
.button_c:active,
.button_true:active,
.button_false:active {
  transform: translateY(4px);
}

/* ── Gloss reflection (shared ::before) ── */
.button_a::before,
.button_b::before,
.button_c::before,
.button_true::before,
.button_false::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 10%;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 50% 50% 40% 40%;
  pointer-events: none;
  z-index: 1;
}

/* ── Golden light sweep (shared ::after) ── */
.button_a::after,
.button_b::after,
.button_c::after,
.button_true::after,
.button_false::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 215, 0, 0) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 215, 0, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 15;
}

/* ── A — blue ── */
.button_a {
  width: 30%;
  background: linear-gradient(to bottom,
    #1a8cdb 0%,
    var(--qq-button_a-bg) 60%,
    #0a4066 100%
  );
  box-shadow:
    0 6px 0px #063150,
    0 8px 15px rgba(0, 0, 0, 0.4),
    inset 0 2px 2px rgba(255, 255, 255, 0.5);
}
.button_a:active {
  box-shadow:
    0 2px 0px #063150,
    0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 2px 2px rgba(255, 255, 255, 0.5);
}

/* ── B — purple ── */
.button_b {
  width: 30%;
  background: linear-gradient(to bottom,
    #8e67c0 0%,
    var(--qq-button_b-bg) 60%,
    #36224f 100%
  );
  box-shadow:
    0 6px 0px #36224f,
    0 8px 15px rgba(0, 0, 0, 0.4),
    inset 0 2px 2px rgba(255, 255, 255, 0.5);
}
.button_b:active {
  box-shadow:
    0 2px 0px #36224f,
    0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 2px 2px rgba(255, 255, 255, 0.5);
}

/* ── C — green ── */
.button_c {
  width: 30%;
  background: linear-gradient(to bottom,
    #588157 0%,
    var(--qq-button_c-bg) 60%,
    #1b2e1f 100%
  );
  box-shadow:
    0 6px 0px #1b2e1f,
    0 8px 15px rgba(0, 0, 0, 0.4),
    inset 0 2px 2px rgba(255, 255, 255, 0.5);
}
.button_c:active {
  box-shadow:
    0 2px 0px #1b2e1f,
    0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 2px 2px rgba(255, 255, 255, 0.5);
}

/* ── True — purple (matches B) ── */
.button_true {
  width: 46%;
  background: linear-gradient(to bottom,
    #8e67c0 0%,
    var(--tf-button_t-bg) 60%,
    #36224f 100%
  );
  box-shadow:
    0 6px 0px #36224f,
    0 8px 15px rgba(0, 0, 0, 0.4),
    inset 0 2px 2px rgba(255, 255, 255, 0.5);
}
.button_true:active {
  box-shadow:
    0 2px 0px #36224f,
    0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 2px 2px rgba(255, 255, 255, 0.5);
}

/* ── False — green (matches C) ── */
.button_false {
  width: 46%;
  background: linear-gradient(to bottom,
    #588157 0%,
    var(--tf-button_f-bg) 60%,
    #1b2e1f 100%
  );
  box-shadow:
    0 6px 0px #1b2e1f,
    0 8px 15px rgba(0, 0, 0, 0.4),
    inset 0 2px 2px rgba(255, 255, 255, 0.5);
}
.button_false:active {
  box-shadow:
    0 2px 0px #1b2e1f,
    0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 2px 2px rgba(255, 255, 255, 0.5);
  transform: translateY(4px);
}


/* .msger-next styling now lives in the unified action-button block above
   (search "Action buttons — unified 3D style"). */

.msger-send-btn {

  margin-left: 10px;
  background: var(--cc-msger-send-bg); /* yeşil */
  color: var(--cc-msger-bg);
  font-weight: bold;
  cursor: pointer;
  transition: background 0.23s;
    z-index: 10;

}
.msger-play-btn {

  margin-left: 10px;
  background: var(--cc-msger-play-bg); /* sarı */
  color: var(--cc-msger-bg);
  font-weight: bold;
  cursor: pointer;
  transition: background 0.23s;
  z-index: 10;
}

.phase{
    display: none;
}
.micanimation{
    display: none;
}

/* Fireworks overlay — covers the entire screen */
.fireworks {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9997;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* Start every hideportrait element as hidden.
   TScreen() runs synchronously (no defer/async) before the first browser paint
   and sets the correct display value (flex in landscape, none in portrait).
   Without this rule the elements are briefly visible before TScreen runs,
   causing a visible jump / flash in .msger-header. */
.hideportrait {
    display: none;
}
.msger-send-btn:hover{
  background: green;

}
.msger-play-btn:hover {
  background: #FF9312;
}


.msg {
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
}
.msg:last-of-type {
  margin: 0;

}

.msg-img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  background: #ddd;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 50%;
}
.msg-bubble {
  max-width: 450px;
  padding: 15px;
  border-radius: 15px;

}
.msg-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.msg-info-name {
  margin-right: 10px;
  font-weight: bold;
}
.msg-info-time {
  font-size: 0.85em;

}

.left-msg .msg-bubble {
    /* Layout & Alignment */
    display: flex;
    align-items: center;
    gap: 10px; /* Space between play icon and text */
    padding: 10px 20px;
    border-radius: 20px;
    border-bottom-left-radius: 0;
    position: relative;
    overflow: hidden;

    /* Light Blue Jelly Base */
    background: #87ceeb;
    background-image:
        radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.6) 0%, transparent 70%),
        linear-gradient(to bottom, #bfe9ff 0%, #70c5e8 100%);

    /* 3D Depth Shadows */
    box-shadow:
        inset 0 -6px 10px rgba(0, 80, 120, 0.3),
        inset 0 4px 8px rgba(255, 255, 255, 0.8),
        0 4px 12px rgba(0, 0, 0, 0.1);

    /* Typography */
    color: #004d61;
    font-family: 'Arial Rounded MT Bold', sans-serif;
    font-weight: bold;
    font-size: clamp(14px, 4vw, 18px); /* Max font size cap */
    cursor: default;
}

.htmlstar{
    color: #993300;
}
.chat-voice-msg .msg-bubble {
    position: relative;
    padding: 10px 20px;
    border-radius: 3.75rem;
    line-height: 1.25;
    /* Use a standard, easy-to-read font */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: calc(10px + 1vmin);
    font-weight: 500;
    min-width: 40%;

    /* --- LIGHT COLOR SCHEME (Light Green/White) --- */
    --light-base: #88DDB4;   /* Very light gray/off-white for base */
    --light-accent: #B5E8D0; /* Very light green accent */
    --dark-text: #18242F;    /* Dark gray/blue for excellent contrast */

    /* Light Border */
    border: 1px solid #bdc3c7;

    /* Light Background Gradient */
    background-image: linear-gradient(-180deg, var(--light-base) 0%, var(--light-accent) 100%);

    box-shadow:
        /* Subtle outer shadow for slight lift */
        0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.1),
        /* Light inset shadow for a bit of depth */
        0 0.125rem 0.5rem rgba(255, 255, 255, 0.5) inset,
        /* Darker shadow at the bottom for a convex look */
        0 -0.125rem 0.25rem rgba(0, 0, 0, 0.15) inset;

    /* --- CONTRAST & READABILITY --- */
    color: var(--dark-text); /* Dark text for highest contrast */
    text-shadow: none; /* Removed heavy text shadow for cleaner look on light background */
}

.voiceA-msg .msg-bubble {
    /* Flex keeps everything on one line (inline) */
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 18px;
    border-radius: 15px;

    /* Solid Background & High Contrast Text */
    background-color: #21D19F;
    color: #000;
    font-weight: 900;
    font-family: 'Arial Rounded MT Bold', sans-serif;
    font-size: clamp(18px, 4vw, 28px); /* Max font size cap */

    /* 3D Border Effect */
    box-shadow:
        inset 0 -4px 0px rgba(0, 0, 0, 0.15), /* Bottom 3D edge */
        inset 0 3px 0px rgba(255, 255, 255, 0.4), /* Top 3D edge */
        0 2px 5px rgba(0, 0, 0, 0.1);

    border: 1px solid rgba(0, 0, 0, 0.05);
}

.play-icon {
    display: inline-block;
    font-size: 1.1em;
    flex-shrink: 0;

    /* Dark Red Color */
    color: #8b0000;

    /* Enhanced 3D Effect */
    /* 1. White shadow creates a "highlight" on the bottom edge */
    /* 2. Dark shadow creates a "depth" effect behind the icon */
    text-shadow:
        1px 1px 0px rgba(255, 255, 255, 0.6),
        -0.5px -0.5px 0px rgba(0, 0, 0, 0.2);

    /* Optional: Slight weight to make the icon feel thicker */
    -webkit-text-stroke: 0.5px #8b0000;
}

.voice-msg {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 25px;
    position: relative;
    overflow: hidden;

    /* Typography */
    color: #ffffff;
    font-family: 'Arial Rounded MT Bold', sans-serif;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    cursor: default;

    /* Dark Blue Jelly Base */
    background-color: #001f3f; /* Deep Navy */
    background-image:
        radial-gradient(circle at 50% 80%, #004080 0%, #001020 100%);

    /* 3D Depth & Borders */
    box-shadow:
        inset 0 -6px 10px rgba(0, 0, 0, 0.5),      /* Bottom thickness */
        inset 0 4px 10px rgba(255, 255, 255, 0.2), /* Soft top glow */
        0 4px 15px rgba(0, 31, 63, 0.4);           /* Outer blue glow */

    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* The Glassy Reflection */
.voice-msg::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 20%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 40px 40px 100px 100px;
    pointer-events: none;
}


.topscorers-msg .msg-bubble{

    font-size: calc(10px + 1vmin);
    border-radius: 15px;
    background: var(--cc-voiceA-bg);
    color: var(--cc-voiceA);
    box-shadow: 1px 1px 5px #000, -1px -1px 5px #6f6f6f, inset 1px 1px 5px #2b2b2b, inset -1px -1px 5px #424242;

}


.adver-bubble {
    font-size: calc(8px + 1vmin);
    background: var(--cc-msger-bg);
    color: var(--cc-voice);
    width: 198px;
    height: 376px;
    max-width: 220px;
    max-height: 550px;
    margin-left: calc((70vw - 200px)/2);
    overflow: hidden; /* Ensures video doesn't bleed out */
    position: relative;
}

.videosize-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black; /* Prevents seeing the page behind it */
    z-index: 9999;           /* Puts it on top of everything */
    object-fit: contain;     /* Keeps the video aspect ratio correct */
}

.first-msg {
  flex-direction: row-reverse;
  font-size: calc(12px + 1.5vmin);
}

.right-msg {
  flex-direction: row-reverse;
  font-size: calc(14px + 1vmin);
}


/* 3D Right Message Bubble */
.right-msg .msg-bubble {
  position: relative;
  background: linear-gradient(145deg, #FFE082, #FED766, #F5C400);
  border-bottom-right-radius: 0;
  border-radius: 18px;
  border-bottom-right-radius: 0;

  /* 3D effect */
  box-shadow:
    0 1px 0px #c9a800,
    0 2px 0px #b89700,
    0 3px 0px #a88700,
    0 4px 0px #987700,
    0 5px 0px #886700,
    0 6px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -2px 3px rgba(0, 0, 0, 0.1);

  /* Top highlight for 3D shine */
  border-top: 1.5px solid rgba(255, 255, 255, 0.75);

  padding: 10px 14px 10px 14px;
  padding-top: 22px; /* extra room for the badge */
  margin-bottom: 6px; /* compensate for the stacked shadow depth */
}

/* Hide the in-bubble time — we'll use the badge instead */
.right-msg .msg-bubble .msg-info {
  display: none;
}

/* ── Time Badge ── */
.right-msg .msg-bubble::before {
  content: attr(data-name); /* ← changed from data-time */
  position: absolute;
  top: -10px;
  right: 10px;

  background: #8C0000;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 3px 8px;
  border-radius: 20px;

  box-shadow:
    0 2px 6px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.3);
  white-space: nowrap;
  pointer-events: none;
}


.right-msg .msg-img {
  margin: 0 0 0 10px;
}

.level-bubble {
  height: 2.5em;
  padding: 6px;
  border-radius: 15px;
  background: var(--cc-level-bg);
  color: var(--cc-level);

  font-size: calc(12px + 1.5vmin);
  font-weight: bold;
  margin: 0 0.4vw 0 2vw;
  display: flex;
  justify-content: center;
  align-items: center;

  box-shadow: 1px 1px 5px #000, -1px -1px 5px #6f6f6f, inset 1px 1px 5px #2b2b2b, inset -1px -1px 5px #424242;
  z-index: 11;

    white-space: nowrap;
}

.level-bubble:hover {
  cursor: pointer;
}

.select {
    background: var(--cc-level-bg);
    color: var(--cc-level);

}
select{
    background: var(--cc-level-bg);
    color: var(--cc-level);
    margin: 0px 20px 0px 20px;
}

.option-bubble {
  font-size: calc(12px + 2vmin);
  font-weight: bold;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 8px;
  /* box-shadow and border-radius come from the individual button_* rules */
}

.scenario-bubble_a {
  padding: 6px;
  margin-top: 1em;
  border-radius: 15px;
  background: var(--cc-scenariobA-bg);
  color: var(--cc-msger-bg);
  font-size: calc(12px + 1.5vmin);
  font-weight: bold;

}
.scenario-bubble_b {
  padding: 6px;
margin-top: 1em;
  border-radius: 15px;
  background: var(--cc-scenariobB-bg);
  color: var(--cc-msger-bg);
  font-size: calc(12px + 1.5vmin);
  font-weight: bold;

}
.scenario-bubble_c {

  padding: 6px;
  margin-top: 1em;
  border-radius: 15px;
  background: var(--cc-scenariobC-bg);
  color: var(--cc-msger-bg);
  font-size: calc(12px + 1.5vmin);
  font-weight: bold;

}
.crack-lineA {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  opacity: 0;
  /* Add this to make the lines stand out */
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.5));
  stroke-linecap: round;
}
.crack-lineB {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  opacity: 0;
  /* Add this to make the lines stand out */
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.5));
  stroke-linecap: round;
}
.crack-lineC {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  opacity: 0;
  /* Add this to make the lines stand out */
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.5));
  stroke-linecap: round;
}
.crack-line {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  opacity: 0;
  /* Add this to make the lines stand out */
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.5));
  stroke-linecap: round;
}
.quiz-bubble_a {
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  padding: 12px 12px;
  border-radius: 50px;

  /* Use your variable as the base, blending it with a gradient for depth */
  background: linear-gradient(to bottom,
    #1a8cdb 0%,            /* Lighter "highlight" blue */
    var(--qq-button_a-bg) 60%,
    #0a4066 100%           /* Deep "shadow" blue */
  );

  color: white;
  font-weight: 800;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.4);

  /* Candy Crush style heavy shadow */
  box-shadow:
    0 6px 0px #063150,                /* Thick "3D" bottom edge */
    0 8px 15px rgba(0, 0, 0, 0.4),    /* Soft drop shadow */
    inset 0 2px 2px rgba(255, 255, 255, 0.5); /* Inner top rim */

    text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5), /* Soft depth shadow */
    0 0 2px rgba(0, 0, 0, 0.8);    /* Sharp outline shadow */

    /* Ensure it never exceeds parent */
  max-width: 100%;
  box-sizing: border-box; /* Includes padding/border in width calculation */

}

/* The Glossy "Reflection" Layer */
.quiz-bubble_a::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 10%;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 50% 50% 40% 40%;
  pointer-events: none;
}



.quiz-bubble_b {
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  padding: 12px 20px;
  border-radius: 50px;

  /* Purple Gradient: Lavender highlight to Deep Plum shadow */
  background: linear-gradient(to bottom,
    #8e67c0 0%,             /* Lighter lavender highlight */
    var(--qq-button_b-bg) 60%,
    #36224f 100%            /* Deep purple-shadow */
  );

  color: white;
  font-weight: 800;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.4);

  /* 3D "Candy" Shadow using a darker plum tint (#36224f) */
  box-shadow:
    0 6px 0px #36224f,                /* The thick 3D base */
    0 8px 15px rgba(0, 0, 0, 0.4),    /* The outer floor shadow */
    inset 0 2px 2px rgba(255, 255, 255, 0.5); /* Inner shine rim */

    text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5), /* Soft depth shadow */
    0 0 2px rgba(0, 0, 0, 0.8);    /* Sharp outline shadow */
}

/* The Glossy Reflection (Same logic, works on any color) */
.quiz-bubble_b::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 10%;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 50% 50% 40% 40%;
  pointer-events: none;
}

.quiz-bubble_c {
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  padding: 12px 20px;
  border-radius: 50px;

  /* Green Gradient: Fresh lime highlight to Deep forest shadow */
  background: linear-gradient(to bottom,
    #588157 0%,             /* Lighter sage/lime highlight */
    var(--qq-button_c-bg) 60%,
    #1b2e1f 100%            /* Very dark forest shadow */
  );

  color: white;
  font-weight: 800;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.4);

  /* 3D "Candy" Shadow using the darkest shade (#1b2e1f) */
  box-shadow:
    0 6px 0px #1b2e1f,                /* The thick 3D base */
    0 8px 15px rgba(0, 0, 0, 0.4),    /* The outer floor shadow */
    inset 0 2px 2px rgba(255, 255, 255, 0.5); /* Inner shine rim */

    text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5), /* Soft depth shadow */
    0 0 2px rgba(0, 0, 0, 0.8);    /* Sharp outline shadow */
}

/* The Glossy Reflection Layer */
.quiz-bubble_c::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 10%;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 50% 50% 40% 40%;
  pointer-events: none;
}

:root {
  --qq-button_z-bg: #87560E; /* Your base Bronze/Caramel */
}

.quiz-bubble_x {
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  padding: 12px 20px;
  border-radius: 50px;

  /* Gradient: Soft Copper top to Deep Chocolate base */
  background: linear-gradient(to bottom,
    #b37c2a 0%,             /* Lighter copper highlight */
    var(--qq-button_z-bg) 60%,
    #4a2f08 100%            /* Deep espresso shadow */
  );

  color: white;
  font-weight: 800;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.3);

  /* 3D "Candy" Shadow using a dark coffee tint (#4a2f08) */
  box-shadow:
    0 6px 0px #4a2f08,                /* The thick 3D base */
    0 8px 15px rgba(0, 0, 0, 0.4),    /* The outer floor shadow */
    inset 0 2px 2px rgba(255, 255, 255, 0.4); /* Inner shine rim */
}

/* The Glossy Reflection Layer */
.quiz-bubble_x::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 15%;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 50% 50% 40% 40%;
  pointer-events: none;
}

/* This is the golden beam of light */
.quiz-bubble_a::after, .quiz-bubble_b::after, .quiz-bubble_c::after, .quiz-bubble_x::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%; /* Start off-screen to the left */
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 215, 0, 0) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 215, 0, 0) 100%
  );
  transform: skewX(-25deg); /* Angled light beam */
  pointer-events: none;
  z-index: 15;
}

.quiz-bubble-nine_a {
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  padding: 12px 12px;
  border-radius: 50px;

  background: linear-gradient(to bottom,
    #1a8cdb 0%,
    var(--qq-button_a-bg) 60%,
    #0a4066 100%
  );

  color: white;
  font-weight: 800;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.4);

  box-shadow:
    0 6px 0px #063150,
    0 8px 15px rgba(0, 0, 0, 0.4);

  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 0 2px rgba(0, 0, 0, 0.8);

  max-width: 100%;
  box-sizing: border-box;
}

.quiz-bubble-nine_a::before {
  display: none;
}


.quiz-bubble-nine_b {
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  padding: 12px 20px;
  border-radius: 50px;

  background: linear-gradient(to bottom,
    #8e67c0 0%,
    var(--qq-button_b-bg) 60%,
    #36224f 100%
  );

  color: white;
  font-weight: 800;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.4);

  box-shadow:
    0 6px 0px #36224f,
    0 8px 15px rgba(0, 0, 0, 0.4);

  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 0 2px rgba(0, 0, 0, 0.8);
}

.quiz-bubble-nine_b::before {
  display: none;
}



.menu-badge {
	font-size: 0.5em;
	font-weight: bold;
	margin-left: -3px;
	position: relative;
	top: -10px;
	margin-bottom: 13px;
	color: #000000;
	background-color: #00FF00;
	padding: 1px 2px;
	border-radius: 6px;
	line-height: 1.5em;
}


.scenario-bubble_a {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.scenario-bubble_b {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.scenario-bubble_c {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.quiz-bubble_a {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.quiz-bubble_b {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.quiz-bubble_c {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.sideInfeed {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.dropdown-menu > a:hover {
    background-color: var(--cc-navbar-hover);
    color: var(--cc-header);
}

.dropdown-menu {
    background-color: var(--cc-header-bg);
}

.dropdown-menu > a {
    color: var(--cc-navbar);
}



#goog-gt-tt, .goog-te-balloon-frame {display: none !important;}
.goog-text-highlight { background: none !important; box-shadow: none !important;}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
    }
.skiptranslate {
    display: none !important;
    }

.videosize {

    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block; /* Change from flex to block */


}
.nav-score {
    background-color: var(--cc-navscore-bg);
    color: var(--cc-navscore);
    border-radius: 30%;
    padding: 0px 4px 0px 4px;
    font-weight: Bold;
}

.nav-shop {
    background-color: var(--cc-navscore-bg);
    color: var(--cc-navscore);
    border-radius: 30%;
    padding: 0px 4px 0px 4px;
    font-weight: Bold;
    font-size: large;
}

.disable-clicks {
  pointer-events: none;
}


.thinking-bubble {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 3rem;
  line-height: 1.2rem;
  font-size: 1.25rem;
  font-weight: 600;
  white-space: nowrap;
  width: fit-content;
  max-width: max-content;

  border: 1px solid #3C8F3C;
  background-image: linear-gradient(
    -180deg,
    #B8F4B8 0%,
    #92E892 100%
  );

  box-shadow:
    0 0.6rem 0.8rem rgba(60, 143, 60, 0.35),
    0 -0.2rem 1rem rgba(146, 232, 146, 0.9) inset,
    0 0.4rem 0.4rem rgba(255, 255, 255, 0.4) inset,
    0 0.2rem 0.4rem rgba(184, 244, 184, 1) inset;
}

.thinking-bubble span {
  color: #0B3D0B;
  text-shadow:
    1px 1px 0 rgba(0, 0, 0, 0.25),
    -1px -1px 0 rgba(255, 255, 255, 0.45);
}

.video-container {
    display: none;
    opacity: 0;
    position: absolute; /* Prevents it from pushing other elements until needed */

    border-radius: 10%; /* Makes it a circle */
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.2);

}

.video-container-adv {

    opacity: 0;
    position: absolute; /* Prevents it from pushing other elements until needed */

    border-radius: 10%; /* Makes it a circle */
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.2);

}

.char_videos {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (orientation: portrait) and (max-width: 768px) {
  .msger-inputarea {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
  }

  /* Fill to viewport bottom and reserve space at the bottom for the fixed bar */
  .msger {
    height: 100%;
    padding-bottom: 80px;
    box-sizing: border-box;
  }

  /* msger-chat fills the remaining space above that reserved area */
  .msger-chat {
    padding-bottom: 0;
  }
}