/* moro.css - Styling for Moro Makiya character page */
:root {
  --main-bg-color: #121212;
  --main-text-color: #f2f2f2;
  --accent-color: #8a0303; /* Deep velvet red */
  --secondary-accent: #c70000;
  --highlight-color: #ff5454;
  --container-width: 1200px;
  --content-padding: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--main-bg-color);
  color: var(--main-text-color);
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1px;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

/* Header styling */
h1 {
  color: var(--secondary-accent);
  font-size: 2rem;
  text-align: center;
  padding: 2rem 0 1rem 0;
  position: relative;
}

h1::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 0.5rem auto;
}

h2 {
  color: var(--highlight-color);
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--accent-color);
  position: relative;
}

h2::before {
  content: "†";
  display: inline-block;
  transform: rotate(180deg);
  margin-right: 0.5rem;
  color: var(--secondary-accent);
}

h3 {
  color: var(--secondary-accent);
  font-size: 1.2rem;
  margin: 1rem 0;
}

/* Inverted cross background effect */
.section-container {
  position: relative;
  padding: 1.5rem;
  margin: 1.5rem 0;
  background-color: rgba(20, 20, 20, 0.8);
  border-left: 4px solid var(--accent-color);
}

.section-container::before {
  content: "†";
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  transform: rotate(180deg);
  font-size: 2rem;
  color: rgba(138, 3, 3, 0.2);
  z-index: -1;
}

/* Image styling */
figure {
  margin: 1.5rem 0;
  text-align: center;
}

figure img {
  max-width: 100%;
  height: auto;
  border: 2px solid var(--accent-color);
}

figcaption {
  font-size: 0.9rem;
  color: #aaa;
  padding: 0.5rem 0;
}

.sneak {
  transition: transform 0.3s ease;
}

.sneak:hover {
  transform: scale(1.02);
}

/* Table styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

th, td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--accent-color);
}

th {
  background-color: rgba(138, 3, 3, 0.2);
  color: var(--highlight-color);
}

/* List styling */
ul, ol {
  margin: 1rem 0 1rem 2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Links styling */
a {
  color: var(--highlight-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-accent);
  text-decoration: underline;
}

.push0 {
  position: relative;
  padding-left: 1rem;
}

.push0::before {
  content: "†";
  display: inline-block;
  transform: rotate(180deg);
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* Table of contents */
.toc {
  background-color: rgba(20, 20, 20, 0.8);
  border: 1px solid var(--accent-color);
  padding: 1rem;
  margin: 1.5rem 0;
}

.toc a {
  display: block;
  margin: 0.5rem 0;
  padding-left: 1rem;
  position: relative;
}

.toc a::before {
  content: "†";
  display: inline-block;
  transform: rotate(180deg);
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* Ruby text styling */
ruby {
  display: inline-flex;
  flex-direction: column;
}

rt {
  font-size: 0.6em;
  text-align: center;
  color: var(--secondary-accent);
}

/* Responsive design */
@media (max-width: 768px) {
  :root {
    --content-padding: 12px;
  }

  h1 {
    font-size: 1.7rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .container {
    padding: 0 10px;
  }

  .section-container {
    padding: 1rem;
  }
}
/* 登場シーンの表をより見やすくする追加スタイル */
.appearance-table {
  overflow-x: auto;
  margin: 2rem 0;
  box-shadow: 0 0 15px rgba(138, 3, 3, 0.2);
  border-radius: 4px;
}

.appearance-table table {
  margin: 0;
  border: 1px solid var(--accent-color);
}

.appearance-table th {
  background-color: var(--accent-color);
  color: var(--main-text-color);
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  letter-spacing: 1px;
}

.appearance-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(138, 3, 3, 0.3);
  transition: background-color 0.3s ease;
}

.appearance-table tr:hover td {
  background-color: rgba(138, 3, 3, 0.1);
}

.appearance-table tr:nth-child(odd) {
  background-color: rgba(20, 20, 20, 0.8);
}

.appearance-table tr:nth-child(even) {
  background-color: rgba(30, 30, 30, 0.8);
}

.appearance-table td:first-child {
  font-weight: bold;
  color: var(--highlight-color);
  border-right: 1px solid rgba(138, 3, 3, 0.3);
  width: 30%;
}

@media (max-width: 768px) {
  .appearance-table td {
    padding: 0.8rem 0.5rem;
  }

  .appearance-table td:first-child {
    width: 40%;
  }
}
/* おすすめ記事のスタイリング */
.recommendations-container {
  margin: 1.5rem 0;
}

#recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

#recommendations a {
  display: block;
  text-decoration: none;
  background-color: rgba(20, 20, 20, 0.8);
  border: 1px solid var(--accent-color);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  color: var(--main-text-color);
  padding-bottom: 1rem;
  box-shadow: 0 0 10px rgba(138, 3, 3, 0.2);
}

#recommendations a:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(138, 3, 3, 0.3);
  text-decoration: none;
  border-color: var(--highlight-color);
}

#recommendations a::before {
  content: "†";
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  transform: rotate(180deg);
  font-size: 2rem;
  color: rgba(138, 3, 3, 0.6);
  z-index: 1;
  transition: all 0.3s ease;
}

#recommendations a:hover::before {
  color: var(--secondary-accent);
}

#recommendations img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-bottom: 2px solid var(--accent-color);
  transition: all 0.3s ease;
}

#recommendations a:hover img {
  filter: brightness(1.1);
}

#recommendations br {
  display: none; /* カード型レイアウトのためbrを非表示に */
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  #recommendations {
    grid-template-columns: 1fr;
  }

  #recommendations a {
    margin-bottom: 1.5rem;
  }
}
/* h1タイトルの強調スタイルと挿入アニメーション */
.title-container {
  position: relative;
  padding: 2rem 0;
  margin: 1.5rem 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(20,20,20,0.9));
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(138, 3, 3, 0.4);
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  animation: titleFadeIn 1.2s ease-out forwards;
}

@keyframes titleFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  30% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.title-container:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(138, 3, 3, 0.2) 0%, transparent 70%);
  z-index: 1;
}

h1 {
  position: relative;
  color: var(--main-text-color);
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(199, 0, 0, 0.5);
  padding: 1rem 2rem;
  z-index: 3;
  text-align: center;
  animation: pulseText 3s infinite alternate;
  display: inline-block;
  border: none;
}

@keyframes pulseText {
  0% {
    text-shadow: 0 0 10px rgba(199, 0, 0, 0.5);
  }
  100% {
    text-shadow: 0 0 15px rgba(255, 84, 84, 0.8);
  }
}

h1::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--secondary-accent), transparent);
  animation: widthPulse 4s infinite alternate;
}

@keyframes widthPulse {
  0% {
    width: 30%;
  }
  100% {
    width: 80%;
  }
}

.title-decoration {
  position: absolute;
  font-size: 3rem;
  color: var(--accent-color);
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  opacity: 0;
  z-index: 2;
  animation: decorationFadeIn 1.5s ease-out forwards, decorationPulse 4s 1.5s infinite alternate;
}

.title-decoration.left {
  left: 1rem;
  animation-delay: 0.5s;
}

.title-decoration.right {
  right: 1rem;
  animation-delay: 0.8s;
}

@keyframes decorationFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-50%) rotate(180deg) scale(0.5);
  }
  100% {
    opacity: 0.7;
    transform: translateY(-50%) rotate(180deg) scale(1);
  }
}

@keyframes decorationPulse {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(199, 0, 0, 0.8);
  }
}

@media (max-width: 768px) {
  .title-container {
    padding: 1.5rem 0.5rem;
  }

  h1 {
    font-size: 1.7rem;
    padding: 0.5rem;
  }

  .title-decoration {
    font-size: 2rem;
  }

  .title-decoration.left {
    left: 0.5rem;
  }

  .title-decoration.right {
    right: 0.5rem;
  }
}

/* セクションボタンのスタイリング */
.section-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1rem;
  width: 100%;
  max-width: 1200px;
}

.section-button {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: linear-gradient(to right, rgba(138, 3, 3, 0.7), rgba(138, 3, 3, 0.9), rgba(138, 3, 3, 0.7));
  color: var(--main-text-color);
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--accent-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.section-button:hover {
  transform: translateY(-3px);
  background: linear-gradient(to right, rgba(199, 0, 0, 0.8), rgba(199, 0, 0, 1), rgba(199, 0, 0, 0.8));
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  color: white;
  text-decoration: none;
}

.section-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
}

.section-button:hover::before {
  left: 100%;
}

.button-icon {
  display: inline-block;
  margin-right: 0.5rem;
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.section-button:hover .button-icon {
  transform: rotate(180deg) scale(1.2);
}

.back-to-toc {
  background: linear-gradient(to right, rgba(20, 20, 20, 0.9), rgba(40, 40, 40, 0.9), rgba(20, 20, 20, 0.9));
  border: 1px solid var(--accent-color);
}

.back-to-toc:hover {
  background: linear-gradient(to right, rgba(30, 30, 30, 0.95), rgba(50, 50, 50, 0.95), rgba(30, 30, 30, 0.95));
}

.related-link {
  background: linear-gradient(to right, rgba(138, 3, 3, 0.7), rgba(138, 3, 3, 0.9), rgba(138, 3, 3, 0.7));
}

.related-link:hover {
  background: linear-gradient(to right, rgba(199, 0, 0, 0.8), rgba(199, 0, 0, 1), rgba(199, 0, 0, 0.8));
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .section-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

  .section-button {
    width: 100%;
    padding: 0.8rem 1rem;
  }
}
/* パンくずリストのスタイリング */
.breadcrumb-nav {
  background-color: rgba(20, 20, 20, 0.9);
  border-bottom: 2px solid var(--accent-color);
  padding: 0.7rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
}

.breadcrumb-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--secondary-accent), transparent);
}

.breadcrumb-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.breadcrumb-item:not(:last-child)::after {
  content: "†";
  display: inline-block;
  margin: 0 0.5rem;
  color: var(--accent-color);
  transform: rotate(90deg);
  font-size: 0.8rem;
}

.breadcrumb-link {
  color: #cccccc;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

.breadcrumb-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--highlight-color);
  transition: width 0.3s ease;
}

.breadcrumb-link:hover {
  color: var(--highlight-color);
  text-decoration: none;
}

.breadcrumb-link:hover::after {
  width: 100%;
}

.current-page {
  color: var(--secondary-accent);
  font-weight: bold;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .breadcrumb {
    font-size: 0.8rem;
  }

  .breadcrumb-item:not(:last-child)::after {
    margin: 0 0.3rem;
  }
}
/* 更新日時とSNSボタンのスタイリング */
.article-info {
  margin: 1.5rem 0;
  padding: 0.8rem 1.2rem;
  background-color: rgba(20, 20, 20, 0.8);
  border-left: 3px solid var(--accent-color);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.info-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.update-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #cccccc;
  font-size: 0.9rem;
}

.time-icon {
  font-size: 1.2rem;
  color: var(--secondary-accent);
  transform: rotate(180deg);
  display: inline-block;
}

.time {
  margin: 0;
  padding: 0;
}

.author-name {
  color: var(--highlight-color);
  font-weight: 500;
}

.share-buttons {
  display: flex;
  align-items: center;
}

.share-group {
  display: flex;
  gap: 0.8rem;
}

.share-button {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.share-button a {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.share-button a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
}

.share-button:hover a::before {
  left: 100%;
}

.share-icon {
  margin-right: 0.5rem;
  font-weight: bold;
}

.twitter-share {
  background-color: #1d9bf0;
  box-shadow: 0 2px 4px rgba(29, 155, 240, 0.3);
}

.twitter-share:hover {
  background-color: #0c7abf;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(29, 155, 240, 0.4);
}

.facebook-share {
  background-color: #1877f2;
  box-shadow: 0 2px 4px rgba(24, 119, 242, 0.3);
}

.facebook-share:hover {
  background-color: #0a59c0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(24, 119, 242, 0.4);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .info-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .update-info {
    width: 100%;
  }

  .share-group {
    width: 100%;
    justify-content: flex-start;
  }

  .share-button a {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}
/* フッターのスタイリング */
.site-footer {
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), rgba(20, 20, 20, 0.97));
  color: #cccccc;
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
  position: relative;
  border-top: 3px solid var(--accent-color);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--secondary-accent), transparent);
}

.site-footer::after {
  content: "†";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  font-size: 2rem;
  color: var(--secondary-accent);
  background-color: var(--main-bg-color);
  padding: 0 1rem;
  z-index: 2;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-section {
  position: relative;
}

.section-title {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  gap: 0.5rem;
}

.section-title h3 {
  color: var(--highlight-color);
  font-size: 1.2rem;
  margin: 0;
  font-weight: 700;
  position: relative;
}

.cross-icon {
  display: inline-block;
  color: var(--accent-color);
  transform: rotate(180deg);
  font-size: 1.1rem;
}

.mail-link {
  display: flex;
  align-items: center;
  color: var(--highlight-color);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
}

.mail-link:hover {
  color: var(--secondary-accent);
  text-decoration: none;
}

.mail-icon {
  margin-right: 0.6rem;
  color: var(--accent-color);
  font-size: 1.1rem;
}

.contact-section p, .usage-section p {
  margin: 0.6rem 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.usage-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0;
}

.usage-list li {
  margin-bottom: 0.6rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
}

.list-mark {
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--accent-color);
  transform: rotate(180deg);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(138, 3, 3, 0.3);
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.brand-link:hover {
  color: var(--highlight-color);
  text-decoration: none;
}

.brand-link img {
  margin-right: 0.5rem;
}

.copyright {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #999999;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .site-footer {
    padding: 2.5rem 0 1rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .brand-link {
    margin: 0 auto;
  }

  .copyright {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }
}
/* 死罪人一覧のスタイリング */
#death-row-prisoners {
  margin: 3rem 0;
}

.prisoners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.prisoner-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 1rem;
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid var(--accent-color);
  border-radius: 4px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.prisoner-item:hover {
  transform: translateY(-5px);
  background: rgba(40, 20, 20, 0.95);
  border-color: var(--secondary-accent);
}

.prisoner-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.prisoner-item:hover::after {
  left: 100%;
}

.prisoner-image-container {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 0.5rem;
}

.prisoner-item img {
  width: 64px;
  height: 64px;
  border: 2px solid var(--accent-color);
  border-radius: 4px;
  transition: all 0.3s ease;
  display: block;
}

.prisoner-item:hover img {
  transform: scale(1.1);
  border-color: var(--highlight-color);
}

.cross-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(180deg);
  font-size: 3rem;
  color: rgba(138, 3, 3, 0.6);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.prisoner-item:hover .cross-overlay {
  opacity: 0.7;
  transform: translate(-50%, -50%) rotate(180deg) scale(1.2);
}

.prisoner-name {
  color: var(--main-text-color);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  margin-top: 0.3rem;
  transition: color 0.3s ease;
}

.prisoner-item:hover .prisoner-name {
  color: var(--highlight-color);
}

/* 現在のキャラクター（茂籠牧耶）の強調 */
.prisoner-item.current-character {
  background: linear-gradient(135deg, rgba(138, 3, 3, 0.3), rgba(20, 20, 20, 0.9));
  border: 2px solid var(--secondary-accent);
}

.prisoner-item.current-character img {
  border-color: var(--secondary-accent);
}

.prisoner-item.current-character .prisoner-name {
  color: var(--secondary-accent);
}

.prisoner-item.current-character .cross-overlay {
  opacity: 0.4;
  color: var(--secondary-accent);
}

.prisoner-item.current-character:hover .cross-overlay {
  opacity: 0.8;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .prisoners-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 1rem;
  }

  .prisoner-item {
    padding: 0.8rem;
  }

  .prisoner-name {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .prisoners-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 0.8rem;
  }

  .prisoner-item {
    padding: 0.6rem;
  }

  .prisoner-name {
    font-size: 0.75rem;
  }
}
