:root{--ink:#172d29;--pine:#173f38;--gold:#dba856;--paper:#f6f3ea;--line:#d7d9cb;--muted:#54655c;font:16px system-ui,Roboto,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}header,.dhead{display:flex;justify-content:space-between;align-items:center}header{background:var(--pine);color:#fff6e3;padding:12px max(16px,calc((100vw - 1080px)/2));min-height:60px}.brand{display:flex;align-items:center;gap:10px;font:600 20px Georgia,serif}.brand b{font:700 10px system-ui;letter-spacing:1px;color:#f7d69b}.die{font:32px/1 Georgia;color:#f1cb82}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:10px;background:#fffdf7;padding:9px 13px;min-height:44px}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ca8c29;outline-offset:1px}header button{background:#28554a;border:0;color:#fff;font-size:22px;width:44px}main{max-width:1112px;margin:auto;padding:22px 16px 100px}h1,h2,h3,h4,p{margin:0}h1,h2{font-family:Georgia,serif;font-weight:500}h1{font-size:clamp(34px,7vw,49px);letter-spacing:-1.4px}h2{font-size:27px;line-height:1.13}h3{font-size:18px}.kicker,.label,dt{font-size:11px;font-weight:750;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}.kicker{margin:0 0 7px}.titleline,.row,.spread{display:flex;align-items:center;gap:9px}.titleline,.spread{justify-content:space-between}.row{flex-wrap:wrap}.intro{margin:5px 0 20px}.primary{background:var(--pine);color:white;border-color:var(--pine)}.new{font-size:24px;width:46px;padding:0}.search{display:flex;align-items:center;gap:7px;margin:15px 0 12px}.search input{flex:1;min-width:0}input,select,textarea{background:#fffdf7;border:1px solid #bdc7b8;border-radius:8px;padding:11px;min-height:44px;width:100%}textarea{resize:vertical;min-height:86px}label{display:block;font-size:13px;font-weight:650;margin:12px 0 4px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:17px 12px}.tile{display:block;padding:0;text-align:left;background:transparent;border:none;border-radius:0;min-width:0}.shelf{background:#e8e8dd;border:1px solid #deded0;border-radius:12px;position:relative;aspect-ratio:1.18;display:flex;align-items:center;justify-content:center;padding:10px}.shelf img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 3px #182b2422)}.tile h3{font-size:15px;line-height:1.24;margin:8px 1px 2px}.meta,.muted,small{color:var(--muted);font-size:13px;line-height:1.5}.shelf .index{color:#637163;font-family:Georgia,serif;font-size:27px}.badge{border-radius:6px;background:#fffdf4;color:var(--pine);font-size:11px;font-weight:bold;padding:3px 6px;position:absolute;bottom:6px;right:6px}.sectionhead{margin:20px 0 12px}.sectionhead small{font-weight:600}nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:#fdfcf4;border-top:1px solid var(--line);z-index:2;padding:3px 4px max(3px,env(safe-area-inset-bottom))}nav button{border:0;background:none;color:var(--muted);border-radius:8px;flex:1;max-width:180px;font-size:11px;font-weight:650;padding:5px 3px}nav button span{display:block;font-size:21px;line-height:24px}nav .active{background:#deeadc;color:#143f31}dialog{padding:0;width:min(94vw,620px);max-height:92vh;border:0;border-radius:16px;background:var(--paper);color:var(--ink);box-shadow:0 15px 60px #14292144}dialog::backdrop{background:#12261fbf}.dhead{position:sticky;top:0;background:var(--paper);z-index:1;border-bottom:1px solid var(--line);padding:5px 12px 5px 18px}.dhead span{font-weight:700;font-size:13px}.dhead button{font-size:25px;background:none;border:0}#inside{padding:17px}.art{display:block;width:100%;max-height:290px;object-fit:contain;background:#e6e7dc;border-radius:10px;margin-bottom:8px}.artbutton{width:100%;border:0;padding:0;background:transparent}.gallery{margin:16px 0}.gallery small{display:block}.props{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;background:#e6eadd;border-radius:12px;padding:14px}dl{margin:0}dd{margin:4px 0 0;font-size:15px;font-weight:560;overflow-wrap:anywhere}.desc{line-height:1.55;margin:11px 0 14px}.block{padding:14px 0;border-bottom:1px solid var(--line)}.block h3{margin-bottom:7px}.pill{display:inline-block;background:#e6e9dc;border-radius:5px;padding:4px 7px;margin:2px 4px 2px 0;font-size:12px}.links a{display:block;color:#205b47;overflow-wrap:anywhere;padding:6px 0}.line,.panel{background:#fffdf6;border:1px solid var(--line);padding:14px;border-radius:11px;margin:8px 0}.line button{min-height:36px;font-size:12px}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.empty{padding:28px 14px;border:1px dashed #b8c1af;border-radius:12px;color:var(--muted)}.big{font:36px Georgia,serif}.bar{background:#dfe5d7;height:8px;border-radius:8px;margin:5px 0 12px}.bar i{background:#387055;height:100%;display:block;border-radius:8px}#toast{position:fixed;bottom:77px;left:50%;transform:translateX(-50%);background:var(--pine);color:white;padding:9px 15px;border-radius:8px;display:none;z-index:5}#toast.show{display:block}details{margin:11px 0}summary{cursor:pointer;font-weight:650;padding:6px 0}.largepic{width:100%;height:auto}.danger{color:#843b2f}button:disabled{opacity:.6}@media(min-width:700px){main{padding-top:35px}.grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:22px 18px}}@media(max-width:350px){.grid{grid-template-columns:1fr 1fr}.two{grid-template-columns:1fr}}@supports not (aspect-ratio:1){.shelf{height:147px}}
.radarhead{display:flex;align-items:center;gap:12px}.radarhead img{width:82px;height:76px;object-fit:contain;background:#e8e8dd;border-radius:8px}.radarhead div{flex:1;min-width:0}nav{overflow-x:auto}nav button{min-width:44px;font-size:10px}.panel .two{margin:12px 0}.links a{display:inline-block;margin-right:8px}

nav{justify-content:flex-start}nav button{flex:1 0 74px;min-width:74px;max-width:180px;font-size:10px;white-space:nowrap}nav button.active{font-weight:750}

/* Gremio de Exploradores */
:root {
  color-scheme: light;
  --ink: #253029;
  --pine: #12382f;
  --petrol: #174550;
  --gold: #c49a51;
  --paper: #f6ead3;
  --surface: #fff6e3;
  --inset: #ead5ae;
  --line: #b69e73;
  --muted: #575346;
  --link: #174550;
  --danger: #782c37;
  --frame: #583722;
}

body { background: radial-gradient(ellipse at top, var(--surface), transparent 68rem), var(--paper); }
header {
  background: linear-gradient(110deg, #12382f, #174550);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 4px 12px #1e271c30;
}
header button { border: 1px solid var(--gold); border-radius: 6px; }
.brand { gap: 12px; }
.die { color: #f2c879; }
h1, h2 { color: var(--ink); }
.titleline { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
button, input, select, textarea { background: var(--surface); border-color: var(--line); }
.primary { background: var(--pine); border-color: var(--gold); }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}
.tile { background: transparent; padding: 0 0 6px; }
.tile .shelf {
  aspect-ratio: 1.08;
  border: 1px solid var(--gold);
  border-radius: 7px;
  padding: 12px;
  background: radial-gradient(ellipse at 50% 30%, #2f5c52, var(--pine) 76%);
  box-shadow: inset 0 0 0 3px #162c26, 0 3px 7px #30271826;
}
.shelf::before, .shelf::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
}
.shelf::before { left: 5px; }
.shelf::after { right: 5px; }
.shelf .index { color: #efd39e; }
.tile img { filter: drop-shadow(0 4px 5px #0008); }
.tile h3 { font-family: Georgia, serif; font-size: 1.05rem; }
.badge { color: #12382f; background: #f2dfb6; }
nav { background: var(--surface); border-top: 1px solid var(--gold); box-shadow: 0 -3px 12px #231d121a; }
nav .active { background: var(--pine); color: #fff6e3; }
.line, .panel, .art { background: var(--surface); }
dialog { border: 1px solid var(--gold); }
.props, .pill, .bar { background: var(--inset); }
.links a { color: var(--link); }
.danger { color: var(--danger); }

@media (min-width: 760px) {
  nav { justify-content: safe center; }
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #f2e7d2;
    --paper: #151f1c;
    --surface: #202e28;
    --inset: #293d34;
    --line: #817251;
    --muted: #c6baa2;
    --link: #f2ce89;
    --danger: #ffafb2;
  }
}

header button:focus-visible, nav .active:focus-visible { outline-color: #eac57b; }
.tile:focus-visible .shelf, .tile:hover .shelf { border-color: #efd39e; }
.search { margin-top: 18px; }
.sectionhead button { background: transparent; }
