body {
  margin: 0;
  font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #121212 !important;
  color: #F0F0F0 !important;
  padding-top: 70px;
}

.txt{
  color: #F0F0F0 !important;
}

.navbar-default {
  border: none !important;
}

h1 {
  color: #D36B8B !important;
  margin-bottom: 20px !important;
}

a {
  color: #F48FB1;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: #ffffff;
  text-decoration: none !important;
  text-shadow: 0 0 5px #F48FB1, 0 0 10px #F48FB1;
}

a:active {
  color: #F06292;
}

.male{
  color:#208DC3;
  font-weight: bold;
}
.female{
  color:#D04255;
  font-weight: bold;
}
.trans{
  color:#1BA466;
  font-weight: bold;
}

.well {
    font-size: 80%;
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #242424 !important;
    border: 1px solid #121212;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.colored {
    color: #D36B8B !important;
    font-weight: bold;
}

.btn-mirare {
  background-color: #D36B8B !important;
  color: #F0F0F0 !important;
  border: 2px solid #D36B8B !important;
  border-radius: 6px !important;
  font-size: 1rem !important;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease !important;
}

.btn-mirare:hover {
  background-color: #ec407a !important;
  border-color: #ec407a !important;
}

.btn-mirare:focus, .btn-mirare:active {
  outline: none !important;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3) !important;
}


/*一覧リスト関係--------------------------------*/


@keyframes pulse {
  0% {
    box-shadow: 0 0 10px rgba(255, 64, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 64, 129, 1);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 64, 129, 0.4);
  }
}


.room-card {
  background-color: #1b1719;
  color: #f5f5f5;
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 12px;
}

.room-info {
  display: flex;
  flex-direction: column;
}

.room-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  line-height: 1;
}

.message {
  font-size: 1.0rem;
  color: #ccc;
}

.room-wait {
  font-size: 0.85rem;
  color: #aaa;
  text-align: right;
  margin-top: 6px;
}

.viewer-count {
  font-size: 0.85rem;
  color: #f48fb1;
  text-align: right;
  margin-top: 6px;
}

@media (max-width: 600px) {
  .room-header {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
  }
  .room-info {
    flex: 1;
  }
  .room-action {
    flex-shrink: 0;
  }
}

.room-card.full {
  background: linear-gradient(145deg, #1b1719, #2a1b23);
  border: 1px solid rgba(255, 64, 129, 0.4);
  animation: pulse 1.8s infinite ease-in-out;
}

.room-card.full::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 64, 129, 0.1), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.user-name {
  font-size: 1.0rem;
  font-weight: bold;
  margin-bottom: 4px;
}

button {
  transition: background 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.room-card.full button {
  box-shadow: 0 0 8px rgba(255, 64, 129, 0.5);
  background: linear-gradient(135deg, #c0397b, #8a104e);
  color: #fff;
  letter-spacing: 0.5px;
  font-style: italic;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.2);
}

.room-card.full button:hover {
  background: linear-gradient(135deg, #e74c94, #a0215d);
  transform: scale(1.1);
}

button:hover {
  background-color: #ff9ebf;
  transform: scale(1.1);
}

.room-card.empty {
  background-color: #2a2a2a;
  color: #ccc;
  border: 1px solid #444;
  opacity: 0.9;
}
/*--------------------------------*/

.pagination {
  display: flex !important;
  justify-content: center !important;
  margin-top: 30px !important;
  gap: 10px !important;
}


.pagination a {
  display: inline-block !important;
  padding: 8px 12px !important;
  background-color: #3C3C3C !important;
  color: #F0F0F0 !important;
  text-decoration: none !important;
  border-radius: 6px !important;
  transition: background-color 0.3s !important;
}

.pagination a:hover {
  background-color: #D36B8B !important;
  color: #2A2A2A !important;
}

.pagination .current {
  background-color: #D36B8B !important;
  color: #2A2A2A !important;
  font-weight: bold !important;
}




/*-注意書き--------------------*/
.mirare-notice {
  background-color: #1a1a1a;
  color: #f5f5f5;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(244, 143, 177, 0.3);
  margin: 30px auto;
  max-width: 800px;
  border: 1px solid rgba(244, 143, 177, 0.3);
}

.mirare-notice h2 {
  color: #f48fb1;
  font-size: 1.6rem;
  margin-bottom: 14px;
  text-align: center;
}

.mirare-notice h3 {
  color: #f48fb1;
  text-align: center;
}

.mirare-notice ul {
  padding-left: 20px;
  margin: 12px 0;
}

.mirare-notice li {
  margin-bottom: 8px;
  line-height: 1.7;
}


/*--------------------------------*/


/*------招待部屋関係--------------------------*/
@keyframes glow {
  0%, 100% {
    color: #f06292;
    border-color: #f06292;
    background-color: transparent;
    opacity: 1;
  }
  50% {
    color: white;
    border-color: white;
    background-color: #f06292;
    opacity: 0.7;
  }
}

.room-card.invited::after {
  content: "招待ルーム";
  display: block;
  text-align: center;
  padding: 4px;
  margin-top: 4px;
  font-size: 0.7rem;
  color: #f06292;
  border: 1px solid #f06292;
  border-radius: 4px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;

  animation: glow 1.8s ease-in-out infinite;
}



/* ---- 招待バナー全体 ---- */
.invitation-banner {
  background: linear-gradient(135deg, #e91e63, #9c27b0);
  color: #fff;
  text-align: center;
  padding: 20px;
  margin: 20px auto;
  border-radius: 20px;
  max-width: 440px;
  box-shadow: 0 0 15px rgba(255, 64, 129, 0.5);
  animation: pulseGlow 2s ease-in-out infinite;
}

/* ---- メッセージ部分 ---- */
.invite-message {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 12px;
}

/* ---- ボタン部分 ---- */
.invite-btn {
  display: inline-block;
  background: #fff;
  color: #e91e63;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}
.invite-btn:hover {
  background: #f8bbd0;
  color: #880e4f;
}

/* ---- 背景光るアニメーション ---- */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 15px rgba(255, 64, 129, 0.4); }
  50% { box-shadow: 0 0 30px rgba(255, 64, 129, 0.9); }
  100% { box-shadow: 0 0 15px rgba(255, 64, 129, 0.4); }
}
