/* =====================================================================
   Artemis Online - template "artemis" (derivado do tibiacom).
   Carregado DEPOIS do basic.css: neutraliza o visual em imagens do
   tibiacom e aplica a mesma linguagem visual dos Tutoriais:
   faixas azul-noite com borda dourada, pergaminho, Cinzel + Inter.
   ===================================================================== */
:root {
	/* paleta 18/11/2026: noite, lua, cacadora - azul royal + dourado */
	--at-night-0: #0b1430;
	--at-night-1: #13224a;
	--at-navy: #173a72;
	--at-navy-2: #2556a3;
	--at-navy-3: #0b1430;
	--at-moon: #cfe0ff;
	--at-moon-2: #8fb0e8;
	--at-gold: #e0b65a;
	--at-gold-2: #f5d58a;
	--at-gold-d: #9a7424;
	--at-parch: #ecdcb8;
	--at-parch-2: #dfc796;
	--at-line: #b99a62;
	--at-ink: #3a2614;
	--at-muted: #6e5534;
	--at-red: #8e2a17;
	--at-cta-green: #2f8f4e;
	--at-cta-blue: #2a6fc0;
	--at-discord: #5865f2;
	--at-online: #47d16a;
	--at-row-a: #f4e8cc; /* linha clara do pergaminho */
	--at-row-b: #e8d6ad; /* linha escura do pergaminho */
	--at-field: #fbf3df; /* campos de formulario */
	--at-moon-glow: 0 0 0 1px rgba(207,224,255,.65), 0 0 22px rgba(207,224,255,.38);
	/* textura de papel (ruido proprio, SVG feTurbulence): fibra fina + manchas largas */
	--at-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .23 0 0 0 0 .09 .2 0 0 0 0'/%3E%3C/filter%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.02' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .3 0 0 0 0 .1 .22 0 0 0 -.06'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23b)'/%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
	--at-paper: var(--at-noise), linear-gradient(180deg, #f1e3c4, #e6d2a8);
	--at-w: 1320px; /* coluna central fixa e centralizada: a arte aparece nas laterais */
}

/* ---------- base ---------- */
html { background: var(--at-night-0); }
body.at-body {
	margin: 0; min-height: 100vh; background: transparent;
	font-family: Inter, Verdana, Arial, sans-serif; font-size: 13px; line-height: 1.5; color: var(--at-ink);
	-webkit-text-size-adjust: 100%;
}
.at-body *, .at-body *::before, .at-body *::after { box-sizing: border-box; }
.at-body img { max-width: 100%; }
.at-bg {
	position: fixed; inset: 0; z-index: -1;
	/* FUNDO: troque so este arquivo (images/bg.jpg) para mudar a arte do site */
	background: var(--at-night-0) url('images/bg-vigilia.webp') center 30% / cover no-repeat; /* arte oficial; o fundo antigo era images/bg.jpg */
}
.at-bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(11,20,48,.20) 0%, rgba(11,20,48,.40) 45%, rgba(11,20,48,.60) 100%);
}
.at-body a { color: var(--at-red); text-decoration: none; font-weight: 600; }
.at-body a:hover { color: #b8321c; text-decoration: underline; }
.at-body h1, .at-body h2, .at-body h3, .at-body h4 { font-family: Cinzel, Georgia, serif; }

/* ---------- botoes ---------- */
.at-btn, .at-body input.at-btn, .at-body button.at-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 8px 16px; border-radius: 6px; cursor: pointer;
	font: 700 12px/1.2 Inter, Verdana, sans-serif; letter-spacing: .02em;
	text-decoration: none !important; border: 1px solid transparent; white-space: nowrap;
	transition: filter .12s ease, transform .12s ease;
}
.at-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.at-btn-gold { background: linear-gradient(180deg, #f6d987, #d6a840 55%, #b8862a); color: #2b1d05 !important; border-color: #8a6a1f; box-shadow: 0 2px 6px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.5); }
.at-btn-navy { background: linear-gradient(180deg, var(--at-navy-2), var(--at-navy)); color: #fbe8b8 !important; border-color: var(--at-gold-d); }
.at-btn-green { background: linear-gradient(180deg, #5dbb63, #2f7d3a); color: #fff !important; border-color: #1e5a27; }
.at-btn-red { background: linear-gradient(180deg, #d0604d, #94291c); color: #fff !important; border-color: #6c1b12; }
.at-btn-ghost { background: rgba(255,255,255,.06); color: #f3e2b5 !important; border-color: rgba(224,182,90,.6); }
.at-btn-line { background: transparent; color: var(--at-ink) !important; border-color: var(--at-line); }
.at-btn-block { display: flex; width: 100%; margin-top: 8px; }

/* ---------- topo ---------- */
.at-header { position: sticky; top: 0; z-index: 50; background: rgba(11,20,48,.92); backdrop-filter: blur(6px); border-bottom: 2px solid var(--at-gold); box-shadow: 0 4px 16px rgba(0,0,0,.4); }
.at-header-in { max-width: var(--at-w); margin: 0 auto; padding: 0 clamp(16px, 2vw, 40px); display: flex; align-items: center; gap: 18px; }
.at-header > .at-header-in { min-height: 74px; }
.at-brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.at-brand img { width: 62px; height: 62px; filter: drop-shadow(0 0 10px rgba(255,210,120,.35)); }
.at-brand-txt { display: flex; flex-direction: column; }
.at-brand-name { font: 800 24px/1 Cinzel, Georgia, serif; letter-spacing: .05em; text-transform: uppercase; color: #fbe3a0; text-shadow: 0 2px 3px #000, 0 0 18px rgba(224,182,90,.35); }
.at-brand-tag { font-size: 11px; color: #b9c3d6; letter-spacing: .08em; margin-top: 3px; }
.at-quick { display: flex; gap: 4px; margin-left: auto; }
.at-quick a { font: 700 12.5px Cinzel, Georgia, serif; letter-spacing: .06em; text-transform: uppercase; color: #e6dcc4 !important; padding: 8px 12px; border-radius: 6px; text-decoration: none !important; }
.at-quick a:hover, .at-quick a.on { color: #fbe3a0 !important; background: rgba(224,182,90,.14); }
.at-header-acc { display: flex; gap: 8px; }
.at-burger { display: none; cursor: pointer; padding: 8px; margin-left: auto; }
.at-burger span { display: block; width: 24px; height: 3px; margin: 4px 0; background: #fbe3a0; border-radius: 2px; }
.at-status-strip { background: rgba(0,0,0,.35); border-top: 1px solid rgba(224,182,90,.25); color: #c9d2e3; font-size: 12px; }
.at-status-strip .at-header-in { min-height: 28px; gap: 8px; }
.at-status-strip a { color: #fbe3a0 !important; font-weight: 600; }
.at-sep { color: #6c7790; }
.at-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.at-dot.on { background: #47d16a; box-shadow: 0 0 8px #47d16a; }
.at-dot.off { background: #e0473a; box-shadow: 0 0 8px #e0473a; }
.at-menu-toggle { display: none; }

/* ---------- grade ---------- */
.at-wrap { max-width: var(--at-w); margin: 18px auto; padding: 0 clamp(16px, 2vw, 40px); display: grid; grid-template-columns: 214px minmax(0, 1fr) 286px; gap: 18px; align-items: start; }
.at-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-content: start; }
.at-side-col { min-width: 0; }
/* telas largas: duas colunas de widgets */
/* 18/11/2026: largura fixa (--at-w) -> sem as 2 colunas de widgets das telas largas */
/* linha de texto legivel dentro dos cards (nao na pagina) */
.at-news-body, .at-featured-txt, .atut-txt, .atut-steps, .atut-tldr, .atut-gold, .at-main .BoxContent > p { max-width: 95ch; }

/* ---------- menu lateral ---------- */
.at-mbox { margin-bottom: 10px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(224,182,90,.55); box-shadow: 0 3px 10px rgba(0,0,0,.35); background: var(--at-parch); }
.at-mbox summary {
	list-style: none; cursor: pointer; user-select: none;
	padding: 9px 12px; background: linear-gradient(180deg, var(--at-navy-2), var(--at-navy));
	border-bottom: 2px solid var(--at-gold);
	font: 700 12.5px Cinzel, Georgia, serif; letter-spacing: .07em; text-transform: uppercase; color: #f3e2b5; text-shadow: 1px 1px 2px #000;
	display: flex; align-items: center; justify-content: space-between;
}
.at-mbox summary::-webkit-details-marker { display: none; }
.at-mbox summary::after { content: "+"; color: var(--at-gold); font: 700 15px Inter, sans-serif; }
.at-mbox[open] summary::after { content: "\2212"; }
.at-mbox:not([open]) summary { border-bottom: none; }
.at-mbox ul { list-style: none; margin: 0; padding: 4px 0; }
.at-mbox li a { display: block; padding: 6px 14px; color: var(--at-ink) !important; font-weight: 600; font-size: 12.5px; border-left: 3px solid transparent; text-decoration: none !important; }
.at-mbox li a:hover { background: #f7ead0; border-left-color: var(--at-gold); }
.at-mbox li a.on { background: #f3e1b8; border-left-color: var(--at-red); color: var(--at-red) !important; }

/* ---------- coluna direita ---------- */
.at-sbox { margin-bottom: 12px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(224,182,90,.55); background: var(--at-parch); box-shadow: 0 3px 10px rgba(0,0,0,.35); }
.at-sbox-t { padding: 9px 12px; background: linear-gradient(180deg, var(--at-navy-2), var(--at-navy)); border-bottom: 2px solid var(--at-gold); font: 700 12.5px Cinzel, Georgia, serif; letter-spacing: .07em; text-transform: uppercase; color: #f3e2b5; text-shadow: 1px 1px 2px #000; }
.at-sbox-b { padding: 10px 12px 12px; }
.at-sbox-b p { margin: 0 0 6px; }
.at-login input { width: 100%; margin-top: 6px; padding: 8px 10px; border-radius: 6px; border: 1px solid #b59d6a; background: var(--at-field); font: inherit; }
.at-login-links { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; }
.at-top5 ol { margin: 0; padding: 0; list-style: none; counter-reset: t; }
.at-top5 li { counter-increment: t; display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px dashed var(--at-line); }
.at-top5 li::before { content: counter(t); width: 20px; height: 20px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 700 11px Cinzel, serif; color: #fbe8b8; background: var(--at-navy); border: 1px solid var(--at-gold); }
.at-top5 li a { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.at-top5 li span { font-weight: 700; color: var(--at-muted); font-size: 12px; }
.at-more { display: inline-block; margin-top: 8px; font-size: 12px; }
.at-muted { color: var(--at-muted); }
.at-dl {
	display: block; margin-bottom: 12px; padding: 14px 16px; border-radius: 8px; text-align: center; text-decoration: none !important;
	background: radial-gradient(circle at 50% 0%, rgba(255,226,150,.55), transparent 60%), linear-gradient(180deg, #2f4a7a, #17233a);
	border: 2px solid var(--at-gold); box-shadow: 0 4px 14px rgba(0,0,0,.4);
}
.at-dl:hover { filter: brightness(1.1); }
.at-dl-k { display: block; font: 800 16px Cinzel, Georgia, serif; letter-spacing: .06em; text-transform: uppercase; color: #fbe3a0; text-shadow: 0 2px 3px #000; }
.at-dl-s { display: block; color: #c9d2e3; font-size: 11.5px; font-weight: 500; margin-top: 2px; }

/* ---------- caixa de conteudo ---------- */
.at-main .Content, .at-main #ContentHelper { position: static; top: auto; width: auto; margin: 0; border: 0; }
.at-main .Content .Box, .at-box {
	position: relative; margin: 0 0 16px; font-size: 13px; color: var(--at-ink);
	border: 1px solid rgba(224,182,90,.7); border-radius: 8px; overflow: hidden;
	background: var(--at-parch); box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.at-box-title {
	margin: 0; padding: 11px 16px; background: linear-gradient(180deg, var(--at-navy-2), var(--at-navy));
	border-bottom: 2px solid var(--at-gold);
	font: 700 16px Cinzel, Georgia, serif !important; letter-spacing: .06em; text-transform: uppercase; color: #fbe3a0; text-shadow: 1px 2px 3px #000;
}
.at-main .Content .Border_2, .at-main .Content .Border_3 { margin: 0; padding: 0; border: 0; background: none; }
.at-main .Content .BoxContent {
	padding: 16px 18px; min-height: 0; height: auto !important;
	background: var(--at-paper) !important;
	font-family: Inter, Verdana, Arial, sans-serif; font-size: 13px; color: var(--at-ink);
	overflow-x: auto;
}
.at-main .Content .BoxContent td, .at-main .Content th { font-family: Inter, Verdana, Arial, sans-serif; font-size: 12.5px; color: var(--at-ink); }
.at-main .Content a { font-family: inherit; color: var(--at-red); }
.at-main .Content th { background: var(--at-navy); color: #fbe3a0; }
.at-main .Content .BoxContent td .white, .at-main .Content .BoxContent .white,
.at-main .Content .BoxContent td .whites { color: #fbe3a0 !important; }
.at-main .Content .BoxContent td.white { color: #fbe3a0 !important; }
.at-main tr[bgcolor="#1D2B44"] td, .at-main tr[bgcolor="#1d2b44"] td, .at-main td[bgcolor="#1D2B44"], .at-main td[bgcolor="#1d2b44"] { color: #fbe3a0 !important; font-weight: 700; }
.at-main tr[bgcolor="#1D2B44"] a, .at-main tr[bgcolor="#1d2b44"] a { color: #ffe39a !important; }
.at-main .Content .BoxContent input[type=text], .at-main .Content .BoxContent input[type=password],
.at-main .Content .BoxContent input[type=email], .at-main .Content .BoxContent input[type=number],
.at-main .Content .BoxContent select, .at-main .Content .BoxContent textarea {
	padding: 6px 8px; border-radius: 5px; border: 1px solid #b59d6a; background: var(--at-field); font: 13px Inter, Verdana, sans-serif; color: var(--at-ink); max-width: 100%;
}
.at-main .Content .BoxContent input[type=submit]:not(.at-btn), .at-main .Content .BoxContent input[type=button]:not(.at-btn), .at-main .Content .BoxContent button:not(.at-btn) {
	padding: 7px 14px; border-radius: 6px; cursor: pointer; font: 700 12px Inter, Verdana, sans-serif;
	background: linear-gradient(180deg, #f6d987, #d6a840 55%, #b8862a); color: #2b1d05; border: 1px solid #8a6a1f;
}

/* ---------- tabelas do tibiacom (TableContainer / Caption / Table1..5) ---------- */
.at-main .TableContainer { border: 1px solid var(--at-line); border-radius: 7px; overflow: hidden; font-size: 13px; margin-bottom: 12px; background: var(--at-row-a); }
.at-main .TableContainer .CaptionContainer { background: linear-gradient(180deg, var(--at-navy-2), var(--at-navy)) !important; border-bottom: 2px solid var(--at-gold); font-size: 13px; height: auto; }
.at-main .TableContainer .CaptionContainer span { display: none !important; }
.at-main .TableContainer .CaptionContainer .CaptionInnerContainer { position: static; height: auto; }
.at-main .TableContainer .CaptionContainer .Text { padding: 8px 12px; font: 700 13px Cinzel, Georgia, serif; letter-spacing: .05em; text-transform: uppercase; color: #fbe3a0; text-shadow: 1px 1px 2px #000; position: static; }
.at-main .TableContainer .Table1, .at-main .TableContainer .Table2, .at-main .TableContainer .Table3,
.at-main .TableContainer .Table4, .at-main .TableContainer .Table5 { border: 0; background: var(--at-row-a) !important; }
.at-main .TableContainer .InnerTableContainer { margin: 0; padding: 8px; width: 100%; position: static; }
.at-main .TableShadowContainerRightTop, .at-main .TableShadowContainer, .at-main .TableBottomShadow,
.at-main .TableBottomLeftShadow, .at-main .TableBottomRightShadow, .at-main .TableShadowRightTop { display: none !important; }
.at-main .TableContentAndRightShadow { background: none !important; margin: 0; font-size: 13px; }
.at-main .TableContentContainer { border: 1px solid var(--at-line); border-radius: 6px; margin: 0; background: var(--at-parch) !important; overflow: hidden; }
.at-main .TableContent { border: 0 !important; }
.at-main .TableContent td { padding: 6px 8px; border-bottom: 1px solid rgba(216,194,148,.6); }
.at-main .TableContainer .Odd, .at-main .Content .BoxContent .Odd { background: var(--at-row-b); }
.at-main .TableContainer .Even, .at-main .Content .BoxContent .Even { background: var(--at-row-a); }
.at-main .LabelV, .at-main .LabelV120, .at-main .LabelV150, .at-main .LabelV200 { font-weight: 700; color: #3a2a10; }
.at-main .LabelH, .at-main .LabelH td { background: var(--at-parch-2); font-weight: 700; }
.at-main .InnerTableButtonRow td { padding: 6px 4px 0 0; }
.at-main .myaac-table { border-collapse: collapse; width: 100%; border-radius: 6px; overflow: hidden; }
.at-main .myaac-table > thead > tr > th, .at-main .myaac-table > thead > tr > td, .at-main .myaac-table > tfoot > tr > td { background: var(--at-navy) !important; color: #fbe3a0 !important; border-bottom: 2px solid var(--at-gold); }
.at-main .myaac-table > tbody > tr:nth-child(even) { background: var(--at-row-a) !important; }
.at-main .myaac-table > tbody > tr:nth-child(odd) { background: var(--at-row-b) !important; }

/* botoes antigos do tibiacom (BigButton com imagem) */
.at-main .BigButton { background: none !important; width: auto; height: auto; display: inline-block; position: relative; }
.at-main .BigButton > div { display: inline; }
.at-main .BigButtonOver { display: none !important; }
.at-main .BigButtonText, .at-main input.BigButtonText {
	position: static; width: auto; height: auto; min-width: 110px;
	padding: 8px 16px; border-radius: 6px; cursor: pointer; text-shadow: none;
	font: 700 12px/1.2 Inter, Verdana, sans-serif;
	background: linear-gradient(180deg, #f6d987, #d6a840 55%, #b8862a); color: #2b1d05; border: 1px solid #8a6a1f;
	box-shadow: 0 2px 6px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.5);
}
.at-main input.BigButtonText.at-btn-green { background: linear-gradient(180deg, #5dbb63, #2f7d3a); color: #fff; border-color: #1e5a27; }
.at-main input.BigButtonText.at-btn-red { background: linear-gradient(180deg, #d0604d, #94291c); color: #fff; border-color: #6c1b12; }
.at-main .MediumButtonBackground, .at-main .MediumButtonOver { background: none !important; }
.at-main .TopButtonContainer { display: none; }

/* caixas de erro/aviso */
.at-main .SmallBox { font-size: 13px; margin-bottom: 12px; }
.at-main .SmallBox .BoxFrameHorizontal, .at-main .SmallBox .BoxFrameVerticalLeft, .at-main .SmallBox .BoxFrameVerticalRight,
.at-main .SmallBox .BoxFrameEdgeLeftTop, .at-main .SmallBox .BoxFrameEdgeRightTop, .at-main .SmallBox .BoxFrameEdgeLeftBottom,
.at-main .SmallBox .BoxFrameEdgeRightBottom, .at-main .SmallBox .AttentionSign { display: none !important; }
.at-main .SmallBox .ErrorMessage, .at-main .SmallBox .Message { padding: 10px 12px; border: 1px solid #c56b55; border-left: 4px solid #b23a26; background: #fdebe3 !important; color: #7a1f12; border-radius: 6px; font-size: 12.5px; }
.at-main .FormFieldError { color: #b23a26; }

/* ---------- noticias ---------- */
.at-news { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px dashed var(--at-line); }
.at-news:last-child { border-bottom: 0; margin-bottom: 0; }
.at-news-h { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.at-news-ico { width: 32px; height: 32px; image-rendering: pixelated; padding: 3px; border-radius: 6px; background: var(--at-navy); border: 1px solid var(--at-gold); }
.at-news-title { margin: 0; font-size: 18px; color: #3a2a10; letter-spacing: .02em; }
.at-news-meta { font-size: 11.5px; color: var(--at-muted); }
.at-news-body { font-size: 13.5px; line-height: 1.6; }
.at-news-body img { height: auto; border-radius: 6px; }
.at-news-foot { margin-top: 6px; text-align: right; font-size: 12px; }
.at-ticker .BoxContent { padding: 6px 12px !important; }
.at-tick { position: relative; cursor: pointer; padding: 7px 0 7px 26px; border-bottom: 1px dashed var(--at-line); font-size: 12.5px; }
.at-tick:last-child { border-bottom: 0; }
.at-tick .Odd, .at-tick .Even { background: none !important; }
.at-tick .NewsTickerIcon { position: absolute; left: 0; top: 8px; width: 16px; height: 16px; background-repeat: no-repeat; }
.at-tick .NewsTickerExtend { float: right; width: 12px; height: 12px; margin-top: 3px; background-repeat: no-repeat; }
.at-tick .NewsTickerDate { font-weight: 700; color: var(--at-navy-2); margin-right: 6px; float: left; }
.at-tick .NewsTickerShortText { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 18px; }
.at-tick .NewsTickerFullText { display: none; clear: both; padding-top: 4px; }
.at-featured-b { display: flex; gap: 14px; align-items: flex-start; }
.at-featured-img img { width: 180px; height: auto; border-radius: 6px; border: 2px solid var(--at-gold); }
.at-featured-txt h3 { margin: 0 0 6px; font-size: 16px; }

/* ---------- rodape ---------- */
.at-footer { margin-top: 26px; background: rgba(11,20,48,.94); border-top: 2px solid var(--at-gold); color: #aab4c8; }
.at-footer-in { max-width: var(--at-w); margin: 0 auto; padding: 22px clamp(16px, 2vw, 40px) 18px; }
.at-sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.at-sitemap h4 { margin: 0 0 8px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #fbe3a0; }
.at-sitemap a { display: block; color: #c9d2e3 !important; font-weight: 500; font-size: 12.5px; padding: 2px 0; }
.at-sitemap a:hover { color: #fbe3a0 !important; }
.at-copy { margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(224,182,90,.25); font-size: 11.5px; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; }
.at-copy b { color: #fbe3a0; font-family: Cinzel, Georgia, serif; }
.at-copy a { color: #fbe3a0 !important; }

/* tutoriais dentro deste template: ocupa a caixa inteira */
.at-main .atut { font-size: 13px; }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
	.at-wrap { grid-template-columns: 210px minmax(0, 1fr); }
	.at-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 0 14px; }
}
@media (max-width: 640px) {
	.at-side { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
	.at-quick, .at-header-acc { display: none; }
	.at-burger { display: block; }
	.at-brand img { width: 46px; height: 46px; }
	.at-brand-name { font-size: 18px; }
	.at-brand-tag { display: none; }
	.at-wrap { grid-template-columns: minmax(0, 1fr); }
	.at-menu { display: none; }
	.at-menu-toggle:checked + .at-wrap .at-menu { display: block; }
	.at-featured-b { flex-direction: column; }
	.at-main .Content .BoxContent { padding: 12px; }
}

/* ---------- widgets ---------- */
.at-w-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.at-w-status .at-more { flex-basis: 100%; }
.at-w-big { font: 800 34px/1 Cinzel, Georgia, serif; min-width: 54px; text-align: center; padding: 6px 8px; border-radius: 8px; background: var(--at-navy); border: 1px solid var(--at-gold); }
.at-w-big.on { color: #6fe08b; text-shadow: 0 0 10px rgba(71,209,106,.6); }
.at-w-big.off { color: #e0473a; }
.at-w-links a:not(.at-btn) { display: block; padding: 5px 0; border-bottom: 1px dashed var(--at-line); }
.at-w-boost { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.at-w-boost-i { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 4px; border-radius: 6px; background: radial-gradient(circle at 50% 30%, rgba(224,182,90,.35), transparent 70%), var(--at-row-a); border: 1px solid var(--at-line); }
.at-w-boost-i b { display: block; font-family: Cinzel, Georgia, serif; font-size: 13px; color: #3a2a10; }
.at-w-boost-i small { display: block; color: var(--at-muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; }
.at-w-outfit { width: 64px; height: 64px; image-rendering: pixelated; }
.at-w-death { display: grid; grid-template-columns: 1fr auto; gap: 0 6px; padding: 5px 0; border-bottom: 1px dashed var(--at-line); font-size: 12px; }
.at-w-death span { grid-column: 1; color: #4b3f2b; }
.at-w-death small { grid-column: 2; grid-row: 1; color: var(--at-muted); }

/* ---------- responsivo: tipografia fluida e nada estoura a largura ---------- */
body.at-body { font-size: clamp(13px, 0.25vw + 11.5px, 15px); }
@media (min-width: 2300px) { .at-body { font-size: clamp(13px, 0.25vw + 11.5px, 16px); } }
.at-brand-name { font-size: clamp(17px, 1.1vw + 10px, 30px); }
.at-box-title { font-size: clamp(14px, 0.35vw + 11px, 19px) !important; }
.at-news-title { font-size: clamp(16px, 0.5vw + 12px, 22px); }
.at-main .Content .BoxContent, .at-main .Content .BoxContent td, .at-main .Content th { font-size: inherit; }
.at-main .Content .BoxContent { font-size: clamp(12.5px, 0.2vw + 11.5px, 15px); }
.at-main .Content .BoxContent table { max-width: 100%; }
.at-main .Content .BoxContent img, .at-main .Content .BoxContent iframe, .at-main .Content .BoxContent video { max-width: 100%; height: auto; }
.at-main .Content .BoxContent input, .at-main .Content .BoxContent select, .at-main .Content .BoxContent textarea { max-width: 100%; }
/* tabelas largas: rolam dentro do card em telas pequenas */
@media (max-width: 820px) {
	.at-main .Content .BoxContent { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.at-main .Content .BoxContent > table, .at-main .TableContainer, .at-main .myaac-table { display: block; overflow-x: auto; }
	.at-main .myaac-table > thead, .at-main .myaac-table > tbody { display: table; width: 100%; }
	.at-header > .at-header-in { min-height: 60px; }
	.at-status-strip { font-size: 11px; }
	.at-menu { margin-bottom: 4px; }
	.at-menu .at-mbox { margin-bottom: 8px; }
}
/* nada pode alargar a pagina alem da tela */
html, body.at-body { overflow-x: hidden; max-width: 100%; }
.at-wrap > * { min-width: 0; }
.at-main, .at-main .Content, .at-main .Box { min-width: 0; max-width: 100%; }
.at-main .TableContainer .CaptionContainer .CaptionInnerContainer { background: transparent !important; padding: 0; }
.at-main img[src*="headline-bracer"], .at-main img[src*="back-to-top"] { display: none; }

/* ---------- pagina de personagem ---------- */
.atc { display: flex; flex-direction: column; gap: 14px; }
.atc-t { border-collapse: collapse; background: var(--at-row-a); border: 1px solid var(--at-line); border-radius: 7px; overflow: hidden; }
.atc-t td { padding: 7px 10px; border-bottom: 1px solid rgba(216,194,148,.6); vertical-align: top; }
.atc-t tr:nth-child(odd):not(.atc-h) td { background: var(--at-row-b); }
.atc-h td, .atc-h-b { background: linear-gradient(180deg, var(--at-navy-2), var(--at-navy)) !important; color: #fbe3a0 !important; font: 700 13px Cinzel, Georgia, serif; letter-spacing: .05em; text-transform: uppercase; border-bottom: 2px solid var(--at-gold); text-shadow: 1px 1px 2px #000; }
.atc-h-b { padding: 8px 12px; border-radius: 7px 7px 0 0; }
.atc-k { width: 34%; font-weight: 700; color: #3a2a10; }
.atc-num { text-align: right; font-weight: 700; width: 60px; }
.atc-on { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 99px; background: #2f8a3a; color: #fff; margin-left: 4px; }
.atc-top { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 14px; align-items: start; }
.atc-outfit { border: 1px solid rgba(224,182,90,.8); border-radius: 8px; overflow: hidden; text-align: center;
	background: radial-gradient(circle at 50% 45%, rgba(255,226,150,.55), transparent 65%), linear-gradient(180deg, var(--at-navy-2), var(--at-navy)); padding: 10px 6px 0; }
.atc-outfit img { width: 160px; height: 160px; image-rendering: pixelated; display: block; margin: 0 auto; }
.atc-top { grid-template-columns: 200px minmax(0, 1fr); }
.atc-outfit-name { margin: 4px -6px 0; padding: 6px; background: rgba(0,0,0,.35); color: #fbe3a0; font: 700 13px Cinzel, Georgia, serif; }
.atc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.atc-eq { border: 1px solid var(--at-line); border-radius: 7px; background: var(--at-row-a); }
.atc-doll { display: grid; gap: 6px; padding: 12px; justify-content: center;
	grid-template-columns: repeat(3, 56px); grid-template-rows: repeat(4, 56px) 20px;
	grid-template-areas: "amulet head bp" "left armor right" "ring legs ammo" ". feet ." "skull . ."; }
.atc-slot { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 6px;
	background: linear-gradient(180deg, #3b3a37, #24231f); border: 1px solid #77705f; box-shadow: inset 0 0 0 1px #111; }
.atc-slot img { width: 48px !important; height: 48px !important; image-rendering: pixelated; }
.atc-skull img { image-rendering: pixelated; }
.atc-sign summary { cursor: pointer; margin: 8px 0; font-weight: 700; color: var(--at-red); }
.atc-sign label { display: block; text-align: left; font-weight: 700; margin: 6px auto; max-width: 560px; }
.atc-sign input { display: block; width: 100%; margin-top: 2px; font-weight: 400; }
.atc-search { margin-top: 14px; border: 1px solid var(--at-line); border-radius: 7px; background: var(--at-row-a); }
.atc-search-b { display: flex; gap: 8px; padding: 12px; flex-wrap: wrap; }
.atc-search-b input[name=name] { flex: 1 1 200px; }
@media (max-width: 700px) {
	.atc-top, .atc-row { grid-template-columns: minmax(0, 1fr); }
	.atc-outfit img { width: 128px; height: 128px; }
}
.at-main img[src$="blank.gif"] { visibility: hidden; }
.at-main code { font: 600 12px Consolas, monospace; background: #2a2418; color: #f3d98a; padding: 2px 7px; border-radius: 4px; }
.at-main .BoxContent > table > tbody > tr > td, .at-main .BoxContent > table > tr > td { vertical-align: top; }

/* =====================================================================
   REFORMA VISUAL 18/11/2026 - arte aparecendo, azul royal, pergaminho
   quente com textura, uma cor por acao, acabamento de lua crescente.
   Reverter: copiar artemis.css.bak_visual_20261118 por cima deste arquivo.
   ===================================================================== */
:root {
	--at-crescent: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2.2A9.8 9.8 0 1 0 21.8 17 8.2 8.2 0 0 1 14 2.2z' fill='%23e0b65a'/%3E%3Ccircle cx='19.2' cy='5.6' r='1.3' fill='%23cfe0ff'/%3E%3C/svg%3E");
	--at-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 24'%3E%3Cdefs%3E%3ClinearGradient id='l' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23e0b65a' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23e0b65a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M6 12H112' stroke='url(%23l)' stroke-width='1.6'/%3E%3Cpath d='M118 12l4-4 4 4-4 4z' fill='%23e0b65a'/%3E%3Cpath d='M142 3.2A9 9 0 1 0 148.6 18.6 7.4 7.4 0 0 1 142 3.2z' fill='%23f5d58a'/%3E%3Ccircle cx='147' cy='6' r='1.1' fill='%23cfe0ff'/%3E%3Cpath d='M160 12H266' stroke='%23e0b65a' stroke-width='1.6'/%3E%3Cpath d='M274 12l-10-5.5v11z' fill='%23e0b65a'/%3E%3Cpath d='M160 12l-5-5M160 12l-5 5M166 12l-5-5M166 12l-5 5' stroke='%23cfe0ff' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
/* pergaminho em todas as caixas claras */
.at-mbox, .at-sbox, .at-main .Content .Box, .at-box { background: var(--at-paper); border-color: rgba(224,182,90,.8); box-shadow: 0 6px 22px rgba(5,10,30,.45); }
.at-main .Content .BoxContent { color: var(--at-ink); }
.at-main .TableContainer, .at-main .TableContainer .Table1, .at-main .TableContainer .Table2, .at-main .TableContainer .Table3,
.at-main .TableContainer .Table4, .at-main .TableContainer .Table5, .atc-t, .atc-eq, .atc-search { background: var(--at-row-a) !important; }
.at-main .TableContentContainer { background: var(--at-row-b) !important; }
.at-main .TableContent td, .atc-t td { border-bottom-color: rgba(185,154,98,.45); }
.at-main .Content .BoxContent table[cellspacing] tr[bgcolor] td { border-bottom: 1px solid rgba(185,154,98,.35); }
/* cores do config.ini (bgcolor nas tabelas) seguem o pergaminho novo */
.at-main tr[bgcolor="#F6ECD4"], .at-main tr[bgcolor="#f6ecd4"], .at-main td[bgcolor="#F6ECD4"], .at-main td[bgcolor="#f6ecd4"] { background: var(--at-row-a) !important; }
.at-main tr[bgcolor="#E6D3A8"], .at-main tr[bgcolor="#e6d3a8"], .at-main td[bgcolor="#E6D3A8"], .at-main td[bgcolor="#e6d3a8"] { background: var(--at-row-b) !important; }
.at-main tr[bgcolor="#1D2B44"], .at-main tr[bgcolor="#1d2b44"], .at-main td[bgcolor="#1D2B44"], .at-main td[bgcolor="#1d2b44"] { background: var(--at-navy) !important; }
.at-mbox li a:hover { background: rgba(255,255,255,.35); border-left-color: var(--at-moon-2); }

/* cabecalhos azul royal com lua crescente nos cantos */
.at-box-title, .at-sbox-t, .at-mbox summary { background: linear-gradient(180deg, var(--at-navy-2), var(--at-navy)); }
.at-box-title { position: relative; padding-left: 42px !important; padding-right: 42px !important; }
.at-box-title::before, .at-box-title::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: var(--at-crescent) center / contain no-repeat; filter: drop-shadow(0 0 4px rgba(207,224,255,.45)); pointer-events: none; }
.at-box-title::before { left: 14px; }
.at-box-title::after { right: 14px; transform: scaleX(-1); }
.at-sbox-t { position: relative; padding-left: 32px; }
.at-sbox-t::before { content: ""; position: absolute; left: 11px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--at-crescent) center / contain no-repeat; }
.at-divider { height: 24px; margin: 18px auto; max-width: 280px; background: var(--at-divider) center / contain no-repeat; }

/* uma cor por acao */
.at-btn-gold { background: linear-gradient(180deg, #f8dd94, #e0b65a 55%, #b98a2e); border-color: var(--at-gold-d); }
.at-btn-blue { background: linear-gradient(180deg, #4a8fe0, var(--at-cta-blue) 55%, #1d5599); color: #fff !important; border-color: #17457d; box-shadow: 0 2px 8px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.35); }
.at-btn-green { background: linear-gradient(180deg, #4fb870, var(--at-cta-green) 55%, #226b3a); color: #fff !important; border-color: #1b5530; }
.at-btn-discord { background: linear-gradient(180deg, #7682f7, var(--at-discord)); color: #fff !important; border-color: #3c46b8; }
.at-btn:hover, .at-btn:focus-visible { box-shadow: var(--at-moon-glow); filter: brightness(1.08); }
.at-dl {
	background: radial-gradient(circle at 50% 0%, rgba(190,255,205,.35), transparent 62%), linear-gradient(180deg, #3aa35e, var(--at-cta-green) 50%, #1f6638);
	border: 2px solid #9fe0b4; transition: box-shadow .2s, transform .2s;
}
.at-dl:hover { filter: brightness(1.06); box-shadow: var(--at-moon-glow); transform: translateY(-1px); }
.at-dl-k { color: #fff; }
.at-dl-s { color: #e3f6e9; }

/* prova social */
.at-online-n { color: var(--at-online) !important; font-weight: 800; }
.at-w-big.on { color: var(--at-online); text-shadow: 0 0 10px rgba(71,209,106,.6); }
.at-w-big.new { font-size: 15px; line-height: 1.1; padding: 9px 10px; color: var(--at-gold-2); text-transform: uppercase; letter-spacing: .06em; }
.at-status-strip { background: rgba(11,20,48,.55); }
.at-status-strip .at-new { color: var(--at-gold-2); font-weight: 600; }
