.server-full-page {
  font-family: Tahoma, Arial, sans-serif;
  color: #273020;
}

.server-full-root {
  padding: 0;
}

.server-full-hero,
.server-full-card {
  background: #f0f0f0;
  border: 1px solid #dedede;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.server-full-hero {
  display: flex;
  gap: 16px;
  padding: 18px;
  margin-bottom: 14px;
  align-items: center;
}

.server-full-motd-bg {
  background-color: #33221a;
  background-image: url("/templates/minecraft/img/motd-bg.png");
  background-size: 96px 96px;
  background-repeat: repeat;
  border-color: #2a1b15;
  color: #fff;
}

.server-full-motd-bg .server-full-hero__title {
  color: #fff;
  text-shadow: 0 2px 3px rgba(0,0,0,.75);
}

.server-full-motd-bg .server-full-hero__sub {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  text-shadow: 0 1px 2px rgba(0,0,0,.8);
}

.server-full-motd-bg .server-full-badge {
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.55);
}

.server-full-hero__icon-wrap {
  flex: 0 0 76px;
}

.server-full-hero__icon {
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 14px;
  object-fit: cover;
  background: #ececec;
}

.server-full-hero__icon[src*="server_noimage"] {
  object-fit: cover;
}

.server-full-hero__main {
  flex: 1 1 auto;
  min-width: 0;
}

.server-full-hero__top {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
}

.server-full-hero__title {
  margin: 0 0 6px;
  overflow: hidden;
  color: #26311f;
  font-size: 28px;
  line-height: 34px;
  font-weight: 800;
  text-overflow: ellipsis;
}

.server-full-hero__sub {
  margin-bottom: 10px;
  color: #555;
  font-size: 14px;
  line-height: 20px;
}

.server-full-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.server-full-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 4px 9px;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 999px;
  color: #555;
  font-size: 13px;
  line-height: 16px;
}

.server-full-badge b {
  color: #1f7d3b;
}

.server-full-status-online {
  color: #0a9e3d !important;
  font-weight: 700;
}

.server-full-status-offline {
  color: #cf3030 !important;
  font-weight: 700;
}

.server-full-vote {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: #2f7d3d;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.server-full-vote:hover {
  background: #256d32;
}

.server-full-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.server-full-sidebar,
.server-full-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.server-full-card {
  padding: 16px;
}

.server-full-card__title {
  margin-bottom: 12px;
  color: #26311f;
  font-size: 18px;
  line-height: 24px;
  font-weight: 800;
}

.server-full-address-card {
  background-color: #33221a;
  background-image: url("/templates/minecraft/img/motd-bg.png");
  background-size: 96px 96px;
  background-repeat: repeat;
  border-color: #2a1b15;
  color: #fff;
}

.server-full-address-card .server-full-card__title {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.75);
}

.server-full-address-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.server-full-ip {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  line-height: 40px;
  padding: 0 12px;
  overflow: hidden;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 9px;
  color: #111;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.server-full-ip:hover {
  background: #fff;
}

.server-full-ip.is-copied {
  background: #dcf8e7;
  border-color: #2ec66d;
  color: #08a84d;
  font-weight: 700;
}

.server-full-platform {
  flex: 0 0 auto;
  height: 40px;
  line-height: 40px;
  padding: 0 12px;
  background: rgba(231,235,229,.95);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 9px;
  color: #3d5538;
  font-weight: 700;
  font-size: 13px;
}

.server-full-copy-stats {
  margin-top: 10px;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  line-height: 16px;
}

.server-full-copy-stats span {
  color: #5fff8c;
  font-weight: 700;
}

.server-full-info-list {
  display: flex;
  flex-direction: column;
}

.server-full-info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #dedede;
  color: #666;
  font-size: 13px;
}

.server-full-info-row:last-child {
  border-bottom: 0;
}

.server-full-info-row > span {
  display: flex;
  align-items: center;
  min-width: 135px;
}

.server-full-info-row b {
  max-width: 54%;
  color: #26311f;
  text-align: right;
  overflow-wrap: anywhere;
}

.server-full-row-icon {
  display: inline-block;
  width: 20px;
  margin-right: 4px;
  text-align: center;
  opacity: .9;
}

.server-full-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.server-full-links a {
  display: block;
  padding: 10px;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 9px;
  text-decoration: none;
}

.server-full-links a span {
  display: block;
  margin-bottom: 3px;
  color: #777;
  font-size: 12px;
}

.server-full-links a b {
  display: block;
  overflow: hidden;
  color: #277d3d;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-full-empty,
.server-full-note {
  color: #777;
  font-size: 13px;
  line-height: 19px;
}

.server-full-poster img {
  display: block;
  width: 100%;
  max-width: 468px;
  height: 60px;
  object-fit: cover;
  border-radius: 9px;
}

.server-full-story-card.is-empty {
  display: none;
}

.server-full-story {
  color: #333;
  font-size: 15px;
  line-height: 1.65;
}

.server-full-story p {
  margin: 0 0 12px;
}

.server-full-votes-box {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.server-full-btn,
.claim-btn-green,
.claim-btn-dark,
#claim-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: #2f7d3d;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.server-full-btn:hover,
.claim-btn-green:hover,
#claim-copy-btn:hover {
  background: #256d32;
  color: #fff;
  text-decoration: none;
}

.claim-btn-dark {
  background: #4a4a4a;
}

.claim-btn-dark:hover {
  background: #333;
}

.server-full-owner-box p {
  margin: 0 0 12px;
  color: #555;
  font-size: 13px;
  line-height: 19px;
}

.claim-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.claim-modal-box {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 18px 60px rgba(0,0,0,.3);
}

.claim-modal-title {
  margin-bottom: 12px;
  color: #26311f;
  font-size: 26px;
  font-weight: 800;
}

.claim-modal-text,
.claim-modal-help {
  color: #333;
  font-size: 15px;
  line-height: 1.5;
}

.claim-code-row {
  display: flex;
  gap: 10px;
  margin: 18px 0 12px;
}

#claim-code-input {
  flex: 1;
  height: 46px;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  background: #f8f8f8;
  padding: 0 14px;
  font-size: 20px;
  font-weight: 700;
}

.claim-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.server-full-footer {
  margin-top: 16px;
}

.server-full-footer .newsFooter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #777;
  font-size: 13px;
}

#videoplayer iframe {
  max-width: 100%;
  border-radius: 10px;
}

@media (max-width: 980px) {
  .server-full-layout {
    grid-template-columns: 1fr;
  }

  .server-full-sidebar {
    order: 2;
  }

  .server-full-main {
    order: 1;
  }
}

@media (max-width: 620px) {
  .server-full-hero {
    align-items: flex-start;
  }

  .server-full-hero__top,
  .server-full-votes-box,
  .claim-code-row,
  .claim-modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .server-full-hero__title {
    font-size: 22px;
    line-height: 28px;
  }

  .server-full-address-row {
    flex-direction: column;
  }

  .server-full-platform {
    text-align: center;
  }
}

.server-full-hero__icon-wrap {
  position: relative;
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
}

.server-full-hero__icon {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  width: 76px !important;
  height: 76px !important;
  border-radius: 14px;
  object-fit: cover;
  background: #ececec;
}

.server-full-hero__icon-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e8e8 0%, #bfc6cc 100%);
  color: #5f666d;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  user-select: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
  text-shadow: 0 1px 2px rgba(255,255,255,.45);
}

.server-full-hero__icon-fallback_1 {
  background: linear-gradient(135deg, #f0c36d 0%, #b66b2c 100%);
  color: #fff;
}

.server-full-hero__icon-fallback_2 {
  background: linear-gradient(135deg, #67c4ff 0%, #3858c8 100%);
  color: #fff;
}

.server-full-hero__icon-fallback_3 {
  background: linear-gradient(135deg, #70d887 0%, #27865a 100%);
  color: #fff;
}

.server-full-hero__icon-fallback_4 {
  background: linear-gradient(135deg, #dd8cff 0%, #7b3db7 100%);
  color: #fff;
}

.server-full-hero__icon-fallback_5 {
  background: linear-gradient(135deg, #ff8b8b 0%, #b73535 100%);
  color: #fff;
}

.meta-card-server-rating .meta-card-content {
  display: block;
}

.server-rating-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.server-rating-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.server-rating-place,
.server-rating-votes {
  padding: 12px;
  background: #f7f7f7;
  border: 1px solid #dedede;
  border-radius: 10px;
}

.server-rating-label {
  display: block;
  margin-bottom: 5px;
  color: #6f776b;
  font-size: 12px;
  line-height: 16px;
}

.server-rating-place strong,
.server-rating-votes strong {
  display: block;
  color: #2f7d3d;
  font-size: 24px;
  line-height: 28px;
  font-weight: 800;
}

.server-rating-vote-btn {
  width: 100%;
}

.server-rating-note {
  color: #777;
  font-size: 13px;
  line-height: 18px;
}

.server-rating-dle {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #dedede;
  color: #777;
  font-size: 13px;
}

.server-rating-dle .vote-block {
  display: inline-flex;
}

.server-rating-dle-score,
.server-rating-dle-votes {
  padding: 3px 8px;
  background: #edf3ea;
  border-radius: 999px;
  color: #55724c;
  font-weight: 700;
}

@media (max-width: 620px) {
  .server-rating-main {
    grid-template-columns: 1fr;
  }
}