/* Injected into iframe content — MMORPG block pages */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Crimson+Pro:wght@400;600&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 1.25rem 1.5rem 2rem;
  font-family: "Crimson Pro", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #e6e2d8;
  background: transparent !important;
  background-image: none !important;
}

a {
  color: #e8d48b;
  transition: color 0.2s;
}

a:hover {
  color: #fff;
}

table {
  border-collapse: collapse;
}

/* News / content blocks */
.portal-page {
  max-width: 900px;
  margin: 0 auto;
}

.portal-page h1,
.portal-page h2 {
  font-family: "Cinzel", serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #e8d48b;
  margin: 0 0 1rem;
}

.portal-page h1 {
  font-size: 1.5rem;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.portal-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.portal-feature-card {
  padding: 0.85rem 1rem;
  background: rgba(14, 16, 26, 0.85);
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 4px;
  font-size: 0.92rem;
  transition: border-color 0.2s, transform 0.2s;
}

.portal-feature-card:hover {
  border-color: rgba(201, 162, 39, 0.45);
  transform: translateY(-2px);
}

.portal-feature-card strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 0.35rem;
}

.portal-lead {
  font-size: 1.1rem;
  color: #9a958c;
  margin-bottom: 1.25rem;
}

/* Legacy block tables */
body > table,
body table[width="500"],
.portal-page table {
  width: 100% !important;
  max-width: 100%;
  margin: 0.5rem 0 !important;
}

body td[bgcolor],
body td[bgcolor="#777777"] {
  background: rgba(201, 162, 39, 0.2) !important;
  font-family: "Cinzel", serif !important;
  letter-spacing: 0.08em;
  padding: 0.5rem !important;
}

body font[color="#FFFFFF"],
body font[color="white"],
body font[color="White"] {
  color: #e6e2d8 !important;
}

body font[color="#000000"] {
  color: #e8d48b !important;
}

body font[color="#777777"] {
  color: #9a958c !important;
}

body input.lanyu,
body input[type="text"],
body input[type="password"],
body input[type="email"] {
  padding: 0.4rem 0.6rem;
  background: rgba(8, 10, 18, 0.9);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 2px;
  color: #e6e2d8;
  font-family: inherit;
}

body input:focus {
  outline: none;
  border-color: #c9a227;
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.15);
}

body center {
  text-align: left;
}
