main {
  padding-bottom: 30px;
}
.wiki-detail-header {
  margin-bottom: -30px;
}
.wiki-detail-back-link {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: color 0.3s ease;
  background-color: rgba(0,86,122,0.3);
  padding: 8px 12px;
  border-radius: 11px;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.2);
}
.wiki-detail-back-link:hover {
  color: #ffe066;
}
.wiki-detail-item-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 auto 15px auto;
  padding: 15px;
  background-color: rgba(0,86,122,0.3);
  border-radius: 18px;
  width: 85.5%;
  max-width: 1296px;
  max-width: 900px;
  box-sizing: border-box;
}
.wiki-detail-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background-color: rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 8px;
}
.wiki-detail-title {
  color: #fff;
  font-size: 22px;
  margin: 0 0 8px 0;
  font-weight: bold;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.wiki-detail-description {
  color: #ccc;
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
}
.entity-section {
  width: 85.5%;
  max-width: 1296px;
  max-width: 900px;
  margin: 0 auto 20px auto;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  overflow: hidden;
}
.entity-section-title {
  color: #66b3e6;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(0,86,122,0.3) 0%, rgba(0,86,122,0.2) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.entity-section-toggle {
  cursor: pointer;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.entity-section-toggle:hover {
  color: #88ccff;
}
.entity-section-content {
  padding: 15px 20px;
}
.entity-param {
  display: flex;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.entity-param:last-child {
  border-bottom: none;
}
.entity-param-key {
  color: #aaa;
  font-size: 13px;
  font-weight: bold;
  min-width: 200px;
  flex-shrink: 0;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.entity-param-value {
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.wiki-detail-actions {
  margin-top: 10px;
}
.wiki-detail-action-link {
  color: #4CAF50;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  padding: 6px 12px;
  background-color: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
}
.wiki-detail-action-link:hover {
  background-color: rgba(76, 175, 80, 0.2);
  border-color: rgba(76, 175, 80, 0.5);
  color: #66BB6A;
}
.wiki-detail-action-arrow {
  transition: transform 0.3s ease;
  font-size: 14px;
}
.wiki-detail-action-arrow.expanded {
  transform: rotate(90deg);
}
.star-rating {
  display: flex;
  gap: 2px;
  align-items: center;
}
.star-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.price-display {
  display: flex;
  align-items: center;
  gap: 6px;
}
.coin-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.price-value {
  color: #FFD700;
  font-weight: bold;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.price-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.price-item {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: rgba(255,255,255,0.1);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
}
.price-count {
  font-weight: bold;
  color: #fff;
}
.price-item-image {
  width: 24px;
  height: 24px;
  object-fit: contain;
  background-color: rgba(255,255,255,0.1);
  border-radius: 11px;
  padding: 2px;
}
.event-required {
  color: #FF6B6B;
  font-weight: bold;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-badge {
  background: linear-gradient(135deg, rgba(102, 179, 230, 0.3) 0%, rgba(53, 151, 212, 0.2) 100%);
  color: #66b3e6;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  border: 1px solid rgba(102, 179, 230, 0.3);
  text-shadow: 1px 1px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
  }
  main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 15px !important;
    box-sizing: border-box;
  }
  .wiki-detail-header {
    margin-bottom: 15px;
    padding: 0;
  }
  .wiki-detail-back-link {
    background: rgba(30, 39, 50, 0.6) !important;
    border: 1px solid rgba(51, 144, 236, 0.3) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  .wiki-detail-back-link:hover {
    background: rgba(51, 144, 236, 0.2) !important;
    border-color: rgba(51, 144, 236, 0.5) !important;
    color: #ffffff !important;
  }
  .wiki-detail-item-header {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px;
    margin: 0 0 15px 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0;
    border-bottom: 1px solid rgba(51, 144, 236, 0.15) !important;
  }
  .wiki-detail-image {
    width: 50px;
    height: 50px;
    background: transparent !important;
  }
  .wiki-detail-title {
    font-size: 18px;
    color: #ffffff !important;
    text-shadow: none !important;
  }
  .wiki-detail-description {
    font-size: 13px;
    color: #e4e4e4 !important;
    text-shadow: none !important;
  }
  .entity-section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 15px 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0;
    border-bottom: 1px solid rgba(51, 144, 236, 0.15) !important;
  }
  .entity-section-title {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(51, 144, 236, 0.15) !important;
    color: #3390ec !important;
    text-shadow: none !important;
    padding: 12px 15px;
  }
  .entity-section-content {
    padding: 15px;
  }
  .entity-param {
    border-bottom: 1px solid rgba(51, 144, 236, 0.1) !important;
    flex-direction: column;
    gap: 4px;
  }
  .entity-param-key {
    color: #3390ec !important;
    min-width: auto;
    text-shadow: none !important;
    font-size: 12px;
  }
  .entity-param-value {
    color: #ffffff !important;
    text-shadow: none !important;
    font-size: 13px;
  }
  .wiki-detail-action-link {
    background: rgba(51, 144, 236, 0.2) !important;
    border: 1px solid rgba(51, 144, 236, 0.3) !important;
    color: #3390ec !important;
    text-shadow: none !important;
  }
  .wiki-detail-action-link:hover {
    background: rgba(51, 144, 236, 0.3) !important;
    border-color: rgba(51, 144, 236, 0.5) !important;
    color: #5288c1 !important;
  }
  .price-item {
    background: rgba(30, 39, 50, 0.6) !important;
    border: 1px solid rgba(51, 144, 236, 0.15) !important;
  }
  .price-count {
    color: #ffffff !important;
    text-shadow: none !important;
  }
  .tag-badge {
    background: rgba(51, 144, 236, 0.2) !important;
    border: 1px solid rgba(51, 144, 236, 0.3) !important;
    color: #3390ec !important;
    text-shadow: none !important;
  }
  .event-required {
    text-shadow: none !important;
  }
}
