/* New pages use the same header, footer, type and colours as /inicio/. */
body:has(.portal) { min-width: 0; }
.portal.container { box-sizing: border-box; width: calc(100% - 32px); max-width: 1100px; margin: 28px auto 64px; font: 17px/1.5 Asap, sans-serif; color: #414141; }
.portal *, .portal *::before, .portal *::after { box-sizing: border-box; }
.portal-heading { margin: 0 0 24px; }
.portal-heading h1 { color: #b73527; font-size: 30px; line-height: 1.2; margin: 10px 0; }
.portal a { color: #2078a9; text-decoration: none; }
.portal a:hover { text-decoration: underline; }
.portal-back { font-size: 16px; }
.portal-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.portal-tabs a, .portal button, .portal .btnFlat, .portal .btnV3, .portal .btnFlatGreen { display: inline-block; position: static; border: 1px solid #d8d8d8; border-radius: 7px; padding: 9px 18px; background: white; font: inherit; color: #2078a9; cursor: pointer; min-height: 42px; }
.portal-tabs a[aria-current], .portal button { background: #287daf; color: white; border-color: #287daf; }
.portal-toolbar { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; margin: 0 0 24px; }
.portal-toolbar form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.portal input:not([type=hidden]):not([type=checkbox]):not([type=radio]), .portal select, .portal textarea { max-width: 100%; border: 1px solid #aaa; border-radius: 6px; padding: 9px; font: inherit; background: white; color: #333; min-height: 42px; }
.portal input[type=checkbox], .portal input[type=radio] { width: 18px; height: 18px; }
.portal input[type=submit] { font: 17px/1.4 Asap, sans-serif !important; cursor: pointer; background: #287daf !important; color: white !important; border-radius: 7px; padding: 9px 18px; }
.portal :focus-visible { outline: 3px solid #df9a12; outline-offset: 3px; }
.portal-card, .portal .newstyle-div, .portal .altmail-div { background: #fff; border: 1px solid #ddd; border-radius: 10px; padding: 22px; margin-bottom: 22px; box-shadow: 0 2px 5px #00000008; }
.portal h2 { font-size: 22px; margin: 0 0 16px; color: #555; }
.portal p { line-height: 1.5; }
.portal .portal-empty { color: #666; padding: 24px 0; }
.portal .portal-scroll { overflow-x: auto; max-width: 100%; }
.portal table { border-collapse: collapse; width: 100%; }
.portal td, .portal th { padding: 10px; text-align: left; border-bottom: 1px solid #e5e5e5; vertical-align: top; }
.portal th { background: #f6f6f6; font-weight: bold; white-space: nowrap; }
.portal .portal-matches { font-size: 15px; }
.portal .portal-matches td { white-space: nowrap; }
.portal-match { border: 2px solid #bacdd8; border-radius: 8px; overflow: hidden; margin: 20px 0; }
.portal-match-heading { padding: 12px 14px; background: #edf4f8; border-bottom: 1px solid #bacdd8; }
.portal .portal-match-heading h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0; font-size: 17px; }
.portal .portal-match-heading p { margin: 6px 0 0; font-size: 14px; }
.portal-match-result { font-weight: bold; padding: 3px 10px; border: 1px solid currentColor; border-radius: 5px; background: white; }
.portal .portal-match-help { font-size: 15px; }
.portal .portal-matches .portal-match-team { min-width: 190px; width: 260px; max-width: 260px; white-space: normal; font-weight: normal; background: white; }
.portal-team-label { display: block; font-size: 13px; font-weight: bold; color: #555; margin-bottom: 3px; }
.portal .portal-match-score { font-size: 18px; font-weight: bold; }
.portal .portal-matches tbody tr:last-child > * { border-bottom: 0; }
.portal .portal-positive { color: #237139; }
.portal .portal-negative { color: #b73527; }
.portal-calendars { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.portal .portal-calendar { table-layout: fixed; font-size: 14px; }
.portal .portal-calendar td, .portal .portal-calendar th { text-align: center; padding: 5px 2px; }
.portal .portal-calendar small { display: block; font-size: 11px; }
.portal .portal-trophy-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(170px,1fr)); gap: 16px; }
.portal-trophy { text-align: center; padding: 16px; background: #f8f8f8; border-radius: 8px; }
.portal-trophy img { width: 80px; height: 80px; object-fit: contain; }
.portal-trophy p { margin: 10px 0 4px; }
.portal-trophy small { color: #666; }
.portal progress { width: 100%; height: 18px; accent-color: #287daf; }
.portal .content, .portal .text { width: auto !important; min-width: 0 !important; min-height: 0 !important; padding: 0; margin: 0; float: none; }
.portal .content > div, .portal .text > div { max-width: 100%; }
.portal .title { margin: 0 0 18px; height: auto; background: none; }
.portal .pageTitle { font-size: 23px; }
.portal .topFita { height: auto; background: none; margin: 20px 0 12px; }
.portal .topFita > div:not(.fitaL):not(.fitaR) { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
.portal .topFita p { position: static !important; font-size: 20px !important; font-weight: bold; margin: 0; }
.portal .fitaL, .portal .fitaR, .portal .spacerr { display: none; }
.portal .iText, .portal .iText > span, .portal .iText > span > span, .portal .iSelect, .portal .iSelect > span { background: none; float: none !important; margin: 0 !important; padding: 0 !important; height: auto; }
.portal .noFloat { clear: both; }
.portal .forumTb { min-width: 620px; }
.portal[data-portal-page=search] .title { display: none; }
.portal-content { overflow-wrap: anywhere; }
body:has(.portal) > #allFooter { position: static; }
body:has(.portal) > .fakeFooter { display: none; }
@media (max-width: 700px) {
  .portal.container { width: calc(100% - 20px); margin-top: 20px; }
  .portal-heading h1 { font-size: 26px; }
  .portal-calendars { grid-template-columns: 1fr; }
  .portal-card, .portal .newstyle-div, .portal .altmail-div { padding: 14px; }
  .portal .newstyle-div { overflow-x: auto; }
  .portal-toolbar, .portal-toolbar form { width: 100%; }
  .portal-toolbar select, .portal-toolbar input { flex: 1; min-width: 120px; }
  .portal .content > div, .portal .text > div { width: auto !important; }
  .portal .altmail-div p { margin-left: 0 !important; }
  .portal .altmail-div form > div { width: auto !important; max-width: 100%; margin-left: 0 !important; float: none !important; }
  .portal .bbottom { display: flex; gap: 12px; flex-wrap: wrap; }
  .portal .bbottom > * { margin: 0 !important; }
  .portal .bordinha, .portal #quickReply { width: 100%; min-width: 0; }
  .portal #quickReply textarea { width: 100% !important; }
}
@media print { .portal-tabs, .portal-toolbar, .portal-back, #allHeader, #allFooter, #chatBar { display: none !important; } .portal.container { width: 100%; margin: 0; } }
