.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px #ddb75532);
}

.brand:hover .brand-mark {
  transform: none;
  border-radius: 0;
  box-shadow: none;
}

.sigil {
  width: 112px;
  height: 112px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sigil::before,
.sigil::after {
  display: none;
}

.sigil img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 14px #d8b34f30);
  animation: logo-arrive 1.1s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes logo-arrive {
  from { opacity: 0; transform: scale(.78) rotate(-8deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  .sigil img { animation: none; }
}

@media (max-width: 560px) {
  .brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .sigil { width: 98px; height: 98px; }
}

.brand-wordmark{display:grid;gap:1px}.brand-title{display:flex;align-items:baseline;gap:6px}.brand-title>b{font-size:20px;line-height:1.2}.beta-label,.version-label{color:#aaa18b;font:8px/1 var(--mono);letter-spacing:.08em;font-style:normal;opacity:.78}

@media (min-width: 960px) {
  .app-shell { padding-bottom: 48px; }
  .topbar { gap: 14px; }
  .bottom-nav {
    position: static;
    inset: auto;
    z-index: auto;
    display: flex;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    justify-content: center;
    gap: 2px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .bottom-nav button {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    max-width: none;
    padding: 9px 7px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #a6a69c;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
    transition: color .18s, background .18s, border-color .18s;
  }
  .bottom-nav button span {
    display: inline-block;
    font-size: 15px;
    line-height: 1;
  }
  .bottom-nav button:hover {
    color: var(--text);
    border-color: #3d4038;
    background: #20231f;
  }
  .bottom-nav button.active {
    color: #ead49b;
    border-color: #62583d;
    background: #29291f;
  }
  .bottom-nav button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
  }
  .toast { bottom: 24px; }
}
.brand-mark { display: none; }
.brand { min-width: 0; gap: 0; flex-direction: column; align-items: center; justify-content: center; }
.brand-logo {
  display: block;
  width: 132px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px #ddb75532);
}

.brand-badges { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px; width: 100%; white-space: nowrap; }
.brand-badges i { color: #aaa18b; font: 8px/1 var(--mono); font-style: normal; letter-spacing: .08em; opacity: .78; }
.hero-brand-logo {
  display: block;
  width: min(62vw, 250px);
  height: auto;
  margin: 4px auto 14px;
  filter: drop-shadow(0 0 12px #ddb75528);
}
.sigil {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 24px auto 15px;
  border: 1px solid #715c3b;
  border-radius: 50%;
  background: radial-gradient(circle, #3b3024 0, #1c1a1d 62%, transparent 64%);
  box-shadow: 0 0 55px #c09a4220, inset 0 0 24px #d5a75018;
}
.sigil::before, .sigil::after {
  display: block;
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid #b3965a66;
  border-radius: 50%;
}
.sigil::after { inset: -6px; border-radius: 8px; transform: rotate(45deg); border-color: #6e603d88; }
.sigil img { position: relative; z-index: 1; width: 86%; height: 86%; object-fit: contain; }

.home-share {
  width: min(100%, 560px);
  margin: 30px auto 12px;
  padding: 12px 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  border-top: 1px solid #34353a;
}
.home-share-label { color: #92919a; font-size: 9px; letter-spacing: .1em; }
.home-share-copy p { margin: 4px 0 0; color: #85858e; font-size: 11px; }
.home-share .button {
  flex: none;
  min-height: 40px;
  padding: 8px 10px;
  border-color: #414149;
  background: transparent;
  color: #aaa8b0;
  font-size: 11px;
  box-shadow: none;
}
.home-share .button:before { display: none; }
.home-share .button:hover { color: #ded0a7; border-color: #756442; box-shadow: none; transform: none; }
.background-copy .background-story { margin: 8px 0 2px; color: #c4c1b8; font-size: 12px; line-height: 1.9; }

@media (max-width: 650px) {
  .home-share { gap: 8px; margin: 24px auto 8px; padding: 12px 0 0; }
  .home-share .button { width: auto; }
}

@media (min-width: 651px) {
  .brand-logo { width: 150px; max-height: 50px; }
  .brand-badges { flex-direction: row; }
}

@media (max-width: 650px) {
  .brand { flex-direction: column; align-items: center; justify-content: center; gap: 0; }
  .brand-logo { width: clamp(116px, 36vw, 140px); max-height: 43px; }
  .brand-badges { flex-direction: row; align-items: center; justify-content: center; gap: 6px; padding-left: 0; }
  .brand-badges i { font-size: 7px; }
  .hero-brand-logo { width: min(66vw, 235px); margin: 2px auto 12px; }
  .sigil { width: 98px; height: 98px; margin: 14px auto 18px; }
}
/* Keep the summon path in view on mobile while retaining the seal as its focal point. */
@media (max-width: 650px) {
  .page:has(> .hero) { padding-top: 17px; }
  .hero { margin: 4px auto 18px; padding: 0 0 8px; }
  .hero-brand-logo { width: min(58vw, 205px); margin: 0 auto 5px; }
  .hero .sigil { width: 88px; height: 88px; margin: 5px auto 9px; }
  .hero h1 { margin: 5px 0; font-size: clamp(25px, 6.5vw, 31px); line-height: 1.4; }
  .hero p { margin: 5px auto; }
  .hero .summon-form { margin-top: 13px; }
}

/* Keep the summon field and action aligned on narrow touch screens. */
@media (max-width: 650px) {
  .summon-form { width: 100%; flex-direction: column; align-items: stretch; }
  .summon-input-wrap { width: 100%; min-width: 0; align-self: stretch; }
  .summon-form input { width: 100%; min-width: 0; box-sizing: border-box; font-size: 16px; }
  .summon-form .summon-button { width: 100%; min-width: 0; align-self: stretch; }
}
