/*  phpBB3 Style Sheet
    --------------------------------------------------------------
	Style name:			myInvision
	Based on style:		prosilver (the default phpBB 3.3.x style)
	Original author:	Tom Beddard ( http://www.subblue.com/ )
	Modified by:		MannixMD @MannixMD
    --------------------------------------------------------------
*/

@import url("normalize.css?hash=48eb3f89");
@import url("base.css?hash=7c5543be");
@import url("utilities.css?hash=d8f72c42");
@import url("common.css?hash=9E0CED9C");
@import url("links.css?hash=5efa38c3");
@import url("content.css?hash=899BDE87");
@import url("buttons.css?hash=2d167ca7");
@import url("cp.css?hash=883a7ed0");
@import url("forms.css?hash=8E914F27");
@import url("icons.css?hash=64da33ce");
@import url("colours.css?hash=b8d035e2");
@import url("responsive.css?hash=32DC03CA");
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

#adblock-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: rgba(0,0,0,0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

#adblock-overlay h1 {
  font-size: 40px;
  font-weight: bold;
  color: #ff4444;
  text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 40px #ff0000;
  animation: blink 1.5s infinite;
  margin: 0;
}

#adblock-overlay p {
  font-size: 22px;
  color: white;
  margin-top: 20px;
  max-width: 600px;
  line-height: 1.5;
}

.button-new-post {
  background: linear-gradient(90deg, #00bcd4, #2196f3);
  color: white;
  border-radius: 25px;
  padding: 10px 24px;
  font-weight: 600;
  border: none;
  box-shadow: 0 3px 8px rgba(33, 150, 243, 0.3);
  transition: 0.3s;
}
.button-new-post:hover {
  box-shadow: 0 5px 12px rgba(33, 150, 243, 0.5);
  transform: translateY(-2px);
}


/* ==========================================================
   ✨ Aqua Glow separator with centered text
   ========================================================== */
.post-separator {
  position: relative;            /* allows text centering inside */
  display: block;
  width: 100%;
  height: 33px;                  /* use your chosen height */
  margin: 2px auto;
  border-radius: 2px;
  border: none;
  opacity: 1;
  transition: all 0.3s ease;
  text-align: center;
}

/* Gradient line background */
.post-separator.aqua {
  background: linear-gradient(to right, #00d2ed, #a682e5);
  box-shadow: 0 0 6px rgba(233, 30, 99, 0.3);
  overflow: hidden;
}

/* Centered text inside the separator */
.post-separator-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.3em;
  color: #ffffff;               /* bright white for visibility */
  text-shadow: 0 0 9px rgb(255 255 255 / 60%); /* readable on bright bg */
  padding: 0 8px;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  white-space: nowrap;
}

.post-separator-text strong {
  color: #000000;               /* highlight username in yellow */
  font-weight: 850;
}

.post-separator-text time {
  color: #ffffff;
  font-style: italic;
  font-size: 0.8em;
}

/* Hover brightness */
.post-separator:hover {
  filter: brightness(1.1);
  transform: scale(1.01);
}

/* ==========================================================
   📱 Fix for mobile overlapping topic title text
   ========================================================== */

/* Main topic title wrapper */
h2.topic-title,
h3.post-title,
.topic-title {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  line-height: 1.3em;
  font-weight: 600;
}

/* For smaller mobile screens */
@media (max-width: 768px) {
  h2.topic-title,
  h3.post-title,
  .topic-title {
    font-size: 1.1em;           /* slightly smaller font */
    line-height: 1.4em;         /* more breathing room */
    padding: 4px 10px;
    text-align: center;         /* center align for better balance */
    word-break: break-word;
  }
}

/* Very small phones (under 480px width) */
@media (max-width: 480px) {
  h2.topic-title,
  h3.post-title,
  .topic-title {
    font-size: 1em;
    line-height: 1.5em;
    padding: 6px 8px;
  }
}

.profile-rank { color: #00b5cc; font-weight: 600; margin-bottom: 4px; }
.profile-rank-img img { max-width: 100px; margin-bottom: 6px; }
.author { color: #955b5b; font-size: 1.4em; margin: 4px 0; }
.avatar-container img { border-radius: 10px; margin: 6px 0; max-width: 150px; }
.profile-posts, .profile-joined, .profile-from { color: #5c00ff; font-size: 1.3em; margin-top: 2px; }

/* ==========================================================
   🧩 User Profile Styling (Custom + Mobile Fix)
   ========================================================== */

/* 🎖 Rank Title */
.profile-rank {
  color: #00b5cc;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 1.2em;
}

/* 🏅 Rank Image */
.profile-rank-img img {
  max-width: 100px;
  margin-bottom: 6px;
}

/* 👤 Username */
.author {
  color: #955b5b;
  font-size: 1.4em;
  margin: 4px 0;
  font-weight: 600;
}

/* 🖼 Avatar */
.avatar-container img {
  border-radius: 10px;
  margin: 6px 0;
  max-width: 150px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

/* 📅 Posts / Joined / Location */
.profile-posts,
.profile-joined,
.profile-from {
  color: #5c00ff;
  font-size: 1.3em;
  margin-top: 2px;
}

/* ==========================================================
   📱 Mobile Fix — Show all profile details on phones
   ========================================================== */
@media (max-width: 700px) {
  .postprofile dd {
    display: block !important;
  }

  .profile-rank,
  .profile-rank-img,
  .author,
  .profile-posts,
  .profile-joined,
  .profile-from {
    display: block !important;
  }

  .postprofile dd,
  .postprofile dt {
    line-height: 1.4em;
    margin: 3px 0;
  }

  .profile-rank {
    font-size: 1.1em;
  }

  .author {
    font-size: 1.2em;
  }

  .avatar-container img {
    max-width: 100px;
    height: auto;
  }

  .profile-posts,
  .profile-joined,
  .profile-from {
    font-size: 1.1em;
  }
}
