/* Gathering notes — About / Features in soft mid panes (blue / purple zones).
   House Rules live bottom-center above copyright / rune nav. */

html:has(body.askrue-login-page),
body.askrue-login-page {
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  min-height: 100%;
}

.askrue-realm-bar {
  position: fixed;
  inset: 0;
  z-index: 12;
  margin: 0;
  padding: 0;
  pointer-events: none;
  background: transparent;
  border: 0;
}

/* Soft pane — whisper weight so Ethier + Login stay primary */
.askrue-corner {
  position: absolute;
  width: 380px;
  max-width: calc(100vw - 200px);
  max-height: none;
  padding: 0;
  box-sizing: border-box;
  pointer-events: auto;
  color: rgba(220, 214, 200, 0.82);
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.85);
  background: transparent;
  border: 0;
  overflow: visible;
}

.askrue-corner-pane {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  height: auto;
  padding: 10px 12px 12px;
  box-sizing: border-box;
  background: rgba(8, 12, 11, 0.04);
  border: 1px solid rgba(200, 150, 42, 0.1);
  border-radius: 10px;
  overflow: hidden;
  max-height: none;
}

/* Left: 100px from top + left */
.askrue-corner--about {
  top: 100px;
  left: 100px;
  transform: none;
  text-align: left;
}

.askrue-corner--about .askrue-corner-pane {
  align-items: stretch;
  text-align: left;
  border-color: rgba(80, 160, 220, 0.16);
  box-shadow: none;
}

/* Right: 100px from top + right */
.askrue-corner--features {
  top: 100px;
  right: 100px;
  transform: none;
  text-align: left;
}

.askrue-corner--features .askrue-corner-pane {
  border-color: rgba(160, 100, 200, 0.14);
  box-shadow: none;
}

.askrue-corner h1 {
  margin: 0 0 8px;
  font-family: Cinzel, Georgia, serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200, 150, 42, 0.85);
  line-height: 1.25;
}

.askrue-corner h3 {
  margin: 0 0 8px;
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(200, 150, 42, 0.8);
  line-height: 1.3;
}

.askrue-corner--features h3 {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(200, 150, 42, 0.8);
}

.askrue-corner p {
  margin: 0;
  color: rgba(210, 204, 190, 0.86);
  font-size: 0.84rem;
  line-height: 1.45;
}

.askrue-corner-more {
  margin: 0;
  font-size: 0.8rem !important;
  color: rgba(200, 190, 170, 0.8) !important;
}

.askrue-corner p strong {
  color: rgba(240, 230, 200, 0.98);
  font-weight: 700;
}

/* Features — yellow three-dot bullets (chat ··· theme) */
.askrue-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.askrue-feature-list li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(210, 204, 190, 0.86);
  font-size: 0.8rem;
  line-height: 1.35;
}

.askrue-feature-list li::before {
  content: "···";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 0.8rem;
  letter-spacing: -0.08em;
  font-weight: 700;
  color: var(--rz-gold, #c8962a);
  text-shadow: 0 0 10px rgba(200, 150, 42, 0.35);
}

/* Bottom-center: House Rules — secondary strip only */
.askrue-house-rules {
  position: absolute;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  width: min(420px, 88vw);
  padding: 8px 12px 10px;
  box-sizing: border-box;
  text-align: center;
  pointer-events: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  z-index: 13;
  opacity: 0.78;
}

.askrue-house-rules > h3 {
  margin: 0 0 6px;
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(200, 150, 42, 0.75);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}

.askrue-rules-core {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}

.askrue-rules-core li {
  margin: 0;
}

.askrue-rules-core a {
  color: rgba(220, 214, 200, 0.8);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 150, 42, 0.22);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
}

.askrue-rules-worlds-inline {
  margin: 8px 0 0;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: rgba(180, 172, 158, 0.7);
  line-height: 1.4;
}

.askrue-rules-worlds-inline a {
  color: rgba(200, 190, 170, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 150, 42, 0.18);
}

.askrue-rules-worlds-inline a:hover {
  color: rgba(233, 194, 90, 0.9);
}

.askrue-rules-worlds-inline span {
  margin: 0 0.35em;
  opacity: 0.55;
}

.askrue-rules-core a:hover {
  color: var(--rz-gold-bright, #e9c25a);
  border-bottom-color: rgba(233, 194, 90, 0.7);
}

.askrue-rules-worlds {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(200, 150, 42, 0.16);
}

.askrue-rules-worlds-label {
  margin: 0 0 8px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200, 150, 42, 0.75);
}

.askrue-rules-world-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
}

.askrue-rules-world-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.7rem;
}

.askrue-rules-world-list li::before {
  content: "···";
  position: absolute;
  left: 0;
  top: -1px;
  letter-spacing: -0.08em;
  font-weight: 700;
  color: var(--rz-gold, #c8962a);
}

.askrue-rules-world-list a {
  color: rgba(214, 210, 198, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 150, 42, 0.22);
}

.askrue-rules-world-list a:hover {
  color: var(--rz-gold, #c8962a);
}

body.askrue-login-page #rz-house-mark {
  padding-top: 14px;
  padding-bottom: 12px;
}

body.askrue-login-page .rz-rune-nav-row--bottom {
  bottom: 46px;
}

.askrue-login-page .askrue-spectacle-wrap {
  z-index: 20;
}

.askrue-login-page .askrue-sign-line {
  z-index: 6;
}

/* Quote stays atmosphere — never equal weight to Ethier / Login */
body.askrue-login-page .rz-philosophy-banner {
  opacity: 0.55;
  z-index: 4;
}
body.askrue-login-page .rz-philosophy-banner.rz-fading {
  opacity: 0;
}

@media (max-width: 1400px) {
  .askrue-corner {
    width: min(340px, calc(50vw - 120px));
    font-size: 0.8rem;
  }
}

@media (max-width: 1100px) {
  .askrue-corner {
    width: min(320px, calc(100vw - 48px));
    font-size: 0.78rem;
  }

  .askrue-corner--about {
    top: 100px;
    left: 100px;
  }

  .askrue-corner--features {
    top: 100px;
    right: 100px;
  }

  .askrue-corner h1,
  .askrue-corner--features h3 {
    font-size: 0.72rem;
  }

  .askrue-corner h3 {
    font-size: 0.7rem;
  }

  .askrue-corner p,
  .askrue-feature-list li {
    font-size: 0.78rem;
  }
}

@media (max-width: 900px) {
  .askrue-corner {
    width: min(600px, calc(100vw - 48px));
    font-size: 0.8rem;
  }

  .askrue-corner--about {
    top: 80px;
    left: 24px;
  }

  .askrue-corner--features {
    top: 80px;
    right: 24px;
  }

  .askrue-corner h1,
  .askrue-corner--features h3 {
    font-size: 0.82rem;
  }

  .askrue-corner h3 {
    font-size: 0.72rem;
  }

  .askrue-feature-list li,
  .askrue-corner p {
    font-size: 0.78rem;
  }
}

@media (max-width: 640px) {
  .askrue-realm-bar {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(100%, calc(100vw - 24px));
    margin: min(70vh, 500px) auto 0;
    padding: 16px 12px 130px;
    pointer-events: auto;
  }

  .askrue-corner,
  .askrue-house-rules {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: auto;
    max-height: none;
    text-align: left;
  }

  .askrue-corner-pane {
    max-height: none;
    min-height: 0;
    align-items: stretch;
    text-align: left;
  }
}
