/* Web site of the local server (site.mjs). Dark, with the gold of the game's
   own frames; one column on phones. */
:root {
  --bg: #0d0b08; --panel: #17130c; --line: #4a3d1e; --gold: #cbb26a; --text: #e8dcb8; --dim: #a3956f;
  --up: #7fc46a; --down: #d9705f;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--text);
       font: 16px/1.55 Tahoma, Verdana, "Segoe UI", sans-serif;
       background: radial-gradient(1200px 500px at 50% -120px, #3a1d10 0%, rgba(13, 11, 8, 0) 70%) no-repeat, var(--bg); }
a { color: var(--gold); }
a:hover { color: #f0dc9a; }

header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 12px 20px;
         border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .45); }
.brand { font: bold 20px Georgia, "Times New Roman", serif; letter-spacing: .5px; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-left: auto; }
nav a { text-decoration: none; }
nav form { margin: 0; }

main { width: 100%; max-width: 980px; margin: 0 auto; padding: 24px 20px 40px; flex: 1; }
footer { padding: 16px 20px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; text-align: center; }

h1, h2 { font-family: Georgia, "Times New Roman", serif; color: var(--gold); font-weight: bold; margin: 0 0 12px; }
h1 { font-size: 30px; }
h2 { font-size: 20px; margin-top: 28px; }
.hint { color: var(--dim); font-size: 14px; margin: 4px 0 12px; }

.hero { text-align: center; padding: 36px 12px 28px; }
.hero h1 { font-size: 44px; text-shadow: 0 2px 12px rgba(203, 120, 40, .45); }
.hero p { max-width: 560px; margin: 8px auto; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 20px 0 12px; }
main > section .actions { justify-content: flex-start; }
.hero .actions { justify-content: center; }
.status::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: currentColor; }
.up { color: var(--up); }
.down { color: var(--down); }

.button, button { font: inherit; cursor: pointer; }
.button { display: inline-block; padding: 10px 22px; border: 1px solid var(--gold); border-radius: 4px;
          background: linear-gradient(#6b5320, #46350f); color: #fff3cf; text-decoration: none; }
.button:hover { background: linear-gradient(#7d6228, #564114); color: #fff; }
.button.ghost { background: transparent; color: var(--gold); }
.button.app { display: inline-flex; align-items: center; gap: 10px; }
.button.app svg { width: 1.7em; height: 1.7em; fill: #3ddc84; flex: none; }
button.plain { border: 0; padding: 0; background: none; color: var(--gold); }
button.small { padding: 3px 10px; border: 1px solid var(--line); border-radius: 3px; background: #2a2212; color: var(--text); font-size: 13px; }

.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 40px; }
.columns h2:first-child { margin-top: 12px; }

.card { max-width: 380px; padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.card label { display: block; margin-bottom: 12px; color: var(--dim); font-size: 14px; }
.card.inline { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.card.inline label { margin: 0; }
input { font: inherit; color: var(--text); background: #0b0906; border: 1px solid var(--line); border-radius: 3px; padding: 7px 9px; }
.card input { display: block; width: 100%; margin-top: 4px; }
/* (3.91) a box to tick inside a card: beside its words, not stretched over the whole line (Mercado Pago: "Apagar o token") */
.card input[type=checkbox], .card input[type=radio] { display: inline-block; width: auto; margin: 0; }
.card label.check { display: flex; align-items: center; gap: 8px; }
form.stack label.check { display: flex; flex-direction: row; align-items: center; gap: 8px; }
form.stack label.check input { display: inline-block; width: auto; margin: 0; }
input:focus { outline: 1px solid var(--gold); }

.notice { padding: 10px 14px; border-radius: 4px; border: 1px solid; max-width: 620px; }
.notice.ok { color: var(--up); background: rgba(127, 196, 106, .08); }
.notice.error { color: var(--down); background: rgba(217, 112, 95, .08); }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 7px 10px; text-align: left; border-bottom: 1px solid #2c2412; }
th { color: var(--dim); font-weight: normal; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
td:first-child, th:first-child { padding-left: 4px; }
.wide { display: block; overflow-x: auto; }
td.row form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; }
td.row input { padding: 3px 6px; font-size: 13px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 16px 0; }
.tiles div { padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--dim); font-size: 14px; }
.tiles b { display: block; font-size: 24px; color: var(--text); }
.tiles b.up { color: var(--up); }
.tiles b.down { color: var(--down); }

ol { padding-left: 20px; }
li { margin-bottom: 6px; }

img.mark { width: 32px; height: 32px; image-rendering: pixelated; vertical-align: middle; background: #000; border: 1px solid var(--line); }
img.mark.big { width: 64px; height: 64px; margin-right: 10px; }

/* coin shop */
.coins b { color: var(--gold); font-size: 20px; }
.shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.ware { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.ware b { color: var(--gold); }
.ware p { flex: 1; margin: 6px 0 10px; font-size: 14px; }
.ware div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ware .price { color: #f0dc9a; }
button:disabled { opacity: .45; cursor: default; }
.scroll { overflow-x: auto; }
table.edit td { padding: 4px 4px; white-space: nowrap; }
table.edit input, table.edit select { padding: 4px 6px; font-size: 14px; }
table.edit tr.new td { border-top: 2px solid var(--line); padding-top: 10px; }
select { font: inherit; color: var(--text); background: #0b0906; border: 1px solid var(--line); border-radius: 3px; }
code { color: var(--gold); }
.ware .pic { align-self: center; height: 72px; max-width: 100%; object-fit: contain; margin-bottom: 6px; image-rendering: pixelated; }
.thumb { display: inline-block; width: 26px; height: 26px; object-fit: contain; vertical-align: middle; }
td.row { display: flex; align-items: center; gap: 6px; }

/* administration */
nav.sub { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
nav.sub a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); text-decoration: none; }
nav.sub a.on { border-color: var(--gold); background: linear-gradient(#6b5320, #46350f); color: #fff3cf; }
nav.sub.small a { padding: 3px 10px; font-size: 13px; }
.badge { display: inline-block; padding: 0 6px; border: 1px solid var(--line); border-radius: 9px; color: var(--dim); font-size: 11px; vertical-align: 1px; }
.badge.gm { border-color: var(--gold); color: var(--gold); }
input[type=search] { max-width: 100%; }
.card.wide-card { max-width: none; }
.card .top, .edit-card .top { display: flex; gap: 12px; align-items: center; }
.card .top > div, .edit-card .top > div { flex: 1; min-width: 0; }
.card .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.card select, .edit-card select { display: block; width: 100%; margin-top: 4px; padding: 7px 6px; }
.card .pic, .edit-card .pic { width: 66px; height: 88px; object-fit: contain; image-rendering: pixelated;
                              border: 1px solid var(--line); border-radius: 4px; background: #0b0906; }
.edit-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.edit-card { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.edit-card.off { opacity: .55; }
.edit-card.new { border-style: dashed; border-color: var(--gold); }
.edit-card h3 { margin: 0 0 8px; color: var(--gold); font: bold 16px Georgia, "Times New Roman", serif; }
.edit-card label { display: block; margin-bottom: 8px; color: var(--dim); font-size: 13px; }
.edit-card input:not([type=checkbox]) { display: block; width: 100%; margin-top: 3px; padding: 5px 8px; font-size: 14px; }
.edit-card select { padding: 5px 4px; font-size: 14px; margin-top: 3px; }
.edit-card .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; margin-top: 8px; }
.edit-card label.check { display: flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--text); font-size: 14px; }
.edit-card .buttons { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.edit-card .button { padding: 6px 18px; }
button.small.danger { border-color: #6b2f26; color: var(--down); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.chip { display: flex; align-items: center; gap: 8px; margin: 0; padding: 4px 12px; border: 1px solid var(--gold); border-radius: 16px; background: var(--panel); }
.chip button { font-size: 18px; line-height: 1; color: var(--down); }
pre.log { max-height: 460px; overflow: auto; margin: 0 0 6px; padding: 12px; border: 1px solid var(--line); border-radius: 6px;
          background: #0b0906; color: #cfc4a4; font: 12px/1.5 Consolas, "Courier New", monospace; white-space: pre-wrap; word-break: break-all; }
main:has(.edit-cards), main:has(#accounts), main:has(.skills) { max-width: 1180px; }
table.wide td .hint, table.wide td.hint { margin: 0; font-size: 13px; }

/* the skills' numbers */
.skills { display: grid; grid-template-columns: repeat(auto-fill, minmax(520px, 1fr)); gap: 10px; }
form.skill { margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
form.skill.changed { border-color: var(--gold); }
form.skill .head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
form.skill .head b { color: var(--gold); word-break: break-all; }
form.skill .head span { display: flex; gap: 6px; flex: none; }
form.skill .levels { display: grid; gap: 4px; }
form.skill label { display: block; color: var(--dim); font-size: 11px; text-align: center; }
form.skill input { display: block; width: 100%; padding: 3px 2px; font-size: 13px; text-align: center; }
form.skill input + input { margin-top: 2px; }
form.skill input.changed { border-color: var(--gold); color: #ffe9a8; }
@media (max-width: 600px) { .skills { grid-template-columns: 1fr; } form.skill .levels { grid-template-columns: repeat(5, 1fr) !important; } }

/* a character's items in the panel */
.ware.held { align-items: center; text-align: center; gap: 4px; }
.ware.held .pic { height: 66px; width: 66px; display: block; }
.ware.held button { margin-top: 4px; }
.card.wide-card .button { margin: 4px 6px 4px 0; }
.card.wide-card p { margin: 6px 0; }

.card .fields.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 700px) { .card .fields.five { grid-template-columns: 1fr 1fr; } }
.ware select { margin: 0 0 8px; padding: 5px 6px; }
.edit-card p { margin: 0 0 6px; }

/* ==========================================================================
   The look of the site (2026-10-05): the hall of the login scene far behind
   every page, a slim bar with the logo, headings with a small line above,
   panels, tabs. What comes before this point still applies where it is not
   said again here.
   ========================================================================== */
:root { --bg: #0a0806; --panel: rgba(18, 15, 10, .88); --line: #3a3018; --gold: #d8b964; --text: #ece2c4; --dim: #9d916f; }
html { background: var(--bg); }
body { background: transparent; position: relative; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: url(/hero.png) center 30% / cover no-repeat; filter: saturate(.75) brightness(.55); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1;
              background: radial-gradient(ellipse at 50% 30%, rgba(10, 8, 6, .35), rgba(10, 8, 6, .86) 70%), linear-gradient(180deg, rgba(10, 8, 6, .5), rgba(10, 8, 6, .2) 30%, rgba(10, 8, 6, .92)); }

header { position: sticky; top: 0; z-index: 5; gap: 8px 28px; padding: 8px 26px; border-bottom: 1px solid rgba(216, 185, 100, .18);
         background: rgba(8, 6, 4, .82); backdrop-filter: blur(6px); }
.brand img { display: block; height: 46px; width: auto; }
nav.main { margin: 0 auto; gap: 4px 30px; }
nav.main a, nav.user > a:not(.button), nav.user button.plain { color: #b9ad8a; font: 12px Georgia, "Times New Roman", serif; letter-spacing: 2.5px; text-transform: uppercase; }
nav.main a:hover, nav.user > a:not(.button):hover, nav.user button.plain:hover { color: #fff3cf; }
nav.user { margin-left: 0; gap: 4px 18px; }

.button { border-radius: 0; border-color: #e9cf85; background: linear-gradient(180deg, #e7c66f, #a97d22); color: #1f1503; font-weight: bold;
          letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; padding: 10px 22px;
          clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.button:hover { background: linear-gradient(180deg, #f3d98c, #bb8d2c); color: #1f1503; }
.button.ghost { background: rgba(10, 8, 6, .55); color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); border-color: transparent; }
.button.ghost:hover { background: rgba(216, 185, 100, .14); color: #fff3cf; }
.button.big { padding: 14px 34px; font-size: 14px; }
.button.play { padding: 8px 20px; font-size: 12px; }
.button.nav-app { padding: 7px 12px; font-size: 11px; gap: 6px; margin-right: 8px; }

main { max-width: 1040px; }
main:has(.hero), main:has(.heading) { max-width: none; padding: 0 0 48px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 920px; }
.wrap.form { max-width: 420px; }
.wrap.form .card { max-width: none; }

h1, h2 { color: #f1e6c4; font-weight: normal; letter-spacing: 1px; }
h2 { color: var(--gold); font-size: 18px; letter-spacing: 1.5px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font: 11px Georgia, "Times New Roman", serif; letter-spacing: 5px; text-transform: uppercase; }
.eyebrow::before, .eyebrow::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }

.heading { text-align: center; padding: 46px 20px 26px; }
.heading h1 { margin: 10px 0 6px; font-size: 34px; letter-spacing: 3px; text-transform: uppercase; font-variant: small-caps; }
.heading p { max-width: 640px; margin: 0 auto; color: var(--dim); font-size: 14px; }

.hero { min-height: calc(100vh - 150px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px 40px; }
.hero h1 { margin: 16px 0 0; font-size: clamp(34px, 6vw, 62px); line-height: 1.08; letter-spacing: 3px; font-variant: small-caps; text-shadow: 0 3px 24px rgba(0, 0, 0, .8); }
.hero h1 em { display: block; font-style: normal; color: transparent; background: linear-gradient(180deg, #f6e3a0, #b8892a); -webkit-background-clip: text; background-clip: text; }
.hero .rule { display: flex; align-items: center; gap: 12px; margin: 20px 0 16px; }
.hero .rule::before, .hero .rule::after { content: ""; width: 70px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero .rule::after { background: linear-gradient(90deg, var(--gold), transparent); }
.hero .rule i { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.hero .lead { max-width: 640px; margin: 0; font-size: 18px; }
.hero .sub { margin: 6px 0 0; color: var(--dim); font-size: 14px; }
.hero .actions { margin: 30px 0 34px; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; border: 1px solid rgba(216, 185, 100, .22); background: rgba(10, 8, 6, .6); }
.chips div { padding: 12px 26px; color: var(--dim); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; text-align: center; }
.chips div + div { border-left: 1px solid rgba(216, 185, 100, .14); }
.chips b { display: block; color: var(--gold); font: bold 18px Georgia, "Times New Roman", serif; letter-spacing: 1px; text-transform: none; }
.chips b.up { color: var(--up); } .chips b.down { color: var(--down); }

.panel { padding: 18px 20px; border: 1px solid rgba(216, 185, 100, .16); background: var(--panel); margin-bottom: 16px; }
.panel.flush { padding: 6px 14px 10px; }
.panel h2 { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(216, 185, 100, .14); }
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.three .panel { margin: 0 0 16px; }
ol.steps { margin: 0 0 12px; }
ul.list { margin: 0 0 12px; padding: 0; list-style: none; }
ul.list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(216, 185, 100, .08); }
ul.list li > span:nth-child(2), ul.list li > span:first-child:not(.pos) { flex: 1; min-width: 0; }
ul.list small, table.rank small { color: var(--dim); font-weight: normal; }
ul.list b, td.gold { color: var(--gold); white-space: nowrap; }
.pos { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; color: var(--dim); font-size: 12px; }
.pos.p1 { background: #d8b964; color: #1f1503; font-weight: bold; }
.pos.p2 { background: #a9a9a9; color: #1b1b1b; font-weight: bold; }
.pos.p3 { background: #a8703c; color: #1f1503; font-weight: bold; }
.clans { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 12px; }
.clans div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.clans img { grid-row: span 2; margin: 0; }
.clans small { color: var(--dim); }

nav.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin: 0 0 2px; border: 1px solid rgba(216, 185, 100, .16); background: var(--panel); }
nav.tabs a { flex: 1; min-width: 110px; padding: 10px 14px; text-align: center; color: #9d916f; font: 12px Georgia, "Times New Roman", serif;
             letter-spacing: 2.5px; text-transform: uppercase; }
nav.tabs a:hover { color: #fff3cf; }
nav.tabs a.on { background: linear-gradient(180deg, #e7c66f, #a97d22); color: #1f1503; font-weight: bold; }
form.filter { display: flex; justify-content: flex-end; padding: 10px 0 4px; color: var(--dim); font-size: 13px; }
form.filter select { margin-left: 8px; padding: 6px 10px; }
table.rank td { padding: 10px; }
table.rank tr.soon td { background: rgba(240, 162, 90, .08); }
table.rank tr:hover td { background: rgba(216, 185, 100, .05); }
table.rank .mark { margin-right: 8px; }

h2.line { display: flex; align-items: center; gap: 14px; margin: 30px 0 10px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; }
h2.line::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(216, 185, 100, .35), transparent); }
dl.facts { margin: 0; }
dl.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 2px; border-bottom: 1px solid rgba(216, 185, 100, .1); }
dl.facts dt { color: var(--dim); } dl.facts dd { margin: 0; font-weight: bold; text-align: right; }
ul.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
ul.features li { margin: 0; padding: 10px 14px 10px 34px; position: relative; border: 1px solid rgba(216, 185, 100, .14); background: var(--panel); }
ul.features li::before { content: ""; position: absolute; left: 15px; top: 50%; width: 6px; height: 6px; background: var(--gold); transform: translateY(-50%) rotate(45deg); }

footer { border-top: 1px solid rgba(216, 185, 100, .14); background: rgba(8, 6, 4, .8); }
.card, .tiles div, .ware, .edit-card, form.skill { background: var(--panel); }
@media (max-width: 760px) {
  header { padding: 8px 12px; justify-content: center; }
  nav.main { order: 3; width: 100%; justify-content: center; gap: 4px 16px; }
  .chips div { padding: 10px 14px; flex: 1 1 40%; border-left: 0 !important; }
  .hero { min-height: 0; padding-top: 36px; }
}

/* the classes' pictures */
img.job, span.job { display: inline-block; width: 26px; height: 26px; margin-right: 6px; vertical-align: middle; border-radius: 50%;
                    border: 1px solid rgba(216, 185, 100, .45); background: #0b0906; object-fit: cover; image-rendering: auto; }
ul.list li img.job, ul.list li span.job { margin-right: 0; flex: none; }

/* the shop page, as the shop window of the game: groups, tiles, the chosen item */
.store { border: 1px solid rgba(216, 185, 100, .22); background: var(--panel); }
.store-cols { display: grid; grid-template-columns: 190px 1fr 290px; gap: 12px; padding: 12px; min-height: 460px; }
.store-cats { display: flex; flex-direction: column; gap: 5px; }
.store-cats button { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border: 1px solid rgba(216, 185, 100, .16);
                     background: rgba(0, 0, 0, .3); color: #c9b782; font-size: 14px; text-align: left; }
.store-cats button:hover { color: #fff3cf; border-color: rgba(216, 185, 100, .5); }
.store-cats button.on { border-color: #f0d58c; background: linear-gradient(180deg, #5c4520, #33260f); color: #fff3cf; font-weight: bold; }
.store-cats small { color: var(--dim); font-weight: normal; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); grid-auto-rows: 136px; gap: 10px; align-content: start; }
.store-grid .tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; padding: 6px 4px 8px;
                    border: 1px solid #5a4a24; border-radius: 4px; background: linear-gradient(180deg, #e9dcb4, #cdb886); color: #2a1d05; font-size: 12px; overflow: hidden; }
.store-grid .tile:hover { filter: brightness(1.06); border-color: #f0d58c; }
.store-grid .tile.on { border-color: #fff3cf; box-shadow: 0 0 0 2px #d9a93a, 0 0 14px rgba(240, 190, 80, .55); }
.store-grid .tile img { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); height: 64px; max-width: 96px; object-fit: contain;
                        image-rendering: pixelated; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.store-grid .tile .cost { padding: 1px 9px; border-radius: 9px; background: rgba(42, 29, 5, .82); color: #ffe08a; font-weight: bold; }
.store-grid .tile .name { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: bold; }
.store-detail { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid rgba(216, 185, 100, .16); background: rgba(0, 0, 0, .35); }
.store-detail .top { display: flex; align-items: center; gap: 12px; }
.store-detail .top img { width: 66px; height: 88px; object-fit: contain; image-rendering: pixelated; border: 1px solid rgba(216, 185, 100, .2); background: rgba(0, 0, 0, .4); }
.store-detail b { color: var(--gold); font-size: 16px; }
.store-detail .info { color: var(--dim); font-size: 13px; }
.store-detail .text { flex: 1; font-size: 14px; line-height: 1.45; }
.store-detail .label { color: var(--dim); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.store-detail .classes { display: flex; flex-wrap: wrap; gap: 5px; }
.store-detail .classes button.on { border-color: #f0d58c; background: linear-gradient(180deg, #e7c66f, #a97d22); color: #1f1503; font-weight: bold; }
.store-detail .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid rgba(216, 185, 100, .16); color: var(--dim); }
.store-detail .total span { color: #ffe08a; font-size: 18px; font-weight: bold; }
.store-detail .button { text-align: center; }
.store-say { min-height: 20px; margin: 0; padding: 0 14px; text-align: center; color: var(--up); font-size: 14px; }
.store-say.bad { color: var(--down); }
.store-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 10px 14px 12px; border-top: 1px solid rgba(216, 185, 100, .14); background: rgba(0, 0, 0, .25); }
.store-foot .hint { margin: 0; flex: 1; min-width: 240px; }
/* the search and the order over the items, and the cart (store-ui.js) */
.pt-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px 0; margin: 0; }
.pt-tools input[type=search] { flex: 1; min-width: 200px; }
.pt-tools .pt-afford { display: flex; align-items: center; gap: 6px; color: var(--dim); font-size: 13px; }
.admin-tools { padding: 0 0 10px; }
.group-card { margin-bottom: 14px; }
.pt-cart { margin: 0 12px 12px; padding: 10px 12px; border: 1px solid #a8853a; border-radius: 4px; background: rgba(0, 0, 0, .3); }
.pt-cart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.pt-cart-head b { color: var(--gold); }
.pt-cart-count { color: var(--dim); font-size: 13px; }
.pt-cart-line { display: flex; align-items: center; gap: 10px; padding: 4px 0; border-bottom: 1px solid rgba(216, 185, 100, .12); }
.pt-cart-name { flex: 1; }
.pt-cart-price { color: #ffe08a; font-weight: bold; }
.pt-cart-out { padding: 0 8px; border: 1px solid rgba(216, 185, 100, .4); background: transparent; color: var(--gold); cursor: pointer; }
.pt-cart-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 8px; }
.pt-cart-total { flex: 1; color: #ffe08a; font-weight: bold; }
.pt-cart-buy { border-color: #f0d58c; background: linear-gradient(180deg, #e7c66f, #a97d22); color: #1f1503; font-weight: bold; }
.store-balance { padding: 5px 16px; border: 1px solid rgba(216, 185, 100, .4); border-radius: 16px; background: rgba(0, 0, 0, .4); }
.store-balance b { color: #ffe08a; font-size: 17px; }
@media (max-width: 860px) {
  .store-cols { grid-template-columns: 1fr; min-height: 0; }
  .store-cats { flex-direction: row; flex-wrap: wrap; }
  .store-cats button { gap: 8px; }
}

/* news and support */
textarea { width: 100%; box-sizing: border-box; font: inherit; color: var(--text); background: #0b0906; border: 1px solid var(--line); border-radius: 3px; padding: 7px 9px; resize: vertical; }
textarea:focus { outline: 1px solid var(--gold); }
form.stack { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
form.stack label { display: flex; flex-direction: column; gap: 4px; width: 100%; color: var(--dim); font-size: 13px; }
form.stack label input { width: 100%; box-sizing: border-box; }
form.stack label select { align-self: flex-start; padding: 6px 8px; }
.tag { display: inline-block; padding: 1px 10px; border-radius: 10px; background: linear-gradient(180deg, #8a6a24, #5a4312); color: #fff3cf; font-size: 11px; font-weight: bold; letter-spacing: .5px; }
.news article { margin: 0 0 16px; padding: 18px 22px; border: 1px solid rgba(216, 185, 100, .22); border-left: 3px solid var(--gold); background: var(--panel); }
.news article header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 8px; }
.news article h2 { margin: 0; font-size: 20px; }
.news article small { color: var(--dim); }
.rich p { margin: 0 0 10px; line-height: 1.55; }
.rich h4 { margin: 14px 0 6px; color: var(--gold); font: 13px Georgia, "Times New Roman", serif; letter-spacing: 2px; text-transform: uppercase; }
.rich ul { margin: 0 0 10px; padding-left: 22px; }
.rich li { margin: 3px 0; }
.rich li::marker { color: var(--gold); }
section.fresh { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 0 0 18px; }
section.fresh a { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 14px 16px; border: 1px solid rgba(216, 185, 100, .22);
                  border-left: 3px solid var(--gold); background: var(--panel); color: var(--text); text-decoration: none; }
section.fresh a:hover { border-color: var(--gold); }
section.fresh small { color: var(--dim); }
details.ticket { margin: 0 0 10px; border: 1px solid rgba(216, 185, 100, .22); background: var(--panel); }
details.ticket > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 11px 14px; cursor: pointer; }
details.ticket > summary small { margin-left: auto; color: var(--dim); }
details.ticket > .hint, details.ticket > form, details.ticket > .thread { margin: 0 14px 12px; }
details.ticket .kind { padding: 0 8px; border: 1px solid var(--line); border-radius: 9px; color: var(--dim); font-size: 12px; }
.state { padding: 0 9px; border-radius: 9px; font-size: 12px; border: 1px solid; }
.state.open { color: #f0c659; } .state.answered { color: var(--up); } .state.closed { color: var(--dim); }
.thread { display: flex; flex-direction: column; gap: 8px; }
.thread .msg { max-width: 86%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: rgba(0, 0, 0, .3); }
.thread .msg.staff { align-self: flex-end; border-color: rgba(216, 185, 100, .6); background: rgba(90, 67, 18, .28); }
.thread .msg b { color: var(--gold); margin-right: 8px; }
.thread .msg small { color: var(--dim); }
.thread .msg p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
details.ticket .kind.bug { color: #f0a08c; border-color: #8a4a3a; }
details.ticket .kind.melhoria { color: #f0d58c; border-color: #8a6a24; }
details.ticket .kind.outro { color: #a9c8f0; border-color: #3f5f8a; }

/* the two shops, and the packages of MCoin */
.store-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.store-tabs button { padding: 9px 22px; border: 1px solid rgba(216, 185, 100, .25); background: var(--panel); color: #c9b782; font: 13px Georgia, "Times New Roman", serif;
                     letter-spacing: 2px; text-transform: uppercase; }
.store-tabs button:hover { color: #fff3cf; border-color: rgba(216, 185, 100, .6); }
.store-tabs button.on { border-color: #f0d58c; background: linear-gradient(180deg, #5c4520, #33260f); color: #fff3cf; }
.store-tabs a.button { margin-left: auto; }
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 0 0 18px; }
.pack { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; padding: 20px 16px; border: 1px solid rgba(216, 185, 100, .25);
        border-top: 3px solid var(--gold); background: var(--panel); text-align: center; }
.pack b { color: #ffe08a; font: 22px Georgia, "Times New Roman", serif; }
.pack span { color: var(--dim); }
.pack em { margin: 6px 0 10px; color: var(--text); font-style: normal; font-size: 18px; }

/* the administration's list of items, laid out as the shop of the game */
.admin-store .store-cols { grid-template-columns: 180px 1fr 360px; min-height: 520px; }
.admin-store .store-grid { max-height: 640px; overflow-y: auto; padding-right: 4px; }
.admin-store .tile.off { opacity: .45; filter: grayscale(.6); }
.admin-store .tile.new { border-style: dashed; background: rgba(0, 0, 0, .3); color: var(--gold); justify-content: center; }
.admin-store .tile.new .plus { font-size: 40px; line-height: 1; }
.admin-store form.edit { margin: 0; }
.admin-store form.edit h3 { margin: 0; color: var(--gold); font: 17px Georgia, "Times New Roman", serif; }
.admin-store form.edit .top { display: flex; gap: 12px; align-items: flex-start; }
.admin-store form.edit .top > div { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.admin-store form.edit .top img { width: 66px; height: 88px; object-fit: contain; image-rendering: pixelated; border: 1px solid rgba(216, 185, 100, .2); background: rgba(0, 0, 0, .4); }
.admin-store form.edit label { display: flex; flex-direction: column; gap: 3px; color: var(--dim); font-size: 13px; }
.admin-store form.edit label.check { flex-direction: row; align-items: center; gap: 6px; align-self: end; padding-bottom: 8px; }
.admin-store form.edit input:not([type=checkbox]), .admin-store form.edit select { width: 100%; box-sizing: border-box; padding: 7px 9px; }
.admin-store form.edit .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
.admin-store form.edit .buttons { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
@media (max-width: 980px) { .admin-store .store-cols { grid-template-columns: 1fr; } }
/* drag and drop of the panel's shop: what is dragged, and where it would go */
.admin-store [draggable=true] { cursor: grab; }
.admin-store .dragging { opacity: .4; }
.admin-store .tile.drop { outline: 2px dashed #f0d58c; outline-offset: 2px; box-shadow: -6px 0 0 -2px #f0d58c; }
.admin-store .store-cats button.drop { border-color: #f0d58c; background: rgba(240, 213, 140, .18); }
.admin-store .store-cats .rename { margin-left: 6px; padding: 0 4px; border-radius: 3px; color: var(--gold); cursor: pointer; }
.admin-store .store-cats .rename:hover { background: rgba(240, 213, 140, .25); }
/* the list of the game's items under a code field: picture, code, name */
.code-pick { position: absolute; z-index: 50; max-height: 320px; overflow-y: auto; border: 1px solid rgba(216, 185, 100, .45); border-radius: 4px;
             background: #17120a; box-shadow: 0 8px 24px rgba(0, 0, 0, .6); }
.code-pick .row { display: flex; align-items: center; gap: 10px; padding: 4px 8px; cursor: pointer; border-bottom: 1px solid rgba(216, 185, 100, .08); }
.code-pick .row:hover, .code-pick .row.on { background: rgba(240, 213, 140, .16); }
.code-pick .row img { flex: none; width: 30px; height: 30px; object-fit: contain; image-rendering: pixelated; }
.code-pick .row b { flex: none; width: 56px; color: var(--gold); font-size: 13px; }
.code-pick .row span { color: #e8dcb8; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the quantity of the chosen item: [-] [n] [+] (the shop: /loja-ui.js) */
.pt-qty { display: flex; align-items: center; gap: 6px; margin: 8px 0 4px; }
.pt-qty-label { flex: 1; color: var(--dim); font-size: 13px; }
.pt-qty button { width: 30px; height: 30px; padding: 0; border: 1px solid rgba(216, 185, 100, .45); border-radius: 3px; background: rgba(0, 0, 0, .4);
                 color: var(--gold); font-size: 16px; cursor: pointer; }
.pt-qty button:hover { border-color: #f0d58c; color: #fff3cf; }
.pt-qty input { width: 56px; padding: 5px; text-align: center; }
[hidden] { display: none !important; }

/* the panel's card that gives MCoin, gold or an item */
form.give .give-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
form.give .give-kinds label { width: auto; flex-direction: row; white-space: nowrap; display: flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 4px; background: rgba(0, 0, 0, .25); cursor: pointer; }
form.give .give-kinds label:has(input:checked) { border-color: var(--gold); background: linear-gradient(180deg, #5c4520, #33260f); color: #fff3cf; }
form.give .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px 14px; margin-bottom: 12px; }
form.give .fields label { display: flex; flex-direction: column; gap: 4px; color: var(--dim); font-size: 13px; }
form.give .fields label.wide { grid-column: 1 / -1; }
form.give .fields input, form.give .fields select { width: 100%; box-sizing: border-box; padding: 7px 9px; }
form.give .top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
form.give .give-kinds input { width: auto; margin: 0; }
form.give .give-kinds label, form.give .fields label { margin-bottom: 0; }
.pack.free label { display: flex; align-items: center; gap: 6px; color: var(--text); font-size: 18px; margin: 4px 0 8px; }
.pack.free input { width: 110px; padding: 7px 9px; font-size: 16px; text-align: center; }
.store-detail .fact { margin-top: 4px; color: var(--text); font-size: 13.5px; line-height: 1.4; }

/* (Admin > Quedas: what was not a fall is shown fainter) */
tr.dim td { color: var(--dim); }

/* (Admin > Servidor, "Dano dos monstros" por mapa: one small field a map, those with a number of their own marked) */
.mapgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px 14px; margin-bottom: 12px; }
.mapgrid label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; padding: 3px 6px; border: 1px solid transparent; border-radius: 3px; }
.mapgrid label.set { border-color: var(--gold); background: rgba(228, 198, 118, .07); }
.mapgrid label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mapgrid input { flex: none; width: 58px; text-align: right; }

/* Admin > Missões: as the panel's shop - the list of the quests at the left (one card each), the chosen one at the right */
.quest-totals { justify-content: flex-start; margin: 0 0 12px; }
.quest-totals div { padding: 9px 22px; }
.quest-admin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 430px); gap: 14px; align-items: start; padding: 12px;
               border: 1px solid rgba(216, 185, 100, .22); background: var(--panel); }
.quest-list { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.quest-list-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; color: var(--dim); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.quest-card { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid rgba(216, 185, 100, .16); background: rgba(10, 8, 6, .45);
              color: var(--text); text-decoration: none; }
.quest-card:hover { border-color: rgba(216, 185, 100, .5); color: var(--text); }
.quest-card.on { border-color: #f0d58c; background: linear-gradient(180deg, rgba(92, 69, 32, .55), rgba(51, 38, 15, .55)); }
.quest-card.off { opacity: .55; }
.quest-admin .pic { flex: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid rgba(216, 185, 100, .28); background: rgba(0, 0, 0, .4); }
.quest-admin .pic img { max-width: 40px; max-height: 40px; object-fit: contain; image-rendering: pixelated; }
.quest-admin .pic i { color: var(--gold); font-style: normal; font-size: 20px; line-height: 1; }
.quest-card .main { flex: 1; min-width: 0; }
.quest-card .main b { color: #fff3cf; font-size: 15px; }
.quest-card .what, .quest-card .gives { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dim); font-size: 13px; }
.quest-card .what em { color: var(--gold); font-style: normal; font-weight: bold; }
.quest-card .gives { color: var(--text); }
.quest-card .nums { flex: none; display: flex; gap: 6px; }
.quest-card .nums span { min-width: 68px; padding: 4px 6px; border: 1px solid rgba(216, 185, 100, .14); color: var(--dim); font-size: 9px; letter-spacing: 1px; text-align: center; text-transform: uppercase; }
.quest-card .nums b { display: block; color: var(--gold); font: bold 17px Georgia, "Times New Roman", serif; letter-spacing: 0; }
.quest-card .nums span + span b { color: var(--up); }
.quest-side { position: sticky; top: 12px; padding: 14px; border: 1px solid rgba(216, 185, 100, .22); background: rgba(10, 8, 6, .55); }
.quest-side-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(216, 185, 100, .18); }
.quest-side-head h2 { margin: 0; font-size: 19px; }
.quest-side-head p { margin: 2px 0 0; color: var(--dim); font-size: 13px; }
.quest-side nav.sub { margin-bottom: 12px; }
.quest-side h3 { margin: 14px 0 6px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.quest-side h3 small { color: var(--dim); font-weight: normal; }
.quest-who { width: 100%; font-size: 13px; }
.quest-form fieldset { margin: 0 0 10px; padding: 8px 12px 4px; border: 1px solid rgba(216, 185, 100, .16); }
.quest-form legend { padding: 0 6px; color: var(--gold); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.quest-form label { display: block; margin-bottom: 9px; color: var(--dim); font-size: 13px; }
.quest-form input:not([type=checkbox]), .quest-form select, .quest-form textarea { display: block; width: 100%; margin-top: 3px; }
.quest-form small { display: block; margin-top: 3px; color: var(--dim); font-size: 11px; }
.quest-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.quest-form .item { display: grid; grid-template-columns: 46px 1fr 96px; gap: 0 10px; align-items: start; }
.quest-form .item .pic { margin-top: 20px; }
.quest-form label.check { display: flex; align-items: center; gap: 8px; color: var(--text); }
.quest-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
@media (max-width: 900px) {
  .quest-admin { grid-template-columns: 1fr; }
  .quest-side { position: static; order: -1; }
  .quest-card { flex-wrap: wrap; }
  .quest-card .nums { width: 100%; }
  .quest-card .nums span { flex: 1; }
}

/* Admin > Servidor, Bellatra: a row a round, a small field in each cell, the gold of who leaves there at the right */
.sod-card { max-width: 860px; }
.sod-table { width: 100%; margin-bottom: 10px; border-collapse: collapse; }
.sod-table th { padding: 4px 8px; color: var(--dim); font-size: 11px; letter-spacing: 1px; text-align: left; text-transform: uppercase; }
.sod-table td { padding: 3px 8px; border-top: 1px solid rgba(216, 185, 100, .12); }
.sod-table td:first-child { width: 60px; color: var(--gold); font: bold 16px Georgia, "Times New Roman", serif; }
.sod-table input { display: block; width: 100%; margin: 0; text-align: right; }
.sod-table td.out { width: 190px; color: #ffe08a; font-weight: bold; text-align: right; white-space: nowrap; }
.sod-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 12px; }
.sod-tools label { display: flex; align-items: center; gap: 8px; margin: 0; }
.sod-tools input { width: 80px; margin: 0; }
.card .fields.three { grid-template-columns: repeat(3, 1fr); }

/* (the rankings: a small dot by the name - green in the game now, red out of it) */
.dot { display: inline-block; width: 9px; height: 9px; margin-left: 6px; border-radius: 50%; vertical-align: 1px; }
.dot.on { background: #4fd15a; box-shadow: 0 0 5px rgba(79, 209, 90, .8); }
.dot.off { background: #c8463a; }

/* (a plain explanation in steps, above a form of the panel) */
.howto { max-width: 860px; margin: 0 0 14px; padding: 12px 16px; border: 1px solid rgba(216, 185, 100, .22); border-left: 3px solid var(--gold); background: rgba(10, 8, 6, .5); font-size: 14px; }
.howto p { margin: 8px 0 4px; }
.howto p:first-child { margin-top: 0; }
.howto ol, .howto ul { margin: 0 0 6px; padding-left: 22px; }
.howto li { margin: 3px 0; color: var(--text); }
.howto b { color: #ffe08a; }

/* (Admin > Clãs, the winners of Bellatra: the three first rows marked, the clan's mark by its name) */
.sod-table.winners td:first-child { width: 70px; }
.sod-table.winners tr.podium td { background: rgba(110, 84, 30, .16); }
.sod-table.winners img { width: 16px; height: 16px; vertical-align: -3px; image-rendering: pixelated; }
.sod-table.winners input { max-width: 150px; }
.sod-table.winners small { color: var(--dim); }
.sod-tools.add { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(216, 185, 100, .18); }
.sod-tools.add select { min-width: 180px; padding: 7px 6px; }
.sod-tools.add input { width: 130px; }

/* (Admin > Clãs: the rules of Bellatra's points, in one line) */
.sod-rules { max-width: 860px; margin-bottom: 6px; }
.sod-rules select { display: inline-block; width: auto; margin: 0 0 0 6px; padding: 7px 6px; }
.sod-rules label.check { display: flex; align-items: center; gap: 8px; width: 100%; color: var(--text); }
.sod-rules label.check input { display: inline-block; width: auto; margin: 0; }

/* (Admin > Banner: the picture as it is now at the left, its form at the right) */
.banner-admin { display: grid; grid-template-columns: 320px minmax(0, 420px); gap: 18px; align-items: start; }
.banner-now { display: flex; align-items: center; justify-content: center; width: 320px; height: 320px; border: 1px solid rgba(216, 185, 100, .3); background: rgba(0, 0, 0, .45); color: var(--dim); }
.banner-now img { width: 100%; height: 100%; object-fit: cover; }
.banner-admin .card { max-width: none; }
.banner-admin label.check { display: flex; align-items: center; gap: 8px; color: var(--text); }
.banner-admin label.check input { display: inline-block; width: auto; margin: 0; }
@media (max-width: 800px) { .banner-admin { grid-template-columns: 1fr; } .banner-now { width: 100%; height: auto; aspect-ratio: 1; } }

/* (4.02) the panel's "Servidor e registro": each part closed, its title opens it */
h2.fold-head { cursor: pointer; user-select: none; padding: 8px 10px; margin: 10px 0 0; border: 1px solid rgba(168, 133, 58, .35);
               border-radius: 6px; background: rgba(0, 0, 0, .25); }
h2.fold-head::before { content: '▸'; display: inline-block; width: 1.1em; color: #c9a24a; }
h2.fold-head.on::before { content: '▾'; }
h2.fold-head:hover { border-color: rgba(201, 162, 74, .8); }
h2.fold-head.on { border-radius: 6px 6px 0 0; }
.fold-body { padding: 4px 10px 10px; border: 1px solid rgba(168, 133, 58, .2); border-top: 0; border-radius: 0 0 6px 6px; }
.when-pick { display: flex; gap: 6px; align-items: center; }
.when-pick input { cursor: pointer; }

/* (4.05) the panel's maintenance switch: always in sight at the top of "Servidor e registro" */
.card.maint { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.card.maint b { font-size: 17px; }
.card.maint.on { border-color: #d0573f; background: rgba(120, 30, 20, .35); }
.card.maint.on b { color: #ff9b85; }
.card.maint p { margin: 4px 0 0; }

/* (25/11/2026) "Minha conta": the parts as closed tabs - a bar like a button, one open at a time */
.conta-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 14px; }
.conta-topo h2 { margin: 0; }
.conta-topo p { margin: 4px 0 0; }
.abas { display: grid; gap: 8px; }
details.aba { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
details.aba > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 13px 16px;
  font: bold 15px Georgia, serif; color: var(--gold); user-select: none; }
details.aba > summary::-webkit-details-marker { display: none; }
details.aba > summary::before { content: '▸'; transition: none; }
details.aba[open] > summary::before { content: '▾'; }
details.aba > summary small { margin-left: auto; font: 12px Tahoma, sans-serif; color: var(--dim); }
details.aba > summary:hover { background: rgba(243, 210, 122, .06); }
details.aba[open] > summary { border-bottom: 1px solid var(--line); }
.aba-body { padding: 4px 16px 16px; }
.aba-body > section > h2:first-child { display: none; }
