body.universe-page .universe-main{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 18px 60px;
}

body.universe-page .universe-container{
  max-width: 1100px;
  margin: 0 auto;
}

body.universe-page .creator-heading{
  margin: 0 0 8px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

body.universe-page .creator-meta{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.universe-page .creator-identity{
  display: flex;
  align-items: center;
  gap: 22px;
}

body.universe-page .creator-text{
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

body.universe-page .creator-avatar.is-large{
  width: 128px;
  height: 128px;
  font-size: 42px;
  font-weight: 900;
}

body.universe-page .creator-heading h1{
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
  color: rgba(255,255,255,0.96);
}

body.universe-page .creator-subline{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

body.universe-page .creator-subline-meta{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

body.universe-page .creator-slug{
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

body.universe-page .subscriber-count{
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.universe-page .population-count{
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
  text-transform: none;
}

body.universe-page .published-count{
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
  text-transform: none;
}

body.universe-page .creator-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

body.universe-page .subscribe-btn{
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #ff8bff, #c46bff 50%, #8b5dff);
  color: #140418;
  padding: 9px 16px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  position: relative;
  overflow: visible;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  box-shadow: 0 12px 26px rgba(152,71,255,0.45);
}

body.universe-page .subscribe-btn:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(152,71,255,0.55);
}

body.universe-page .subscribe-btn .subscribe-label{
  position: relative;
  z-index: 2;
}

body.universe-page .subscribe-btn.is-subscribed{
  background: linear-gradient(135deg, rgba(255,210,150,0.26), rgba(255,140,120,0.22));
  border-color: rgba(255,205,150,0.6);
  color: rgba(255,235,210,0.96);
  box-shadow: inset 0 0 0 1px rgba(255,220,180,0.2), 0 14px 28px rgba(255,160,120,0.28);
}

body.universe-page .subscribe-btn.is-subscribed:hover{
  filter: brightness(1.06);
  box-shadow: inset 0 0 0 1px rgba(255,220,180,0.25), 0 18px 36px rgba(255,160,120,0.36);
}

body.universe-page .subscribe-btn:disabled{
  opacity: 0.6;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

body.universe-page .notify-btn{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.32);
  color: rgba(255,255,255,0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, color .15s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}

body.universe-page .notify-btn svg{
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.universe-page .notify-btn .bell-fill{
  fill: currentColor;
  opacity: 0;
}

body.universe-page .notify-btn .bell-clapper{
  fill: currentColor;
  opacity: 0.7;
  stroke: none;
}

body.universe-page .notify-btn:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}

body.universe-page .notify-btn.is-on{
  color: rgba(255,235,210,0.96);
  border-color: rgba(255,205,150,0.6);
  background: rgba(255,180,140,0.18);
  box-shadow: inset 0 0 0 1px rgba(255,220,180,0.3), 0 12px 26px rgba(255,160,120,0.32);
}

body.universe-page .notify-btn.is-on .bell-fill{
  opacity: 0.9;
}

body.universe-page .notify-btn.is-on::after{
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,220,170,0.95);
  box-shadow: 0 0 8px rgba(255,200,150,0.8);
}

body.universe-page .notify-btn:disabled{
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

body.universe-page .subscribe-spark{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(var(--scale, 1));
  width: var(--size, 8px);
  height: var(--size, 8px);
  border-radius: 999px;
  background: rgba(255,220,170,0.95);
  font-size: 0;
  line-height: 0;
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 0 8px rgba(255,190,120,0.75);
  box-shadow: 0 0 10px rgba(255,190,120,0.75), 0 0 18px rgba(255,160,120,0.55);
  animation: subscribe-spark 800ms ease-out forwards;
  animation-delay: var(--delay, 0ms);
  z-index: 1;
}

@keyframes subscribe-spark{
  0%{
    opacity: 0;
    transform: translate(-50%, -50%) scale(var(--scale, 1));
  }
  18%{
    opacity: 1;
  }
  100%{
    opacity: 0;
    transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px))) scale(0.1);
  }
}

body.universe-page .universe-status{
  margin: 10px 0 16px 0;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

body.embed-mode.universe-page .universe-main{
  padding-top: 18px;
}

body.universe-page .world-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

body.universe-page .live-world-section{
  margin: 16px 0 24px;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

body.universe-page .live-world-header{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

body.universe-page .live-world-title{
  font-size: 16px;
  font-weight: 800;
  color: rgba(255,255,255,0.95);
}

body.universe-page .live-world-subtitle{
  font-size: 12px;
  color: rgba(255,255,255,0.68);
}

body.universe-page .live-world-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 520px));
  gap: 18px;
  margin-top: 14px;
  justify-content: start;
}

body.universe-page .live-world-grid .world-card.live-banner{
  display: grid;
  grid-template-columns: minmax(280px, 40%) 1fr;
  gap: 16px;
  align-items: center;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  max-width: 900px;
}

body.universe-page .live-world-grid .world-card.live-banner .world-body{
  padding: 0;
  gap: 10px;
}

body.universe-page .live-world-grid .world-card.live-banner .world-title{
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
}

body.universe-page .live-world-grid .world-card.live-banner .world-creator{
  font-size: 16px;
  font-weight: 700;
}

body.universe-page .live-world-grid .world-card.live-banner .world-live-collab{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  flex-wrap: wrap;
}

body.universe-page .live-world-grid .world-card.live-banner .world-live-collab-avatar{
  width: 42px;
  height: 42px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.24);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}

body.universe-page .live-world-grid .world-card.live-banner .world-live-collab-extra{
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.24);
}

body.universe-page .live-world-grid .world-card.live-banner .world-meta{
  font-size: 14px;
  font-weight: 600;
  padding-right: 0;
  white-space: normal;
}

body.universe-page .live-world-grid .world-card.live-banner .gen-menu{
  position: static;
  margin-left: 0;
  align-self: flex-start;
  margin-top: 6px;
}

@media (max-width: 720px){
  body.universe-page .live-world-grid .world-card.live-banner{
    grid-template-columns: 1fr;
  }
}

body.universe-page .world-card:hover{
  transform: translateY(-2px);
  border-color: rgba(199,125,255,0.45);
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
}

body.universe-page .world-thumb{
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: rgba(0,0,0,0.25);
}

body.universe-page .world-live-badge{
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(220,48,60,0.95);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 6px 16px rgba(180,40,50,0.35);
  z-index: 2;
  pointer-events: none;
}

body.universe-page .world-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

body.universe-page .world-views{
  position: absolute;
  right: 10px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

body.universe-page .world-card{
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  overflow: visible;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.universe-page .world-card .gen-menu{
  position: absolute;
  right: 12px;
  bottom: 12px;
  margin-left: 0;
}

body.universe-page .world-card.menu-open{
  z-index: 40;
}

body.universe-page .world-body{
  display: flex;
  flex-direction: column;
  padding: 12px 14px 14px 14px;
  gap: 4px;
}

body.universe-page .world-title-row{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

body.universe-page .world-title{
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.94);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.universe-page .world-creator{
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  letter-spacing: 0.1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.universe-page .world-meta{
  margin: 0;
  padding-right: 36px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 720px){
  body.universe-page .universe-main{
    padding-top: 14px;
  }
}

@media (max-width: 1100px){
  body.universe-page .world-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px){
  body.universe-page .world-grid{
    grid-template-columns: 1fr;
  }
}
