blockquote, .codeblock {
  font-size: 13px;
  font-style: italic;
  color: #a8987c;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  border-left: 2px solid #cbb994;
	  border-top: none;
		  border-right: none;
		  border-bottom: none;
	border-radius:0px;
}

.realm-buttonbg {
background: var(--back) url(https://pale.divided-kingdoms.de/images/pale/wavesbig.png) repeat-x bottom;
  background-size: cover;
	padding:20px 50px;
	bottom:0px;
	width:300px;
box-sizing:border-box;
}
.realm-buttonbg a, i {
background: var(--body);
	width:15px; 
	height:15px;
	font-size:13px;
	color:var(--golden);
	
}

.realm-postbit {
  display: flex;
  gap: 30px;
  background-color: var(--postbitbg);
  border: 1px solid var(--bordercolor);
  margin: 20px auto;
  padding: 25px 100px;
	box-sizing:border-box;
  position: relative;
  width: 70%;
  min-height: 340px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  overflow: hidden;
}

.realm-postbit::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 300px;
  height: 150px;
  background: var(--back) url(https://pale.divided-kingdoms.de/images/pale/wavesbig.png) no-repeat bottom right;
  background-size: contain;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.realm-avatar-wrap {
  position: sticky;
  top: 30px;
  align-self: flex-start;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
	padding:20px;
  width: 300px;
}

.realm-avatar {
  width: 300px;
  height: 300px;
  border: 1px solid var(--aura-outer);
  overflow: hidden;
  margin-bottom: 15px;

  /* Zwei Effekte: Pulsieren außen + Helligkeitswellen innen */
  animation: avatarOuterPulse 12s ease-in-out infinite;
  box-shadow:
    0 0 14px 4px var(--aura-inner),
    0 0 26px 9px var(--aura-outer);
}

.realm-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Pulsieren außen */
@keyframes avatarOuterPulse {
  0% {
    box-shadow:
      0 0 14px 4px var(--aura-inner),
      0 0 26px 9px var(--aura-outer);
  }
  30% {
    box-shadow:
      0 0 18px 6px var(--aura-inner),
      0 0 32px 11px var(--aura-outer);
  }
  60% {
    box-shadow:
      0 0 12px 3px var(--aura-inner),
      0 0 24px 8px var(--aura-outer);
  }
  100% {
    box-shadow:
      0 0 14px 4px var(--aura-inner),
      0 0 26px 9px var(--aura-outer);
  }
}

/* Sanftes Aufhellen/Abdunkeln des inneren Glows */
.realm-avatar {
  --aura-bright: var(--aura-inner);
  animation:
    avatarOuterPulse 14s ease-in-out infinite,
    innerGlowBrightness 10s ease-in-out infinite alternate;
}

@keyframes innerGlowBrightness {
  0%   { --aura-inner: color-mix(in srgb, var(--aura-bright) 100%, white 0%); }
  50%  { --aura-inner: color-mix(in srgb, var(--aura-bright) 80%, white 20%); }
  100% { --aura-inner: color-mix(in srgb, var(--aura-bright) 100%, white 0%); }
}



.realm-avatar-info {
  width: 100%;
  background-color: rgba(20, 17, 15, 0.8);
  padding: 15px;
  border: 1px solid #3a2e22;
	border-bottom:none;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.4);
  color: #cbb994;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
	box-sizing:border-box;
}

.realm-name {
  font-size: 18px;
  font-weight: bold;
  color: #d6c4aa;
  text-align: center;
}

.realm-playedby {
  font-size: 11px;
  text-transform: uppercase;
  color: #b09e7a;
  text-align: center;
}

.realm-charinfo {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: #d0c0a8;
}

.realm-summary {
  font-size: 14px;
  color: var(--txtgold);
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
	max-height:200px;
	overflow:auto;
  border-left: 2px solid var(--accentborder);
}

.realm-postcontent {
  flex-grow: 1;
  color: var(--txt);
  font-size: 15px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.realm-message {
  font-size: 15px;
  color: var(--txtgold);
  line-height: 1.8;
	padding:50px;
}

/* Scrollbalken */
/* Für Chrome, Edge, Safari */
.realm-postbit::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.realm-postbit::-webkit-scrollbar-track {
    background: var(--body);
}

.realm-postbit::-webkit-scrollbar-thumb {
    background-color: var(--back); /* mittlerer Ton */
    border-radius: 5px;
    border: 2px solid var(--body); /* Abstand */
}

.realm-postbit::-webkit-scrollbar-thumb:hover {
    background-color: var(--golden); /* Highlight beim Hover */
}

/* Für Firefox */
.body {
    
    scrollbar-color: var(--back) var(--body); /* Daumen / Hintergrund */
}

.body:hover {
    scrollbar-color: var(--golden) var(--body); /* Hover-Highlight */
}

.realm-summary {
    
    scrollbar-color: var(--back) var(--body); /* Daumen / Hintergrund */
}

.realm-summary:hover {
    scrollbar-color: var(--golden) var(--body); /* Hover-Highlight */
}
