#bodydiv {
  min-width: 320px; /* Changed from 900px for mobile */
  max-width: 1280px; /* wider than the site default (1200px) so the left column gets ~10% more room */
}

@media (max-width: 768px) {
  #bodydiv {
    padding: 15px 10px;
  }
}

#profileLevel {
  vertical-align: middle;
  display:inline-block;
}

#usernamespan {
  font-size: 26px;
  display: inline-block;
  font-weight: bold;
  margin-right: 10px;
  color: #333;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  vertical-align: middle;
  margin-left: 3px;
  margin-top: 20px;
}


#profile-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Left column: usercard + profile description, sits beside #right-column */
#left-column {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 768px) {
  #left-column {
    min-width: unset;
    width: 100%;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  #profile-container {
    flex-direction: column;
    gap: 15px;
  }
}

#usercard {
  padding: 20px;
  font-family: 'Trebuchet MS',Lato,LatoExtended,sans-serif;
  background-color: white;
  border-radius: 8px;
  flex: 1;
  min-width: 350px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-sizing: border-box;
  color: #333;
}

@media (max-width: 768px) {
  #usercard {
    flex-direction: column;
    min-width: unset;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  #usercard {
    padding: 15px;
    min-width: unset;
    width: 100%;
  }
}

#usercard-left {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    max-width: 188px;
    max-height: 360px;
    background-color: white;
    border-radius: 10px;
}

#usercard-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 230px;
  padding-left: 10px;
}

@media (max-width: 768px) {
  #usercard-left,
  #usercard-right {
    min-width: unset;
    width: 100%;
  }
  
  #usercard-right {
    padding-left: 0;
    text-align: center;
  }
  
  .user-info-header {
    text-align: center;
    border-bottom: none;
    padding-bottom: 5px;
  }
  
  .username-rank-container {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  #stats {
    text-align: center;
  }

  #stats p {
    justify-content: center;
  }
}

#stats {
  text-align: left;
  font-size: 19px;
  margin-bottom: 20px;
}

/* Each stat is a row: label | value | extra (rank badge / Buy More).
   The fixed label column lines every value up, like profile.php's stat rows.
   The label is a bare text node, which becomes its own grid cell. */
#stats p {
  display: grid;
  grid-template-columns: 4.9em auto auto; /* just wider than "Last Seen:" */
  justify-content: start;
  align-items: center;
  column-gap: 6px;
  margin: 0;
  padding: 1px 0;
}

.statresult {
  font-weight: bold;
  color: inherit; /* card text colour */
  background: none;
}

.statresult .coin-icon { vertical-align: -2px; margin-right: 3px; }

#staffrank {
  margin-top: 25px;
  margin-bottom: 0px;
  font-style: italic;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.8);
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  vertical-align: middle;
  margin-left: 5px;
}

#ava {
  background-repeat: no-repeat;
  margin-right: 100%;
  background-size: 100%;
  width: 188px;
  height: 359px;
  background-position: center;
}
.buybtn {
  border-radius: 4px;
  background-color: #f5b747;
  padding: 6px;
  font-weight: bold;
  border: 0;
  box-shadow: none;
  margin-right: 2px;
  margin-bottom: 6px;
}

#godrank {
  color: #ffffff;
  background-color: #f1cf0b;
  padding-left: 4px;
  padding-right: 6px;
  font-size: 15px;
  padding: 5px;
  border-radius: 5px;
}

#goodrank {
  color: #ffffff;
  background-color: #d8d8d8;
  padding-left: 4px;
  padding-right: 6px;
  font-size: 15px;
  padding: 5px;
  border-radius: 5px;
}



#rank {
  color: #ffffff;
  background-color: rgb(177, 177, 177);
  padding-left: 4px;
  padding-right: 6px;
  font-size: 15px;
  padding: 5px;
  border-radius: 5px;
}

/* Import blog styles for consistent styling */
.blogbox {
  display: block;
  margin-bottom: 19px;
  min-height: 80px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 16px;
  box-sizing: border-box;
  position: relative; /* Add position relative for pin indicator positioning */
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.blogbox:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Pin indicator styling */
.pin-indicator {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  padding: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.pin-indicator img {
  width: 16px;
  height: 16px;
  display: block;
}

/* Mention usernames use the "Usernames & titles" colour (same default as #usernamespan) */
#mentions-container .mention-username {
  color: #333;
}

@media (max-width: 768px) {
  .blogbox {
    margin-bottom: 15px;
    min-height: 60px;
  }
}

.userava {
  background-repeat: no-repeat;
  margin-right: 10px;
  float: left;
  background-size: 180%;
  background-position: top;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border: 2px solid #fff;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .userava {
    width: 45px;
    height: 45px;
    background-size: 180%;
    background-position: top;
    margin-right: 8px;
  }
}

.content {
  width: calc(100% - 80px);
  margin-left: 72px;
  max-height: 137px;
  overflow: hidden;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .content {
    width: calc(100% - 80px);
    margin-left: 72px;
  }
}

@media (max-width: 480px) {
  .content {
    width: calc(100% - 58px);
    margin-left: 55px;
  }
}

.title {
  background-color: transparent;
  margin-bottom: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.title h3 {
  overflow: hidden;
  margin-bottom: 4px;
  text-overflow: ellipsis;
  margin-top: 0px;
  color: #2d3748;
  font-size: 17px;
  margin-left: 0;
  font-weight: 600;
}

.firstspan {
  font-size: 14px;
  color: #6b7280;
}

.content p {
  margin-top: 0px;
  margin-bottom: 0px;
}

.innercontent {
  padding: 8px 0px 30px 0px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: pre-wrap;
  text-overflow: ellipsis;
  word-wrap: break-word;
  max-height: 80px;
  line-height: 1.5em;
  color: #4a5568;
}

.innercontent p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: pre-wrap;
}

.title, .title h3, .title span, .title a, .title p {
  text-decoration: none;
}

a { color: inherit; }

.spoilerz {
  background-color: #f973ad8f;
  color: #f973add6;
  text-align: center;
  margin-left: 15%;
  margin-right: 15%;
  margin-top: 17px;
  padding: 7px;
}

#friends-section {
  padding: 20px;
  font-family: 'Trebuchet MS',Lato,LatoExtended,sans-serif;
  color: white;
  border-radius: 8px;
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  box-sizing: border-box;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  #friends-section {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
}

@media (max-width: 480px) {
  #friends-section {
    padding: 15px;
    min-width: unset;
    width: 100%;
  }
}

#friends-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 15px;
}

@media (max-width: 480px) {
  #friends-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.friend-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding-top: 3px;
  padding-bottom: 3px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.friend-item:hover {
  background-color: #cddbdd;
}

.friend-item.mutual {
  background-color: #e4e7fc;
}

.friend-item.mutual:hover {
  background-color: #c1c3d8;
}

.friend-avatar {
  width: 50px;
  height: 60px;
  background-size: 170%;
  background-position: top;
  border-radius: 4px;
  margin-bottom: 5px;
}

.friend-name {
  font-size: 11px;
  text-align: center;
  word-break: break-word;
  line-height: 1.2;
}

.friends-pagination {
  text-align: center;
  margin-top: 10px;
}

.friends-pagination:empty {
  display: none;
}

.friends-pagination button {
  background-color: #f5ea47;
  border: none;
  padding: 5px 10px;
  margin: 0 5px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
}

.friends-pagination button:hover {
  background-color: #f5d842;
}

.friends-pagination button.disabled {
  background-color: #e0e0e0;
  cursor: not-allowed;
}

.edit-friends-btn {
  font-size: 12px;
  padding: 4px 8px;
  margin-top: 10px;
}

#profilequote-in-card {
    font-style: italic;
    margin-bottom: 15px;
    white-space: pre-wrap;
    opacity: 0.8;
    font-size: 15px;
}

.user-info-header {
  margin-bottom: 15px;
  padding-bottom: 10px;
}

.username-rank-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  align-items: flex-start;
}

.user-stats-section {
  margin-top: auto;
}

.user-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .user-buttons {
    justify-content: center;
  }
}

#profiledesc {
  flex: 1;
  background-color: #efefef;
  padding: 15px;
  border-radius: 8px;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
  min-width: 300px;
  color: #333;
  display: flow-root; /* contain the floated "Profile Visits" */
}

/* ==========================================================================
   Profile comments (under the bio)
   ========================================================================== */
#profile-comments {
  padding: 15px;
  border-radius: 8px;
  background-color: #ffffff;
  color: #333;
  box-sizing: border-box;
  font-family: 'Trebuchet MS', Lato, LatoExtended, sans-serif;
}

#profile-comments h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #333;
}

.pc-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pc-form { margin-bottom: 12px; }

/* Input with the Post button to its right */
.pc-compose {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.pc-form textarea {
  flex: 1;
  min-width: 0;
  height: 34px;
  min-height: 34px;
  max-height: 160px;
  padding: 7px 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.03);
  color: inherit;
  font: inherit;
  font-size: 14px;
  line-height: 18px;
  resize: none;
  box-sizing: border-box;
}

.pc-form textarea:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.3);
  background: transparent;
}

/* Error + remaining characters, only takes space when there is something to say */
.pc-form-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pc-form-row:has(.pc-error:not(:empty)),
.pc-form-row:has(.pc-count:not(:empty)) { margin-top: 4px; }

.pc-error { flex: 1; font-size: 12px; color: #d0342c; }
.pc-count { font-size: 11px; color: #999; }

#profile-comments .pc-submit {
  flex-shrink: 0;
  height: 34px;
  margin: 0;
  padding: 0 16px;
  cursor: pointer;
}
#profile-comments .pc-submit:disabled { opacity: 0.6; cursor: default; }

.pc-flame {
  width: 18px;
  height: 18px;
  margin-right: 3px;
  vertical-align: -4px;
}

.pc-notice,
.pc-empty {
  margin: 0 0 8px;
  font-size: 13px;
  font-style: italic;
  color: #999;
}

/* Each comment looks like a Recent Mentions item */
.pc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 6px;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.pc-avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #e6e6e6;
  background-size: 190%;
  background-position: center 5%;
  background-repeat: no-repeat;
}

.pc-body { flex: 1; min-width: 0; }

.pc-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pc-username {
  font-size: 13px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}
.pc-username:hover { text-decoration: underline; }

.pc-time { font-size: 11px; color: #999; }

.pc-delete {
  margin-left: auto;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #999;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s, background-color 0.15s;
}
.pc-item:hover .pc-delete,
.pc-delete:focus-visible { opacity: 1; }
.pc-delete:hover { background: rgba(0, 0, 0, 0.08); color: #d0342c; }
@media (hover: none) { .pc-delete { opacity: 1; } } /* touch screens can't hover */

.pc-text {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.pc-text a { color: #6868e7; }

/* Fixed-height list: scroll down for older comments (loaded automatically) */
#profile-comments .pc-list {
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

#profile-comments .pc-list:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.25);
  outline-offset: 2px;
  border-radius: 8px;
}

.pc-loading {
  padding: 8px;
  text-align: center;
  font-size: 12px;
  color: #999;
}

@media (max-width: 768px) {
  #profiledesc {
    min-width: unset;
    width: 100%;
    margin-bottom: 15px;
  }
}

#profiledesc img {
  max-width: 100%;
  height: auto;
}

#profilecontent {
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Content container for profiledesc and games side by side */
#content-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
}

@media (max-width: 768px) {
  #content-container {
    flex-direction: column;
    gap: 15px;
  }
}

/* Games section styling */
#games-section {
  padding: 20px;
  font-family: 'Trebuchet MS',Lato,LatoExtended,sans-serif;
  color: white;
  border-radius: 8px;
  box-sizing: border-box;
  height: fit-content;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  #games-section {
    min-width: unset;
    max-width: unset;
    width: 100%;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  #games-section {
    padding: 15px;
    min-width: unset;
    width: 100%;
  }
}

/* Right column for games and spotify */
#right-column {
  flex: 0 0 370px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Celebrities vote always sits at the top of the sidebar when it shows */
#celebs-section { order: -1; }

@media (max-width: 1000px) {
  #right-column { flex-basis: 340px; }
}

/* ==========================================================================
   Right-column cards — matches profile-layout.css (profile.php)
   ========================================================================== */
#right-column .profile-card {
  background-color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  color: #2b2f33;
  font-family: 'Trebuchet MS', Lato, LatoExtended, sans-serif;
  margin: 0;
  min-width: 0;
  max-width: none;
  width: auto;
  flex: none;
  zoom: normal;
}

#right-column .profile-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #2b2f33;
}

#right-column .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

#right-column .section-header h3 {
  margin: 0;
}

/* Friends */
#right-column .friends-pagination {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}

#right-column .friends-pagination .page-btn,
#right-column .friends-pagination button {
  margin: 0;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.4;
}

#right-column .page-info { font-size: 11px; }

#right-column #friends-section {
  padding-top: 11px;
  padding-bottom: 11px;
}

#right-column #friends-section .section-header { margin-bottom: 8px; }

#right-column #friends-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 0;
}

#right-column .friend-item {
  background-color: #f3f5f6;
  border-radius: 8px;
  padding: 3px 3px 2px;
  min-width: 0;
}

#right-column .friend-avatar {
  width: 36px;
  height: 40px;
  margin-bottom: 2px;
}

#right-column #friends-section .edit-friends-wrap { margin-top: 8px; }
#right-column #friends-section .edit-friends-btn { padding: 5px 10px; }

#right-column .friend-name {
  font-size: 10px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#right-column .edit-friends-wrap { margin-top: 10px; }
#right-column .edit-friends-wrap a { display: block; }

#right-column .edit-friends-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 7px 10px;
  font-size: 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* Game history */
#right-column .games-filters {
  margin: 0;
  gap: 2px;
}

#right-column .game-type-select {
  padding: 4px 26px 4px 10px;
  font-size: 0.8rem;
  border-radius: 7px;
  background-position: right 8px center;
}

#right-column #wins-badge {
  margin-left: 6px;
  font-size: 0.85rem;
}

#right-column #wins-badge svg { width: 16px; height: 16px; }
#right-column #wins-count { font-size: 0.85rem; }

#right-column #games-section {
  padding-top: 12px;
  padding-bottom: 12px;
}

#right-column #games-section .section-header { margin-bottom: 9px; }

#right-column #games-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 6px 4px;
  min-height: 0;
  margin-bottom: 0;
}

#right-column .game-circle {
  width: 33px;
  height: 33px;
  margin-bottom: 2px;
}

#right-column .place-text { font-size: 9px; }
#right-column .game-info { font-size: 9.5px; }

#right-column .games-pagination { margin-top: 6px; gap: 8px; }
#right-column .games-pagination:empty { display: none; }
#right-column .games-pagination .page-btn { padding: 2px 8px; font-size: 12px; }

/* Mentions */
#right-column #mentions-section {
  padding: 0;
  overflow: hidden;
}

#right-column #mentions-section h3 {
  margin: 0;
  padding: 10px 16px;
  font-size: 0.95rem;
  border-radius: 0;
}

#right-column #mentions-container {
  padding: 6px;
  max-height: 168px;
}

#right-column .mention-item {
  padding: 6px 8px;
  margin-bottom: 4px;
  border-radius: 8px;
}

#right-column .mention-item:hover { transform: translateX(2px); }

#right-column .mention-avatar {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}

#right-column .mention-header { margin-bottom: 1px; }
#right-column .mention-username { font-size: 12px; margin-right: 5px; }
#right-column .mention-type { font-size: 12px; }
#right-column .mention-blog-title { font-size: 12px; margin-bottom: 1px; }
#right-column .mention-time { font-size: 10px; }
#right-column .no-mentions { padding: 10px; font-size: 12px; margin: 0; }


@media (max-width: 768px) {
  #right-column {
    flex: none;
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
}

.games-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  align-items: center;
}

.game-filter-btn {
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 12px;
  transition: all 0.3s ease;
  color: #ffffff;
}

.game-filter-btn.active {
  background-color: #f5ea47;
  color: #ffffff;
}

.game-filter-btn:not(.active) {
  background-color: #f5f5f5;
  color: #ffffff;
}

.game-filter-btn:hover {
  background-color: #e0e0e0;
}

.frenzy-filter, .outcasted-filter, .arena-filter, .celebrities-filter, .race-filter, .hysteria-filter, .royale-filter {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

#games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 15px;
  min-height: 120px;
}

@media (max-width: 480px) {
  #games-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
}

@media (max-width: 360px) {
  #games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.game-item:hover {
  transform: scale(1.05);
}

.game-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 11px;
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.game-circle.frenzy {
  background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.game-circle.outcasted {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.game-circle.celebrities {
    background: linear-gradient(135deg, #ae2727, #cc2e2e);
}

.place-text {
  font-size: 10px;
  font-weight: bold;
}

.game-info {
  text-align: center;
  font-size: 10px;
  line-height: 1.2;
}

.game-id {
  font-weight: bold;
  color: #333;
}

.game-date {
  color: #333;
  margin-top: 1px;
}

.games-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.page-btn {
  background-color: #f5ea47;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.page-btn:hover {
  background-color: #f5d842;
}

.page-btn:disabled {
  background-color: #e0e0e0;
  cursor: not-allowed;
}

.page-info {
  font-weight: bold;
  color: #333;
  font-size: 12px;
}

.no-games {
  grid-column: 1 / -1;
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 20px;
}

/* ==========================================================================
   Blogs panel (sidebar)
   ========================================================================== */
.blog-toggle {
  display: flex;
  gap: 4px;
}

.blog-toggle-btn {
  display: inline-block;
  margin: 0;
  padding: 3px 10px;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

#right-column #blogs-container {
  max-height: 168px;
  overflow-y: auto;
}

/* Each blog looks like a Recent Mentions item */
.blog-item {
  display: block;
  padding: 6px 8px;
  margin-bottom: 4px;
  border-radius: 8px;
  background-color: #f9f9f9;
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-item:last-child { margin-bottom: 0; }

.blog-item:hover {
  background-color: #f0f0f0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.blog-item-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1px;
}

.blog-item-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: bold;
  color: #333;
}

.blog-pin-badge {
  flex-shrink: 0;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: bold;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.blog-item-preview {
  margin-bottom: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: #555;
}

.blog-item-meta {
  font-size: 10px;
  color: #999;
}

.no-blogs {
  margin: 0;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  font-style: italic;
  color: #999;
}


.blog-toggle-btn.active {
  background-color: #f5b747;
  color: #000;
}

.date {
  color: #9292927a;
  font-size: 13px;
  margin-left: 15px;
}

#othernames {
  margin-top: 10px;
}

/* Spotify Embed Styling */
#spotify-embed-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

#spotify-embed-container iframe[src*="spotify"] {
  border-radius: 8px;
  max-width: 400px;
  min-width: 300px;
  width: 100%;
    height: 152px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  #spotify-embed-container {
    justify-content: center;
  }
  
  #spotify-embed-container iframe[src*="spotify"] {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
}

#bodydiv {
  background-color: rgb(255, 65, 113);
}