MediaWiki:Common.css: diferenças entre revisões
Aparência
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 369: | Linha 369: | ||
@media (max-width: 560px) { .ew-pg-mascotes { display: none; } } | @media (max-width: 560px) { .ew-pg-mascotes { display: none; } } | ||
html.skin-theme-clientpref-night .ew-mob-shiny .ew-mob-img { background: #2e1d3d; } | html.skin-theme-clientpref-night .ew-mob-shiny .ew-mob-img { background: #2e1d3d; } | ||
/* ---------- página de lojas (classe "ew-lojas") ---------- */ | |||
/* atalhos no topo */ | |||
.ew-atalhos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; } | |||
.ew .ew-atalhos a { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--ew-surface); border: 1px solid var(--ew-line); color: var(--ew-wine); font-size: .88rem; font-weight: 700; text-decoration: none; transition: background .15s, border-color .15s; } | |||
.ew .ew-atalhos a:hover { background: var(--ew-rose-soft); border-color: var(--ew-crimson); } | |||
/* itens em grade alinhada, como inventário */ | |||
.ew-lojas .ew-itens { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 5px; } | |||
.ew-lojas .ew-tab:not(.ew-loja) .ew-itens { display: flex; flex-wrap: wrap; } | |||
.ew-lojas .ew-tab td:not(:last-child):not(:has(.ew-it)), .ew-lojas .ew-tab th:first-child { width: 1%; min-width: 110px; } | |||
.ew-lojas .ew-loja td:not(:has(.ew-it)) { min-width: 0; } | |||
.ew-lojas .ew-itens .ew-it { display: flex; min-width: 0; padding: 3px 8px 3px 3px; font-size: .9rem; transition: border-color .15s, background .15s; } | |||
.ew-lojas .ew-itens .ew-it:hover { border-color: var(--ew-crimson); background: var(--ew-rose-soft); } | |||
.ew-lojas .ew-it img { width: 26px; height: 26px; padding: 1px; border-radius: 6px; background: var(--ew-rose-soft); } | |||
.ew-lojas .ew-tab th .ew-it img, .ew-lojas .ew-npc .ew-it img { background: none; } | |||
.ew-lojas .ew-tab td { vertical-align: middle; } | |||
.ew-lojas .ew-tab > * > tr > th[scope="row"], .ew-lojas .ew-tab > * > tr > th:first-child:not(:only-child) { white-space: nowrap; } | |||
/* preço com a moeda */ | |||
.ew-preco { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-family: var(--ew-mono); font-size: .85rem; font-weight: 500; color: var(--ew-gold); background: var(--ew-gold-soft); padding: 2px 8px 2px 4px; border-radius: 999px; } | |||
.ew-preco img { width: 20px; height: 20px; image-rendering: pixelated; } | |||
.ew-loja td:nth-child(1):not([rowspan]) { width: 1%; } | |||
/* cards de NPC */ | |||
.ew-npcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 12px 0 16px; } | |||
.ew-npc { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: var(--ew-surface); border: 1px solid var(--ew-line); border-top: 3px solid var(--ew-crimson); border-radius: 12px; min-width: 0; transition: border-color .15s, transform .15s; } | |||
.ew-npc:hover { border-color: var(--ew-rose); border-top-color: var(--ew-crimson); transform: translateY(-2px); } | |||
.ew-npc-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; } | |||
.ew-npc-nome { color: var(--ew-wine); font-size: 1.02rem; line-height: 1.25; } | |||
.ew-npc-nome b { font-family: var(--ew-disp); } | |||
.ew-pos code { font-size: .78rem; color: var(--ew-gold); background: var(--ew-gold-soft); border: 0; padding: 2px 7px; border-radius: 6px; white-space: nowrap; } | |||
.ew-pos { flex: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 3px; max-width: 55%; } | |||
.ew-npc-txt { font-size: .93rem; color: var(--ew-ink); } | |||
.ew-npc-extra { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--ew-line); font-size: .88rem; line-height: 1.9; } | |||
.ew-npc-extra > span:first-child { margin-right: 4px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ew-muted); } | |||
.ew-npc-extra .ew-it { font-size: .85rem; } | |||
/* listas recolhíveis */ | |||
.ew-caixa { border: 1px solid var(--ew-line); border-radius: 12px; background: var(--ew-surface); margin: 8px 0 18px; overflow: hidden; } | |||
.ew-caixa-cab { padding: 10px 14px; background: var(--ew-rose-soft); color: var(--ew-wine); font-weight: 700; padding-right: 180px; } | |||
.ew-caixa > .mw-collapsible-toggle { float: right; margin: 7px 10px 0 0; position: relative; z-index: 1; } | |||
.ew-caixa > .mw-collapsible-toggle a { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--ew-crimson); color: #fff !important; font-size: .82rem; font-weight: 700; text-decoration: none; } | |||
.ew-caixa > .mw-collapsible-toggle a:hover { filter: brightness(1.1); } | |||
.ew-caixa .mw-collapsible-toggle-default::before, .ew-caixa .mw-collapsible-toggle-default::after { content: none; } | |||
.ew-caixa .mw-collapsible-content { padding: 4px 12px 10px; } | |||
.ew-caixa .mw-collapsible-content > .wikitable.ew-tab { margin: 6px 0; } | |||
.ew-caixa .mw-collapsible-content > .ew-itens { margin-top: 8px; } | |||
/* Grace: peças comuns uma vez só */ | |||
.ew-comum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0; } | |||
.ew-comum > div { padding: 10px 12px; border: 1px solid var(--ew-line); border-radius: 10px; background: var(--ew-surface); } | |||
.ew-comum b { display: block; margin-bottom: 6px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ew-muted); } | |||
.ew-comum .ew-itens { grid-template-columns: 1fr; } | |||
.ew-base { display: inline-block; white-space: nowrap; font-size: .8rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; } | |||
.ew-base-f { background: #fde3d6; color: #a2401a; } | |||
.ew-base-m { background: #e3e6fb; color: #3b47a8; } | |||
.ew-base-fm { background: #efe2fb; color: #6e3ca8; } | |||
/* trocas A -> B (Armas LT) */ | |||
.ew-trocas { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 6px; margin: 10px 0 16px; } | |||
.ew-troca { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; padding: 5px 6px; border: 1px solid var(--ew-line); border-radius: 10px; background: var(--ew-surface); } | |||
.ew-troca .ew-it { border: 0; background: none; padding: 0; min-width: 0; font-size: .9rem; } | |||
.ew-troca .ew-it:last-child { color: var(--ew-wine); font-weight: 700; } | |||
.ew-troca .ew-seta { font-size: 1.05rem; color: var(--ew-crimson); } | |||
/* modo escuro */ | |||
html.skin-theme-clientpref-night .ew-base-f { background: #3d2214; color: #f3a57f; } | |||
html.skin-theme-clientpref-night .ew-base-m { background: #1f2440; color: #a9b3f5; } | |||
html.skin-theme-clientpref-night .ew-base-fm { background: #2e1d3d; color: #cfa8f3; } | |||
@media (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .ew-base-f { background: #3d2214; color: #f3a57f; } | |||
html.skin-theme-clientpref-os .ew-base-m { background: #1f2440; color: #a9b3f5; } | |||
html.skin-theme-clientpref-os .ew-base-fm { background: #2e1d3d; color: #cfa8f3; } | |||
} | |||
/* celular */ | |||
@media (max-width: 900px) { | |||
.ew-comum { grid-template-columns: 1fr; } | |||
.ew-trocas { grid-template-columns: 1fr; } | |||
} | |||
@media (max-width: 560px) { | |||
.ew-lojas .ew-itens { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } | |||
.ew-lojas .ew .wikitable.ew-tab, .ew-lojas .wikitable.ew-tab { display: table; } | |||
.ew-loja, .ew-loja tbody, .ew-loja tr, .ew-loja td, .ew-loja th { display: block; width: auto !important; } | |||
.ew-loja tr:first-child { display: none; } | |||
.ew-caixa-cab { padding-right: 14px; } | |||
.ew-caixa > .mw-collapsible-toggle { float: none; display: block; margin: 0; padding: 0 14px 10px; background: var(--ew-rose-soft); } | |||
} | |||
.ew-duas-col td:has(.ew-it) { width: 45%; } | |||
.ew-lojas .ew-tab td:not(:last-child):not(:has(.ew-it)) { min-width: 150px; } | |||
.ew-lojas .ew-loja td:not(:has(.ew-it)), .ew-lojas .ew-duas-col th:first-child { min-width: 0; } | |||
/* ========================================================= | /* ========================================================= | ||
Revisão das 12h31min de 11 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; }
/* Barras laterais (Menu principal, Conteúdos, Ferramentas, Aparência): cartões iguais */
#vector-main-menu-pinned-container,
#vector-toc-pinned-container,
#vector-page-tools-pinned-container,
#vector-appearance-pinned-container {
background: #fff !important;
border: 1px solid #f0d2cf;
border-radius: 14px;
box-shadow: 0 4px 14px rgba(184, 20, 47, .05);
box-sizing: border-box;
width: auto !important;
margin: 12px 0 14px !important;
padding: 12px 14px 10px !important;
}
#vector-main-menu-pinned-container > *,
#vector-toc-pinned-container > *,
#vector-page-tools-pinned-container > *,
#vector-appearance-pinned-container > * {
margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important;
}
.vector-main-menu-container, .vector-sticky-pinned-container { margin: 0 !important; padding: 0 !important; }
/* tira o degradê "fantasma" que ficava embaixo do sumário */
.vector-sticky-pinned-container::after { display: none !important; }
/* cabeçalho de cada cartão */
.vector-pinned-container .vector-pinnable-header {
display: flex; align-items: center; justify-content: space-between; gap: 8px;
margin: 0 0 8px !important; padding: 0 0 8px !important;
border-bottom: 1px solid #f4d6d3 !important;
}
.vector-pinned-container .vector-pinnable-header-label {
font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8f0e24;
}
.vector-pinned-container .vector-pinnable-header-toggle-button {
font-size: .72rem !important; padding: 2px 8px !important; min-height: 0 !important;
border-radius: 999px !important; background: #fdecee !important; color: #8f0e24 !important; border: 0 !important;
}
.vector-pinned-container .vector-pinnable-header-toggle-button:hover { background: #f7cbd2 !important; }
/* itens: mesmo tamanho, espaçamento e realce nos dois cartões */
.vector-pinned-container .vector-menu-heading { display: none; }
.vector-pinned-container .vector-menu-content-list,
.vector-pinned-container .vector-toc-contents { margin: 0 !important; padding: 0 !important; }
.vector-pinned-container .mw-list-item,
.vector-pinned-container .vector-toc-list-item { margin: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
.vector-pinned-container .mw-list-item > a,
.vector-pinned-container .vector-toc-link {
display: block; font-size: .9rem; line-height: 1.3;
padding: 5px 8px !important; margin: 1px -8px !important; border-radius: 8px;
text-decoration: none !important;
}
.vector-pinned-container .mw-list-item > a:hover,
.vector-pinned-container .vector-toc-link:hover { background: #fdecee; }
.vector-pinned-container .vector-toc-list-item-active > .vector-toc-link {
font-weight: 700; background: #fdecee; box-shadow: inset 3px 0 0 #b8142f;
}
.vector-pinned-container .vector-toc-list-item-active > .vector-toc-link .vector-toc-text { color: #8f0e24; }
/* Modo escuro */
html.skin-theme-clientpref-night #vector-main-menu-pinned-container,
html.skin-theme-clientpref-night #vector-toc-pinned-container,
html.skin-theme-clientpref-night #vector-page-tools-pinned-container,
html.skin-theme-clientpref-night #vector-appearance-pinned-container { background: #261a1d !important; border-color: #46292f; }
html.skin-theme-clientpref-night .vector-pinned-container .vector-pinnable-header { border-color: #46292f !important; }
html.skin-theme-clientpref-night .vector-pinned-container .vector-pinnable-header-label,
html.skin-theme-clientpref-night .vector-pinned-container .vector-toc-list-item-active > .vector-toc-link .vector-toc-text { color: #ff9aab; }
html.skin-theme-clientpref-night .vector-pinned-container .vector-pinnable-header-toggle-button { background: #3a1a20 !important; color: #ff9aab !important; }
html.skin-theme-clientpref-night .vector-pinned-container .mw-list-item > a:hover,
html.skin-theme-clientpref-night .vector-pinned-container .vector-toc-link:hover,
html.skin-theme-clientpref-night .vector-pinned-container .vector-toc-list-item-active > .vector-toc-link { background: #3a1a20; }
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 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.ew-horas span { color: var(--ew-muted); font-size: .93rem; margin-right: 4px; }
.ew-horas b { font-family: var(--ew-mono); font-weight: 500; font-size: .8rem; color: var(--ew-gold); background: var(--ew-gold-soft); padding: 2px 7px; border-radius: 6px; }
.ew-semana > div { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ew-line); }
.ew-semana > div:first-child { padding-top: 0; }
.ew-semana > div:last-child { border-bottom: 0; }
.ew-dia { font-family: var(--ew-mono); font-size: .82rem; color: var(--ew-crimson); padding-top: 2px; }
.ew-semana .ew-p, .ew-extra .ew-p { font-size: .93rem; }
.ew-sub { margin: 22px 0 10px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ew-muted); }
.ew-extra { display: grid; gap: 10px; }
.ew-extra > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-left: 3px solid var(--ew-gold); padding-left: 12px; }
.ew-hora { font-family: var(--ew-mono); font-size: .82rem; color: var(--ew-muted); white-space: nowrap; padding-top: 2px; }
.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;
}
}
/* ---------- páginas de conteúdo (classe "ew-pg") ---------- */
.ew-pg { max-width: none; }
.ew-pg-topo { margin: 4px 0 8px; }
.ew-pg .ew-lead { opacity: 1; color: var(--ew-ink); margin: 4px 0 14px; font-size: 1.05rem; }
.ew-pg .ew-ficha { background: var(--ew-rose-soft); border: 1px solid var(--ew-line); border-radius: 10px; overflow: hidden; }
.ew-pg .ew-ficha > div + div { border-left-color: var(--ew-line); }
.ew-pg .ew-ficha span { opacity: 1; color: var(--ew-muted); }
.ew-pg .ew-ficha b { color: var(--ew-wine); }
.ew-pg h2 { font-family: var(--ew-disp); font-weight: 700; margin-top: 1.6em; }
.ew-pg ul { margin-left: 1.2em; }
.ew-pg li { margin-bottom: 4px; }
.ew-pg .ew-rodape { margin-top: 28px; }
.ew-nota { margin: 12px 0; padding: 10px 14px; border-left: 3px solid var(--ew-gold); background: var(--ew-gold-soft); border-radius: 0 8px 8px 0; font-size: .95rem; }
/* tabelas */
.ew .wikitable.ew-tab { width: 100%; border-collapse: collapse; background: var(--ew-surface); color: var(--ew-ink); border: 1px solid var(--ew-line); font-size: .93rem; margin: 10px 0 14px; }
.ew .ew-tab > * > tr > th, .ew .ew-tab > tr > th { background: var(--ew-rose-soft); color: var(--ew-wine); border: 1px solid var(--ew-line); text-align: left; padding: 7px 10px; font-weight: 700; }
.ew .ew-tab > * > tr > td, .ew .ew-tab > tr > td { border: 1px solid var(--ew-line); padding: 6px 10px; vertical-align: top; }
.ew .ew-tab td[rowspan] { background: var(--ew-gold-soft); color: var(--ew-gold); font-weight: 700; vertical-align: middle; }
.ew .ew-tab code { color: var(--ew-wine); white-space: nowrap; }
.ew .ew-tab-shiny { width: auto; min-width: 360px; }
@media (max-width: 900px) {
.ew .wikitable.ew-tab { display: block; overflow-x: auto; }
}
/* sprites do Divine Pride: {{Mob}} e ícones de moeda */
.ew-mobs { display: flex; flex-wrap: wrap; gap: 4px 6px; min-width: 300px; }
.ew-mob { display: inline-flex; flex-direction: column; align-items: center; width: 62px; vertical-align: bottom; }
.ew-mob-img { display: flex; align-items: flex-end; justify-content: center; width: 52px; height: 46px; border-radius: 12px; background: var(--ew-rose-soft); padding: 3px; transition: transform .15s; }
.ew-mob:hover .ew-mob-img { transform: translateY(-3px) scale(1.06); }
.ew-mob-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; image-rendering: pixelated; }
.ew-mob-nome { font-size: .72rem; line-height: 1.15; text-align: center; color: var(--ew-muted); margin-top: 2px; }
.ew-mob-nome:empty { display: none; }
.ew-mob-shiny .ew-mob-img { background: #efe2fb; box-shadow: 0 0 0 2px #c9a3f0, 0 0 12px rgba(150, 80, 220, .45); }
.ew-mob-shiny .ew-mob-img img { filter: hue-rotate(-75deg) saturate(1.6) drop-shadow(0 0 3px rgba(170, 90, 255, .8)); }
.ew-mob-shiny .ew-mob-nome { color: #8a4fcf; font-weight: 700; }
.ew-shiny-demo { display: flex; align-items: center; gap: 10px; margin: 8px 0 12px; }
.ew-seta { color: var(--ew-muted); font-size: 1.3rem; }
.ew-moeda { display: inline-block; vertical-align: middle; margin-right: 4px; }
.ew-moeda img { width: 22px; height: 22px; image-rendering: pixelated; }
/* itens com ícone: <span class="ew-it">URL Nome</span>, vários dentro de <div class="ew-itens"> */
.ew-itens { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.ew-it { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 3px; border: 1px solid var(--ew-line); border-radius: 8px; background: var(--ew-surface); line-height: 1.2; vertical-align: middle; }
.ew-it img { width: 24px; height: 24px; object-fit: contain; image-rendering: pixelated; flex: none; }
.ew-tab th .ew-it { background: none; border: 0; padding: 0; }
.ew-pg-topo { position: relative; }
.ew-pg-mascotes { float: right; display: flex; gap: 2px; margin: 0 0 6px 12px; }
.ew-pg-mascotes .ew-mob { width: 54px; }
.ew-pg .ew-ficha { clear: both; }
.ew-pg-mascotes .ew-mob-img { background: none; }
@media (max-width: 560px) { .ew-pg-mascotes { display: none; } }
html.skin-theme-clientpref-night .ew-mob-shiny .ew-mob-img { background: #2e1d3d; }
/* ---------- página de lojas (classe "ew-lojas") ---------- */
/* atalhos no topo */
.ew-atalhos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ew .ew-atalhos a { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--ew-surface); border: 1px solid var(--ew-line); color: var(--ew-wine); font-size: .88rem; font-weight: 700; text-decoration: none; transition: background .15s, border-color .15s; }
.ew .ew-atalhos a:hover { background: var(--ew-rose-soft); border-color: var(--ew-crimson); }
/* itens em grade alinhada, como inventário */
.ew-lojas .ew-itens { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 5px; }
.ew-lojas .ew-tab:not(.ew-loja) .ew-itens { display: flex; flex-wrap: wrap; }
.ew-lojas .ew-tab td:not(:last-child):not(:has(.ew-it)), .ew-lojas .ew-tab th:first-child { width: 1%; min-width: 110px; }
.ew-lojas .ew-loja td:not(:has(.ew-it)) { min-width: 0; }
.ew-lojas .ew-itens .ew-it { display: flex; min-width: 0; padding: 3px 8px 3px 3px; font-size: .9rem; transition: border-color .15s, background .15s; }
.ew-lojas .ew-itens .ew-it:hover { border-color: var(--ew-crimson); background: var(--ew-rose-soft); }
.ew-lojas .ew-it img { width: 26px; height: 26px; padding: 1px; border-radius: 6px; background: var(--ew-rose-soft); }
.ew-lojas .ew-tab th .ew-it img, .ew-lojas .ew-npc .ew-it img { background: none; }
.ew-lojas .ew-tab td { vertical-align: middle; }
.ew-lojas .ew-tab > * > tr > th[scope="row"], .ew-lojas .ew-tab > * > tr > th:first-child:not(:only-child) { white-space: nowrap; }
/* preço com a moeda */
.ew-preco { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-family: var(--ew-mono); font-size: .85rem; font-weight: 500; color: var(--ew-gold); background: var(--ew-gold-soft); padding: 2px 8px 2px 4px; border-radius: 999px; }
.ew-preco img { width: 20px; height: 20px; image-rendering: pixelated; }
.ew-loja td:nth-child(1):not([rowspan]) { width: 1%; }
/* cards de NPC */
.ew-npcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 12px 0 16px; }
.ew-npc { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: var(--ew-surface); border: 1px solid var(--ew-line); border-top: 3px solid var(--ew-crimson); border-radius: 12px; min-width: 0; transition: border-color .15s, transform .15s; }
.ew-npc:hover { border-color: var(--ew-rose); border-top-color: var(--ew-crimson); transform: translateY(-2px); }
.ew-npc-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.ew-npc-nome { color: var(--ew-wine); font-size: 1.02rem; line-height: 1.25; }
.ew-npc-nome b { font-family: var(--ew-disp); }
.ew-pos code { font-size: .78rem; color: var(--ew-gold); background: var(--ew-gold-soft); border: 0; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.ew-pos { flex: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 3px; max-width: 55%; }
.ew-npc-txt { font-size: .93rem; color: var(--ew-ink); }
.ew-npc-extra { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--ew-line); font-size: .88rem; line-height: 1.9; }
.ew-npc-extra > span:first-child { margin-right: 4px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ew-muted); }
.ew-npc-extra .ew-it { font-size: .85rem; }
/* listas recolhíveis */
.ew-caixa { border: 1px solid var(--ew-line); border-radius: 12px; background: var(--ew-surface); margin: 8px 0 18px; overflow: hidden; }
.ew-caixa-cab { padding: 10px 14px; background: var(--ew-rose-soft); color: var(--ew-wine); font-weight: 700; padding-right: 180px; }
.ew-caixa > .mw-collapsible-toggle { float: right; margin: 7px 10px 0 0; position: relative; z-index: 1; }
.ew-caixa > .mw-collapsible-toggle a { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--ew-crimson); color: #fff !important; font-size: .82rem; font-weight: 700; text-decoration: none; }
.ew-caixa > .mw-collapsible-toggle a:hover { filter: brightness(1.1); }
.ew-caixa .mw-collapsible-toggle-default::before, .ew-caixa .mw-collapsible-toggle-default::after { content: none; }
.ew-caixa .mw-collapsible-content { padding: 4px 12px 10px; }
.ew-caixa .mw-collapsible-content > .wikitable.ew-tab { margin: 6px 0; }
.ew-caixa .mw-collapsible-content > .ew-itens { margin-top: 8px; }
/* Grace: peças comuns uma vez só */
.ew-comum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0; }
.ew-comum > div { padding: 10px 12px; border: 1px solid var(--ew-line); border-radius: 10px; background: var(--ew-surface); }
.ew-comum b { display: block; margin-bottom: 6px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ew-muted); }
.ew-comum .ew-itens { grid-template-columns: 1fr; }
.ew-base { display: inline-block; white-space: nowrap; font-size: .8rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.ew-base-f { background: #fde3d6; color: #a2401a; }
.ew-base-m { background: #e3e6fb; color: #3b47a8; }
.ew-base-fm { background: #efe2fb; color: #6e3ca8; }
/* trocas A -> B (Armas LT) */
.ew-trocas { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 6px; margin: 10px 0 16px; }
.ew-troca { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; padding: 5px 6px; border: 1px solid var(--ew-line); border-radius: 10px; background: var(--ew-surface); }
.ew-troca .ew-it { border: 0; background: none; padding: 0; min-width: 0; font-size: .9rem; }
.ew-troca .ew-it:last-child { color: var(--ew-wine); font-weight: 700; }
.ew-troca .ew-seta { font-size: 1.05rem; color: var(--ew-crimson); }
/* modo escuro */
html.skin-theme-clientpref-night .ew-base-f { background: #3d2214; color: #f3a57f; }
html.skin-theme-clientpref-night .ew-base-m { background: #1f2440; color: #a9b3f5; }
html.skin-theme-clientpref-night .ew-base-fm { background: #2e1d3d; color: #cfa8f3; }
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .ew-base-f { background: #3d2214; color: #f3a57f; }
html.skin-theme-clientpref-os .ew-base-m { background: #1f2440; color: #a9b3f5; }
html.skin-theme-clientpref-os .ew-base-fm { background: #2e1d3d; color: #cfa8f3; }
}
/* celular */
@media (max-width: 900px) {
.ew-comum { grid-template-columns: 1fr; }
.ew-trocas { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
.ew-lojas .ew-itens { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.ew-lojas .ew .wikitable.ew-tab, .ew-lojas .wikitable.ew-tab { display: table; }
.ew-loja, .ew-loja tbody, .ew-loja tr, .ew-loja td, .ew-loja th { display: block; width: auto !important; }
.ew-loja tr:first-child { display: none; }
.ew-caixa-cab { padding-right: 14px; }
.ew-caixa > .mw-collapsible-toggle { float: none; display: block; margin: 0; padding: 0 14px 10px; background: var(--ew-rose-soft); }
}
.ew-duas-col td:has(.ew-it) { width: 45%; }
.ew-lojas .ew-tab td:not(:last-child):not(:has(.ew-it)) { min-width: 150px; }
.ew-lojas .ew-loja td:not(:has(.ew-it)), .ew-lojas .ew-duas-col th:first-child { min-width: 0; }
/* =========================================================
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; }