/* Page content inside the WoWCraft frame. */
[x-cloak] { display: none !important; }

.logo-img {
    width: auto;
    height: 110px;
    max-width: min(560px, 92vw);
    object-fit: contain;
    mix-blend-mode: screen;
}

a { color: #d7b56a; }
a:hover { color: #f0d7a0; }

.page-sheet h1,
.page-sheet h2,
.page-sheet h3,
.news-sheet h1,
.news-sheet h2 {
    font-family: "Cinzel", serif;
    color: #a1722f;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin: 0 0 0.6rem;
}

.page-sheet h1 { font-size: 1.8rem; }
.page-sheet h2 { font-size: 1.25rem; }

.page-sheet,
.news-sheet {
    color: #e6d3a8;
}

.muted { color: rgba(161, 114, 47, 0.8); }
code { font-family: Consolas, monospace; color: #e0c27a; }

.panel {
    background: rgba(34, 21, 2, 0.5);
    border: 1px solid #221502;
    border-radius: 0.375rem;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6);
    padding: 1rem;
    margin: 0 0 1rem;
}

.panel-head, .realm-line, .admin-nav, .account-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem 1rem;
}

.panel-head, .realm-line { justify-content: space-between; }

.admin-nav a {
    display: inline-block;
    margin: 0 0.4rem 0.4rem 0;
}

.button, button, .page-sheet button, .news-sheet button {
    font-family: "Cinzel", serif;
    color: #a1722f;
    background: #221502;
    border: 1px solid #3a2810;
    border-radius: 0.375rem;
    padding: 0.45rem 0.9rem;
    cursor: pointer;
}

.button:hover, button:hover { background: #401a11; color: #e6d3a8; }

button.linkish {
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
    color: inherit;
}

button.linkish:hover { background: none; color: #e6d3a8; }

.pill {
    border-radius: 999px;
    padding: 0.1rem 0.65rem;
    font-size: 0.85rem;
    border: 1px solid #3a2810;
}
.pill-on { color: #b7d7a8; }
.pill-off { color: #e0a090; }

.steps { margin: 0.2rem 0 0; padding-left: 1.2rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; margin: 0; }
.facts div { margin: 0; }
.facts dt { color: rgba(161, 114, 47, 0.8); font-size: 0.8rem; }
.facts dd { margin: 0; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.4rem 0.3rem; border-bottom: 1px solid rgba(34, 21, 2, 0.9); vertical-align: top; }
th { color: rgba(161, 114, 47, 0.85); font-weight: 600; font-size: 0.85rem; }
.alliance { color: #8eb4e8; }
.horde { color: #e09a8a; }

.form { display: grid; gap: 0.75rem; max-width: 36rem; }
label { display: grid; gap: 0.25rem; }
input, textarea, select {
    font: inherit;
    color: #e6d3a8;
    background: #221502;
    border: 1px solid #3a2810;
    border-radius: 0.375rem;
    padding: 0.45rem 0.6rem;
}
textarea { resize: vertical; }
label.check { display: flex; align-items: center; gap: 0.5rem; }
label.check input { width: auto; }

.flash {
    border-radius: 0.375rem;
    padding: 0.7rem 0.9rem;
    margin: 0 0 1rem;
    border: 1px solid #3a2810;
}
.flash-ok { background: rgba(40, 58, 32, 0.85); color: #d7e6c8; }
.flash-error { background: rgba(80, 28, 22, 0.85); color: #f0c8c0; }

form.inline { display: inline; }
form.inline button { margin: 0.15rem 0.15rem 0 0; }

.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.map-canvas {
    position: relative;
    height: 280px;
    border-radius: 0.375rem;
    background:
        radial-gradient(circle at 30% 40%, rgba(161, 114, 47, 0.2), transparent 42%),
        linear-gradient(#3a1a12, #221502);
    overflow: hidden;
}
.map-city, .map-dot {
    position: absolute;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}
.map-city { color: #e6d3a8; font-size: 0.72rem; }
.map-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #a1722f;
    box-shadow: 0 0 0 4px rgba(34, 21, 2, 0.45);
    font-size: 0;
}
.map-dot.alliance { background: #8eb4e8; }
.map-dot.horde { background: #e09a8a; }
.map-dot.is-online { box-shadow: 0 0 0 4px rgba(183, 215, 168, 0.35); }
.map-dot.is-yours { outline: 1px solid #e0c27a; }

.q0 { color: #9d9d9d; }
.q1 { color: #ffffff; }
.q2 { color: #1eff00; }
.q3 { color: #4da6ff; }
.q4 { color: #c070ff; }
.q5 { color: #ff8000; }
.q6 { color: #e6cc80; }
.q7 { color: #00ccff; }

details.command { border-bottom: 1px solid #3a2810; padding: 0.45rem 0; }
details.command summary { cursor: pointer; }
pre.command-help {
    white-space: pre-wrap;
    color: #e6d3a8;
    font: 0.9rem Consolas, monospace;
    margin: 0.4rem 0 0.2rem;
}

@media (max-width: 760px) {
    .facts, .map-grid { grid-template-columns: 1fr; }
}
