/*
  As COMPOSIÇÕES das páginas do redesign 2026-11 (maquete aprovada): herói, destaque
  do dia, semana, notícias, regiões, ranking, eventos, status, quem está online e
  apoiar. Sincronizado com os microfrontends junto com a casca, porque a página de
  apoio mora no aplicativo de doação e usa as mesmas peças.

  Regra de composição: conteúdo em 1232px/12 colunas usando a LARGURA (7/5, 8/4, 5/7),
  fundos de seção alternados com transição em colina, um elemento dominante por seção.
*/

/* ══ HOME: herói + doca ═════════════════════════════════════════════════════════ */
.hero { position: relative; min-height: 760px; background: #3f9ae6 url("../kit/kanto-1600.jpg") 58% 40% / cover no-repeat; color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 90% at 10% 40%, rgba(16,70,150,.62), rgba(16,70,150,0) 72%), linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(20,40,40,.25)); }
.hero .hero-art { position: absolute; inset: 0; }
.hero .hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; display: block; }
.hero > .wrap { position: relative; padding-top: 96px; padding-bottom: 150px; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: 1.02; max-width: 11ch; text-shadow: 0 4px 0 rgba(15,35,80,.35); letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: #ffe066; }
.hero .lede { color: #f2f8ff; font-size: 1.25rem; max-width: 34ch; margin: 20px 0 30px; text-shadow: 0 1px 3px rgba(10,30,70,.55); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .os { margin-top: 20px; font-size: .88rem; color: #fff; display: flex; gap: 8px; flex-wrap: wrap; }
.hero .os span { background: rgba(18,40,80,.55); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 4px 12px; }
.hero .live { position: absolute; top: 28px; right: var(--gut); }
.dockwrap { margin-top: -108px; position: relative; z-index: 3; }
.dock-in { background: linear-gradient(#2b3557, #1f2742); border: 3px solid #11182b; border-radius: 20px; padding: 14px; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 12px; box-shadow: 0 -6px 24px rgba(10,20,40,.25); }
.dcell { background: var(--cream); color: #2a2d34; border: 3px solid #4a5a80; border-radius: 12px; padding: 14px 16px; display: grid; gap: 8px; align-content: start; }
a.dcell:hover { background: #fff; }
a.dcell::after { content: attr(data-more) " →"; font-size: .8rem; font-weight: 700; color: var(--red); }
.dcell .k { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-muted); display: flex; justify-content: space-between; gap: 8px; }
.dcell .big { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.15; }
.dcell .sub { font-size: .88rem; color: var(--cream-muted); }
.count { display: inline-flex; gap: 4px; font-variant-numeric: tabular-nums; font-weight: 700; }
.count b { background: #2a2d34; color: #fff; border-radius: 6px; padding: 1px 6px; font-size: .9rem; letter-spacing: 0; }

/* HOME: destaque do dia */
.spot { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 56px; align-items: center; }
.spot.solo { grid-template-columns: minmax(0,6fr) minmax(0,6fr); }
.stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stage.one { grid-template-columns: minmax(0, 340px); justify-content: center; }
.mon { position: relative; display: grid; justify-items: center; text-align: center; padding: 28px 16px 28px; border-radius: var(--r-l); background: linear-gradient(180deg, #fff 0%, #fff 55%, #eaf6dc 100%); border: 2px solid var(--cream-line); box-shadow: var(--sh-card); margin: 0; }
.mon .art { position: relative; height: 210px; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.mon .art .base { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 190px; height: 44px; background: url("../kit/battle-base.png") center / 100% 100% no-repeat; image-rendering: pixelated; z-index: 0; }
.mon .art img { position: relative; z-index: 1; margin-bottom: 16px; max-height: 190px; width: auto; }
.mon .bonus { position: absolute; top: 14px; right: 14px; font-weight: 700; font-size: .85rem; border-radius: 9px; padding: 3px 10px; border: 2px solid #4f4938; background: var(--gold); color: #3d2e00; z-index: 2; }
.mon .bonus.loot { background: #c9b6ef; color: #2e1d52; }
.spot .why { display: grid; gap: 18px; }
.spot .why ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.spot .why li { display: flex; gap: 12px; align-items: flex-start; }
.bonus-chip { flex: none; font-weight: 700; font-size: .78rem; border-radius: 9px; padding: 3px 9px; border: 2px solid #4f4938; background: var(--gold); color: #3d2e00; margin-top: 2px; white-space: nowrap; }
.bonus-chip.loot { background: #c9b6ef; color: #2e1d52; }
.timer { width: max-content; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; background: #fff; border: 2px solid var(--cream-line); border-radius: 999px; padding: 4px 14px; font-size: .9rem; }

/* HOME: esta semana */
.ev-lead { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 28px; align-items: stretch; }
.ev-feature { position: relative; overflow: hidden; border-radius: var(--r-l); min-height: 360px; color: #fff; background: #3a2a12 url("../img/gallery/flower-grove.webp") center / cover; display: grid; align-content: end; padding: 32px; border: 3px solid var(--frame); box-shadow: 0 6px 0 rgba(38,49,74,.3); }
.ev-feature::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,20,8,0) 20%, rgba(40,24,6,.82) 85%); }
.ev-feature > * { position: relative; }
.ev-feature h3 { font-size: 2.3rem; margin: 10px 0 6px; }
.ev-feature p { max-width: 38ch; color: #f6ecd9; }
.ev-feature .row { display: flex; gap: 12px; align-items: center; margin-top: 18px; flex-wrap: wrap; justify-content: space-between; }
.ev-feature .when-big { font-weight: 700; color: #ffe9b8; }
.week { background: #fff; border: 2px solid var(--line); border-radius: var(--r-l); padding: 20px; display: grid; gap: 10px; box-shadow: var(--sh-card); align-content: start; }
.week h4 { font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wk-days { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.wk-days span.today { color: #fff; background: var(--red); border-radius: 6px; }
.wk-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 6px 4px; }
.wk-grid .pill { font-size: .74rem; }
.wk-list { display: grid; gap: 8px; margin-top: 6px; border-top: 2px dashed var(--line-2); padding-top: 12px; }
.wk-list a { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.wk-list .d { display: grid; justify-items: center; line-height: 1; border: 2px solid var(--line); border-radius: 10px; padding: 5px 0; font-weight: 700; }
.wk-list .d small { font-size: .65rem; color: var(--muted); text-transform: uppercase; }
.wk-list b { display: block; font-size: .95rem; }
.wk-list span span { font-size: .82rem; color: var(--muted); }

/* HOME: notícias */
.news { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 32px; }
.news.solo { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.news-lead { display: grid; gap: 18px; align-content: start; }
.news-lead .img { aspect-ratio: 16/9; border-radius: var(--r-l); background: #7cc0ef url("../img/gallery/kanto-sky.webp") center / cover; border: 3px solid var(--frame); position: relative; overflow: hidden; }
.news-lead .img .tag { position: absolute; left: 18px; top: 18px; }
.news-lead h3 { font-size: 2rem; }
.news-lead:hover h3 { text-decoration: underline; }
.news-meta { display: flex; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.news-side { display: grid; gap: 0; align-content: start; }
.news-item { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 2px solid var(--line-2); }
.news-item:first-child { padding-top: 0; }
.news-item .th { aspect-ratio: 4/3; border-radius: 12px; background: #7cc0ef center / cover; border: 2px solid var(--line); }
.news-item h4 { font-size: 1.1rem; margin: 4px 0 6px; }
.news-item:hover h4 { text-decoration: underline; }
.news-item p { font-size: .9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .th-1 { background-image: url("../img/gallery/flower-grove-480.webp"); }
.news-item .th-2 { background-image: url("../img/gallery/bulbasaur-hill-480.webp"); }
.news-item .th-3 { background-image: url("../img/gallery/kanto-sky-480.webp"); }

/* HOME: cada região, um começo */
.final { position: relative; color: #fff; background: #2d6a2a url("../img/gallery/bulbasaur-hill.webp") center 60% / cover; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,34,72,.66), rgba(12,34,72,.5) 55%, rgba(20,50,20,.6)); }
.final > .wrap { position: relative; padding-block: 120px 96px; display: grid; justify-items: center; text-align: center; gap: 18px; }
.final h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); text-shadow: 0 3px 0 rgba(15,35,80,.35); }
.final .lede { color: #f0f6ff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.final .fine { font-size: .9rem; color: #eaf3ff; }
.regions { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; margin: 20px 0 14px; }
.region { background: rgba(251,248,238,.94); color: var(--ink); border: 3px solid var(--frame); border-radius: 20px; padding: 14px 22px 16px; display: grid; justify-items: center; gap: 6px; box-shadow: 0 5px 0 rgba(20,30,60,.35); margin: 0; }
.region > b, .region figcaption { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.trio { display: flex; gap: 10px; align-items: flex-end; }
.stand { position: relative; width: 118px; height: 132px; display: flex; align-items: flex-end; justify-content: center; }
.stand::before { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 108px; height: 26px; background: url("../kit/battle-base.png") center / 100% 100% no-repeat; image-rendering: pixelated; z-index: 0; }
/* Sem max-height: a altura vem do servidor medida no CORPO da criatura (CreatureArt.DisplayHeight);
   a tela da animação pode ser mais alta (chama, faísca) e um teto aqui encolheria o corpo. */
.stand img { position: relative; z-index: 1; margin-bottom: 10px; width: auto; }

/* ══ RANKING ═════════════════════════════════════════════════════════════════════ */
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; padding: 16px 18px; }
.seg { display: inline-flex; background: var(--cream-2); border: 2px solid var(--cream-line); border-radius: 12px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg a, .seg button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .9rem; padding: 7px 14px; border-radius: 9px; color: var(--cream-muted); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.seg a:hover { color: var(--ink); }
.seg .on { background: var(--frame); color: #fff; box-shadow: 0 2px 0 var(--frame-deep); }
.qfield { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--frame); border-radius: 12px; padding: 0 12px; height: 44px; min-width: 240px; flex: 1; }
.qfield input { border: 0; outline: 0; font: inherit; flex: 1; background: transparent; min-width: 0; color: var(--ink); }
.qfield svg { flex: none; opacity: .6; }
.qselect { font: inherit; font-weight: 700; font-size: .92rem; color: var(--ink); background: #fff; border: 2px solid var(--frame); border-radius: 12px; padding: 0 12px; height: 44px; }
.flabel { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--cream-muted); display: block; margin-bottom: 4px; }
.filters .go { align-self: end; }
.rank-layout { display: grid; grid-template-columns: minmax(0,8fr) minmax(0,4fr); gap: 32px; align-items: start; }
.rank-layout > *, .online-layout > *, .cal-wrap > *, .topic > * { min-width: 0; }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; align-items: end; margin: 28px 0 0; }
.pod { display: grid; justify-items: center; text-align: center; }
.pod .art { height: 190px; display: grid; align-items: end; justify-items: center; }
.pod .art img { max-height: 170px; width: auto; }
.pod .art .ball { width: 72px; height: 72px; opacity: .9; }
.pod .who { margin: 8px 0 28px; display: grid; gap: 2px; }
.pod .who b { font-family: var(--font-display); font-size: 1.25rem; }
.pod .who small { color: var(--muted); font-size: .85rem; }
.pod .step { width: 100%; border-radius: 16px 16px 0 0; border: 3px solid var(--frame); border-bottom: 0; display: grid; justify-items: center; align-content: start; padding-top: 14px; gap: 4px; color: var(--ink); }
.pod .step .lv { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; line-height: 1; }
.pod .step .lv small { font-size: .9rem; color: var(--cream-muted); margin-right: 4px; }
.pod .medal { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; border: 3px solid var(--frame); margin-top: -36px; background: #fff; }
.pod.p1 .step { height: 170px; background: linear-gradient(#fff7d1, #f7e39a); } .pod.p1 .medal { background: #f7d02c; }
.pod.p2 .step { height: 130px; background: linear-gradient(#f4f6fa, #d7dde8); } .pod.p2 .medal { background: #d7dde8; }
.pod.p3 .step { height: 104px; background: linear-gradient(#fbeee2, #e9bb8f); } .pod.p3 .medal { background: #e3a26a; }
.pod .party-mini { justify-content: center; margin-top: 6px; }
.podium-floor { height: 10px; background: var(--frame); border-radius: 0 0 8px 8px; margin-bottom: 36px; }
.party-mini { display: flex; gap: 2px; align-items: center; }
.party-mini span { width: 26px; height: 26px; border-radius: 50%; background: var(--cream-2); border: 2px solid var(--cream-line); display: grid; place-items: center; overflow: hidden; }
.party-mini span img { max-width: 22px; max-height: 22px; }
.rtable { background: #fff; border: 2px solid var(--line); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--sh-card); }
.rrow { display: grid; grid-template-columns: 56px minmax(0,2.4fr) 90px minmax(0,1.6fr) minmax(0,1.6fr); gap: 14px; align-items: center; padding: 12px 18px; border-bottom: 2px solid var(--line-2); font-size: .95rem; }
.rrow:last-child { border-bottom: 0; }
.rrow.head { background: var(--sky); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding-block: 10px; }
.rrow.me { background: #fff7e0; box-shadow: inset 4px 0 0 var(--red); }
.rrow:not(.head):hover { background: #f6fafe; }
.rrow.me:hover { background: #fff3d2; }
.rrow .pos { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--muted); }
.rrow .nm { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rrow .nm > span:last-child { min-width: 0; }
.rrow .nm b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rrow .nm small { display: block; color: var(--muted); font-size: .8rem; }
.rrow .lvl { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.xp { display: grid; gap: 3px; font-size: .75rem; color: var(--muted); }
.xp .bar { height: 8px; background: #e7edf5; border-radius: 99px; border: 1px solid #c9d6e6; overflow: hidden; }
.xp .bar i { display: block; height: 100%; background: linear-gradient(#7ad35a, #3f9a2e); }
.trend { font-size: .75rem; font-weight: 700; margin-left: 6px; }
.trend.up { color: var(--ok); } .trend.dn { color: var(--bad); }
.rpager { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: .9rem; color: var(--muted); gap: 10px; flex-wrap: wrap; }
.rpager .pages { display: flex; gap: 6px; flex-wrap: wrap; }
.rpager .pages a, .rpager .pages span { min-width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 10px; font-weight: 700; color: var(--ink); padding-inline: 6px; }
.rpager .pages a:hover { border-color: var(--frame); }
.rpager .pages .on { background: var(--frame); border-color: var(--frame); color: #fff; }
.side { display: grid; gap: 20px; }
.side .wcard { padding: 20px; }
.side h3 { font-size: 1.05rem; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mine { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.mine .bigpos { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--red); }
.movers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.movers li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; font-size: .92rem; }
.movers small { color: var(--muted); }
.empty-note { color: var(--muted); font-size: .92rem; }

/* ══ EVENTOS ═════════════════════════════════════════════════════════════════════ */
.now-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.now { position: relative; overflow: hidden; border-radius: var(--r-l); color: #fff; padding: 22px; min-height: 190px; display: grid; align-content: space-between; gap: 14px; border: 3px solid rgba(0,0,0,.25); box-shadow: 0 5px 0 rgba(38,49,74,.25); background: linear-gradient(135deg, #7d8899, #555f70); }
.now .ball { position: absolute; right: -18px; bottom: -18px; width: 140px; height: 140px; opacity: .22; transform: rotate(-14deg); }
.now h3 { font-size: 1.4rem; margin: 8px 0 4px; max-width: 16ch; }
.now p { font-size: .9rem; opacity: .92; max-width: 26ch; }
.now .when { display: inline-flex; gap: 6px; align-items: center; background: rgba(0,0,0,.25); border-radius: 999px; padding: 3px 12px; font-weight: 700; font-size: .82rem; width: max-content; }
.now .tag { background: rgba(0,0,0,.25); }
.now.raid { background: linear-gradient(135deg, #b4661a, #7c430e); }
.now.xp { background: linear-gradient(135deg, #3a9147, #226030); }
.now.tour { background: linear-gradient(135deg, #d0473a, #962a20); }
.now.season { background: linear-gradient(135deg, #8a6fbb, #5b4386); }
.now.comm { background: linear-gradient(135deg, #7d8027, #4f5214); }
.now.maint { background: linear-gradient(135deg, #7d8899, #555f70); }
.cal-wrap { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 28px; align-items: start; }
.cal { padding: 22px; }
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.cal-top h2 { font-size: 2rem; display: flex; align-items: center; gap: 12px; }
.cal-nav { display: flex; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; background: var(--cream); border: 0; box-shadow: inset 0 0 0 3px var(--frame), 0 3px 0 var(--frame-deep); font-weight: 700; font-size: 1.1rem; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.legend .chip { font-size: .8rem; padding: 3px 10px; }
.legend .chip i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.cal-head { display: grid; grid-template-columns: repeat(7,1fr); font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--cream-muted); padding: 0 0 6px; }
.cal-head span { padding-left: 10px; }
.cal-week { position: relative; display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); min-height: 124px; border-top: 2px solid var(--cream-line); }
.cal-week .d { border-right: 2px solid var(--cream-line); padding: 8px 10px; font-weight: 700; font-size: .92rem; color: #2a2d34; }
.cal-week .d:last-of-type { border-right: 0; }
.cal-week .d.out { color: #b7ae95; background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(227,220,198,.35) 8px 10px); }
.cal-week .d.past { color: #9b9482; }
.cal-week .d.today { background: #fff; }
.cal-week .d.today span { background: var(--red); color: #fff; border-radius: 8px; padding: 1px 7px; }
.cal-week .more-n { display: block; font-size: .72rem; color: var(--cream-muted); margin-top: 84px; }
.cal-bars { position: absolute; left: 0; right: 0; top: 36px; display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); grid-auto-rows: 24px; row-gap: 5px; padding: 0 4px; pointer-events: none; }
.cal-bars .pill { pointer-events: auto; font-size: .76rem; margin: 0 3px; border-radius: 7px; display: flex; gap: 6px; }
.cal-bars .pill.cont-l { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: 0; }
.cal-bars .pill.cont-r { border-top-right-radius: 0; border-bottom-right-radius: 0; margin-right: 0; }
.agenda { padding: 0; overflow: hidden; }
.ag-week { padding: 12px 18px; font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: var(--sky); border-bottom: 2px solid var(--line-2); }
.ag-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 14px 18px; border-bottom: 2px solid var(--line-2); }
.ag-item:last-child { border-bottom: 0; }
.ag-item .d { display: grid; justify-items: center; line-height: 1.05; font-weight: 700; font-family: var(--font-display); font-size: 1.3rem; }
.ag-item .d small { font-size: .65rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-family: var(--font-sans); }
.ag-item b { display: flex; gap: 8px; align-items: center; font-size: 1rem; }
.ag-item span { font-size: .85rem; color: var(--muted); }
.ag-item.on-now { background: #fff7e0; box-shadow: inset 4px 0 0 var(--red); }
.ag-empty { padding: 18px; color: var(--muted); font-size: .92rem; }

/* ══ STATUS ══════════════════════════════════════════════════════════════════════ */
.overall { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 24px 28px; }
.overall .big-ok { width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #7be08a, #2e9a40); border: 4px solid #1d6b2a; display: grid; place-items: center; color: #fff; font-size: 2rem; font-weight: 700; box-shadow: 0 4px 0 #14501f; }
.overall .big-ok.warn { background: radial-gradient(circle at 35% 30%, #ffd17a, #e08a00); border-color: #8a5200; box-shadow: 0 4px 0 #6b4000; }
.overall .big-ok.bad { background: radial-gradient(circle at 35% 30%, #ff8a7a, #c0392b); border-color: #7d1a10; box-shadow: 0 4px 0 #5e140c; }
.overall .big-ok.unk { background: radial-gradient(circle at 35% 30%, #c9d6e6, #7d8899); border-color: #55627a; box-shadow: 0 4px 0 #3b4a6b; }
.overall h2 { font-size: 2rem; }
.svc-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 24px; }
.svc { display: grid; gap: 10px; padding: 20px; }
a.svc:hover { border-color: var(--frame); }
.svc .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.svc h3 { font-size: 1.2rem; display: flex; gap: 10px; align-items: center; }
.svc .k { display: flex; gap: 18px; font-size: .88rem; color: var(--muted); }
.svc .k b { color: var(--ink); font-size: 1.05rem; font-family: var(--font-display); display: block; }
.st { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .85rem; border-radius: 999px; padding: 3px 12px; white-space: nowrap; }
.st.ok { background: #e3f5e5; color: #1d6b2a; } .st.warn { background: #fff1d6; color: #8a5200; } .st.bad { background: #fde3df; color: #9c2a1e; } .st.unk { background: #e7edf5; color: #3b4a6b; }
.topic { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 40px; padding-block: 44px; border-top: 2px solid var(--line); }
.topic:first-of-type { border-top: 0; }
.topic aside h2 { font-size: 1.6rem; margin: 10px 0 8px; }
.topic aside p { color: var(--muted); font-size: .95rem; }
.topic aside .metrics { display: grid; gap: 12px; margin-top: 18px; }
.topic aside .metrics div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 2px dashed var(--line); padding-bottom: 6px; font-size: .92rem; }
.topic aside .metrics b { font-family: var(--font-display); font-size: 1.05rem; }
.uptime { padding: 20px 22px; }
.uptime .hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 10px; }
.uptime .hd b { font-family: var(--font-display); font-size: 1.1rem; }
.bars90 { display: grid; grid-template-columns: repeat(90,1fr); gap: 2px; height: 40px; }
.bars90 i { border-radius: 2px; background: #3fae4f; }
.bars90 i.p { background: #f0a020; } .bars90 i.d { background: #e0412f; } .bars90 i.n { background: repeating-linear-gradient(135deg, #e7edf5 0 3px, #d5dfeb 3px 5px); }
.bars90 i:hover { outline: 2px solid var(--ink); }
.axis { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-top: 6px; }
.uptime .legend { margin-top: 12px; }
.uptime .legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.inc { margin-top: 18px; display: grid; gap: 0; }
.inc-item { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-top: 2px solid var(--line-2); }
.inc-item .when { font-size: .85rem; color: var(--muted); font-weight: 700; }
.inc-item b { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inc-item p { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.spark { display: flex; align-items: end; gap: 2px; height: 46px; }
.spark i { flex: 1; background: #9cc8f0; border-radius: 2px 2px 0 0; min-height: 2px; }

/* ══ QUEM ESTÁ ONLINE ════════════════════════════════════════════════════════════ */
.online-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 32px; align-items: start; }
.ofilters { padding: 18px; display: grid; gap: 14px; }
.ofilters .line { display: flex; gap: 14px; flex-wrap: wrap; align-items: end; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.result-bar { display: flex; justify-content: space-between; align-items: center; margin: 18px 2px 12px; font-size: .92rem; color: var(--muted); flex-wrap: wrap; gap: 6px; }
.result-bar b { color: var(--ink); }
.olist { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.oc { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; gap: 14px; align-items: center; background: #fff; border: 2px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; box-shadow: 0 3px 0 rgba(59,74,107,.12); }
.oc .avatar { width: 52px; height: 52px; }
.oc b { display: block; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc small { display: block; color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc .lv { text-align: right; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.oc .lv small { font-family: var(--font-sans); font-weight: 400; font-size: .72rem; }
.dist { display: grid; gap: 9px; font-size: .88rem; }
.dist div { display: grid; grid-template-columns: 86px 1fr 28px; gap: 10px; align-items: center; }
.dist i { display: block; height: 12px; border-radius: 4px; background: #6390f0; }
.dist span:last-child { text-align: right; font-weight: 700; }
.empty { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 36px 20px; border: 2px dashed var(--line); border-radius: var(--r-m); background: #fff; }
.empty h3 { font-size: 1.2rem; }
.empty .wobble { margin-bottom: 4px; }

/* ══ APOIAR ══════════════════════════════════════════════════════════════════════ */
.packs { display: grid; grid-template-columns: repeat(var(--packs, 4), minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 20px 22px; background: #fff; border: 2px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-card); }
.pack.feat { border: 3px solid var(--frame); background: var(--cream); transform: translateY(-12px); box-shadow: 0 6px 0 rgba(38,49,74,.3); }
.pack .ribbon { position: absolute; top: -14px; background: var(--red); color: #fff; font-weight: 700; font-size: .78rem; border-radius: 999px; padding: 3px 14px; box-shadow: 0 3px 0 var(--red-deep); letter-spacing: .04em; text-transform: uppercase; }
.gems { height: 110px; display: flex; align-items: end; justify-content: center; }
.gem { width: 48px; height: 42px; margin: 0 -6px; filter: drop-shadow(0 3px 0 rgba(30,60,120,.25)); }
.pack .qty { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; line-height: 1; margin-top: 6px; }
.pack .qty small { font-size: .9rem; color: var(--muted); display: block; font-weight: 400; margin-top: 4px; }
.pack .bonus { font-size: .85rem; font-weight: 700; color: var(--ok); min-height: 1.2em; }
.pack .price { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin: auto 0 12px; padding-top: 10px; }
.pack .btn { width: 100%; }
.pay { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 26px; color: var(--muted); font-size: .9rem; flex-wrap: wrap; text-align: center; }
.split { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 56px; align-items: start; }
.costs { display: grid; gap: 0; padding: 8px 22px; }
.costs > div { display: grid; grid-template-columns: 16px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 2px solid var(--line-2); }
.costs > div:last-child { border-bottom: 0; }
.costs i { width: 16px; height: 16px; border-radius: 4px; }
.costs b { font-family: var(--font-display); display: block; }
.costs span { font-size: .88rem; color: var(--muted); display: block; }
.never { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 20px; }
.never div { display: flex; gap: 10px; align-items: center; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: .92rem; }
.never div::before { content: "✕"; width: 24px; height: 24px; border-radius: 50%; background: #fde3df; color: var(--bad); display: grid; place-items: center; font-size: .8rem; flex: none; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 2px solid var(--line); border-radius: var(--r-m); padding: 0 20px; }
.faq details[open] { border-color: var(--frame); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }
.wobble { width: 81px; height: 81px; background: url("../kit/pokeball-wobble-54.png") 0 0 / auto 81px; animation: wob 1.8s steps(30) infinite; }
@keyframes wob { to { background-position: -2430px 0; } }
.skel { background: linear-gradient(90deg, #eef2f7 0, #f8fafc 40%, #eef2f7 80%); background-size: 200% 100%; animation: sk 1.4s linear infinite; border-radius: 10px; }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel, .wobble, .live .dot { animation: none; } }

/* ══ PÁGINAS DE TEXTO (regras, legal, notícia, suporte) ═════════════════════════ */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin: 32px 0 10px; }
.prose h3 { font-size: 1.2rem; margin: 24px 0 8px; }
.prose p, .prose li { color: #33405a; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.read-layout { display: grid; grid-template-columns: minmax(0,8fr) minmax(0,4fr); gap: 40px; align-items: start; }
.read-layout > * { min-width: 0; }

/* ══ RESPONSIVO ══════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(16,60,130,.62) 0%, rgba(16,60,130,.45) 55%, rgba(16,60,130,.15)); }
  .hero > .wrap { padding-top: 56px; padding-bottom: 40px; }
  .hero h1 { font-size: 2.8rem; }
  .hero .lede { font-size: 1.05rem; }
  .hero .live { position: static; margin-bottom: 18px; width: max-content; }
  .dockwrap { margin-top: 0; padding-inline: 0; }
  .dock-in { grid-template-columns: 1fr; border-radius: 0; border-left: 0; border-right: 0; padding: 10px; gap: 8px; }
  .spot, .spot.solo, .ev-lead, .news, .news.solo, .rank-layout, .cal-wrap, .online-layout, .split, .topic, .read-layout { grid-template-columns: 1fr; }
  .spot { gap: 28px; }
  .stage { gap: 10px; }
  .mon { padding: 18px 8px 14px; }
  .mon .art { height: 140px; }
  .mon .art .base { width: 120px; height: 28px; }
  .mon .art img { max-height: 110px; margin-bottom: 10px; }
  .mon .bonus { top: 8px; right: 8px; font-size: .72rem; }
  .ev-feature { min-height: 300px; padding: 22px; }
  .ev-feature h3 { font-size: 1.7rem; }
  .news-item { grid-template-columns: 92px 1fr; }
  .news-lead h3 { font-size: 1.5rem; }
  .now-row, .svc-row, .packs { grid-template-columns: 1fr; }
  .olist { grid-template-columns: 1fr; }
  .final > .wrap { padding-block: 72px 64px; }
  .regions { gap: 12px; }
  .region { padding: 10px 8px 12px; width: 100%; }
  .trio { width: 100%; justify-content: space-around; }
  .stand { width: 30%; height: 96px; }
  .stand::before { width: 84px; height: 20px; }
  .stand img { margin-bottom: 8px; transform: scale(.574); transform-origin: 50% 100%; }
  .filters { padding: 14px; }
  .qfield { min-width: 0; flex-basis: 100%; }
  .podium { gap: 8px; margin-top: 20px; }
  .pod .art { height: 96px; }
  .pod .art img { max-height: 76px; }
  .pod .who { margin-bottom: 24px; }
  .pod .who b { font-size: 1rem; }
  .pod .who small, .pod .party-mini { display: none; }
  .pod .step .lv { font-size: 1.5rem; }
  .pod.p1 .step { height: 120px; } .pod.p2 .step { height: 94px; } .pod.p3 .step { height: 76px; }
  .rrow { grid-template-columns: 40px minmax(0,1fr) 54px; padding: 12px; }
  .rrow > :nth-child(4), .rrow > :nth-child(5) { display: none; }
  .rank-layout .side { order: -1; }
  .rpager { flex-direction: column; }
  .cal { padding: 14px; }
  .cal-top h2 { font-size: 1.5rem; }
  .cal-head span { padding-left: 4px; font-size: .62rem; }
  .cal-week { min-height: 64px; }
  .cal-week .d { padding: 4px; font-size: .78rem; }
  .cal-week .more-n { display: none; }
  .cal-bars { top: 26px; grid-auto-rows: 7px; row-gap: 3px; padding: 0 2px; }
  .cal-bars .pill { font-size: 0; padding: 0; margin: 0 1px; border-radius: 3px; box-shadow: none; }
  .overall { grid-template-columns: auto 1fr; padding: 18px; }
  .overall > :last-child { grid-column: 1 / -1; }
  .overall h2 { font-size: 1.4rem; }
  .overall .big-ok { width: 52px; height: 52px; font-size: 1.4rem; }
  .topic { gap: 20px; padding-block: 32px; }
  .bars90 { grid-template-columns: repeat(45,1fr); height: 30px; }
  .bars90 i:nth-child(-n+45) { display: none; }
  .inc-item { grid-template-columns: 1fr; gap: 4px; }
  .packs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pack.feat { order: -1; grid-column: 1 / -1; transform: none; }
  .pack { padding: 18px 10px 14px; }
  .gems { height: 70px; } .gem { width: 34px; height: 30px; }
  .pack .qty { font-size: 1.6rem; }
  .never { grid-template-columns: 1fr; }
}

/* ══ LISTAS DAS PÁGINAS SECUNDÁRIAS ════════════════════════════════════════════
   Notícias, regras e afins usam a largura em duas colunas, nunca uma coluna estreita
   no meio da tela. */
.news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.news-card { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; padding: 16px; align-items: start; }
.news-card:hover { border-color: var(--frame); }
.news-card:hover h2 { text-decoration: underline; }
.news-card .th { aspect-ratio: 4/3; border-radius: 12px; background: #7cc0ef center / cover; border: 2px solid var(--line); }
.news-card .th-1 { background-image: url("../img/gallery/flower-grove-480.webp"); }
.news-card .th-2 { background-image: url("../img/gallery/bulbasaur-hill-480.webp"); }
.news-card .th-3 { background-image: url("../img/gallery/kanto-sky-480.webp"); }
.news-card h2 { font-size: 1.2rem; margin: 6px 0; overflow-wrap: anywhere; }
.news-card p { font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rules-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rule { padding: 22px; }
.rule h2 { font-size: 1.15rem; margin-bottom: 8px; }
.rule p { font-size: .92rem; }
.rule .rule-consequence { margin-top: 12px; padding-top: 12px; border-top: 2px dashed var(--line-2); color: var(--muted); }
@media (max-width: 960px) {
  .news-list, .rules-grid { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 92px minmax(0, 1fr); }
}

/* ══ RODADA DE REVISÃO (ux-quality + game-design) ══════════════════════════════ */
.wk-grid { overflow: hidden; }
.wk-grid .pill { min-width: 0; }
.pack { min-width: 0; }
.pack .btn { white-space: normal; }
.cal-week { min-height: max(124px, calc(40px + var(--lanes, 0) * 29px)); }
.cal-week .more-n { display: inline-block; margin-top: 0; position: absolute; bottom: 6px; font-weight: 700; color: var(--red); text-decoration: underline; }
.cal-week .d { position: relative; }
.ag-item:target { background: #fff7e0; box-shadow: inset 4px 0 0 var(--red); }
.topic aside .metrics div > b { white-space: nowrap; text-align: right; }
.filters .go, .ofilters .go { align-self: end; height: 44px; }
.js .filters .go.auto, .js .ofilters .go.auto { display: none; }
.result-bar { flex-wrap: wrap; }
.ev-feature.empty-art { min-height: 300px; }
.spark i.n { background: repeating-linear-gradient(135deg, #e7edf5 0 3px, #d5dfeb 3px 5px); }
.mon .art img { min-height: 120px; }
@media (max-width: 960px) {
  .hero > .wrap { padding-bottom: 72px; }
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal-week { min-height: max(64px, calc(30px + var(--lanes, 0) * 10px)); }
  .cal-wrap .agenda { order: -1; }
  .cal-hint { display: block !important; }
  .mon .art img { min-height: 0; }
}
@media (max-width: 360px) { .packs { grid-template-columns: 1fr; } }
.ev-feature .ball { position: absolute; right: 26px; top: 22px; width: 110px; height: 110px; opacity: .8; transform: rotate(-12deg); }
@media (max-width: 960px) { .ev-feature .ball { width: 72px; height: 72px; right: 16px; top: 16px; } }
