:root {
  --page-shell-bg: rgba(26, 26, 26, 0.95);
  --page-shell-border: rgba(205, 156, 72, 0.2);
  --page-shell-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.news-home-shell {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 18px;
}

.news-home-header,
.news-home-ticker,
.news-home-welcome {
  border: 1px solid rgba(205, 156, 72, 0.16);
  background: linear-gradient(135deg, rgba(18, 18, 22, 0.98), rgba(14, 14, 18, 0.98));
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.42);
}

.news-home-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px 14px 0 0;
}

.news-home-header__title h1 {
  margin: 0;
  color: #f4d28a;
  font-size: 2rem;
  font-weight: 800;
}

.news-home-header__meta {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  text-align: right;
}

.news-home-ticker {
  margin-top: 0;
  border-top: 0;
  border-radius: 0;
  overflow: hidden;
}

.news-home-ticker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(205, 156, 72, 0.12);
  border-bottom: 1px solid rgba(205, 156, 72, 0.18);
  color: #cd9c48;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-home-ticker__link {
  color: #ff8f8f;
  font-size: 0.76rem;
  text-decoration: none;
}

.news-home-ticker__rows {
  display: flex;
  flex-direction: column;
}

.news-home-ticker__row {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  gap: 14px;
  padding: 11px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.news-home-ticker__row:hover,
.news-home-ticker__row:focus {
  background: rgba(205, 156, 72, 0.08);
  color: #fff;
}

.news-home-ticker__date {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  white-space: nowrap;
}

.news-home-ticker__text {
  min-width: 0;
  color: #f2e1b4;
  font-size: 0.9rem;
  font-weight: 600;
}

.news-home-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
  padding: 18px;
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

.news-home-welcome__copy {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.news-home-welcome__copy p {
  margin: 0 0 12px;
}

.news-home-welcome__copy p:last-child {
  margin-bottom: 0;
}

.news-home-welcome__copy a {
  color: #cd9c48;
  text-decoration: none;
  font-weight: 700;
}

.news-home-signup {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid rgba(205, 156, 72, 0.18);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}

.news-home-signup img {
  display: block;
  max-width: 100%;
  height: auto;
}

.news-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 24px;
}

.livestreams-bar {
  box-sizing: border-box;
  max-width: 800px;
  margin: 0 auto 18px;
  border: 1px solid rgba(145, 70, 255, 0.3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.livestreams-bar-header {
  display: flex;
  align-items: stretch;
  min-height: 72px;
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.15), rgba(100, 65, 165, 0.12));
  border-bottom: 1px solid rgba(145, 70, 255, 0.25);
}

.livestreams-bar-icon-link,
.livestreams-bar-action-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.livestreams-bar-icon-link {
  width: 56px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.25), rgba(100, 65, 165, 0.2));
  border-right: 1px solid rgba(145, 70, 255, 0.25);
  color: #fff;
  font-size: 22px;
}

.livestreams-bar-icon-link:hover,
.livestreams-bar-icon-link:focus {
  color: #fff;
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.35), rgba(100, 65, 165, 0.3));
}

.livestreams-bar-carousel-wrap {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  min-width: 0;
}

.livestreams-bar-empty {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.livestreams-bar-content {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px 18px;
}

.livestreams-bar-kicker {
  color: rgba(255, 200, 100, 0.9);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.livestreams-bar-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.45;
}

.livestreams-bar-action-link {
  gap: 8px;
  padding: 0 20px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #9146ff, #6441a5);
  border-radius: 0 12px 12px 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.livestreams-bar-action-link:hover,
.livestreams-bar-action-link:focus {
  color: #fff;
  background: linear-gradient(135deg, #a055ff, #7550c5);
  box-shadow: 0 4px 16px rgba(145, 70, 255, 0.5);
}

.news-intro-shell {
  border: 1px solid rgba(205, 156, 72, 0.15);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 20, 25, 0.96), rgba(16, 16, 20, 0.98));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.news-container.box-container.news-intro-shell {
  padding: 0;
  color: #bfc2c3;
}

.topMedia {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 8px 10px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.media-text-box {
  flex: 1 1 60%;
  min-width: 0;
  padding: 3px 0 2px 3px;
  color: #bfc2c3;
  font-size: 13px;
  line-height: 1.4;
}

.media-container {
  flex: 0 0 min(400px, 40%);
  width: min(400px, 40%);
  height: 200px;
  min-height: 200px;
  align-self: stretch;
  position: relative;
}

.news-read-more {
  display: inline-flex;
  margin-top: 8px;
  color: #cd9c48;
  text-decoration: none;
}

.news-read-more:hover,
.news-read-more:focus {
  color: #ffcc33;
  text-decoration: underline;
}

.news-media-gallery {
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.news-media-gallery .media-screen-box:not(.is-active) {
  display: none;
}

.media-screen-box {
  position: relative;
  inset: auto;
  flex: 0 0 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.media-container .media-screen-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
  margin-right: 10px;
}

.media-screen-box img {
  display: block;
  width: auto;
  max-width: 67%;
  height: auto;
  max-height: 100%;
  border: 3px solid #726c6c;
  object-fit: contain;
}

.news-media-gallery .media-screen-box img {
  max-width: 84%;
  max-height: 100%;
  width: auto;
  height: auto;
  border: 3px solid #726c6c;
  object-fit: contain;
}

.news-media-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 155px;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid rgba(205, 156, 72, 0.3);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.75);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  pointer-events: auto;
}

.news-media-dots span {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 0.6;
  cursor: pointer;
}

.news-media-dots span.is-active {
  width: 24px;
  border-radius: 4px;
  border-color: rgba(205, 156, 72, 1);
  background: linear-gradient(135deg, rgba(205, 156, 72, 1), rgba(180, 135, 60, 1));
  box-shadow: 0 2px 8px rgba(205, 156, 72, 0.5);
  opacity: 1;
}

.news-feed-shell {
  padding: 0;
  border: 1px solid rgba(205, 156, 72, 0.15);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(20, 20, 25, 0.98), rgba(15, 15, 20, 0.98));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(205, 156, 72, 0.08);
  overflow: hidden;
}

.news-feed-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  overflow: hidden;
  border-bottom: 1px solid rgba(205, 156, 72, 0.2);
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.12), rgba(184, 135, 60, 0.08));
}

.news-feed-header::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(205, 156, 72, 0.1) 10px, rgba(205, 156, 72, 0.1) 20px);
  pointer-events: none;
}

.news-feed-header-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.news-feed-header-main,
.news-feed-actions {
  position: relative;
  z-index: 1;
}

.news-feed-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(205, 156, 72, 0.3);
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.25), rgba(184, 135, 60, 0.15));
  color: #cd9c48;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(205, 156, 72, 0.2);
}

.news-feed-header h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffd974;
  line-height: 1.2;
  letter-spacing: 0;
  text-shadow: 0 2px 8px rgba(205, 156, 72, 0.3);
}

.news-archive-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 600;
}

.news-archive-link.is-disabled {
  cursor: default;
  opacity: 0.8;
}

.news-feed-body {
  padding: 28px;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.95fr);
  gap: 20px;
}

.news-primary-column {
  min-width: 0;
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.news-sidebar-card {
  padding: 18px;
  border: 1px solid rgba(205, 156, 72, 0.15);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(28, 28, 33, 0.86), rgba(22, 22, 28, 0.92));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.32);
}

.news-sidebar-card h2 {
  margin: 0 0 10px;
  color: #f3d889;
  font-size: 1.2rem;
  font-weight: 800;
}

.news-sidebar-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.65;
}

.news-sidebar-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.news-sidebar-stat {
  padding: 12px 14px;
  border: 1px solid rgba(205, 156, 72, 0.18);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
}

.news-sidebar-stat span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-sidebar-stat strong {
  color: #f4d28a;
  font-size: 1.25rem;
  font-weight: 800;
}

.news-headline-list,
.news-related-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-headline-link,
.news-related-link {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(205, 156, 72, 0.14);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.news-headline-link:hover,
.news-headline-link:focus,
.news-related-link:hover,
.news-related-link:focus {
  border-color: rgba(205, 156, 72, 0.34);
  background: rgba(205, 156, 72, 0.08);
}

.news-headline-link.is-selected {
  border-color: rgba(205, 156, 72, 0.42);
  background: rgba(205, 156, 72, 0.12);
}

.news-headline-rank {
  flex: 0 0 auto;
  min-width: 2.4rem;
  color: rgba(205, 156, 72, 0.8);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.news-headline-copy,
.news-related-link {
  min-width: 0;
}

.news-headline-copy strong,
.news-related-title {
  display: block;
  color: #e8d5a3;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
}

.news-headline-copy span,
.news-related-meta {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  line-height: 1.45;
}

.news-item--feature {
  margin-bottom: 18px;
}

.news-related-shell {
  margin-top: 0;
}

.news-header-row--compact {
  margin-bottom: 14px;
}

.news-headline-block {
  min-width: 0;
}

.news-backlink {
  margin-bottom: 14px;
}

.news-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid rgba(205, 156, 72, 0.15);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30, 30, 35, 0.8), rgba(25, 25, 30, 0.8));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(205, 156, 72, 0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.news-item:last-child {
  margin-bottom: 0;
}

.news-stream-shell .news-item {
  margin-bottom: 16px;
}

.news-item:hover {
  border-color: rgba(205, 156, 72, 0.3);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.48), inset 0 0 0 1px rgba(205, 156, 72, 0.08);
}

.news-item-accent {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #cd9c48, rgba(205, 156, 72, 0.3));
}

.news-header-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.news-header-row h2 {
  margin: 0 0 8px;
  color: #e8d5a3;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.8rem;
  font-weight: 500;
}

.news-meta .fa {
  color: rgba(205, 156, 72, 0.75);
}

.news-meta strong {
  color: #cd9c48;
  font-weight: 600;
}

.news-meta-dot {
  color: rgba(255, 255, 255, 0.45);
}

.news-content,
.news-content p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
}

.news-content {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
}

.news-content p:last-child {
  margin-bottom: 0;
}

.news-footer-inline {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

.news-footer-inline a {
  color: #cd9c48;
  text-decoration: none;
  font-weight: 700;
}

.news-sidebar-links {
  justify-content: flex-start;
  margin-top: 16px;
  gap: 10px 16px;
}

.news-empty-state {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  border-style: dashed;
  background: linear-gradient(135deg, rgba(30, 30, 35, 0.6), rgba(25, 25, 30, 0.6));
}

.news-empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(205, 156, 72, 0.2);
  border-radius: 50%;
  background: rgba(205, 156, 72, 0.08);
  color: rgba(205, 156, 72, 0.55);
  font-size: 2.35rem;
}

.news-empty-state h2 {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.65rem;
  font-weight: 700;
}

.news-subtopic-note {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

.news-item-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.news-item-selector-link,
.news-empty-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(205, 156, 72, 0.3);
  border-radius: 6px;
  background: rgba(205, 156, 72, 0.1);
  color: #cd9c48;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.news-item-selector-link:hover,
.news-item-selector-link:focus,
.news-empty-action:hover,
.news-empty-action:focus {
  border-color: rgba(205, 156, 72, 0.5);
  background: rgba(205, 156, 72, 0.2);
  color: #ffcc33;
}

.news-item-selector-link.is-selected {
  border-color: #cd9c48;
  background: #cd9c48;
  color: #101010;
}

.news-empty-action {
  gap: 10px;
  width: auto;
  margin-top: 18px;
  padding: 10px 18px;
}

.serverinfo-container {
  box-sizing: border-box;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px 34px;
  color: #e8e4dc;
}

.serverinfo-hero,
.serverinfo-card {
  box-sizing: border-box;
  background: linear-gradient(180deg, #161412 0%, #1d1a17 52%, #13110f 100%);
  border: 1px solid rgba(205, 156, 72, 0.24);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.serverinfo-hero {
  margin-bottom: 18px;
  padding: 28px 32px;
  border-left: 4px solid #cd9c48;
}

.serverinfo-eyebrow {
  margin-bottom: 8px;
  color: #cd9c48;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.serverinfo-hero h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  color: #d4b868;
  font-size: 2rem;
  font-weight: 700;
}

.serverinfo-hero p,
.serverinfo-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.serverinfo-rate-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.serverinfo-rate-card {
  padding: 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(205, 156, 72, 0.18);
  border-radius: 10px;
  text-align: center;
}

.serverinfo-rate-card span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.serverinfo-rate-card strong {
  color: #f0e4c5;
  font-size: 1.35rem;
}

.serverinfo-grid,
.serverinfo-feature-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.serverinfo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.serverinfo-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.serverinfo-card {
  padding: 22px 24px;
}

.serverinfo-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #cd9c48;
  font-size: 1.2rem;
  font-weight: 700;
}

.whoisonline-container,
.houses-container,
.guilds-container,
.killers-container {
  max-width: 1400px;
  margin: 0 auto;
}

.whoisonline-header,
.whoisonline-card,
.whoisonline-empty,
.onlinelist-header,
.onlinelist-card,
.houses-search-box,
.houses-list-container,
.houses-empty,
.guilds-card,
.killers-card,
.killers-empty {
  background: var(--page-shell-bg);
  border: 1px solid var(--page-shell-border);
  border-radius: 12px;
  box-shadow: var(--page-shell-shadow);
}

.whoisonline-header,
.onlinelist-header,
.houses-search-box,
.guilds-card,
.killers-card {
  padding: 28px;
}

.whoisonline-header {
  margin-bottom: 24px;
}

.onlinelist-header {
  margin-bottom: 24px;
}

.whoisonline-header h1,
.onlinelist-header h1,
.houses-header h1,
.guilds-header h1,
.killers-header h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  color: #cd9c48;
  font-size: 2rem;
  font-weight: 700;
}

.whoisonline-header p,
.onlinelist-header p,
.houses-header p,
.killers-empty p,
.guilds-empty p,
.houses-empty p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.onlinelist-header p + p {
  margin-top: 6px;
}

.onlinelist-header-summary {
  color: rgba(205, 156, 72, 0.82);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.whoisonline-card {
  overflow-x: auto;
  padding: 18px 20px;
}

.onlinelist-container {
  max-width: 1400px;
  margin: 0 auto;
}

.onlinelist-card {
  overflow-x: auto;
  padding: 18px 20px;
}

.whoisonline-table,
.onlinelist-table,
.houses-table,
.killers-table {
  width: 100%;
  border-collapse: collapse;
}

.whoisonline-table th,
.onlinelist-table th,
.houses-table thead th,
.killers-table th {
  padding: 14px 15px;
  color: #cd9c48;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.whoisonline-table thead,
.onlinelist-table thead,
.killers-table thead,
.houses-table thead {
  background: rgba(205, 156, 72, 0.1);
  border-bottom: 2px solid rgba(205, 156, 72, 0.26);
}

.whoisonline-table td,
.onlinelist-table td,
.houses-table td,
.killers-table td {
  padding: 15px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.whoisonline-table tbody tr:hover,
.onlinelist-table tbody tr:hover,
.houses-table tbody tr:hover,
.killers-table tbody tr:hover {
  background: rgba(205, 156, 72, 0.05);
}

.whoisonline-table th:nth-child(2),
.whoisonline-table th:nth-child(3),
.whoisonline-table td:nth-child(2),
.whoisonline-table td:nth-child(3),
.onlinelist-table th:nth-child(2),
.onlinelist-table th:nth-child(4),
.onlinelist-table td:nth-child(2),
.onlinelist-table td:nth-child(4) {
  text-align: center;
}

.whoisonline-world-link,
.whoisonline-table a,
.onlinelist-table a,
.killers-table a {
  color: #cd9c48;
  text-decoration: none;
  font-weight: 600;
}

.whoisonline-table a:hover,
.whoisonline-table a:focus,
.onlinelist-table a:hover,
.onlinelist-table a:focus {
  color: #e0b868;
  text-decoration: underline;
}

.whoisonline-world-link {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(205, 156, 72, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
}

.whoisonline-count {
  display: inline-block;
  min-width: 2.2em;
  padding: 4px 10px;
  border: 1px solid rgba(74, 158, 255, 0.35);
  border-radius: 6px;
  background: rgba(74, 158, 255, 0.15);
  color: #4a9eff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.whoisonline-region {
  display: inline-block;
  vertical-align: middle;
  min-width: 18px;
}

.whoisonline-type {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(205, 156, 72, 0.25);
  border-radius: 6px;
  background: rgba(205, 156, 72, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.whoisonline-type abbr {
  color: inherit;
  text-decoration: none;
  cursor: help;
}

.whoisonline-empty,
.empty-state,
.houses-empty,
.guilds-empty,
.killers-empty {
  padding: 54px 28px;
  text-align: center;
}

.whoisonline-empty i,
.empty-state i,
.houses-empty i,
.guilds-empty i,
.killers-empty i {
  margin-bottom: 18px;
  color: rgba(205, 156, 72, 0.35);
  font-size: 3.5rem;
}

.whoisonline-empty h2,
.houses-empty h2,
.guilds-empty h2,
.killers-empty h2 {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.45rem;
  font-weight: 700;
}

.empty-state p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.onlinelist-table {
  min-width: 800px;
}

.player-name {
  font-weight: 600;
}

.onlinelist-table td:first-child {
  min-width: 240px;
}

.player-level {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.player-profession {
  color: rgba(255, 255, 255, 0.8);
}

.world-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(205, 156, 72, 0.3);
  background: rgba(205, 156, 72, 0.15);
  color: #cd9c48;
  font-size: 12px;
  font-weight: 600;
}

.onlinelist-guild {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.45;
}

/* Bans and character auction parity shells */
.bans-container,
.auction-container {
  max-width: 1200px;
  margin: 0 auto;
}

.bans-header,
.bans-content,
.bans-empty,
.auction-header,
.auction-card,
.auction-empty {
  background: var(--page-shell-bg);
  border: 1px solid var(--page-shell-border);
  border-radius: 12px;
  box-shadow: var(--page-shell-shadow);
}

.bans-header,
.auction-header,
.auction-card {
  padding: 28px;
}

.bans-header,
.auction-header {
  margin-bottom: 24px;
}

.bans-header h1,
.auction-header h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  color: #cd9c48;
  font-size: 2rem;
  font-weight: 700;
}

.bans-header p,
.auction-header p,
.bans-empty p,
.auction-empty p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.bans-table-wrap,
.auction-table-wrap {
  overflow-x: auto;
}

.bans-table,
.auction-table {
  width: 100%;
  border-collapse: collapse;
}

.bans-table thead,
.auction-table thead {
  background: rgba(205, 156, 72, 0.1);
  border-bottom: 2px solid rgba(205, 156, 72, 0.26);
}

.bans-table th,
.auction-table th {
  padding: 14px 15px;
  color: #cd9c48;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.bans-table td,
.auction-table td {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  vertical-align: middle;
}

.bans-table tbody tr:hover,
.auction-table tbody tr:hover {
  background: rgba(205, 156, 72, 0.05);
}

.bans-table a,
.auction-table a {
  color: #cd9c48;
  font-weight: 700;
  text-decoration: none;
}

.killers-entity-link,
.ban-character-link,
.auction-character-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bans-table a:hover,
.auction-table a:hover {
  color: #f0c46a;
  text-decoration: underline;
}

.ban-action,
.ban-duration,
.ban-status,
.auction-status-badge,
.auction-count {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.ban-action,
.auction-count,
.status-neutral {
  border: 1px solid rgba(205, 156, 72, 0.24);
  background: rgba(205, 156, 72, 0.1);
  color: #e7c777;
}

.ban-duration {
  border: 1px solid rgba(74, 158, 255, 0.24);
  background: rgba(74, 158, 255, 0.12);
  color: #7bb7ff;
}

.ban-duration.is-permanent,
.status-ended {
  border-color: rgba(255, 110, 110, 0.32);
  background: rgba(255, 110, 110, 0.12);
  color: #ff9b9b;
}

.ban-status.is-active,
.status-active {
  border: 1px solid rgba(80, 220, 150, 0.28);
  background: rgba(80, 220, 150, 0.12);
  color: #72dfa8;
}

.status-pending {
  border: 1px solid rgba(255, 207, 100, 0.3);
  background: rgba(255, 207, 100, 0.12);
  color: #ffd877;
}

.status-sold {
  border: 1px solid rgba(165, 137, 255, 0.3);
  background: rgba(165, 137, 255, 0.12);
  color: #bba6ff;
}

.auction-summary {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.bans-content > .auction-summary {
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0 2px;
}

.auction-price {
  color: #f0d694;
  font-weight: 700;
}

.bans-table td .killers-row-note,
.auction-table td .killers-row-note {
  line-height: 1.4;
}

.bans-empty,
.auction-empty {
  padding: 54px 28px;
  text-align: center;
}

.bans-empty i,
.auction-empty i {
  margin-bottom: 18px;
  color: rgba(205, 156, 72, 0.35);
  font-size: 3.5rem;
}

.bans-empty h2,
.auction-empty h2 {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.45rem;
  font-weight: 700;
}

.public-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.public-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid rgba(205, 156, 72, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.public-detail-row span {
  color: rgba(235, 227, 213, 0.68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.public-detail-row strong,
.public-detail-row a {
  min-width: 0;
  color: #f3e2b6;
  font-size: 14px;
  text-align: right;
}

.houses-header {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(205, 156, 72, 0.3);
}

.houses-search-box {
  margin-bottom: 24px;
}

.houses-search-box p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
}

.houses-town-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.houses-world-filter {
  margin-top: 12px;
}

.houses-toolbar {
  justify-content: flex-start;
  margin-bottom: 18px;
}

.houses-inline-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.houses-inline-fact {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(205, 156, 72, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 700;
}

.houses-town-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(205, 156, 72, 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.houses-town-chip.is-active {
  border-color: rgba(205, 156, 72, 0.5);
  background: rgba(205, 156, 72, 0.16);
  color: #f0d694;
}

.houses-list-container {
  overflow: hidden;
}

.houses-list-header {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  padding: 18px 25px;
  border-bottom: 1px solid rgba(205, 156, 72, 0.2);
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.15), rgba(180, 135, 60, 0.15));
}

.houses-list-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.houses-list-header h2 {
  margin: 0;
  color: #cd9c48;
  font-size: 1.3rem;
  font-weight: 700;
}

.houses-auction-countdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  padding: 7px 10px;
  border: 1px solid rgba(205, 156, 72, 0.45);
  border-radius: 8px;
  background: #393939;
  box-shadow: 0 0 18px rgba(205, 156, 72, 0.16);
}

.houses-auction-countdown b {
  min-width: 78px;
  padding: 6px 10px;
  border: 1px solid rgba(240, 214, 148, 0.45);
  border-radius: 6px;
  background: #666363;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  text-align: center;
  box-shadow: inset 0 0 12px rgba(205, 156, 72, 0.12);
}

.houses-auction-countdown i {
  color: #ffe1a0;
  font-size: 15px;
}

.houses-auction-countdown b.is-ended,
.house-bid-value.ended {
  color: #f44336;
}

.houses-inline-facts {
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: 0;
}

.houses-table td:first-child {
  border-left: 3px solid transparent;
}

.houses-table tbody tr:hover td:first-child {
  border-left-color: rgba(205, 156, 72, 0.4);
}

.house-name,
.house-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.house-name {
  color: #e0e0e0;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.house-name-stack,
.house-status-copy {
  display: inline-flex;
  min-width: 0;
  flex-direction: column;
}

.house-name-subline {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 600;
}

.house-detail {
  color: rgba(255, 255, 255, 0.82);
}

.house-description-cell {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
  min-width: 220px;
}

.house-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.house-status.status-rented {
  border: 1px solid rgba(233, 84, 84, 0.3);
  background: rgba(233, 84, 84, 0.12);
  color: #ffb7b7;
}

.house-status.status-no-bid {
  border: 2px dotted rgba(205, 156, 72, 0.7);
  border-radius: 8px;
  background: transparent;
  color: #cd9c48;
}

.house-status .killers-row-note {
  margin-top: 2px;
}

.house-bid-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.house-bid-value.has-bid {
  color: #f0d694;
}

.house-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 18px;
  margin-top: 18px;
}

.house-detail-hero,
.guild-detail-hero {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(205, 156, 72, 0.18);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
}

.house-detail-hero {
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
}

.house-detail-visual,
.guild-detail-emblem {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(205, 156, 72, 0.2);
  background: rgba(0, 0, 0, 0.28);
}

.house-detail-visual {
  min-height: 220px;
}

.house-detail-visual img,
.guild-detail-emblem-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.house-detail-summary h2,
.guild-detail-summary h2 {
  margin: 0 0 12px;
  color: #f3d889;
  font-size: 1.55rem;
  font-weight: 800;
}

.house-detail-summary p,
.guild-detail-summary p,
.guild-detail-note,
.guild-detail-empty-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.house-detail-badges,
.guild-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.house-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(205, 156, 72, 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 600;
}

.house-detail-panel {
  padding: 18px;
  border: 1px solid rgba(205, 156, 72, 0.18);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
}

.house-detail-kicker {
  margin-bottom: 8px;
  color: rgba(205, 156, 72, 0.88);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.house-detail-panel h2 {
  margin: 0 0 12px;
  color: #f3d889;
  font-size: 1.5rem;
  font-weight: 800;
}

.house-detail-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.house-detail-callout a,
.guild-detail-link,
.guild-members-table a {
  color: #cd9c48;
  font-weight: 700;
  text-decoration: none;
}

.house-detail-callout a:hover,
.guild-detail-link:hover,
.guild-members-table a:hover {
  color: #f0c46a;
  text-decoration: underline;
}

.house-detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.house-detail-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.house-detail-list li:last-child {
  border-bottom: 0;
}

.house-detail-list span {
  color: rgba(255, 255, 255, 0.58);
}

.house-detail-list strong {
  color: rgba(255, 255, 255, 0.92);
  text-align: right;
}

.house-detail-actions {
  margin-top: 14px;
}

.house-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 10px;
}

.house-detail-container .house-detail-card {
  padding: 25px;
  margin-bottom: 25px;
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 12px;
  background: rgba(26, 26, 26, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.house-info-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 25px;
  margin-bottom: 25px;
}

.house-image-container {
  position: relative;
  box-sizing: content-box;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border: 2px solid rgba(205, 156, 72, 0.3);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.house-image {
  position: relative;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 3072px 3072px;
}

.house-image--fallback {
  background-size: cover;
}

.crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
}

.crosshair::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.crosshair::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.house-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.house-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.house-title {
  margin: 0;
  color: #cd9c48;
  font-size: 1.8rem;
  font-weight: 700;
}

.house-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.stat-item i {
  color: #cd9c48;
  font-size: 16px;
}

.stat-item b {
  color: #cd9c48;
  font-weight: 600;
}

.house-stats .stat-item-description {
  flex-basis: 100%;
  min-width: 0;
}

.house-stats .stat-item-description span {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.house-stats .stat-item-auction-countdown {
  flex-basis: 100%;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid rgba(205, 156, 72, 0.36);
  border-radius: 8px;
  background: #393939;
}

.house-stats .stat-item-auction-countdown b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  margin-left: 4px;
  padding: 5px 9px;
  border: 1px solid rgba(240, 214, 148, 0.45);
  border-radius: 6px;
  background: #666363;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.auction-status,
.owner-info {
  padding: 15px;
  margin: 20px 0;
  border: 1px solid rgba(205, 156, 72, 0.3);
  border-radius: 8px;
  background: rgba(205, 156, 72, 0.1);
}

.auction-status h2,
.owner-info h2,
.bid-form-container h2 {
  margin: 0 0 10px;
  color: #cd9c48;
  font-size: 1.2rem;
  font-weight: 600;
}

.auction-status p,
.owner-info p,
.house-detail-callout {
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.6;
}

.auction-bid-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.auction-inline-balance {
  color: rgba(255, 255, 255, 0.72);
}

.auction-status a,
.owner-info a,
.status-message a {
  color: #4a9eff;
  font-weight: 700;
  text-decoration: underline;
}

.auction-warning-important {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
}

.auction-warning-important strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f0d694;
  text-transform: uppercase;
  white-space: nowrap;
}

.auction-warning-important span {
  color: rgba(255, 255, 255, 0.84);
}

.bid-form-container {
  padding: 20px;
  margin-top: 20px;
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
}

.house-bid-entry-table {
  width: min(100%, 520px);
  margin: 4px 0 10px;
  border-collapse: collapse;
  table-layout: fixed;
}

.house-bid-entry-table th,
.house-bid-entry-table td {
  padding: 0 12px 0 0;
  vertical-align: top;
}

.house-bid-entry-table th:last-child,
.house-bid-entry-table td:last-child {
  padding-right: 0;
}

.house-bid-entry-table label {
  display: block;
  margin-bottom: 8px;
  color: #cd9c48;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: left;
  text-transform: uppercase;
}

.house-bid-entry-table select,
.house-bid-entry-table input {
  width: 100%;
  max-width: 240px;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid rgba(205, 156, 72, 0.3);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.4);
  color: #e0e0e0;
  font-size: 14px;
  outline: none;
}

.transfer-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 15px 0;
}

.house-transfer-options {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 16px;
  margin-top: 16px;
}

.house-action-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(205, 156, 72, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.house-action-panel h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #cd9c48;
  font-size: 1rem;
  font-weight: 700;
}

.house-action-panel p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.55;
}

.house-detail-container .form-group {
  margin-bottom: 18px;
}

.house-detail-container .form-group label {
  display: block;
  margin-bottom: 8px;
  color: #cd9c48;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.house-detail-container .form-group input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid rgba(205, 156, 72, 0.3);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.4);
  color: #e0e0e0;
  font-size: 14px;
  outline: none;
}

.button-group {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.house-detail-container .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.house-detail-container .btn-primary {
  border: 0;
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.9), rgba(180, 135, 60, 0.9));
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(205, 156, 72, 0.3);
}

.house-detail-container .btn-secondary {
  border: 1px solid rgba(205, 156, 72, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.status-message {
  padding: 12px 15px;
  margin: 15px 0;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
}

.status-message.success {
  border: 1px solid rgba(40, 167, 69, 0.4);
  background: rgba(40, 167, 69, 0.2);
  color: #90ee90;
}

.status-message.error {
  border: 1px solid rgba(220, 53, 69, 0.4);
  background: rgba(220, 53, 69, 0.2);
  color: #ff6b6b;
}

.status-message.warning {
  border: 1px solid rgba(255, 193, 7, 0.4);
  background: rgba(255, 193, 7, 0.2);
  color: #ffd700;
}

.status-message.info {
  border: 1px solid rgba(0, 123, 255, 0.4);
  background: rgba(0, 123, 255, 0.2);
  color: #87ceeb;
}

.dev-db-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dev-db-header,
.dev-db-layout,
.dev-db-panel,
.dev-db-sidebar {
  border: 1px solid rgba(91, 66, 42, 0.22);
  background: rgba(255, 252, 245, 0.94);
}

.dev-db-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
}

.dev-db-header h1,
.dev-db-panel h2,
.dev-db-sidebar h2 {
  margin: 0;
}

.dev-db-header p,
.dev-db-note {
  margin: 6px 0 0;
}

.dev-db-layout {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  gap: 0;
}

.dev-db-sidebar {
  border-width: 0 1px 0 0;
  padding: 12px;
}

.dev-db-table-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 820px;
  overflow: auto;
}

.dev-db-table-list h3 {
  margin: 14px 0 4px;
  font-size: 13px;
  text-transform: uppercase;
}

.dev-db-table-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(91, 66, 42, 0.16);
  color: #3e2a18;
  text-decoration: none;
}

.dev-db-table-link.is-active,
.dev-db-table-link:hover {
  background: #ead7b6;
  color: #2f1d0f;
}

.dev-db-table-link small {
  color: #7a6348;
  font-size: 10px;
  text-transform: uppercase;
}

.dev-db-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 14px;
}

.dev-db-panel {
  padding: 14px;
}

.dev-db-panel textarea {
  width: 100%;
  min-height: 130px;
  padding: 10px;
  border: 1px solid rgba(91, 66, 42, 0.26);
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  resize: vertical;
}

.dev-db-actions,
.dev-db-pager {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.dev-db-actions span {
  color: #6d5740;
  font-size: 13px;
}

.dev-db-scroll {
  max-width: 100%;
  overflow: auto;
  border: 1px solid rgba(91, 66, 42, 0.18);
}

.dev-db-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.dev-db-scroll th,
.dev-db-scroll td {
  padding: 7px 9px;
  border-bottom: 1px solid rgba(91, 66, 42, 0.14);
  border-right: 1px solid rgba(91, 66, 42, 0.1);
  vertical-align: top;
  white-space: nowrap;
}

.dev-db-scroll th {
  background: #e8d1a8;
  color: #2f1d0f;
  font-weight: 700;
}

.dev-db-result {
  margin-top: 14px;
}

.dev-db-edit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 4px 8px;
  border: 1px solid rgba(91, 66, 42, 0.22);
  background: #ead7b6;
  color: #2f1d0f;
  text-decoration: none;
  font-weight: 700;
}

.dev-db-edit-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.dev-db-edit-row {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(91, 66, 42, 0.16);
  background: rgba(255, 255, 255, 0.54);
}

.dev-db-edit-row.is-primary-key {
  background: rgba(232, 209, 168, 0.4);
}

.dev-db-edit-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dev-db-edit-label label {
  font-weight: 700;
  color: #2f1d0f;
}

.dev-db-edit-label small {
  color: #6d5740;
}

.dev-db-edit-label small span {
  display: inline-block;
  margin-left: 6px;
  color: #8d5b18;
  font-weight: 700;
}

.dev-db-edit-input input,
.dev-db-edit-input textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(91, 66, 42, 0.24);
  background: #fffaf0;
  color: #2f1d0f;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.dev-db-edit-input textarea {
  min-height: 54px;
  resize: vertical;
}

.dev-db-edit-input input[readonly] {
  background: #ece1cf;
}

.dev-db-null-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  color: #5c4630;
}

@media (max-width: 900px) {
  .dev-db-layout {
    grid-template-columns: 1fr;
  }

  .dev-db-sidebar {
    border-width: 0 0 1px;
  }

  .dev-db-edit-row {
    grid-template-columns: 1fr;
  }
}

.guilds-header,
.killers-header {
  display: block;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(205, 156, 72, 0.3);
}

.guilds-header p,
.killers-header p {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.guild-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
  gap: 20px;
}

.guild-card {
  display: block;
  padding: 16px;
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.guild-card:hover {
  border-color: rgba(205, 156, 72, 0.5);
  box-shadow: 0 6px 20px rgba(205, 156, 72, 0.2);
}

.guild-logo {
  position: relative;
  display: flex;
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(205, 156, 72, 0.3);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  padding: 6px;
}

.guild-logo-fallback {
  color: #f0d695;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.guild-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.guild-logo-initials {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 24px;
  padding: 0 6px;
  border: 1px solid rgba(205, 156, 72, 0.35);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.72);
  color: #f0d695;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.guild-name {
  margin-bottom: 10px;
  color: #cd9c48;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}

.guild-description {
  min-height: 40px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.guild-card-meta {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.guild-card--detail {
  max-width: 320px;
  margin: 0;
}

.guild-detail-hero-main {
  display: grid;
  grid-template-columns: minmax(170px, 0.44fr) minmax(0, 1.56fr);
  gap: 18px;
  align-items: stretch;
}

.guild-overview-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(205, 156, 72, 0.3);
}

.guild-overview-top-row {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 86px;
  gap: 24px;
}

.guild-overview-logo-col {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.guild-overview-logo {
  width: 80px;
  height: 80px;
  margin: 0;
}

.guild-overview-title-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.guild-overview-title {
  margin: 0;
  color: #cd9c48;
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  pointer-events: auto;
}

.guild-back-link {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  transform: translateY(-50%);
  border: 1px solid rgba(205, 156, 72, 0.35);
  border-radius: 8px;
  background: rgba(205, 156, 72, 0.15);
  color: #cd9c48;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.guild-back-link:hover,
.guild-back-link:focus {
  border-color: rgba(205, 156, 72, 0.5);
  background: rgba(205, 156, 72, 0.25);
  color: #e0b870;
}

.guild-overview-description {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.55;
}

.guild-information-strip {
  margin-bottom: 20px;
}

.guild-information-strip .house-detail-kicker {
  margin-bottom: 10px;
}

.guild-overview-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guild-form-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(134, 103, 67, 0.28);
  background: rgba(24, 18, 13, 0.45);
}

.guild-form-card-compact {
  margin-top: 0;
  padding: 14px;
}

.guild-form-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #f1d59b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

.guild-form {
  display: grid;
  gap: 12px;
}

.guild-form label,
.guild-form-field label {
  display: block;
  margin-bottom: 5px;
  color: #d9c49c;
  font-weight: 700;
}

.guild-form input,
.guild-form select,
.guild-form textarea,
.guild-form-field input,
.guild-form-field select,
.guild-overview-desc-form textarea,
.guild-inline-form input,
.guild-inline-form select {
  width: 100%;
  border: 1px solid rgba(134, 103, 67, 0.45);
  background: rgba(12, 9, 7, 0.72);
  color: #f4e5c5;
  padding: 8px 10px;
}

.guild-overview-desc-form {
  display: grid;
  gap: 10px;
  width: 100%;
}

.guild-overview-desc-form textarea {
  min-height: 96px;
  resize: vertical;
}

.guild-form-note {
  margin-bottom: 12px;
  color: #efc06b;
}

.guild-management-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.guild-message-box {
  display: flex;
  gap: 10px;
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid rgba(134, 103, 67, 0.32);
  background: rgba(24, 18, 13, 0.58);
}

.guild-message-success {
  color: #bce5a8;
  border-color: rgba(114, 171, 88, 0.45);
}

.guild-message-error {
  color: #f0aaa1;
  border-color: rgba(194, 67, 55, 0.45);
}

.guild-invite-list {
  margin-top: 18px;
}

.guild-invite-row,
.guild-inline-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}

.guild-row-actions,
.guild-member-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.guild-member-actions {
  align-items: stretch;
}

.guild-inline-form {
  padding: 0;
}

.guild-inline-form input {
  min-width: 140px;
}

.guild-inline-form select {
  min-width: 120px;
}

.guilds-container .btn-submit {
  border: 1px solid rgba(184, 140, 74, 0.5);
  background: linear-gradient(180deg, rgba(131, 90, 43, 0.95), rgba(75, 48, 25, 0.95));
  color: #fff1c7;
  padding: 8px 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn-submit-small,
.btn-danger-small {
  padding: 6px 10px;
  font-size: 13px;
}

.btn-danger-small {
  border-color: rgba(192, 72, 61, 0.58);
  background: rgba(118, 38, 32, 0.9);
  color: #ffd6d2;
}

.guild-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #cd9c48;
  font-size: 1.2rem;
  font-weight: 800;
}

.guild-detail-emblem {
  min-height: 220px;
}

.guild-detail-emblem-fallback {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
}

.guild-detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.guild-rank-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.guild-rank-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(205, 156, 72, 0.24);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.guild-rank-chip strong {
  color: #f0d695;
  font-size: 14px;
}

.guild-detail-table-wrap {
  overflow-x: auto;
}

.guild-members-table {
  min-width: 720px;
}

.guild-members-table td:first-child {
  color: rgba(255, 255, 255, 0.55);
}

.guild-rank-label {
  color: #cd9c48;
}

.guild-member-row.is-leader {
  background: rgba(205, 156, 72, 0.05);
}

.guild-leader-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  margin-left: 10px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(205, 156, 72, 0.3);
  background: rgba(205, 156, 72, 0.12);
  color: #f0d695;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.guild-member-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.guild-member-status.is-online {
  background: rgba(80, 186, 120, 0.12);
  border: 1px solid rgba(80, 186, 120, 0.3);
  color: #9fe8b4;
}

.guild-member-status.is-offline {
  background: rgba(232, 90, 90, 0.12);
  border: 1px solid rgba(232, 90, 90, 0.3);
  color: #ffb7b7;
}

.guild-members-table .status-online {
  color: #43b581;
  font-weight: 700;
}

.guild-members-table .status-offline {
  color: #e85a5a;
  font-weight: 700;
}

/* Guild pages intentionally mirror the original PHP guilds.php visual contract. */
.guilds-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.guilds-card,
.guild-form-card {
  background: rgba(26, 26, 26, 0.95);
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.guilds-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(205, 156, 72, 0.3);
}

.guilds-header h1 {
  color: #cd9c48;
  font-size: 2rem;
  margin: 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.guild-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
  gap: 20px;
  margin-bottom: 30px;
}

.guild-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  color: inherit;
}

.guild-card:hover {
  border-color: rgba(205, 156, 72, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(205, 156, 72, 0.2);
  background: rgba(0, 0, 0, 0.4);
}

.guild-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 15px;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.guild-name {
  color: #cd9c48;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.guild-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: center;
  min-height: 40px;
}

.guild-description-muted {
  color: rgba(255, 255, 255, 0.4);
}

.guild-form-header {
  color: #cd9c48;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
}

.guild-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.guilds-container .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guilds-container .form-group label,
.guild-form label,
.guild-form-field label {
  color: rgba(205, 156, 72, 0.9);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.guilds-container .form-group select,
.guilds-container .form-group input[type="text"],
.guilds-container .form-group input[type="number"],
.guilds-container .form-group textarea,
.guild-form input,
.guild-form select,
.guild-form textarea,
.guild-form-field input,
.guild-form-field select {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(205, 156, 72, 0.3);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  transition: all 0.2s ease;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.guilds-container .form-group select,
.guild-form select {
  min-height: 46px;
  line-height: 1.4;
}

.guilds-container .form-group textarea,
.guild-form textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.guilds-container .form-group select:focus,
.guilds-container .form-group input[type="text"]:focus,
.guilds-container .form-group input[type="number"]:focus,
.guilds-container .form-group textarea:focus,
.guild-form input:focus,
.guild-form select:focus,
.guild-form textarea:focus,
.guild-form-field input:focus,
.guild-form-field select:focus {
  outline: none;
  border-color: #cd9c48;
  box-shadow: 0 0 0 3px rgba(205, 156, 72, 0.1);
}

.guilds-container option {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.85);
}

.guilds-container .btn-submit {
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.9), rgba(180, 135, 60, 0.9));
  border: none;
  border-radius: 8px;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(205, 156, 72, 0.3);
  align-self: flex-start;
}

.guilds-container .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(205, 156, 72, 0.5);
}

.guilds-container .guild-message-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  margin-bottom: 24px;
  border-radius: 12px;
  border: 1px solid;
  font-size: 15px;
  line-height: 1.5;
  box-sizing: border-box;
  max-width: 100%;
}

.guilds-container .guild-message-box i {
  font-size: 20px;
  flex-shrink: 0;
}

.guilds-container .guild-message-box.guild-message-error {
  background: rgba(240, 71, 71, 0.12);
  border-color: rgba(240, 71, 71, 0.4);
  color: #f8b4b4;
  box-shadow: 0 4px 16px rgba(240, 71, 71, 0.15);
}

.guilds-container .guild-message-box.guild-message-success {
  background: rgba(72, 187, 120, 0.12);
  border-color: rgba(72, 187, 120, 0.4);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(72, 187, 120, 0.1);
}

.guilds-container .empty-message {
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 40px;
  font-style: italic;
}

.guild-overview-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(205, 156, 72, 0.3);
}

.guild-overview-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  position: relative;
  min-height: 80px;
}

.guild-overview-logo-col {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.guild-overview-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
  border: 2px solid rgba(205, 156, 72, 0.3);
  padding: 6px;
  background: rgba(0, 0, 0, 0.3);
  display: block;
}

.guild-overview-disband-form {
  flex-shrink: 0;
}

.guild-overview-disband-btn {
  padding: 6px 12px;
  font-size: 12px;
  white-space: nowrap;
  background: rgba(240, 71, 71, 0.2);
  border: 1px solid rgba(240, 71, 71, 0.5);
  color: #f04747;
}

.guild-overview-title-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.guild-overview-title {
  color: #cd9c48;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
  pointer-events: auto;
}

.guild-back-link {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 14px;
  color: #cd9c48;
  background: rgba(205, 156, 72, 0.15);
  border: 1px solid rgba(205, 156, 72, 0.35);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.guild-back-link:hover {
  background: rgba(205, 156, 72, 0.25);
  border-color: rgba(205, 156, 72, 0.5);
  color: #e0b870;
}

.guild-overview-desc-row {
  width: 100%;
}

.guild-overview-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  margin-top: 4px;
  white-space: pre-line;
}

.guild-overview-desc-form {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.guild-desc-input-wrap {
  flex: 1;
  min-width: 140px;
  max-width: 50%;
}

.guild-overview-desc-form textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid rgba(205, 156, 72, 0.25);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  box-sizing: border-box;
}

.guild-motd-counter {
  text-align: right;
  margin-top: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.guild-overview-desc-form .btn-submit {
  padding: 8px 16px;
  font-size: 13px;
  flex-shrink: 0;
  align-self: center;
}

.guild-management-horizontal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.guild-management-promote-kick-stack {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: stretch;
  flex-wrap: wrap;
}

.guild-management-promote-kick-stack .guild-compact-action-card {
  width: 220px;
  min-width: 220px;
  flex: 0 0 220px;
  box-sizing: border-box;
  padding: 12px;
}

.guild-management-promote-kick-stack .guild-compact-action-card.guild-management-card-promote {
  width: 300px;
  min-width: 300px;
  flex: 0 0 300px;
}

.guild-management-promote-kick-stack .guild-compact-action-card.guild-management-ranks-card {
  width: 320px;
  min-width: 320px;
  flex: 0 0 320px;
}

.guild-form-card-compact {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 10px;
  padding: 16px;
  margin: 0;
}

.guild-form-card-compact .guild-form-header,
.guild-management-promote-kick-stack .guild-compact-action-card .guild-form-header {
  font-size: 13px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(205, 156, 72, 0.2);
}

.guild-form-fields-horizontal .guild-form-row-h {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.guild-form-fields-horizontal .guild-form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.guild-form-fields-horizontal .guild-form-field label,
.guild-form-ranks-change .guild-ranks-field label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0;
}

.guild-form-fields-horizontal .guild-form-field select,
.guild-form-fields-horizontal .guild-form-field input[type="text"],
.guild-form-ranks-change .guild-ranks-dropdown,
.guild-form-ranks-change .guild-ranks-new-name {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 6px 8px;
  font-size: 12px;
  border-radius: 6px;
  border: 1px solid rgba(205, 156, 72, 0.3);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
}

.guild-management-promote-kick-stack .guild-form-fields-horizontal .btn-submit,
.guild-management-promote-kick-stack .guild-form-ranks-change .btn-submit {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 8px 12px;
  font-size: 12px;
}

.guild-form-ranks-change {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.guild-form-ranks-change .guild-ranks-change-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.guild-form-ranks-change .guild-ranks-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.guild-form-ranks-change .guild-ranks-field:first-child {
  width: 130px;
  min-width: 100px;
  max-width: 45%;
}

.guild-form-ranks-change .guild-ranks-field:last-child {
  flex: 1;
  min-width: 100px;
  max-width: 55%;
}

.guild-ranks-submit-wrap {
  display: block;
  width: 100%;
  margin-top: auto;
  padding-top: 4px;
}

.guild-management-messages {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(205, 156, 72, 0.2);
}

.guilds-container .section-title {
  color: #cd9c48;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 24px 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(205, 156, 72, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
}

.guilds-container .section-title:first-of-type {
  margin-top: 0;
}

.guild-members-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  margin: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.guild-members-table thead {
  background: rgba(205, 156, 72, 0.15);
}

.guild-members-table th {
  color: #cd9c48;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px;
  text-align: center;
  border-bottom: 2px solid rgba(205, 156, 72, 0.3);
}

.guild-members-table tbody tr {
  border-bottom: 1px solid rgba(205, 156, 72, 0.1);
  transition: background 0.2s ease;
}

.guild-members-table tbody tr:hover {
  background: rgba(205, 156, 72, 0.05);
}

.guild-members-table tbody tr:last-child {
  border-bottom: none;
}

.guild-members-table td {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  padding: 14px 16px;
  text-align: center;
  vertical-align: middle;
}

.guild-members-table td:first-child {
  text-align: center;
  font-weight: 600;
  min-width: 120px;
}

.guild-members-table td:first-child strong {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(205, 156, 72, 0.15);
  border-radius: 6px;
  border: 1px solid rgba(205, 156, 72, 0.3);
  color: #cd9c48;
}

.guild-members-table td a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.guild-members-table td a:hover {
  color: #cd9c48;
  text-decoration: underline;
}

.guilds-container .status-online {
  color: #4caf50 !important;
  font-weight: 600;
  position: relative;
  padding-left: 20px;
}

.guilds-container .status-online::before {
  content: "●";
  position: absolute;
  left: 4px;
  font-size: 12px;
  animation: pulse 2s infinite;
}

.guilds-container .status-offline {
  color: rgba(255, 255, 255, 0.5) !important;
  position: relative;
  padding-left: 20px;
}

.guilds-container .status-offline::before {
  content: "○";
  position: absolute;
  left: 4px;
  font-size: 12px;
}

.guilds-container .btn-small {
  padding: 8px 16px;
  background: rgba(205, 156, 72, 0.2);
  border: 1px solid rgba(205, 156, 72, 0.4);
  border-radius: 6px;
  color: #cd9c48;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.guilds-container .btn-small:hover {
  background: rgba(205, 156, 72, 0.3);
  border-color: rgba(205, 156, 72, 0.6);
  transform: translateY(-1px);
}

.guilds-container .btn-danger-small {
  background: rgba(240, 71, 71, 0.2);
  border-color: rgba(240, 71, 71, 0.4);
  color: #f04747;
}

.guilds-container .btn-danger-small:hover {
  background: rgba(240, 71, 71, 0.3);
  border-color: rgba(240, 71, 71, 0.6);
}

.guilds-container .inline-form {
  display: inline-block;
  margin: 0;
}

.guild-table-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.guild-nick-edit-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: 6px;
}

.guild-nick-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.guild-nick-display {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin-left: 5px;
}

.guild-nick-trigger,
.guilds-container .btn-link {
  background: none;
  border: none;
  color: rgba(205, 156, 72, 0.9);
  font-size: 12px;
  cursor: pointer;
  padding: 2px 6px;
  text-decoration: underline;
}

.guild-nick-trigger:hover,
.guild-nick-trigger:focus,
.guilds-container .btn-link:hover {
  color: #cd9c48;
}

.guild-nick-inline-form {
  display: none;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.guild-nick-toggle:checked ~ .guild-nick-display,
.guild-nick-toggle:checked ~ .guild-nick-trigger {
  display: none;
}

.guild-nick-toggle:checked ~ .guild-nick-inline-form {
  display: inline-flex;
}

.guild-nick-inline-form .guild-nick-input {
  width: 120px;
  padding: 4px 8px;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(205, 156, 72, 0.4);
  border-radius: 4px;
  color: #fff;
}

.guild-nick-inline-form .guild-nick-input:focus {
  outline: none;
  border-color: rgba(205, 156, 72, 0.7);
}

.guild-nick-submit {
  padding: 4px 8px;
  border: 1px solid rgba(205, 156, 72, 0.4);
  border-radius: 4px;
  background: rgba(205, 156, 72, 0.18);
  color: #cd9c48;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.guild-nick-submit:hover,
.guild-nick-submit:focus {
  background: rgba(205, 156, 72, 0.28);
  border-color: rgba(205, 156, 72, 0.65);
  outline: none;
}

.guild-pass-leadership-wrap {
  margin-left: 6px;
}

@media (max-width: 768px) {
  .guild-overview-header {
    flex-direction: column;
    align-items: center;
  }

  .guild-overview-logo-col {
    align-items: center;
  }

  .guild-overview-title,
  .guild-overview-description,
  .guild-overview-desc-form {
    text-align: left;
  }

  .guild-desc-input-wrap {
    max-width: 100%;
    flex-basis: 100%;
  }

  .guild-management-horizontal,
  .guild-management-promote-kick-stack {
    flex-direction: column;
  }

  .guild-management-promote-kick-stack .guild-compact-action-card,
  .guild-management-promote-kick-stack .guild-compact-action-card.guild-management-card-promote,
  .guild-management-promote-kick-stack .guild-compact-action-card.guild-management-ranks-card {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
  }

  .guild-members-table {
    font-size: 12px;
  }

  .guild-members-table th,
  .guild-members-table td {
    padding: 10px 8px;
  }

  .guilds-container .section-title {
    font-size: 1.3rem;
  }
}

.highscores-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(235, 227, 213, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.page-link:hover,
.page-link:focus-visible,
.page-link.is-active {
  border-color: rgba(255, 229, 172, 0.32);
  background: linear-gradient(135deg, #e1b96e, #bf8736);
  color: #1b1307;
  outline: none;
}

.killers-table th:nth-child(2),
.killers-table td:nth-child(2) {
  white-space: nowrap;
}

.killers-row-note {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.killers-muted {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.premium-wrap {
  max-width: 1100px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
}

.premium-intro {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(205, 156, 72, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(205, 156, 72, 0.14), transparent 50%),
    linear-gradient(145deg, rgba(32, 28, 24, 0.98) 0%, rgba(16, 16, 20, 0.99) 45%, rgba(22, 18, 28, 0.97) 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.premium-intro::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(180deg, #e8c878, #cd9c48 40%, rgba(205, 156, 72, 0.35));
}

.premium-intro__glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(205, 156, 72, 0.12) 0%, transparent 70%);
}

.premium-intro__content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  padding: 2rem 2.25rem 2rem 2.1rem;
}

.premium-intro__welcome,
.premium-intro__premium-line {
  margin: 0;
  line-height: 1.6;
}

.premium-intro__welcome {
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  font-weight: 600;
}

.premium-intro__brand,
.premium-intro__highlight {
  color: #f4d28a;
  font-weight: 700;
}

.premium-intro__divider {
  height: 1px;
  margin: 0 0 1.1rem;
  max-width: 12rem;
  border: 0;
  background: linear-gradient(90deg, rgba(205, 156, 72, 0.55), rgba(205, 156, 72, 0.08), transparent);
}

.premium-intro__premium-line {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 500;
}

.premium-compare {
  margin-bottom: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(205, 156, 72, 0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(28, 26, 28, 0.98), rgba(18, 18, 22, 0.98));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.premium-compare__header {
  padding: 1.25rem 1.35rem 1.1rem;
  border-bottom: 1px solid rgba(205, 156, 72, 0.18);
  background: rgba(205, 156, 72, 0.08);
}

.premium-compare__eyebrow,
.premium-compare__label,
.premium-benefit-list__head,
.premium-benefit__value span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.premium-compare__header h2 {
  margin: 0.25rem 0 0.45rem;
  color: #f4d28a;
  font-size: 1.35rem;
  font-weight: 800;
}

.premium-compare__header p,
.premium-compare__account p,
.premium-benefit__value p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.premium-compare__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.premium-compare__account {
  min-width: 0;
  padding: 1.05rem 1.25rem;
  background: rgba(13, 13, 17, 0.7);
}

.premium-compare__account strong {
  display: block;
  margin: 0.3rem 0 0.35rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.premium-compare__account--premium {
  background: linear-gradient(180deg, rgba(205, 156, 72, 0.12), rgba(13, 13, 17, 0.78));
}

.premium-benefit-list {
  display: grid;
}

.premium-benefit-list__head,
.premium-benefit {
  display: grid;
  grid-template-columns: minmax(170px, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
}

.premium-benefit-list__head {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.28);
}

.premium-benefit {
  align-items: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.premium-benefit:last-child {
  border-bottom: 0;
}

.premium-benefit h3,
.premium-benefit__value {
  min-width: 0;
  padding: 0.95rem 1.25rem;
}

.premium-benefit h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.premium-benefit__value {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.premium-benefit__value span {
  display: none;
}

.premium-benefit__value--free p {
  color: rgba(255, 255, 255, 0.58);
}

.donate-section {
  margin-bottom: 1.75rem;
  padding: 1.75rem 1.25rem;
  border: 2px solid rgba(205, 156, 72, 0.35);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.1), rgba(24, 20, 16, 0.92));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.donate-section h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 0 0.5rem;
  color: #f4d28a;
  font-size: 1.25rem;
  font-weight: 800;
}

.donate-section p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.donate-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(205, 156, 72, 0.5);
  border-radius: 10px;
  background: linear-gradient(180deg, #d4a84a, #b8921f);
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(205, 156, 72, 0.25);
}

.twitch-streams-page {
  max-width: 1200px;
  margin: 0 auto;
}

.twitch-info-card,
.twitch-status,
.twitch-empty,
.twitch-stream-card {
  border-radius: 14px;
  box-shadow: var(--page-shell-shadow);
}

.twitch-info-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 22px 24px;
  border: 1px solid rgba(145, 70, 255, 0.25);
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.12), rgba(32, 18, 52, 0.96));
}

.twitch-info-main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.twitch-info-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #caa0ff;
  font-size: 28px;
}

.twitch-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.twitch-info-copy h1 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
}

.twitch-info-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.twitch-info-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.twitch-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #9146ff;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.twitch-stream-count {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 600;
}

.twitch-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px 16px;
  font-weight: 600;
}

.twitch-status.success {
  border: 1px solid rgba(94, 210, 122, 0.26);
  background: rgba(94, 210, 122, 0.12);
  color: #b7efc5;
}

.twitch-status.error {
  border: 1px solid rgba(255, 107, 107, 0.26);
  background: rgba(255, 107, 107, 0.12);
  color: #ffcbcb;
}

.twitch-empty {
  padding: 52px 24px;
  border: 1px solid rgba(145, 70, 255, 0.18);
  background: rgba(28, 22, 36, 0.96);
  text-align: center;
}

.twitch-empty-icon {
  margin-bottom: 16px;
  color: rgba(145, 70, 255, 0.45);
  font-size: 3.2rem;
}

.twitch-empty h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.twitch-empty p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.twitch-streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.twitch-stream-card {
  overflow: hidden;
  border: 1px solid rgba(145, 70, 255, 0.18);
  background: rgba(22, 18, 28, 0.98);
}

.twitch-stream-thumb {
  position: relative;
  background: rgba(0, 0, 0, 0.35);
}

.twitch-stream-thumb img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.twitch-live-dot,
.twitch-viewers {
  position: absolute;
  top: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.twitch-live-dot {
  left: 12px;
  padding: 6px 10px;
  background: rgba(255, 0, 0, 0.92);
  color: #fff;
}

.twitch-viewers {
  right: 12px;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
}

.twitch-stream-body {
  padding: 16px;
}

.twitch-stream-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.twitch-stream-avatar,
.twitch-stream-avatar-fallback {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
}

.twitch-stream-avatar {
  object-fit: cover;
}

.twitch-stream-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #9146ff, #6441a5);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.twitch-stream-details {
  min-width: 0;
}

.twitch-stream-title {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.twitch-streamer-name,
.twitch-stream-game {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.twitch-watch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #9146ff, #6441a5);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.chp {
  max-width: 900px;
  margin: 0 auto;
  color: #e8e8e8;
}

.chp a {
  color: #cd9c48;
  text-decoration: underline;
}

.chp-section {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 8px;
}

.chp-section__head {
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid rgba(205, 156, 72, 0.2);
  background: rgba(26, 26, 30, 0.98);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}

.chp-section__body {
  padding: 0.5rem 0.75rem;
  background: rgba(22, 22, 26, 0.95);
  font-size: 0.875rem;
}

.chp-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-height: 1.5em;
  padding: 0.25rem 0;
}

.chp-row:nth-child(even) {
  margin: 0 -0.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
}

.chp-row__label {
  flex: 0 0 140px;
  color: rgba(255, 255, 255, 0.5);
}

.chp-row__value {
  flex: 1 1 auto;
  min-width: 0;
  color: rgba(255, 255, 255, 0.92);
  overflow-wrap: break-word;
}

.chp-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.chp-status--on {
  border: 1px solid rgba(67, 181, 129, 0.28);
  background: rgba(67, 181, 129, 0.12);
  color: #43b581;
}

.chp-status--off {
  border: 1px solid rgba(232, 90, 90, 0.28);
  background: rgba(232, 90, 90, 0.1);
  color: #e85a5a;
}

.chp-ban {
  color: #e85a5a;
  font-weight: 400;
}

.chp-death {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chp-death:last-child,
.chp-char:last-child {
  border-bottom: 0;
}

.chp-death__date {
  flex: 0 0 160px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8125rem;
}

.chp-death__text {
  flex: 1 1 auto;
  color: rgba(255, 255, 255, 0.9);
}

.chp-death__unjust {
  color: #e85a5a;
  font-size: 0.8125rem;
  font-style: italic;
}

.chp-death__soloed {
  color: #c9a227;
  font-weight: 700;
}

.chp-char {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chp-char__name {
  flex: 1 1 auto;
  min-width: 0;
}

.chp-char__status {
  flex: 0 0 80px;
  font-size: 0.8125rem;
}

.chp-char__status--off {
  color: #e85a5a;
}

.chp-char__status--on {
  color: #43b581;
}

.chp-char__level {
  flex: 0 0 2.5rem;
  text-align: right;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
}

.chp-char__vocation {
  flex: 0 0 100px;
  text-align: right;
  color: rgba(255, 255, 255, 0.55);
}

.chp-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chp-search__label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.chp-search input[type="text"] {
  width: 220px;
  max-width: 100%;
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.3);
  color: #e8e8e8;
  font-size: 0.875rem;
}

.chp-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 10px 20px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.96), rgba(180, 135, 60, 0.96));
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(205, 156, 72, 0.28);
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.chp-search button:hover,
.chp-search button:focus {
  color: #111;
  background: linear-gradient(135deg, rgba(222, 170, 86, 0.98), rgba(195, 144, 63, 0.98));
  box-shadow: 0 6px 14px rgba(205, 156, 72, 0.38);
}

.chp-empty {
  margin: 0;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.char-search-page {
  padding-bottom: 2rem;
}

.char-search-intro {
  padding-bottom: 0;
}

.char-search-query {
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
}

.char-result-block {
  padding: 0.25rem 0 0.75rem;
}

.char-result-block + .char-result-block {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(205, 156, 72, 0.14);
}

.char-result-block h2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 700;
}

.char-result-block h2 .fa {
  color: rgba(205, 156, 72, 0.75);
}

.search-result-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-result-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  min-height: 1.5em;
  padding: 0.28rem 0;
}

.search-result-list li:nth-child(even) {
  margin: 0 -0.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
}

.search-result-title {
  flex: 1 1 auto;
  min-width: 0;
  color: #cd9c48;
  font-weight: 700;
  text-decoration: underline;
  overflow-wrap: break-word;
}

.search-result-meta {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  text-align: right;
}

/* Houses: preserve the live PHP layout while keeping MVC routes and semantic markup. */
.houses-container {
  max-width: 1200px;
  margin: 0 auto;
}

.houses-search-box {
  margin-bottom: 30px;
  padding: 25px;
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 12px;
  background: rgba(26, 26, 26, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.houses-search-form {
  margin: 0;
}

.search-form-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
}

.houses-search-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
}

.houses-search-form .form-group label {
  margin: 0;
  color: #cd9c48;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.houses-search-form .form-group select {
  min-height: 0;
  padding: 4px 6px;
  border: 1px solid rgba(205, 156, 72, 0.3);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  color: #e0e0e0;
  font-size: 11px;
  outline: none;
  cursor: pointer;
}

.houses-search-form .form-group select:hover,
.houses-search-form .form-group select:focus {
  border-color: #cd9c48;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(205, 156, 72, 0.1);
}

.houses-search-form .form-group-submit {
  align-items: flex-start;
}

.houses-search-form .search-submit-btn {
  width: auto;
  min-width: 0;
  padding: 8px 30px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.9), rgba(180, 135, 60, 0.9));
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(205, 156, 72, 0.3);
}

.houses-list-container {
  overflow: hidden;
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 12px;
  background: rgba(26, 26, 26, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.houses-list-header {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  padding: 18px 25px;
  border-bottom: 1px solid rgba(205, 156, 72, 0.2);
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.15), rgba(180, 135, 60, 0.15));
}

.houses-list-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.houses-list-header h2 {
  margin: 0;
  color: #cd9c48;
  font-size: 1.3rem;
  font-weight: 700;
}

.houses-auction-countdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  padding: 7px 10px;
  border: 1px solid rgba(205, 156, 72, 0.45);
  border-radius: 8px;
  background: #393939;
  box-shadow: 0 0 18px rgba(205, 156, 72, 0.16);
}

.houses-auction-countdown b {
  min-width: 78px;
  padding: 6px 10px;
  border: 1px solid rgba(240, 214, 148, 0.45);
  border-radius: 6px;
  background: #666363;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  text-align: center;
  box-shadow: inset 0 0 12px rgba(205, 156, 72, 0.12);
}

.houses-auction-countdown i {
  color: #ffe1a0;
  font-size: 15px;
}

.houses-auction-countdown b.is-ended,
.house-bid-value.ended {
  color: #f44336;
}

.houses-table {
  width: 100%;
  margin: 0;
  table-layout: fixed;
  border-collapse: collapse;
}

.houses-table thead th {
  padding: 12px 25px;
  border-bottom: 1px solid rgba(205, 156, 72, 0.25);
  background: rgba(0, 0, 0, 0.2);
  color: rgba(205, 156, 72, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.houses-table thead th:nth-child(1) { width: 28%; padding-left: 25px; }
.houses-table thead th:nth-child(2) { width: 12%; }
.houses-table thead th:nth-child(3) { width: 14%; }
.houses-table thead th:nth-child(4) { width: 28%; }
.houses-table thead th:nth-child(5) { width: 18%; }

.houses-table tbody tr {
  border-bottom: 1px solid rgba(205, 156, 72, 0.08);
}

.houses-table tbody tr:last-child {
  border-bottom: 0;
}

.houses-table tbody tr:hover {
  background: rgba(205, 156, 72, 0.05);
}

.houses-table tbody td {
  padding: 18px 25px;
  text-align: center;
  vertical-align: middle;
}

.houses-table tbody td:first-child {
  padding-left: 25px;
  border-left: 3px solid transparent;
}

.houses-table tbody tr:hover td:first-child {
  border-left-color: rgba(205, 156, 72, 0.4);
}

.houses-table tbody td .house-name,
.houses-table tbody td .house-detail {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.houses-table tbody td.house-description-cell {
  max-width: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.4;
  word-wrap: break-word;
}

.house-name,
.house-detail {
  display: flex;
  align-items: center;
  gap: 8px;
}

.house-name {
  color: #e0e0e0;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.house-name:hover,
.house-name:focus {
  color: #cd9c48;
  text-shadow: 0 0 8px rgba(205, 156, 72, 0.3);
}

.house-name i,
.house-detail i {
  color: #cd9c48;
}

.house-detail {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.house-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.house-status.status-rented {
  border: 1px solid rgba(76, 175, 80, 0.3);
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
}

.house-status.status-auctioned {
  border: 1px solid rgba(255, 193, 7, 0.3);
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
}

.house-status.status-no-bid {
  border: 2px dotted rgba(205, 156, 72, 0.7);
  border-radius: 8px;
  background: transparent;
  color: #cd9c48;
  box-shadow: none;
}

.house-status.status-ended {
  border: 1px solid rgba(244, 67, 54, 0.3);
  background: rgba(244, 67, 54, 0.15);
  color: #f44336;
}

.house-bid-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.house-bid-value.has-bid {
  color: #f0d694;
}

@media (max-width: 768px) {
  .search-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .news-home-header {
    grid-template-columns: 1fr;
  }

  .news-home-header__meta {
    text-align: left;
  }

  .news-home-welcome {
    grid-template-columns: 1fr;
  }

  .livestreams-bar {
    max-width: 100%;
    margin: 0 auto 14px;
  }

  .topMedia {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px;
  }

  .livestreams-bar-header,
  .twitch-info-card {
    flex-direction: column;
    align-items: stretch;
  }

  .livestreams-bar-header {
    min-height: 0;
  }

  .livestreams-bar-icon-link {
    width: 100%;
    min-height: 48px;
    border-right: 0;
    border-bottom: 1px solid rgba(145, 70, 255, 0.25);
  }

  .livestreams-bar-action-link {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
  }

  .topMedia .media-text-box {
    width: 100%;
    flex-basis: auto;
    padding: 0;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .media-container {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    flex-basis: auto;
  }

  .media-container .media-screen-box {
    min-height: 160px;
  }

  .news-feed-header,
  .whoisonline-header,
  .houses-search-box,
  .guilds-card,
  .killers-card,
  .bans-header,
  .auction-header,
  .auction-card {
    padding: 20px;
  }

  .news-feed-body {
    padding: 20px;
  }

  .news-layout {
    grid-template-columns: 1fr;
  }

  .premium-intro__content {
    padding: 1.65rem 1.65rem 1.65rem 1.85rem;
  }

  .twitch-info-actions {
    align-items: stretch;
  }

  .serverinfo-hero {
    padding: 22px 24px;
  }

  .serverinfo-grid,
  .serverinfo-feature-grid {
    grid-template-columns: 1fr;
  }

  .serverinfo-rate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .house-detail-grid {
    grid-template-columns: 1fr;
  }

  .house-detail-hero,
  .guild-detail-hero-main,
  .house-detail-guidance-grid {
    grid-template-columns: 1fr;
  }

  .houses-list-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .houses-list-title,
  .houses-auction-countdown {
    justify-self: center;
  }

  .houses-inline-facts {
    justify-content: flex-start;
  }

  .chp-death,
  .chp-char {
    flex-wrap: wrap;
  }

  .search-result-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }

  .search-result-meta {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .media-screen-box img {
    max-width: 100%;
    max-height: 140px;
  }

  .news-feed-header h1,
  .serverinfo-hero h1,
  .whoisonline-header h1,
  .houses-header h1,
  .guilds-header h1,
  .killers-header h1,
  .bans-header h1,
  .auction-header h1 {
    font-size: 1.6rem;
  }

  .guild-list-grid,
  .twitch-streams-grid {
    grid-template-columns: 1fr;
  }

  .guild-detail-grid {
    grid-template-columns: 1fr;
  }

  .whoisonline-card {
    padding: 14px;
  }

  .onlinelist-card {
    padding: 14px;
  }

  .serverinfo-rate-grid {
    grid-template-columns: 1fr;
  }

  .house-transfer-options,
  .transfer-form-grid {
    grid-template-columns: 1fr;
  }

  .whoisonline-table,
  .onlinelist-table,
  .killers-table,
  .bans-table,
  .auction-table {
    min-width: 640px;
  }

  .houses-list-container,
  .whoisonline-card,
  .onlinelist-card,
  .killers-card,
  .bans-table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .premium-compare__columns,
  .premium-benefit {
    grid-template-columns: 1fr;
  }

  .premium-benefit-list__head {
    display: none;
  }

  .premium-benefit__value {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 0;
  }

  .premium-benefit__value span {
    display: block;
    margin-bottom: 0.25rem;
  }

  .houses-list-container {
    overflow-x: hidden;
  }

  .houses-table,
  .houses-table tbody,
  .houses-table tr,
  .houses-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .houses-table thead,
  .houses-table colgroup {
    display: none;
  }

  .houses-table tbody {
    padding: 8px 12px 14px;
  }

  .houses-table tbody tr {
    margin: 0 0 12px;
    border: 1px solid rgba(205, 156, 72, 0.16);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.22);
    overflow: hidden;
  }

  .houses-table tbody td,
  .houses-table tbody td:first-child {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    text-align: left;
  }

  .houses-table tbody td:last-child {
    border-bottom: 0;
  }

  .houses-table tbody td::before {
    content: attr(data-label);
    color: rgba(205, 156, 72, 0.88);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .houses-table tbody td:nth-child(1)::before { content: "Name"; }
  .houses-table tbody td:nth-child(2)::before { content: "Size"; }
  .houses-table tbody td:nth-child(3)::before { content: "Rent"; }
  .houses-table tbody td:nth-child(4)::before { content: "Description"; }
  .houses-table tbody td:nth-child(5)::before { content: "Bid"; }

  .houses-table tbody td .house-name,
  .houses-table tbody td .house-detail {
    justify-self: start;
    justify-content: flex-start;
    min-width: 0;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .houses-table tbody td .house-name span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .houses-table .house-status,
  .houses-table .house-bid-value {
    justify-self: start;
    justify-content: center;
    max-width: 100%;
    white-space: normal;
   }

  .houses-table tbody td.house-description-cell {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .serverinfo-container {
    padding: 0 0 24px;
  }

  .news-home-ticker__head,
  .news-home-ticker__row {
    grid-template-columns: 1fr;
  }

  .news-home-ticker__head {
    display: grid;
  }

  .livestreams-bar-content {
    padding: 10px 12px;
  }

  .news-feed-header,
  .news-header-row {
    gap: 10px;
  }

  .news-feed-header {
    flex-direction: column;
  }

  .news-sidebar-stats {
    grid-template-columns: 1fr;
  }

  .news-feed-header h1 {
    font-size: 1.45rem;
  }

  .news-item {
    padding: 18px;
  }

  .news-header-row h2 {
    font-size: 1.22rem;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .houses-list-container {
    overflow-x: hidden;
  }

  .houses-table,
  .houses-table tbody,
  .houses-table tr,
  .houses-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .houses-table thead,
  .houses-table colgroup {
    display: none;
  }

  .houses-table tbody {
    padding: 10px 14px 16px;
  }

  .houses-table tbody tr {
    margin: 0 0 12px;
    border: 1px solid rgba(205, 156, 72, 0.16);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.22);
    overflow: hidden;
  }

  .houses-table tbody td,
  .houses-table tbody td:first-child {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    text-align: left;
  }

  .houses-table tbody td:last-child {
    border-bottom: 0;
  }

  .houses-table tbody td::before {
    color: rgba(205, 156, 72, 0.88);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .houses-table tbody td:nth-child(1)::before { content: "Name"; }
  .houses-table tbody td:nth-child(2)::before { content: "Size"; }
  .houses-table tbody td:nth-child(3)::before { content: "Rent"; }
  .houses-table tbody td:nth-child(4)::before { content: "Description"; }
  .houses-table tbody td:nth-child(5)::before { content: "Bid"; }

  .houses-table tbody td .house-name,
  .houses-table tbody td .house-detail,
  .houses-table .house-status,
  .houses-table .house-bid-value {
    justify-self: start;
  }

  .houses-table tbody td .house-name,
  .houses-table tbody td .house-detail {
    justify-content: flex-start;
    margin-right: 0;
    margin-left: 0;
  }

  .houses-table tbody td.house-description-cell {
    max-width: none;
  }
}
