.guide-detail{
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px 44px;
}

.guide-header{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(8,12,20,.62);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
}

.guide-header__image{
  height: clamp(220px, 34vw, 380px);
  position: relative;
  overflow: hidden;
}

.guide-header__image-media{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
}

.guide-header__image::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.78));
}

.guide-header__content{
  padding: 18px 18px 16px;
}

.guide-taxonomy{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.guide-category-badge{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.45);
  color: rgba(255,255,255,.92);
  font-weight: 900;
  text-decoration: none;
}

.guide-game-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.guide-game-badge{
  display:inline-flex;
  align-items:center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(158, 229, 255, .18);
  background: rgba(13, 25, 45, .72);
  color: rgba(228, 245, 255, .94);
  font-weight: 800;
  font-size: .84rem;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}

.guide-game-badge.is-current{
  background: linear-gradient(135deg, rgba(158, 230, 255, .94), rgba(211, 248, 255, .94));
  color: #06203d;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(126, 224, 255, .18);
}

.guide-header h1{
  margin: 12px 0 0;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: .2px;
}

.guide-excerpt{
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.88);
  max-width: 80ch;
}

.guide-meta{
  margin-top: 12px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  color: rgba(255,255,255,.74);
  font-weight: 700;
}

.guide-meta > span{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.32);
}

.guide-body{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items:start;
}

.guide-sidebar{ position: sticky; top: 90px; }

.rating-widget{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(8,12,20,.62);
  backdrop-filter: blur(12px);
  padding: 14px;
}

.rating-widget__avg{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
}

.rating-widget__avgnum{
  font-size: 42px;
  font-weight: 950;
  color: #f7c948;
  text-shadow: 0 1px 0 rgba(0,0,0,.55);
}
.rating-widget__cnt{
  color: rgba(255,255,255,.72);
  font-weight: 700;
  font-size: 1.2rem;
}

.rating-widget .stars{
  margin-top: 10px;
  display:flex;
  gap: 6px;
  align-items:center;
  line-height: 1;
}

.rating-widget .star{
  width: 66px;
  height: 66px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.30);
  color: rgba(255,255,255,.35);
  font-size: 33px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.rating-widget .star:hover{
  transform: translateY(-2px);
  border-color: rgba(247,201,72,.62);
  background: rgba(247,201,72,.14);
  color: #f7c948;
}

.rating-widget .star.is-hover{
  border-color: rgba(247,201,72,.62);
  background: rgba(247,201,72,.14);
  color: #f7c948;
}

.rating-widget .star.is-on{ color: #f7c948; text-shadow: 0 1px 0 rgba(0,0,0,.55); }
.rating-widget .star:disabled{ opacity:.55; cursor:not-allowed; transform:none; }

.rating-widget__msg{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.86);
  min-height: 42px;
}

.guide-actions{ margin-top: 12px; }

.guide-content{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(8,12,20,.62);
  backdrop-filter: blur(12px);
  padding: 18px;
  overflow-wrap: anywhere;
}

.guide-content img{ max-width: 100%; height: auto; border-radius: 14px; }
.guide-content iframe{ width: 100%; max-width: 100%; border: 0; border-radius: 14px; }

.guide-comments{
  margin-top: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(8,12,20,.62);
  backdrop-filter: blur(12px);
  padding: 18px;
}

.guide-comments h2{ margin: 0 0 12px; }

.comment-form textarea{
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
}

.comments-list{ margin-top: 14px; display:flex; flex-direction:column; gap: 12px; }

.comment{
  display:flex;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.26);
}

.comment__avatar img{ width: 44px; height: 44px; border-radius: 50%; object-fit:cover; }
.avatar-placeholder{ width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); font-weight: 950; }

.comment__header{ display:flex; gap:10px; align-items:baseline; justify-content:space-between; }
.comment__date{ color: rgba(255,255,255,.60); font-size: 12px; }

@media (max-width: 980px){
  .guide-body{ grid-template-columns: 1fr; }
  .guide-sidebar{ position: relative; top: auto; }
}
