Ir para o conteúdo

MediaWiki:Common.css: diferenças entre revisões

De Edda
Sem resumo de edição
Sem resumo de edição
 
(Há 4 edições intermédias do mesmo utilizador que não estão a ser apresentadas)
Linha 1: Linha 1:
 
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Alegreya+Sans:wght@400;500;700&family=JetBrains+Mono:wght@500&display=swap");
/* =========================================================
  Wiki do Edda 🌸
  Cole TODO este arquivo em  MediaWiki:Common.css  (substituindo o que tiver lá)
  Parte 1: tema vermelho do site inteiro
  Parte 2: página principal (classes "edda-")
  Parte 3: cards do Divine Pride
  ========================================================= */


/* =============== PARTE 1: TEMA VERMELHO DO SITE =============== */
/* =============== PARTE 1: TEMA VERMELHO DO SITE =============== */
Linha 91: Linha 98:
}
}


/* =============== PARTE 2: PÁGINA PRINCIPAL =============== */
/* =============== PARTE 2: PÁGINA PRINCIPAL (classes "ew-") =============== */


.edda-main {
.ew {
   /* paleta tirada da logo: carmim, dourado, rosa e creme */
   --ew-bg: #fbf6f2; --ew-surface: #fff; --ew-ink: #2a0e10; --ew-muted: #7a5558; --ew-line: #ead9d3;
  --edda-rosa: #ee5470;
   --ew-wine: #73060e; --ew-crimson: #b30918; --ew-rose: #f3bab0; --ew-rose-soft: #fbe7e2;
   --edda-rosa-escuro: #b8142f;
   --ew-gold: #9c7414; --ew-gold-soft: #f8edcf;
  --edda-lilas: #e2a63b;
   --ew-hero-a: #330507; --ew-hero-b: #73060e; --ew-hero-ink: #fceee4; --ew-hero-gold: #f3d48a;
  --edda-lilas-escuro: #9c650c;
   --ew-disp: "Cinzel", "Trajan Pro", Georgia, serif;
   --edda-menta: #f59aae;
   --ew-body: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
   --edda-pessego: #f2c272;
   --ew-mono: "JetBrains Mono", Consolas, monospace;
  --edda-ceu: #c92d4a;
   color: var(--ew-ink); font: 16px/1.55 var(--ew-body);
  --edda-texto: #4a2a2f;
   max-width: 1180px; margin: 0 auto;
  --edda-texto-suave: #8a6066;
   --edda-card: #ffffff;
   --edda-fundo: #fff6f4;
   --edda-borda: #f4d6d3;
   color: var(--edda-texto);
  font-size: 15px;
  line-height: 1.6;
   max-width: 1100px;
  margin: 0 auto;
}
}
.edda-main a { color: var(--edda-rosa-escuro); font-weight: 600; }
.ew *, .ew *::before { box-sizing: border-box; }
.edda-main a.new { color: #d0607a; }
.ew a { color: var(--ew-wine); }
.edda-main ul, .edda-main ol { margin: 0; padding: 0; list-style: none; }
.ew a.new { color: #c0661f; }
.edda-main li { margin: 0; }
.ew p { margin: 0; }
.ew code { font-family: var(--ew-mono); font-size: .86em; background: none; border: 0; padding: 0; color: inherit; }
.ew-h1, .ew-h2, .ew-h3 { font-family: var(--ew-disp); font-weight: 700; line-height: 1.15; }
.ew-h2 { font-size: 1.45rem; letter-spacing: .02em; }
.ew-eyebrow { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ew-muted); }
.ew-p { color: var(--ew-muted); font-size: .97rem; }


/* ---------- HERO (banner) ---------- */
/* ---------- abertura ---------- */
.edda-hero {
.ew-hero {
   position: relative;
   border-radius: 14px; margin-bottom: 8px; overflow: hidden;
  overflow: hidden;
   background: linear-gradient(140deg, var(--ew-hero-a), var(--ew-hero-b)); color: var(--ew-hero-ink);
  display: flex; align-items: center; gap: 30px;
  padding: 30px 36px;
  border-radius: 28px;
  color: #fff3f0;
   background:
    radial-gradient(circle at 22% 50%, rgba(255,120,150,.45), transparent 38%),
    radial-gradient(circle at 95% 0%, rgba(242,194,114,.25), transparent 35%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px),
    linear-gradient(135deg, #4a0716 0%, #7d0c22 45%, #b8142f 100%);
  border: 2px solid #e2a63b;
  box-shadow: 0 16px 40px rgba(120,10,30,.35), inset 0 0 0 5px rgba(255,255,255,.06);
  margin-bottom: 24px;
}
}
/* brilhinhos dourados */
.ew-hero-topo { display: flex; align-items: center; gap: 22px; padding: 22px 28px 18px; }
.edda-hero::before, .edda-hero::after {
.ew-hero-marca { flex: none; }
   content: "✦"; position: absolute; color: #f2c272; pointer-events: none;
.ew-hero-marca img { width: 110px; height: auto; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
   animation: edda-brilho 2.8s ease-in-out infinite;
.ew-hero-txt { min-width: 0; }
.ew-hero .ew-eyebrow { color: var(--ew-hero-gold); font-size: .7rem; }
.ew-h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; color: var(--ew-hero-ink); margin: 4px 0 0; }
.ew-h1 span { color: var(--ew-hero-gold); }
.ew-lead { font-size: 1rem; opacity: .85; margin: 6px 0 12px; }
.ew-botoes { display: flex; gap: 8px; flex-wrap: wrap; }
.ew .ew-btn a, .ew .ew-btn a:visited {
   display: inline-flex; align-items: center; font-weight: 700; font-size: .92rem; text-decoration: none;
   padding: 6px 14px; border-radius: 8px; border: 1px solid rgba(252,238,228,.4); color: var(--ew-hero-ink);
}
}
.edda-hero::before { top: 18px; right: 30px; font-size: 30px; }
.ew .ew-btn a:hover { background: rgba(252,238,228,.1); text-decoration: none; }
.edda-hero::after  { bottom: 16px; left: 38%; font-size: 18px; animation-delay: 1.4s; }
.ew .ew-btn.ew-pri a, .ew .ew-btn.ew-pri a:visited { background: var(--ew-hero-gold); border-color: transparent; color: #330507; }
@keyframes edda-brilho { 0%,100% { opacity: .2; transform: scale(.75); } 50% { opacity: 1; transform: scale(1.15); } }
.ew .ew-btn.ew-pri a:hover { background: #f8e2a8; }
.ew .ew-btn a.external { background-image: none; padding-right: 14px; }
.ew .ew-btn a.external::after { display: none; }


.edda-hero-logo { flex: none; width: 260px; position: relative; }
/* ficha: faixa fina no pé do banner */
.edda-hero-logo img {
.ew-ficha {
   width: 100%; height: auto; display: block;
   display: grid; grid-template-columns: repeat(6, minmax(0,1fr));
   filter: drop-shadow(0 0 22px rgba(255,140,165,.55)) drop-shadow(0 12px 18px rgba(0,0,0,.35));
   background: rgba(0,0,0,.22); border-top: 1px solid rgba(243,212,138,.25);
  animation: edda-flutua 4.5s ease-in-out infinite;
}
}
@keyframes edda-flutua { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.ew-ficha > div { padding: 9px 14px; display: flex; flex-direction: column; min-width: 0; }
.ew-ficha > div + div { border-left: 1px solid rgba(243,212,138,.15); }
.ew-ficha span { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; opacity: .65; white-space: nowrap; }
.ew-ficha b { font-size: .9rem; font-weight: 700; color: var(--ew-hero-gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }


.edda-hero-texto { flex: 1; min-width: 0; }
/* ---------- blocos ---------- */
.edda-hero-ola {
.ew-bloco { padding: 36px 0; }
  display: inline-block; color: #f2c272; font-weight: 700; font-size: .9em;
.ew-bloco + .ew-bloco { border-top: 1px solid var(--ew-line); }
  letter-spacing: 1px; text-transform: uppercase;
.ew-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
}
.ew-cab-sub { color: var(--ew-muted); }
.edda-hero-titulo {
  font-size: 3em; font-weight: 800; line-height: 1.05; margin: 6px 0 12px;
  color: #fff; letter-spacing: -1px; text-shadow: 0 3px 0 rgba(0,0,0,.25);
}
.edda-hero-titulo span {
  background: linear-gradient(180deg, #ffe3a3, #e2a63b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.edda-hero-sub { font-size: 1.05em; color: #ffdfe4; max-width: 560px; line-height: 1.55; }


/* números do servidor */
/* ---------- comece aqui ---------- */
.edda-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin: 20px 0 22px; max-width: 560px; }
.ew-passos { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.edda-stat {
.ew-passo { padding-top: 14px; border-top: 3px solid var(--ew-crimson); }
  text-align: center; padding: 10px 6px; border-radius: 16px;
.ew-passo-n { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ew-crimson); font-weight: 700; }
  background: rgba(255,255,255,.09); border: 1px solid rgba(242,194,114,.35);
.ew-passo .ew-h3 { font-family: var(--ew-body); font-size: 1.12rem; margin: 4px 0 6px; }
}
.edda-stat-num { font-size: 1.35em; font-weight: 800; color: #f2c272; line-height: 1.2; white-space: nowrap; }
.edda-stat-txt { font-size: .78em; color: #ffd3da; line-height: 1.25; }


/* botões */
/* ---------- portais ---------- */
.edda-hero-botoes { display: flex; flex-wrap: wrap; gap: 10px; }
.ew-portais { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.edda-main .edda-botao a, .edda-main .edda-botao a:visited {
.ew-portal {
  display: inline-block; padding: 10px 18px; border-radius: 999px; white-space: nowrap;
   background: var(--ew-surface); border: 1px solid var(--ew-line); border-radius: 12px;
  background: linear-gradient(180deg, #ffe3a3, #e2a63b); color: #5c0a1c !important;
  padding: 18px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0;
  font-weight: 800; text-decoration: none;
   transition: border-color .15s;
  box-shadow: 0 4px 0 #9c650c, 0 8px 18px rgba(0,0,0,.25); transition: transform .15s;
}
.edda-main .edda-botao a:hover { transform: translateY(-2px); text-decoration: none; }
.edda-main .edda-botao-sec a, .edda-main .edda-botao-sec a:visited {
   background: rgba(255,255,255,.12); color: #fff !important;
  border: 1px solid rgba(255,255,255,.45); box-shadow: none;
}
.edda-main .edda-botao-sec a:hover { background: rgba(255,255,255,.22); }
/* tira o ícone de "link externo" dos botões */
.edda-main .edda-botao a.external { background-image: none !important; padding-right: 18px !important; }
.edda-main .edda-botao a.external::after { display: none !important; }
 
@media (max-width: 860px) {
  .edda-hero { flex-direction: column; text-align: center; padding: 26px 18px; gap: 10px; }
  .edda-hero-logo { width: 220px; }
  .edda-hero-titulo { font-size: 2.3em; }
  .edda-hero-sub, .edda-stats { margin-left: auto; margin-right: auto; }
  .edda-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
   .edda-hero-botoes { justify-content: center; }
}
/* ---------- LAYOUT ---------- */
.edda-linha { display: grid; gap: 18px; margin-bottom: 18px; }
.edda-linha-2 { grid-template-columns: 1.35fr 1fr; }
.edda-linha-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) {
  .edda-linha-2, .edda-linha-3 { grid-template-columns: 1fr; }
}
}
.ew-portal:hover { border-color: var(--ew-rose); }
.ew-portal .ew-h3 { font-size: 1.08rem; }
.ew-portal .ew-h3 a { color: var(--ew-wine); text-decoration: none; }
.ew-portal .ew-h3 a:hover { text-decoration: underline; }
.ew-portal .ew-p { font-size: .95rem; }
.ew-nivel { font-family: var(--ew-mono); font-size: .78rem; color: var(--ew-gold); background: var(--ew-gold-soft); padding: 2px 7px; border-radius: 6px; }
.ew-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.ew .ew-tags a { display: inline-block; font-size: .85rem; padding: 3px 10px; border-radius: 999px; background: var(--ew-rose-soft); color: var(--ew-ink); text-decoration: none; }
.ew .ew-tags a:hover { background: var(--ew-rose); }
.ew .ew-tags a.new { color: #9a4f12; }


/* ---------- CARDS ---------- */
/* ---------- eventos + novidades ---------- */
.edda-card {
.ew-duas { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 36px; }
  background: var(--edda-card);
.ew-horas { font-family: var(--ew-mono); font-size: .8rem; color: var(--ew-muted); margin-bottom: 10px; }
  border: 2px solid var(--edda-borda);
.ew-tbl { overflow-x: auto; }
  border-radius: 22px;
.ew table.ew-tabela { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0; background: none; border: 0; }
  padding: 20px 22px;
.ew-tabela th, .ew-tabela td { text-align: left; padding: 9px 10px; border: 0; border-bottom: 1px solid var(--ew-line); vertical-align: top; background: none; }
  box-shadow: 0 6px 18px rgba(74,59,82,.06);
.ew-tabela th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ew-muted); }
  transition: transform .2s, box-shadow .2s;
.ew-tabela td:first-child { font-weight: 700; white-space: nowrap; }
}
.ew-tabela td:last-child { color: var(--ew-muted); }
.edda-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(74,59,82,.1); }
.ew-extra { margin-top: 16px; display: grid; gap: 8px; font-size: .95rem; }
.edda-card-titulo {
.ew-extra > div { display: flex; justify-content: space-between; gap: 12px; border-left: 3px solid var(--ew-gold); padding-left: 10px; }
  display: flex; align-items: center; gap: 10px;
.ew-extra > div > span:last-child { font-family: var(--ew-mono); font-size: .82rem; color: var(--ew-muted); white-space: nowrap; }
  font-size: 1.2em; font-weight: 800; margin-bottom: 4px; color: var(--edda-texto);
.ew-new { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ew-line); }
}
.ew-new:first-child { padding-top: 0; }
.edda-icone {
.ew-new:last-child { border-bottom: 0; }
  width: 38px; height: 38px; border-radius: 12px; flex: none;
.ew-data { font-family: var(--ew-mono); font-size: .82rem; color: var(--ew-crimson); padding-top: 2px; }
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
.ew-new .ew-p { font-size: .93rem; margin-top: 2px; }
}
.edda-card-desc { color: var(--edda-texto-suave); font-size: .92em; margin-bottom: 12px; }


.edda-rosa  { border-top: 6px solid var(--edda-rosa); }
/* ---------- comandos ---------- */
.edda-lilas  { border-top: 6px solid var(--edda-lilas); }
.ew-cmds { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.edda-menta  { border-top: 6px solid var(--edda-menta); }
.ew-cmds > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px dashed var(--ew-line); border-radius: 10px; background: var(--ew-surface); }
.edda-pessego{ border-top: 6px solid var(--edda-pessego); }
.ew-cmds > div:hover { border-color: var(--ew-crimson); }
.edda-ceu    { border-top: 6px solid var(--edda-ceu); }
.ew-cmds code { color: var(--ew-wine); font-size: .95rem; }
.edda-rosa .edda-icone    { background: #ffe1e6; }
.ew-cmds span { color: var(--ew-muted); font-size: .9rem; }
.edda-lilas .edda-icone  { background: #fbefd8; }
.edda-menta .edda-icone  { background: #ffe9ee; }
.edda-pessego .edda-icone { background: #fdf1dc; }
.edda-ceu .edda-icone    { background: #fbdde2; }


/* ---------- PASSOS (Como começar) ---------- */
/* ---------- rodapé ---------- */
.edda-passos { counter-reset: passo; }
.ew-rodape { border-top: 1px solid var(--ew-line); padding: 22px 0 4px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ew-muted); font-size: .9rem; }
.edda-passos li {
  counter-increment: passo; position: relative;
  padding: 8px 10px 8px 48px; margin-bottom: 6px;
  background: var(--edda-fundo); border-radius: 14px;
}
.edda-passos li::before {
  content: counter(passo); position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--edda-rosa); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: .9em;
}
.edda-passos small { display: block; color: var(--edda-texto-suave); font-size: .85em; line-height: 1.35; }


/* ---------- NOVIDADES ---------- */
/* ---------- celular ---------- */
.edda-novidades li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-bottom: 1px dashed var(--edda-borda); }
@media (max-width: 900px) {
.edda-novidades li:last-child { border-bottom: 0; }
  .ew-duas { grid-template-columns: 1fr; }
.edda-data {
  .ew-ficha { grid-template-columns: repeat(3, minmax(0,1fr)); }
  flex: none; background: var(--edda-lilas); color: #fff; font-weight: 800; font-size: .8em;
  .ew-ficha > div:nth-child(4) { border-left: 0; }
   border-radius: 10px; padding: 3px 8px; margin-top: 2px;
  .ew-ficha > div:nth-child(n+4) { border-top: 1px solid rgba(243,212,138,.15); }
   .ew-passos, .ew-portais { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
}
.edda-ver-mais { margin-top: 10px; text-align: right; font-size: .92em; }
@media (max-width: 560px) {
 
  .ew-passos, .ew-portais { grid-template-columns: 1fr; }
/* ---------- LISTAS DE LINKS COM EXPLICAÇÃO ---------- */
  .ew { font-size: 15px; }
.edda-links li { padding: 7px 0; border-bottom: 1px dashed var(--edda-borda); }
  .ew-hero-topo { padding: 16px 16px 14px; gap: 12px; align-items: flex-start; }
.edda-links li:last-child { border-bottom: 0; }
  .ew-hero-marca img { width: 54px; }
.edda-links small { display: block; color: var(--edda-texto-suave); font-size: .84em; line-height: 1.35; }
  .ew-ficha { grid-template-columns: repeat(2, minmax(0,1fr)); }
 
  .ew-ficha > div:nth-child(n) { border-left: 0; border-top: 1px solid rgba(243,212,138,.15); }
/* ---------- DICA ---------- */
  .ew-ficha > div:nth-child(even) { border-left: 1px solid rgba(243,212,138,.15); }
.edda-dica {
   .ew-ficha > div:nth-child(-n+2) { border-top: 0; }
  display: flex; gap: 14px; align-items: center;
  background: linear-gradient(90deg, #fff4d6, #ffe7f0);
   border-radius: 20px; padding: 16px 20px; margin-bottom: 18px;
  border: 2px dashed #ffcf8a;
}
}
.edda-dica-icone { font-size: 30px; flex: none; }
/* ---------- FAQ ---------- */
.edda-faq li { padding: 8px 0; border-bottom: 1px dashed var(--edda-borda); }
.edda-faq li:last-child { border-bottom: 0; }
.edda-faq b { color: var(--edda-lilas-escuro); }


/* ---------- RODAPÉ ---------- */
/* ---------- modo escuro (Vector 2022) ---------- */
.edda-rodape {
html.skin-theme-clientpref-night .ew {
   text-align: center; padding: 18px; border-radius: 20px;
   --ew-bg: #160709; --ew-surface: #22100f; --ew-ink: #f6e6e0; --ew-muted: #c29c98; --ew-line: #3d2224;
   background: var(--edda-fundo); color: var(--edda-texto-suave); font-size: .95em;
   --ew-wine: #f08a93; --ew-crimson: #ff6a74; --ew-rose: #7a2a30; --ew-rose-soft: #3a1a1c;
  --ew-gold: #e9c46a; --ew-gold-soft: #33280f; --ew-hero-a: #1e0304; --ew-hero-b: #5a050c;
}
}
.edda-rodape a { margin: 0 6px; }
@media (prefers-color-scheme: dark) {
 
  html.skin-theme-clientpref-os .ew {
/* ---------- MODO ESCURO (Vector 2022) ---------- */
    --ew-bg: #160709; --ew-surface: #22100f; --ew-ink: #f6e6e0; --ew-muted: #c29c98; --ew-line: #3d2224;
html.skin-theme-clientpref-night .edda-main {
    --ew-wine: #f08a93; --ew-crimson: #ff6a74; --ew-rose: #7a2a30; --ew-rose-soft: #3a1a1c;
  --edda-texto: #f6e6e8; --edda-texto-suave: #c9a9ae;
    --ew-gold: #e9c46a; --ew-gold-soft: #33280f; --ew-hero-a: #1e0304; --ew-hero-b: #5a050c;
  --edda-card: #2a1b1f; --edda-fundo: #35232a; --edda-borda: #4e2f36;
  }
  --edda-rosa-escuro: #ff8a9e; --edda-lilas-escuro: #f2c272;
}
}
html.skin-theme-clientpref-night .edda-dica { background: #3b3020; border-color: #7a5a2a; }
html.skin-theme-clientpref-night .edda-icone { background: rgba(255,255,255,.08) !important; }





Edição atual desde as 19h53min de 10 de outubro de 2026

@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Alegreya+Sans:wght@400;500;700&family=JetBrains+Mono:wght@500&display=swap");
/* =========================================================
   Wiki do Edda 🌸
   Cole TODO este arquivo em  MediaWiki:Common.css  (substituindo o que tiver lá)
   Parte 1: tema vermelho do site inteiro
   Parte 2: página principal (classes "edda-")
   Parte 3: cards do Divine Pride
   ========================================================= */

/* =============== PARTE 1: TEMA VERMELHO DO SITE =============== */

/* Cores do MediaWiki (links, botões, abas, caixas selecionadas) */
:root {
  --color-progressive: #b8142f;
  --color-progressive--hover: #d42a46;
  --color-progressive--active: #8f0e24;
  --color-progressive--focus: #b8142f;
  --background-color-progressive: #b8142f;
  --background-color-progressive--hover: #d42a46;
  --background-color-progressive--active: #8f0e24;
  --background-color-progressive--focus: #b8142f;
  --background-color-progressive-subtle: #fdecee;
  --background-color-progressive-subtle--hover: #fbdfe3;
  --background-color-progressive-subtle--active: #f7cbd2;
  --border-color-progressive: #b8142f;
  --border-color-progressive--hover: #d42a46;
  --border-color-progressive--active: #8f0e24;
  --border-color-progressive--focus: #b8142f;

  --color-link: #b8142f;
  --color-link--hover: #e0334f;
  --color-link--active: #8f0e24;
  --color-link--focus: #b8142f;
  --color-link--visited: #8c2a3d;
  --color-link--visited--hover: #b8142f;
  --color-link--visited--active: #8f0e24;

  /* links de páginas que ainda não existem: laranja queimado, pra não confundir com o vermelho do tema */
  --color-link-red: #c0661f;
  --color-link-red--hover: #e07a2a;
  --color-link-red--active: #9a4f12;
  --color-link-red--focus: #c0661f;
  --color-link-red--visited: #a8581a;
  --color-link-red--visited--hover: #e07a2a;
  --color-link-red--visited--active: #9a4f12;
}

/* Fundo creme rosado com faixa vermelha e dourada no topo */
html, body { background-color: #fbf1ef; }
body { border-top: 5px solid #b8142f; box-shadow: inset 0 3px 0 #e2a63b; }
.mw-page-container { background-color: #fbf1ef; }
.vector-header-container .mw-header { border-bottom: 1px solid #f0d2cf; }

/* Área do texto como uma folha branca com cantos arredondados */
.mw-content-container .mw-body {
  background: #fff;
  border: 1px solid #f0d2cf;
  border-radius: 18px;
  padding: 16px 28px 28px;
  margin-top: 12px;
  box-shadow: 0 6px 22px rgba(184, 20, 47, .06);
}

/* Logo e nome no topo */
.mw-logo-icon { width: 56px !important; height: 56px !important; filter: drop-shadow(0 2px 4px rgba(184,20,47,.35)); }
.mw-logo-wordmark { color: #b8142f !important; font-weight: 800; font-size: 1.35em; letter-spacing: .5px; }

/* Títulos */
.mw-first-heading, .mw-body h1, .mw-body-content h2 { color: #8f0e24; }
.mw-body-content h2 { border-bottom: 2px solid #f4d6d3; }
.mw-body-content h3 { color: #b8142f; }

/* Barra de pesquisa e botões */
.cdx-text-input__input:focus, .cdx-search-input__text-input .cdx-text-input__input:focus {
  border-color: #b8142f !important; box-shadow: inset 0 0 0 1px #b8142f !important;
}

/* Na página principal, esconde o título "Página principal" (o banner já faz esse papel) */
body.page-Main_Page .mw-first-heading,
body.page-Main_Page .vector-page-titlebar h1 { display: none; }

/* Modo escuro */
html.skin-theme-clientpref-night {
  --color-progressive: #ff7a90; --color-progressive--hover: #ff9aab; --color-progressive--active: #e85a72;
  --border-color-progressive: #ff7a90; --background-color-progressive-subtle: #3a1a20;
  --color-link: #ff8a9e; --color-link--hover: #ffb0bd; --color-link--visited: #e88a9a;
  --color-link-red: #f0a060;
}
html.skin-theme-clientpref-night, html.skin-theme-clientpref-night body,
html.skin-theme-clientpref-night .mw-page-container { background-color: #1c1214; }
html.skin-theme-clientpref-night .mw-content-container .mw-body { background: #261a1d; border-color: #46292f; }
html.skin-theme-clientpref-night .mw-first-heading,
html.skin-theme-clientpref-night .mw-body-content h2 { color: #ff9aab; border-color: #46292f; }

/* Celular: tira as bordas da "folha" pra aproveitar a tela */
@media (max-width: 720px) {
  .mw-content-container .mw-body { border-radius: 0; border-left: 0; border-right: 0; padding: 12px 14px 20px; }
}

/* =============== PARTE 2: PÁGINA PRINCIPAL (classes "ew-") =============== */

.ew {
  --ew-bg: #fbf6f2; --ew-surface: #fff; --ew-ink: #2a0e10; --ew-muted: #7a5558; --ew-line: #ead9d3;
  --ew-wine: #73060e; --ew-crimson: #b30918; --ew-rose: #f3bab0; --ew-rose-soft: #fbe7e2;
  --ew-gold: #9c7414; --ew-gold-soft: #f8edcf;
  --ew-hero-a: #330507; --ew-hero-b: #73060e; --ew-hero-ink: #fceee4; --ew-hero-gold: #f3d48a;
  --ew-disp: "Cinzel", "Trajan Pro", Georgia, serif;
  --ew-body: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
  --ew-mono: "JetBrains Mono", Consolas, monospace;
  color: var(--ew-ink); font: 16px/1.55 var(--ew-body);
  max-width: 1180px; margin: 0 auto;
}
.ew *, .ew *::before { box-sizing: border-box; }
.ew a { color: var(--ew-wine); }
.ew a.new { color: #c0661f; }
.ew p { margin: 0; }
.ew code { font-family: var(--ew-mono); font-size: .86em; background: none; border: 0; padding: 0; color: inherit; }
.ew-h1, .ew-h2, .ew-h3 { font-family: var(--ew-disp); font-weight: 700; line-height: 1.15; }
.ew-h2 { font-size: 1.45rem; letter-spacing: .02em; }
.ew-eyebrow { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ew-muted); }
.ew-p { color: var(--ew-muted); font-size: .97rem; }

/* ---------- abertura ---------- */
.ew-hero {
  border-radius: 14px; margin-bottom: 8px; overflow: hidden;
  background: linear-gradient(140deg, var(--ew-hero-a), var(--ew-hero-b)); color: var(--ew-hero-ink);
}
.ew-hero-topo { display: flex; align-items: center; gap: 22px; padding: 22px 28px 18px; }
.ew-hero-marca { flex: none; }
.ew-hero-marca img { width: 110px; height: auto; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.ew-hero-txt { min-width: 0; }
.ew-hero .ew-eyebrow { color: var(--ew-hero-gold); font-size: .7rem; }
.ew-h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; color: var(--ew-hero-ink); margin: 4px 0 0; }
.ew-h1 span { color: var(--ew-hero-gold); }
.ew-lead { font-size: 1rem; opacity: .85; margin: 6px 0 12px; }
.ew-botoes { display: flex; gap: 8px; flex-wrap: wrap; }
.ew .ew-btn a, .ew .ew-btn a:visited {
  display: inline-flex; align-items: center; font-weight: 700; font-size: .92rem; text-decoration: none;
  padding: 6px 14px; border-radius: 8px; border: 1px solid rgba(252,238,228,.4); color: var(--ew-hero-ink);
}
.ew .ew-btn a:hover { background: rgba(252,238,228,.1); text-decoration: none; }
.ew .ew-btn.ew-pri a, .ew .ew-btn.ew-pri a:visited { background: var(--ew-hero-gold); border-color: transparent; color: #330507; }
.ew .ew-btn.ew-pri a:hover { background: #f8e2a8; }
.ew .ew-btn a.external { background-image: none; padding-right: 14px; }
.ew .ew-btn a.external::after { display: none; }

/* ficha: faixa fina no pé do banner */
.ew-ficha {
  display: grid; grid-template-columns: repeat(6, minmax(0,1fr));
  background: rgba(0,0,0,.22); border-top: 1px solid rgba(243,212,138,.25);
}
.ew-ficha > div { padding: 9px 14px; display: flex; flex-direction: column; min-width: 0; }
.ew-ficha > div + div { border-left: 1px solid rgba(243,212,138,.15); }
.ew-ficha span { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; opacity: .65; white-space: nowrap; }
.ew-ficha b { font-size: .9rem; font-weight: 700; color: var(--ew-hero-gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- blocos ---------- */
.ew-bloco { padding: 36px 0; }
.ew-bloco + .ew-bloco { border-top: 1px solid var(--ew-line); }
.ew-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.ew-cab-sub { color: var(--ew-muted); }

/* ---------- comece aqui ---------- */
.ew-passos { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.ew-passo { padding-top: 14px; border-top: 3px solid var(--ew-crimson); }
.ew-passo-n { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ew-crimson); font-weight: 700; }
.ew-passo .ew-h3 { font-family: var(--ew-body); font-size: 1.12rem; margin: 4px 0 6px; }

/* ---------- portais ---------- */
.ew-portais { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.ew-portal {
  background: var(--ew-surface); border: 1px solid var(--ew-line); border-radius: 12px;
  padding: 18px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0;
  transition: border-color .15s;
}
.ew-portal:hover { border-color: var(--ew-rose); }
.ew-portal .ew-h3 { font-size: 1.08rem; }
.ew-portal .ew-h3 a { color: var(--ew-wine); text-decoration: none; }
.ew-portal .ew-h3 a:hover { text-decoration: underline; }
.ew-portal .ew-p { font-size: .95rem; }
.ew-nivel { font-family: var(--ew-mono); font-size: .78rem; color: var(--ew-gold); background: var(--ew-gold-soft); padding: 2px 7px; border-radius: 6px; }
.ew-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.ew .ew-tags a { display: inline-block; font-size: .85rem; padding: 3px 10px; border-radius: 999px; background: var(--ew-rose-soft); color: var(--ew-ink); text-decoration: none; }
.ew .ew-tags a:hover { background: var(--ew-rose); }
.ew .ew-tags a.new { color: #9a4f12; }

/* ---------- eventos + novidades ---------- */
.ew-duas { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 36px; }
.ew-horas { font-family: var(--ew-mono); font-size: .8rem; color: var(--ew-muted); margin-bottom: 10px; }
.ew-tbl { overflow-x: auto; }
.ew table.ew-tabela { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0; background: none; border: 0; }
.ew-tabela th, .ew-tabela td { text-align: left; padding: 9px 10px; border: 0; border-bottom: 1px solid var(--ew-line); vertical-align: top; background: none; }
.ew-tabela th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ew-muted); }
.ew-tabela td:first-child { font-weight: 700; white-space: nowrap; }
.ew-tabela td:last-child { color: var(--ew-muted); }
.ew-extra { margin-top: 16px; display: grid; gap: 8px; font-size: .95rem; }
.ew-extra > div { display: flex; justify-content: space-between; gap: 12px; border-left: 3px solid var(--ew-gold); padding-left: 10px; }
.ew-extra > div > span:last-child { font-family: var(--ew-mono); font-size: .82rem; color: var(--ew-muted); white-space: nowrap; }
.ew-new { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ew-line); }
.ew-new:first-child { padding-top: 0; }
.ew-new:last-child { border-bottom: 0; }
.ew-data { font-family: var(--ew-mono); font-size: .82rem; color: var(--ew-crimson); padding-top: 2px; }
.ew-new .ew-p { font-size: .93rem; margin-top: 2px; }

/* ---------- comandos ---------- */
.ew-cmds { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.ew-cmds > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px dashed var(--ew-line); border-radius: 10px; background: var(--ew-surface); }
.ew-cmds > div:hover { border-color: var(--ew-crimson); }
.ew-cmds code { color: var(--ew-wine); font-size: .95rem; }
.ew-cmds span { color: var(--ew-muted); font-size: .9rem; }

/* ---------- rodapé ---------- */
.ew-rodape { border-top: 1px solid var(--ew-line); padding: 22px 0 4px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ew-muted); font-size: .9rem; }

/* ---------- celular ---------- */
@media (max-width: 900px) {
  .ew-duas { grid-template-columns: 1fr; }
  .ew-ficha { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .ew-ficha > div:nth-child(4) { border-left: 0; }
  .ew-ficha > div:nth-child(n+4) { border-top: 1px solid rgba(243,212,138,.15); }
  .ew-passos, .ew-portais { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .ew-passos, .ew-portais { grid-template-columns: 1fr; }
  .ew { font-size: 15px; }
  .ew-hero-topo { padding: 16px 16px 14px; gap: 12px; align-items: flex-start; }
  .ew-hero-marca img { width: 54px; }
  .ew-ficha { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ew-ficha > div:nth-child(n) { border-left: 0; border-top: 1px solid rgba(243,212,138,.15); }
  .ew-ficha > div:nth-child(even) { border-left: 1px solid rgba(243,212,138,.15); }
  .ew-ficha > div:nth-child(-n+2) { border-top: 0; }
}

/* ---------- modo escuro (Vector 2022) ---------- */
html.skin-theme-clientpref-night .ew {
  --ew-bg: #160709; --ew-surface: #22100f; --ew-ink: #f6e6e0; --ew-muted: #c29c98; --ew-line: #3d2224;
  --ew-wine: #f08a93; --ew-crimson: #ff6a74; --ew-rose: #7a2a30; --ew-rose-soft: #3a1a1c;
  --ew-gold: #e9c46a; --ew-gold-soft: #33280f; --ew-hero-a: #1e0304; --ew-hero-b: #5a050c;
}
@media (prefers-color-scheme: dark) {
  html.skin-theme-clientpref-os .ew {
    --ew-bg: #160709; --ew-surface: #22100f; --ew-ink: #f6e6e0; --ew-muted: #c29c98; --ew-line: #3d2224;
    --ew-wine: #f08a93; --ew-crimson: #ff6a74; --ew-rose: #7a2a30; --ew-rose-soft: #3a1a1c;
    --ew-gold: #e9c46a; --ew-gold-soft: #33280f; --ew-hero-a: #1e0304; --ew-hero-b: #5a050c;
  }
}


/* =========================================================
   PARTE 3: Cards do Divine Pride  ({{Item}} e {{Monstro}})
   ========================================================= */
.edda-dp {
  display: inline-block; vertical-align: top;
  width: 100%; max-width: 420px; box-sizing: border-box;
  margin: 6px 8px 10px 0; padding: 16px 18px;
  background: #fff; color: #4a2a2f;
  border: 2px solid #f4d6d3; border-top: 6px solid #ee5470; border-radius: 20px;
  box-shadow: 0 6px 18px rgba(74,59,82,.07);
  font-size: 14px; line-height: 1.5;
}
.edda-dp-monstro { border-top-color: #e2a63b; }
.edda-dp-topo { display: flex; gap: 14px; align-items: center; }
.edda-dp-img {
  flex: none; width: 64px; height: 64px; border-radius: 16px;
  background: #ffe1e6; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.edda-dp-monstro .edda-dp-img { background: #fbefd8; width: 84px; height: 84px; }
.edda-dp-img img { max-width: 100%; max-height: 100%; image-rendering: pixelated; }
.edda-dp-nome { font-size: 1.2em; font-weight: 800; color: #b8142f; }
.edda-dp-monstro .edda-dp-nome { color: #9c650c; }
.edda-dp-info { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.edda-dp-info span { background: #fff6f4; border-radius: 999px; padding: 1px 10px; font-size: .85em; font-weight: 600; }
.edda-dp-desc { margin-top: 12px; padding: 10px 12px; background: #fff6f4; border-radius: 14px; white-space: pre-line; font-size: .92em; }
.edda-dp-link { margin-top: 8px; text-align: right; font-size: .85em; }

html.skin-theme-clientpref-night .edda-dp { background: #2a1b1f; color: #f6e6e8; border-color: #4e2f36; }
html.skin-theme-clientpref-night .edda-dp-img,
html.skin-theme-clientpref-night .edda-dp-info span,
html.skin-theme-clientpref-night .edda-dp-desc { background: #35232a; }