/* ==========================================================================
   Mythera — tema "Tibia 8.0 modernizado"
   Carregado depois de basic.css: sobrescreve o chrome antigo (imagens/sprites)
   e moderniza os elementos de conteúdo (tabelas, formulários, botões).
   ========================================================================== */

@font-face {
	font-family: 'Martel';
	src: url('martel.ttf') format('truetype');
	font-weight: 400 700;
	font-display: swap;
}

:root {
	/* paleta */
	--ink-900: #070a0f;
	--ink-800: #0b1017;
	--ink-700: #111821;
	--ink-600: #182231;
	--line: rgba(201, 162, 39, 0.22);
	--line-soft: rgba(255, 255, 255, 0.07);

	--parchment: #f3e8d2;
	--parchment-2: #e8d9bd;
	--parchment-ink: #241d15;
	--parchment-muted: #5c4f3d;

	--gold: #c9a227;
	--gold-bright: #e8c65a;
	--gold-deep: #8d6b12;

	--green: #3fbf7f;
	--red: #e05a5a;

	--text: #d9e2ec;
	--text-dim: #9aa8b8;

	--radius: 12px;
	--radius-sm: 8px;
	--shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
	--shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.28);

	--serif: Georgia, 'Times New Roman', 'Nimbus Roman', 'Liberation Serif', serif;
	--sans: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------------------------------------------------------------- base ---- */

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	color: var(--text);
	background:
		radial-gradient(1200px 600px at 50% -180px, rgba(201, 162, 39, 0.12), transparent 70%),
		linear-gradient(180deg, var(--ink-800) 0%, var(--ink-900) 100%);
	background-attachment: fixed;
	font-family: var(--sans);
	font-size: 15px;
	line-height: 1.6;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--gold-bright);
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover,
a:focus-visible {
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--gold-bright);
	outline-offset: 2px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--gold);
	color: #1a1408;
	padding: 10px 16px;
	border-radius: 0 0 var(--radius-sm) 0;
	font-weight: 700;
}

.skip-link:focus {
	left: 0;
}

.wrap {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

/* -------------------------------------------------------------- header ---- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(7, 10, 15, 0.88);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 20px;
	row-gap: 6px;
	padding-top: 12px;
	padding-bottom: 8px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
	color: var(--text);
}

.brand:hover {
	color: var(--text);
}

.brand__sigil {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(160deg, var(--gold-bright), var(--gold-deep));
	box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.35), 0 6px 16px rgba(201, 162, 39, 0.28);
	color: #1b1407;
	font-family: var(--serif);
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}

.brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.brand__text strong {
	font-family: var(--serif);
	font-size: 19px;
	letter-spacing: 0.3px;
	color: #f6ead0;
}

.brand__text small {
	color: var(--text-dim);
	font-size: 11px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
}

/* menu principal */

.mainnav {
	display: flex;
	align-items: center;
	gap: 4px;
	order: 5;
	flex: 1 1 100%;
	min-width: 0;
	overflow-x: auto;
}

.navgroup {
	position: relative;
}

.navgroup__btn {
	appearance: none;
	background: none;
	border: 0;
	color: var(--text);
	font: inherit;
	font-weight: 600;
	font-size: 14px;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	cursor: pointer;
	white-space: nowrap;
}

.navgroup__btn:hover,
.navgroup__btn[aria-expanded='true'],
.navgroup:focus-within .navgroup__btn {
	color: var(--gold-bright);
	background: rgba(201, 162, 39, 0.08);
}

.navgroup__menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 210px;
	display: none;
	flex-direction: column;
	padding: 8px;
	background: var(--ink-700);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
}

.navgroup__menu a {
	display: block;
	padding: 8px 10px;
	border-radius: 6px;
	color: var(--text);
	font-size: 14px;
}

.navgroup__menu a:hover,
.navgroup__menu a:focus-visible {
	background: rgba(201, 162, 39, 0.12);
	color: var(--gold-bright);
}

.navgroup:hover .navgroup__menu,
.navgroup:focus-within .navgroup__menu,
.navgroup.is-open .navgroup__menu {
	display: flex;
}

/* ações do header */

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	flex: 0 0 auto;
}

.server-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border: 1px solid var(--line-soft);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-dim);
	font-size: 12.5px;
	white-space: nowrap;
}

.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--text-dim);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.is-online .dot,
.dot--on {
	background: var(--green);
	box-shadow: 0 0 0 3px rgba(63, 191, 127, 0.18);
}

.is-offline .dot,
.dot--off {
	background: var(--red);
	box-shadow: 0 0 0 3px rgba(224, 90, 90, 0.18);
}

/* botões */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 16px;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text);
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
	color: #fff;
	border-color: var(--line);
	background: rgba(255, 255, 255, 0.08);
	transform: translateY(-1px);
}

.btn--gold {
	background: linear-gradient(170deg, var(--gold-bright), var(--gold));
	border-color: var(--gold-deep);
	color: #1c1507;
}

.btn--gold:hover {
	background: linear-gradient(170deg, #f2d879, var(--gold-bright));
	color: #120d04;
}

.btn--ghost {
	background: transparent;
	border-color: var(--line);
	color: var(--gold-bright);
}

.btn--block {
	display: flex;
	width: 100%;
}

/* toggle mobile */

.navtoggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 42px;
	height: 42px;
	padding: 0 10px;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.03);
	cursor: pointer;
}

.navtoggle span {
	display: block;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
}

/* -------------------------------------------------------------- layout ---- */

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 28px;
	align-items: start;
	padding-top: 28px;
	padding-bottom: 48px;
}

.content {
	min-width: 0;
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	color: var(--text-dim);
	font-size: 13px;
}

.breadcrumb a {
	color: var(--text-dim);
}

.breadcrumb a:hover {
	color: var(--gold-bright);
}

.breadcrumb span[aria-hidden] {
	color: var(--gold);
}

/* ---------------------------------------------------------- card (box) ---- */

.card {
	position: relative;
	min-width: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 120px),
		var(--ink-700);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}

.card::before {
	content: '';
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
}

.card__head {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 22px 26px 0;
}

.card__title {
	margin: 0;
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0.2px;
	color: #f7ecd4;
}

.card__rule {
	flex: 1 1 auto;
	height: 1px;
	background: linear-gradient(90deg, var(--line), transparent);
}

.card__body {
	padding: 18px 26px 26px;
	color: var(--text);
	overflow-x: auto;
	overflow-wrap: anywhere;
}

/* --------------------------------------------------------- sidebar box ---- */

.sidebar {
	display: flex;
	flex-direction: column;
	gap: 18px;
	position: sticky;
	top: 96px;
}

.panel {
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)), var(--ink-800);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

.panel__head {
	padding: 12px 16px;
	border-bottom: 1px solid var(--line-soft);
	background: linear-gradient(90deg, rgba(201, 162, 39, 0.16), rgba(201, 162, 39, 0));
}

.panel__head h2,
.panel__title {
	margin: 0;
	font-family: var(--serif);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--gold-bright);
}

.panel__body {
	padding: 14px 16px 16px;
	font-size: 14px;
}

.status-line {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px;
	color: var(--text-dim);
	font-size: 13px;
}

.status-players {
	margin: 0 0 14px;
	font-family: var(--serif);
	font-size: 28px;
	line-height: 1.1;
	color: #f7ecd4;
}

.status-players small {
	display: block;
	font-family: var(--sans);
	font-size: 12px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--text-dim);
}

/* listas dentro de painéis */

.panel__body ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.panel__body li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 0;
	border-bottom: 1px dashed var(--line-soft);
	font-size: 13.5px;
}

.panel__body li:last-child {
	border-bottom: 0;
}

.panel__media {
	display: block;
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.panel__media img {
	display: block;
	width: 100%;
}

.panel__question {
	margin: 0 0 12px;
	font-size: 14px;
	color: var(--text);
}

/* ranking (top players) */

.ranking li {
	align-items: center;
}

.ranking__pos {
	flex: 0 0 22px;
	color: var(--gold);
	font-family: var(--serif);
	font-weight: 700;
	font-size: 13px;
	text-align: right;
}

.ranking__name {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--text);
}

.ranking li:hover .ranking__name {
	color: var(--gold-bright);
}

.ranking__meta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	color: var(--text-dim);
	font-size: 12.5px;
}

.ranking__meta .dot {
	width: 6px;
	height: 6px;
	box-shadow: none;
}

/* social */

.social {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* cards extra (ticker / featured) */

.card--ticker,
.card--featured {
	margin-bottom: 20px;
}

.card--ticker .card__title,
.card--featured .card__title {
	font-size: 20px;
}

.ticker {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ticker__item {
	display: flex;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px dashed var(--line-soft);
}

.ticker__item:last-child {
	border-bottom: 0;
}

.ticker__date {
	flex: 0 0 92px;
	color: var(--gold-bright);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.4px;
}

.ticker__body {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 14px;
}

.featured {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.featured__media img {
	display: block;
	width: 100%;
	border-radius: var(--radius-sm);
	border: 1px solid var(--line-soft);
}

.featured__text h3 {
	margin-top: 0;
}

@media (max-width: 640px) {
	.featured {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* -------------------------------------------------------------- footer ---- */

.site-footer {
	margin-top: 26px;
	padding: 18px 0 0;
	border-top: 1px solid var(--line-soft);
	color: var(--text-dim);
	font-size: 12.5px;
}

.site-footer a {
	color: var(--gold-bright);
}

.site-footer__note {
	margin: 8px 0 0;
	opacity: 0.7;
}

/* ============================================================= conteúdo === */

.card__body h1,
.card__body h2,
.card__body h3,
.card__body h4 {
	font-family: var(--serif);
	color: #f7ecd4;
	line-height: 1.25;
	margin: 1.1em 0 0.5em;
}

.card__body h1 { font-size: 24px; }
.card__body h2 { font-size: 20px; }
.card__body h3 { font-size: 17px; }
.card__body h4 { font-size: 15px; }

.card__body p {
	margin: 0 0 1em;
}

.card__body ul,
.card__body ol {
	padding-left: 1.3em;
}

.card__body hr {
	border: 0;
	border-top: 1px solid var(--line-soft);
	margin: 1.2em 0;
}

.card__body .white,
.card__body .white * {
	color: var(--text) !important;
}

.card__body .separator {
	height: 1px;
	background: var(--line-soft);
	border: 0;
}

/* tabelas */

.card__body table,
.panel__body table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.card__body table + table {
	margin-top: 14px;
}

.card__body th {
	padding: 10px 12px;
	text-align: left;
	font-family: var(--sans);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--gold-bright);
	background: rgba(201, 162, 39, 0.08);
	border-bottom: 1px solid var(--line);
}

.card__body td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line-soft);
	vertical-align: top;
}

.card__body tr:nth-child(even) td {
	background: rgba(255, 255, 255, 0.018);
}

.card__body tr:hover td {
	background: rgba(201, 162, 39, 0.06);
}

/* tabelas antigas do MyAAC */

.TableContainer,
.TableContentContainer,
.TableContent,
.TableContentAndRightShadow,
.TableInnerContainer,
.InnerTableContainer,
.CaptionContainer,
.CaptionInnerContainer {
	background: transparent !important;
	background-image: none !important;
	border: 0 !important;
	width: 100% !important;
}

.TableShadowContainer,
.TableShadowContainerRightTop,
.TableShadowRightTop,
.TableBottomShadow,
.TableBottomLeftShadow,
.TableBottomRightShadow,
.CaptionEdgeLeftTop,
.CaptionEdgeRightTop,
.CaptionEdgeLeftBottom,
.CaptionEdgeRightBottom,
.CaptionBorderTop,
.CaptionBorderBottom,
.CaptionVerticalLeft,
.CaptionVerticalRight,
.Corner-tl,
.Corner-tr,
.Corner-bl,
.Corner-br,
.Border_1,
.Border_2,
.Border_3,
.BorderTitleText,
.CornerWrapper-b,
.Bottom,
.LeftChain,
.RightChain,
.ActiveSubmenuItemIcon,
.Lights {
	display: none !important;
}

.CaptionContainer .Text {
	display: block;
	padding: 10px 14px;
	font-family: var(--serif);
	font-size: 16px;
	color: #f7ecd4;
	background: linear-gradient(90deg, rgba(201, 162, 39, 0.2), rgba(201, 162, 39, 0.03));
	border-left: 3px solid var(--gold);
	border-radius: 6px;
}

.TableContainer > table,
.CaptionContainer table,
.CaptionInnerContainer,
.InnerTableContainer table {
	background: transparent !important;
	border: 0 !important;
}

.CaptionContainer {
	margin: 0 0 10px;
}

.CaptionContainer .Text b {
	font-weight: 700;
}

.Table3,
.Table5,
.TableContent {
	background: transparent !important;
}

.Table3 td,
.Table5 td {
	border-color: var(--line-soft) !important;
}

/* títulos em imagem (GIF) não são mais usados; garante que nada sobre */

.Box .Title,
img.Title {
	display: none !important;
}

/* manchete da notícia (system/templates/news.html.twig) */

.NewsHeadline {
	margin: 0 0 18px;
}

.NewsHeadlineBackground {
	display: flex !important;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 12px;
	background: none !important;
	background-image: none !important;
	position: static !important;
	padding: 0 !important;
	height: auto !important;
	width: auto !important;
}

.NewsHeadlineIcon {
	display: none !important;
}

.NewsHeadlineDate {
	color: var(--gold-bright);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.5px;
	float: none !important;
	position: static !important;
}

.NewsHeadlineText {
	font-family: var(--serif);
	font-size: 20px;
	font-weight: 700;
	color: #f7ecd4;
	float: none !important;
	position: static !important;
}

.NewsHeadlineAuthor {
	flex-basis: 100%;
	color: var(--text-dim);
	font-size: 12.5px;
	position: static !important;
	text-align: left !important;
}

/* atributos HTML de fundo (notícias antigas) não devem pintar o tema */
.card__body [background],
.card__body table[style],
.card__body tr[style],
.card__body td[style],
.card__body th[style],
.card__body table[bgcolor],
.card__body tr[bgcolor],
.card__body td[bgcolor] {
	background-image: none !important;
	background-color: transparent !important;
}

.card__body table {
	max-width: 100%;
}

.card__body th {
	white-space: nowrap;
}

/* cabeçalhos legados usam <td><b>...</b></td> em vez de <th> */
.card__body table tr:first-child > td,
.card__body table tr:first-child > td b,
.card__body table tr:first-child > td strong {
	white-space: nowrap;
}

.Box,
.BoxContent {
	background: transparent !important;
	background-image: none !important;
}

/* formulários */

.card__body label,
.LabelV {
	display: block;
	margin: 0 0 5px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--gold-bright);
}

.card__body input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='button']):not([type='image']),
.card__body input[type='text'],
.card__body input[type='email'],
.card__body input[type='password'],
.card__body input[type='number'],
.card__body input[type='search'],
.card__body select,
.card__body textarea {
	width: 100%;
	max-width: 420px;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-sm);
	background: rgba(0, 0, 0, 0.35);
	color: var(--text);
	font-family: var(--sans);
	font-size: 14px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card__body textarea {
	max-width: 100%;
	min-height: 110px;
	resize: vertical;
}

.card__body input:focus,
.card__body select:focus,
.card__body textarea:focus {
	outline: 0;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

.card__body input[type='checkbox'],
.card__body input[type='radio'] {
	accent-color: var(--gold);
	margin-right: 6px;
}

.OptionContainer {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-right: 14px;
	font-size: 14px;
}

.FormFieldError {
	display: inline-block;
	margin: 4px 0 0;
	color: #ff9a9a;
	font-size: 12.5px;
}

/* botões do MyAAC (substituem os sprites) */

.BigButton {
	display: inline-block;
	padding: 0 !important;
	background: none !important;
	background-image: none !important;
}

.BigButton > div {
	background: none !important;
	background-image: none !important;
}

.BigButtonText,
.BigButton input[type='submit'],
input.BigButtonText {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	padding: 10px 18px;
	border: 1px solid var(--gold-deep);
	border-radius: var(--radius-sm);
	background: linear-gradient(170deg, var(--gold-bright), var(--gold));
	color: #1c1507 !important;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	text-shadow: none !important;
	transition: transform 0.12s ease, filter 0.15s ease;
}

.BigButtonText:hover,
input.BigButtonText:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
	color: #120d04 !important;
}

.BigButtonOver {
	display: none !important;
}

/* ticks / ticker de notícias */

#newsticker,
#FeaturedArticle {
	margin-bottom: 20px;
}

#newsticker .Row {
	cursor: pointer;
	border-bottom: 1px solid var(--line-soft);
	padding: 8px 0;
}

.NewsTickerText {
	font-size: 14px;
}

.NewsTickerDate {
	color: var(--gold-bright);
	font-weight: 700;
	margin-right: 6px;
}

.NewsTickerShortText,
.NewsTickerFullText {
	display: inline;
}

.NewsTickerExtend,
.NewsTickerIcon {
	display: none;
}

/* classes utilitárias antigas */

.odd { background: rgba(255, 255, 255, 0.02); }
.even { background: transparent; }

/* =========================================================== responsivo === */

@media (max-width: 1200px) {
	.navgroup__btn {
		padding: 8px 10px;
		font-size: 13.5px;
	}
}

@media (max-width: 1040px) {
	.layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	.sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
		gap: 16px;
	}
}

@media (max-width: 980px) {
	.site-header__inner {
		flex-wrap: wrap;
		row-gap: 12px;
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.navtoggle {
		display: flex;
		order: 3;
		margin-left: auto;
	}

	.header-actions {
		order: 4;
	}

	.mainnav {
		order: 5;
		display: none;
		flex-basis: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding: 8px 0 4px;
		border-top: 1px solid var(--line-soft);
		margin-top: 8px;
	}

	.mainnav.is-open {
		display: flex;
	}

	.navgroup__btn {
		width: 100%;
		text-align: left;
		padding: 11px 10px;
	}

	.navgroup__menu {
		position: static;
		display: none;
		box-shadow: none;
		border: 0;
		padding: 0 0 6px 12px;
		background: transparent;
	}

	.navgroup.is-open .navgroup__menu {
		display: flex;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 14.5px;
	}

	.wrap {
		padding: 0 14px;
	}

	.card__head {
		padding: 18px 16px 0;
	}

	.card__body {
		padding: 14px 16px 20px;
	}

	.card__title {
		font-size: 21px;
	}

	.header-actions .btn {
		padding: 8px 12px;
	}

	.server-pill {
		display: none;
	}

	.card__body table,
	.card__body thead,
	.card__body tbody,
	.card__body th,
	.card__body td,
	.card__body tr {
		display: block;
		width: 100%;
	}

	.card__body th {
		display: none;
	}

	.card__body td {
		border: 0;
		padding: 6px 0;
	}

	.card__body tr {
		padding: 10px 0;
		border-bottom: 1px solid var(--line-soft);
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		animation: none !important;
	}
}

/* ==========================================================================
   Neutralização final do chrome legado do MyAAC (fundos bege/marrom)
   Precisa vir por último para vencer as regras !important do basic.css.
   ========================================================================== */

.card__body table tr,
.card__body .TableContainer,
.card__body .TableContainer .Table1,
.card__body .TableContainer .Table3,
.card__body .TableContainer .Table5,
.card__body .TableContainer .TableContent,
.card__body .TableContentContainer,
.card__body .TableContentAndRightShadow,
.card__body .TableContainer .CaptionContainer,
.card__body .TableContainer .CaptionInnerContainer,
.card__body .CaptionContainer,
.card__body .CaptionInnerContainer,
.card__body .Odd,
.card__body .Even {
	background-color: transparent !important;
	background-image: none !important;
}

.card__body .TableContentContainer,
.card__body .TableContainer .CaptionContainer {
	border: 0 !important;
}
