* {
  box-sizing: border-box;
}
.entry-page {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  font-family: system-ui, sans-serif;
  background-image:
    linear-gradient(#07130ee8, #07130eee), url('../Assets/UI/oserym-banner.jpg');
  background-size: cover;
  background-position: center;
}
.entry {
  max-width: 870px;
  margin: auto;
  text-align: center;
  padding: 65px 25px 30px;
}
.wordmark {
  font:
    26px Georgia,
    serif;
  color: var(--accent);
  letter-spacing: 6px;
  text-decoration: none;
}
.kicker,
.entry-foot {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
  margin: 13px 0 52px;
}
.kicker {
  color: var(--accent-secondary, var(--muted));
}
.entry h1 {
  font:
    46px Georgia,
    serif;
  font-weight: 400;
  margin: 0 0 16px;
}
.intro-copy {
  color: var(--muted);
  font-size: 14px;
}
.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin: 42px auto 36px;
  max-width: 650px;
}
.role-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 38px 22px 28px;
  background: linear-gradient(135deg, #243c2fe8, #0d2019e8);
  text-decoration: none;
  color: var(--accent);
  box-shadow: 0 20px 65px #0004;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.role-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}
.role-card svg {
  width: 92px;
  height: 92px;
}
.role-card h2 {
  font:
    34px Georgia,
    serif;
  color: var(--text);
  margin: 17px 0 10px;
}
.role-card p {
  font-size: 12px;
  color: var(--muted);
}
.role-card span {
  display: block;
  font-size: 11px;
  margin-top: 30px;
}
.entry-foot {
  margin: 36px 0 0;
  font-size: 9px;
}
.sitebar {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font:
    12px system-ui,
    sans-serif;
  position: relative;
  z-index: 45;
}
.sitebar a,
.sitebar button {
  color: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 8px;
}
.sitebar .section-name {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2px;
}
.sitebar .links {
  display: flex;
  align-items: center;
  gap: 10px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.gm-landing {
  max-width: 1050px;
  margin: auto;
  padding: 50px 30px;
}
.gm-landing h1 {
  font:
    42px Georgia,
    serif;
  color: var(--text);
  font-weight: 400;
  margin: 12px 0;
}
.gm-landing p {
  color: var(--muted);
  line-height: 1.6;
}
.gm-landing .gm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.gm-card {
  text-align: left;
  padding: 25px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  color: var(--text);
}
.gm-card:hover {
  border-color: var(--accent);
}
.gm-card strong {
  display: block;
  font:
    24px Georgia,
    serif;
  margin: 14px 0;
}
.gm-card .symbol {
  font-size: 28px;
  color: var(--accent);
}
.gm-card p {
  font-size: 12px;
  margin-bottom: 0;
}
.gm-home-mode > .shell,
.gm-home-mode > .banner {
  display: none;
}
.gm-landing {
  display: none;
}
.gm-home-mode .gm-landing {
  display: block;
}
.gm-note {
  margin-top: 26px;
  padding: 25px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.gm-note textarea {
  min-height: 110px;
}
.gm-note h2 {
  font:
    25px Georgia,
    serif;
}
.player-world .shell {
  display: block;
}
.player-world .sidebar,
.player-world .topnav {
  display: none !important;
}
.player-world .content {
  max-width: 1150px;
  margin: auto;
}
.home-inner {
  min-height: calc(100vh - 48px) !important;
}
.home-shell {
  min-height: calc(100vh - 48px) !important;
}
.home-brand small {
  font-size: 11px;
}
.player-items {
  width: min(1100px, 100%);
  margin: 30px auto;
}
.player-items h2 {
  font:
    34px Georgia,
    serif;
}
.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.item-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  color: var(--text);
}
.item-card img {
  height: 150px;
  width: 100%;
  object-fit: contain;
  background: var(--bg);
  border-radius: 8px;
}
.item-card h3 {
  font-size: 16px;
}
.item-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.item-detail {
  max-width: 680px;
  margin: 20px auto;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.item-detail img {
  max-width: 100%;
  max-height: 440px;
  object-fit: contain;
}
.item-detail p {
  white-space: pre-wrap;
  line-height: 1.7;
}
.home-items-view {
  flex-direction: column;
}
.sitebar + .app .banner {
  top: 0;
}
@media (max-width: 650px) {
  .entry {
    padding-top: 35px;
  }
  .entry h1 {
    font-size: 32px;
  }
  .kicker {
    margin-bottom: 35px;
  }
  .role-grid {
    gap: 14px;
    margin-top: 30px;
  }
  .role-card {
    padding: 25px 10px;
  }
  .role-card svg {
    width: 65px;
    height: 65px;
  }
  .role-card h2 {
    font-size: 27px;
  }
  .role-card p {
    font-size: 11px;
  }
  .role-card span {
    font-size: 10px;
  }
  .sitebar {
    padding: 0 10px;
  }
  .sitebar .section-name {
    display: none;
  }
  .sitebar .links {
    gap: 0;
  }
  .gm-landing {
    padding: 30px 20px;
  }
  .gm-landing .gm-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .gm-card {
    padding: 16px;
  }
  .gm-card strong {
    font-size: 21px;
  }
}

.campaign-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 300px));
  justify-content: center;
}
.campaign-card {
  padding: 28px 22px 22px;
}
.campaign-status {
  color: var(--accent);
  min-height: 1em;
}
.campaign-create {
  display: grid;
  gap: 12px;
  max-width: 420px;
  margin: 28px auto 0;
  text-align: left;
}
.campaign-create[hidden],
.campaign-take-over[hidden] {
  display: none;
}
.campaign-create h2 {
  font:
    24px Georgia,
    serif;
  font-weight: 400;
  margin: 0;
}
.campaign-create input:not([type='checkbox']) {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
}
.campaign-create button {
  justify-self: start;
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg);
}
.campaign-take-over {
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 600px) {
  .campaign-grid {
    grid-template-columns: 1fr;
  }
}

.campaign-entry {
  display: grid;
  gap: 10px;
}
.campaign-world-button {
  justify-self: center;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
}
.campaign-create select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
}
