.jgff-profile {
	--jgff-accent: #f28a1a;
	--jgff-accent-dark: #d96f08;
	--jgff-ink: #182230;
	--jgff-muted: #687589;
	--jgff-line: #e5e9ef;
	--jgff-soft: #f6f8fa;
	--jgff-card: #ffffff;
	color: var(--jgff-ink);
	font-family: inherit;
	line-height: 1.7;
	margin: 0 auto;
	max-width: 940px;
	position: relative;
}

.jgff-profile *, .jgff-profile *::before, .jgff-profile *::after { box-sizing: border-box; }
.jgff-profile h1, .jgff-profile h2, .jgff-profile h3, .jgff-profile p, .jgff-profile dl, .jgff-profile dd, .jgff-profile figure { margin-top: 0; }
.jgff-profile a { text-decoration: none; }

/* Card principal do jogador */
.jgff-profile-card {
	background: var(--jgff-card);
	border: 1px solid var(--jgff-line);
	border-radius: 18px;
	box-shadow: 0 12px 34px rgba(25, 39, 58, .08);
	overflow: hidden;
}
.jgff-profile-cover { background: #e8edf2; height: 205px; overflow: hidden; position: relative; }
.jgff-profile-cover::after { background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 34, .34)); content: ''; inset: 0; position: absolute; }
.jgff-profile-cover.is-fallback { background: linear-gradient(135deg, #253342, #596675); }
.jgff-profile-cover.is-fallback::before { color: rgba(255,255,255,.13); content: 'FREE FIRE'; font-size: clamp(44px, 10vw, 92px); font-weight: 900; letter-spacing: .06em; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); white-space: nowrap; }
.jgff-profile-cover img { display: block; height: 100%; object-fit: cover; width: 100%; }
.jgff-profile-card-body { display: grid; gap: 18px 24px; grid-template-columns: auto minmax(0, 1fr) auto; padding: 0 28px 27px; }
.jgff-profile-avatar-wrap { margin-top: -54px; position: relative; z-index: 2; }
.jgff-avatar { background: #edf1f5; border: 5px solid #fff; border-radius: 18px; box-shadow: 0 8px 24px rgba(24, 34, 48, .18); display: block; height: 118px; object-fit: cover; width: 118px; }
.jgff-level-badge { background: #fff7ed; border: 1px solid #f4c891; border-radius: 999px; bottom: -11px; color: #a85000; font-size: 10px; font-weight: 800; left: 50%; padding: 5px 10px; position: absolute; transform: translateX(-50%); white-space: nowrap; }
.jgff-profile-identity { min-width: 0; padding-top: 20px; }
.jgff-card-eyebrow { color: var(--jgff-accent-dark); display: block; font-size: 10px; font-weight: 900; letter-spacing: .12em; margin-bottom: 2px; text-transform: uppercase; }
.jgff-profile-identity h2 { color: var(--jgff-ink); font-size: clamp(27px, 5vw, 40px); letter-spacing: -.035em; line-height: 1.15; margin-bottom: 5px; overflow-wrap: anywhere; }
.jgff-card-bio { color: var(--jgff-muted); font-size: 14px; margin-bottom: 0; overflow-wrap: anywhere; }
.jgff-profile-actions { align-items: flex-end; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; }
/* Quando a atualização está disponível, os três botões usam uma linha exclusiva e uniforme. */
.jgff-profile-actions.is-refresh-available {
	align-items: center;
	display: grid !important;
	gap: 8px;
	grid-auto-columns: max-content;
	grid-auto-flow: column;
	grid-column: 2 / -1;
	justify-content: end;
	padding-top: 0;
	width: 100%;
}
.jgff-profile-actions.is-refresh-available .jgff-refresh-form { display: contents !important; }
.jgff-profile-actions.is-refresh-available .jgff-button {
	align-self: stretch;
	height: 39px !important;
	margin: 0 !important;
	min-height: 39px !important;
	white-space: nowrap;
	width: auto !important;
}
.jgff-profile-facts { border-top: 1px solid var(--jgff-line); display: grid; gap: 0; grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 18px; }
.jgff-profile-facts > div { border-right: 1px solid var(--jgff-line); min-width: 0; padding: 0 18px; }
.jgff-profile-facts > div:first-child { padding-left: 0; }
.jgff-profile-facts > div:last-child { border-right: 0; padding-right: 0; }
.jgff-profile-facts span { color: var(--jgff-muted); display: block; font-size: 10px; font-weight: 700; margin-bottom: 3px; text-transform: uppercase; }
.jgff-profile-facts strong { color: var(--jgff-ink); display: block; font-size: 13px; overflow-wrap: anywhere; }
.jgff-copy-link { background: transparent; border: 0; color: var(--jgff-accent-dark); cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; margin-top: 3px; padding: 0; }

.jgff-button, .jgff-icon-button {
	align-items: center;
	border-radius: 9px;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	min-height: 39px;
	padding: 10px 14px;
	transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.jgff-button:hover, .jgff-icon-button:hover { transform: translateY(-1px); }
.jgff-button:disabled { cursor: wait; opacity: .72; transform: none; }
.jgff-refresh-form { align-items: stretch; display: inline-flex; flex: 0 0 auto; margin: 0; }
.jgff-profile .jgff-refresh-form .jgff-button-refresh { appearance: none; background: #eef7ff !important; border: 1px solid #bdd9f1 !important; box-shadow: none !important; color: #235b82 !important; gap: 6px; height: 39px !important; margin: 0 !important; min-height: 39px !important; padding: 10px 14px !important; width: auto; }
.jgff-profile .jgff-refresh-form .jgff-button-refresh:hover { background: #e1f1ff !important; border-color: #9dc7e8 !important; }
.jgff-button-primary { background: var(--jgff-accent); border: 1px solid var(--jgff-accent); color: #241503 !important; }
.jgff-button-primary:hover { background: #ff9b2e; }
.jgff-button-secondary { background: #fff; border: 1px solid #cfd6df; color: #344154; }
.jgff-icon-button { background: #fff; border: 1px solid #d9dfe6; color: #465468; min-height: 30px; padding: 5px 10px; }
.jgff-icon-button.is-copied, .jgff-copy-link.is-copied { color: #0e7a60; }

/* Texto editorial */
.jgff-article-copy { color: #344154; font-size: 16px; line-height: 1.82; margin: 24px auto; max-width: 820px; }
.jgff-article-copy h2 { color: var(--jgff-ink); font-size: clamp(24px, 4vw, 32px); letter-spacing: -.025em; line-height: 1.25; margin-bottom: 15px; }
.jgff-article-copy p { margin-bottom: 17px; }
.jgff-article-copy .jgff-lead { color: #273344; font-size: 18px; }
.jgff-article-copy strong { color: #192434; }
.jgff-article-outro { border-top: 1px solid var(--jgff-line); padding-top: 25px; }
.jgff-source-note { color: var(--jgff-muted); font-size: 13px; }
.jgff-section-copy { border-bottom: 1px solid var(--jgff-line); color: #485568; margin: -4px 0 22px; padding-bottom: 18px; }
.jgff-section-copy h3 { color: var(--jgff-ink); font-size: 20px; margin-bottom: 8px; }
.jgff-section-copy p { font-size: 14px; margin-bottom: 9px; }

.jgff-notice { border-radius: 10px; font-size: 13px; margin: 16px 0; padding: 11px 14px; }
.jgff-notice-warning { background: #fff8e8; border: 1px solid #f1d79e; color: #705009; }
.jgff-notice-success { background: #edf9f5; border: 1px solid #b9e2d4; color: #17634f; }
.jgff-cache-pill { align-items: center; background: #f2faf7; border: 1px solid #cce8de; border-radius: 999px; color: #17634f; display: inline-flex; font-size: 11px; font-weight: 800; gap: 5px; margin: 3px 0 0; padding: 5px 9px; }
.jgff-notice-expired { background: #f2f8fd; border: 1px solid #c7dced; color: #285d82; }

/* Seções de dados */
.jgff-section { background: #fff; border: 1px solid var(--jgff-line); border-radius: 15px; color: var(--jgff-ink); margin-top: 20px; padding: clamp(20px, 4vw, 30px); }
.jgff-section-heading { margin-bottom: 20px; }
.jgff-section-kicker { color: var(--jgff-accent-dark); display: block; font-size: 10px; font-weight: 900; letter-spacing: .12em; margin-bottom: 4px; text-transform: uppercase; }
.jgff-section-heading h2, .jgff-search-card h2 { color: var(--jgff-ink); font-size: clamp(22px, 4vw, 29px); letter-spacing: -.02em; line-height: 1.2; margin-bottom: 5px; }
.jgff-section-heading p, .jgff-search-card p { color: var(--jgff-muted); font-size: 13px; margin-bottom: 0; max-width: 720px; }

.jgff-summary-grid { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jgff-summary-card { background: var(--jgff-soft); border: 1px solid #e8ebef; border-radius: 11px; min-width: 0; padding: 15px; }
.jgff-summary-card span { color: var(--jgff-muted); display: block; font-size: 10px; font-weight: 700; margin-bottom: 5px; }
.jgff-summary-card strong { color: var(--jgff-ink); display: block; font-size: clamp(20px, 3vw, 27px); line-height: 1.15; overflow-wrap: anywhere; }
.jgff-summary-card .jgff-text-value { font-size: 16px; }
.jgff-bio-card { align-items: center; background: #fffaf4; border: 1px solid #f4dfc5; border-radius: 11px; color: var(--jgff-ink); display: flex; gap: 20px; justify-content: space-between; margin-top: 11px; padding: 15px; }
.jgff-bio-card p { font-size: 15px; margin-bottom: 0; overflow-wrap: anywhere; }
.jgff-card-label { color: #906336; display: block; font-size: 10px; font-weight: 800; letter-spacing: .06em; margin-bottom: 4px; text-transform: uppercase; }

.jgff-ranks-grid { display: grid; gap: 11px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
.jgff-rank-card { background: var(--jgff-soft); border: 1px solid #e2e6eb; border-radius: 12px; color: var(--jgff-ink); padding: 18px; }
.jgff-rank-heading { align-items: flex-end; display: flex; gap: 12px; justify-content: space-between; margin-bottom: 14px; }
.jgff-rank-heading span { color: var(--jgff-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.jgff-rank-heading strong { color: var(--jgff-ink); font-size: 20px; }
.jgff-rank-card dl { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }
.jgff-rank-card dl div { border-left: 2px solid #e1e5ea; padding-left: 10px; }
.jgff-rank-br dl div { border-color: #b7d7ef; }
.jgff-rank-cs dl div { border-color: #efc3ca; }
.jgff-rank-card dt { color: var(--jgff-muted); font-size: 9px; font-weight: 700; }
.jgff-rank-card dd { color: var(--jgff-ink); font-size: 15px; font-weight: 800; margin-bottom: 0; }

.jgff-items-grid { align-items: stretch; display: grid !important; gap: 12px !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; margin: 0 !important; padding: 0 !important; }
.jgff-items-grid > .jgff-item-card { margin: 0 !important; min-width: 0; width: 100% !important; }
.jgff-item-card { background: #fff; border: 1px solid #e0e5ea; border-radius: 12px; color: var(--jgff-ink) !important; display: block; height: 100%; min-width: 0; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.jgff-item-card:hover { border-color: #e8a34d; box-shadow: 0 9px 24px rgba(28, 40, 56, .09); transform: translateY(-2px); }
.jgff-item-link { color: inherit !important; display: flex !important; flex-direction: column; height: 100%; text-decoration: none !important; }
.jgff-item-link::before, .jgff-item-link::after { content: none !important; display: none !important; }
.jgff-item-image { align-items: center; aspect-ratio: 1 / 1; background: radial-gradient(circle, #3a4858 0%, #1c2631 72%); display: flex; height: auto; justify-content: center; overflow: hidden; padding: 13px; }
.jgff-item-image img { filter: drop-shadow(0 8px 12px rgba(0,0,0,.28)); height: 100%; max-width: 100%; object-fit: contain; transition: transform .2s ease; width: 100%; }
.jgff-item-card:hover .jgff-item-image img { transform: scale(1.04); }
.jgff-item-body { display: flex; flex: 1; flex-direction: column; padding: 12px; }
.jgff-item-category { color: var(--jgff-accent-dark); display: block; font-size: 9px; font-weight: 900; letter-spacing: .06em; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.jgff-item-body h3 { color: var(--jgff-ink); display: -webkit-box; font-size: 13px; line-height: 1.35; margin: 4px 0 9px; min-height: 35px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.jgff-item-meta { color: var(--jgff-muted); display: flex; flex-wrap: wrap; font-size: 9px; gap: 5px; margin-top: auto; }
.jgff-item-meta span { background: #f2f4f6; border-radius: 999px; padding: 3px 6px; }

.jgff-chart-card { background: var(--jgff-soft); border: 1px solid #e3e7eb; border-radius: 12px; margin-bottom: 13px; padding: 14px; }
.jgff-chart-title { align-items: center; color: var(--jgff-muted); display: flex; font-size: 11px; justify-content: space-between; margin: 0 2px 7px; }
.jgff-chart-title strong { color: var(--jgff-ink); font-size: 13px; }
.jgff-radar { display: block; height: auto; margin: auto; max-height: 430px; max-width: 700px; width: 100%; }
.jgff-mode-grid { display: grid; gap: 11px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jgff-mode-card { background: #fff; border: 1px solid #dfe4e9; border-radius: 12px; overflow: hidden; }
.jgff-mode-card > header { align-items: center; background: #f4f6f8; border-bottom: 1px solid #e3e7eb; color: var(--jgff-ink); display: flex; justify-content: space-between; padding: 14px; }
.jgff-mode-card > header > span { color: var(--jgff-accent-dark); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.jgff-mode-card > header strong { font-size: 18px; }
.jgff-mode-card > header small { color: var(--jgff-muted); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.jgff-mode-highlights { display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 10px 4px; }
.jgff-mode-highlights div { border-right: 1px solid #e8ebee; min-width: 0; padding: 5px; text-align: center; }
.jgff-mode-highlights div:last-child { border-right: 0; }
.jgff-mode-highlights span, .jgff-mode-highlights small { color: var(--jgff-muted); display: block; font-size: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jgff-mode-highlights strong { color: var(--jgff-ink); display: block; font-size: 18px; line-height: 1.2; }
.jgff-stat-list { display: grid; margin-bottom: 0; padding: 8px 13px 13px; }
.jgff-stat-list div { align-items: center; border-top: 1px solid #edf0f2; display: flex; gap: 8px; justify-content: space-between; min-height: 33px; }
.jgff-stat-list dt { color: var(--jgff-muted); font-size: 10px; font-weight: 600; }
.jgff-stat-list dd { color: var(--jgff-ink); font-size: 11px; font-weight: 800; margin-bottom: 0; text-align: right; }
.jgff-stat-list dd small { color: var(--jgff-muted); font-weight: 600; }

.jgff-details-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jgff-detail { align-items: center; background: var(--jgff-soft); border: 1px solid #e6e9ed; border-radius: 9px; display: flex; gap: 14px; justify-content: space-between; min-width: 0; padding: 11px 13px; }
.jgff-detail span { color: var(--jgff-muted); font-size: 11px; }
.jgff-detail strong { color: var(--jgff-ink); font-size: 12px; overflow-wrap: anywhere; text-align: right; }
.jgff-prime-section { background: #fffcf7; border-color: #f1dfbf; }
.jgff-subsection { border-top: 1px solid var(--jgff-line); margin-top: 18px; padding-top: 18px; }
.jgff-subsection h3 { color: var(--jgff-ink); font-size: 16px; }
.jgff-mini-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.jgff-mini-grid div { background: var(--jgff-soft); border: 1px solid #e5e8ec; border-radius: 9px; padding: 10px; }
.jgff-mini-grid span { color: var(--jgff-muted); display: block; font-size: 9px; }
.jgff-mini-grid strong { color: var(--jgff-ink); display: block; font-size: 16px; }

.jgff-flags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.jgff-flags span { background: #f3f5f7; border: 1px solid #e0e4e8; border-radius: 999px; color: #596678; font-size: 9px; font-weight: 750; padding: 6px 9px; }
.jgff-flags .is-positive { background: #eef9f5; border-color: #c6e7dc; color: #17634f; }
.jgff-flags .is-negative { background: #fff2f3; border-color: #efcbd0; color: #913546; }

.jgff-empty-state { align-items: center; background: var(--jgff-soft); border: 1px dashed #cbd2da; border-radius: 11px; color: var(--jgff-muted); display: flex; flex-direction: column; gap: 6px; justify-content: center; min-height: 130px; padding: 22px; text-align: center; }
.jgff-empty-state span { color: var(--jgff-accent-dark); font-size: 27px; }
.jgff-empty-state p { margin-bottom: 0; }

.jgff-search-card, .jgff-error-card { background: #fffaf4; border: 1px solid #f0d8bb; border-radius: 14px; color: var(--jgff-ink); margin-top: 22px; padding: clamp(21px, 4vw, 30px); }
.jgff-search-card { align-items: center; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(290px, .8fr); }
.jgff-search-card form, .jgff-error-card form, .jgff-inline-search { display: flex; gap: 8px; }
.jgff-search-card input, .jgff-error-card input, .jgff-inline-search input { background: #fff; border: 1px solid #cfd6de; border-radius: 9px; color: var(--jgff-ink); flex: 1; font: inherit; min-height: 43px; min-width: 0; padding: 9px 12px; }
.jgff-search-card input:focus, .jgff-error-card input:focus, .jgff-inline-search input:focus { border-color: var(--jgff-accent); box-shadow: 0 0 0 3px rgba(242,138,26,.12); outline: 0; }
.jgff-text-link { color: var(--jgff-accent-dark) !important; font-size: 11px; font-weight: 800; grid-column: 2; justify-self: start; }
.jgff-related-section { margin-top: 22px; }
.jgff-related-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.jgff-related-card {
	background: #fff;
	border: 1px solid #dfe4e9;
	border-radius: 14px;
	display: grid;
	gap: 9px 11px;
	grid-template-columns: 64px minmax(0, 1fr);
	grid-template-rows: auto auto;
	margin: 0 !important;
	min-height: 142px;
	min-width: 0;
	padding: 13px;
	position: relative;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.jgff-related-card:hover { border-color: #efb16a; box-shadow: 0 8px 20px rgba(26, 38, 54, .08); transform: translateY(-1px); }
.jgff-related-avatar-wrap { align-self: start; height: 64px; margin: 0 !important; width: 64px; }
.jgff-related-avatar-link { border: 0 !important; display: block !important; height: 64px; line-height: 0; margin: 0 !important; padding: 0 !important; width: 64px; }
.jgff-related-avatar { background: #1c2631; border: 1px solid #e0e4e8; border-radius: 11px; display: block; height: 64px; margin: 0 !important; object-fit: cover; width: 64px; }
.jgff-related-content { align-self: center; min-width: 0; }
.jgff-related-title-row { align-items: center; display: flex; gap: 7px; min-width: 0; }
.jgff-related-title-row h3 { flex: 1 1 auto; font-size: 14px; line-height: 1.25; margin: 0 !important; min-width: 0; }
.jgff-related-title-link { color: var(--jgff-ink) !important; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jgff-related-title-link:hover { color: var(--jgff-accent-dark) !important; }
.jgff-related-region { background: #fff3e2; border: 1px solid #f0d5b1; border-radius: 999px; color: var(--jgff-accent-dark); flex: 0 0 auto; font-size: 9px; font-weight: 900; line-height: 1; padding: 5px 7px; }
.jgff-related-reasons { display: flex; flex-wrap: nowrap; gap: 5px; margin-top: 8px; min-width: 0; overflow: hidden; }
.jgff-related-reasons span { background: #f2f4f6; border-radius: 999px; color: var(--jgff-muted); flex: 0 1 auto; font-size: 9px; font-weight: 700; line-height: 1.2; max-width: 50%; overflow: hidden; padding: 4px 7px; text-overflow: ellipsis; white-space: nowrap; }
.jgff-related-footer { align-items: center; border-top: 1px solid #edf0f3; display: flex !important; flex-wrap: nowrap !important; gap: 10px; grid-column: 1 / -1; justify-content: space-between; min-width: 0; padding-top: 10px; width: 100%; }
.jgff-related-stats { align-items: center; color: var(--jgff-muted); display: flex !important; flex: 1 1 auto; flex-wrap: nowrap !important; font-size: 9px; gap: 8px; justify-content: space-between; min-width: 0; }
.jgff-related-stats span { display: inline-flex !important; flex: 0 1 auto; gap: 3px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap !important; }
.jgff-related-stats strong { color: var(--jgff-ink); font-size: 10px; font-weight: 850; }
.jgff-related-cta { align-items: center; background: #fff8ef; border: 1px solid #f2d7b6; border-radius: 9px; color: var(--jgff-accent-dark) !important; display: inline-flex !important; flex: 0 0 auto; font-size: 10px; font-weight: 850; gap: 7px; justify-content: center; line-height: 1; margin: 0 !important; min-height: 36px; padding: 8px 11px !important; text-decoration: none !important; white-space: nowrap; }
.jgff-related-cta:hover, .jgff-related-cta:focus-visible { background: #fff0dc; border-color: #eab978; }


.jgff-error-page { padding: 10px 0; }
.jgff-error-card { margin: 0 auto; max-width: 760px; text-align: center; }
.jgff-error-card p { color: var(--jgff-muted); font-size: 15px; margin: 0 auto 22px; max-width: 600px; }
.jgff-error-mark { align-items: center; background: #fff1dd; border: 1px solid #f0cf9f; border-radius: 50%; color: var(--jgff-accent-dark); display: flex; font-size: 20px; font-weight: 900; height: 68px; justify-content: center; margin: 0 auto 16px; width: 68px; }
.jgff-inline-search { background: #f7f8fa; border: 1px solid #e1e5e9; border-radius: 11px; padding: 9px; }
.jgff-inline-search button { background: var(--jgff-accent); border: 1px solid var(--jgff-accent); border-radius: 8px; color: #241503; cursor: pointer; font-weight: 800; padding: 8px 15px; }

.jgff-directory {
	background: #fff;
	border: 1px solid #e0e5ea;
	border-radius: 16px;
	margin: 24px 0;
	padding: clamp(20px, 4vw, 30px);
}
.jgff-directory-header { margin-bottom: 18px; }
.jgff-directory-header > span { color: var(--jgff-accent-dark); display: block; font-size: 10px; font-weight: 900; letter-spacing: .12em; margin-bottom: 8px; text-transform: uppercase; }
.jgff-directory-header h2 { color: var(--jgff-ink); font-size: clamp(22px, 3vw, 29px); line-height: 1.2; margin: 0 0 8px !important; }
.jgff-directory-header p { color: var(--jgff-muted); font-size: 13px; margin: 0 !important; }
.jgff-directory-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jgff-directory-card {
	align-items: center;
	background: #fff;
	border: 1px solid #e0e5ea;
	border-radius: 13px;
	display: grid;
	gap: 10px;
	grid-template-columns: 58px minmax(0, 1fr);
	grid-template-rows: auto auto;
	margin: 0 !important;
	min-width: 0;
	padding: 12px;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.jgff-directory-card:hover { border-color: #efb16a; box-shadow: 0 8px 22px rgba(28, 39, 54, .07); transform: translateY(-1px); }
.jgff-directory-avatar-link { display: block !important; height: 58px; line-height: 0; margin: 0 !important; width: 58px; }
.jgff-directory-avatar { background: #1c2631; border: 1px solid #e1e5e9; border-radius: 11px; display: block; height: 58px; margin: 0 !important; object-fit: cover; width: 58px; }
.jgff-directory-main { min-width: 0; }
.jgff-directory-title-row { align-items: center; display: flex; gap: 7px; min-width: 0; }
.jgff-directory-title-row h3 { flex: 1 1 auto; font-size: 14px; line-height: 1.25; margin: 0 !important; min-width: 0; }
.jgff-directory-title-row h3 a { color: var(--jgff-ink) !important; display: block; overflow: hidden; text-decoration: none !important; text-overflow: ellipsis; white-space: nowrap; }
.jgff-directory-title-row h3 a:hover { color: var(--jgff-accent-dark) !important; }
.jgff-directory-region { background: #fff3e2; border: 1px solid #f0d5b1; border-radius: 999px; color: var(--jgff-accent-dark); flex: 0 0 auto; font-size: 9px; font-weight: 900; padding: 5px 7px; }
.jgff-directory-stats { color: var(--jgff-muted); display: flex; flex-wrap: wrap; font-size: 9px; gap: 6px 10px; margin-top: 7px; }
.jgff-directory-stats span { white-space: nowrap; }
.jgff-directory-stats strong { color: var(--jgff-ink); font-size: 10px; }
.jgff-directory-cta {
	align-items: center;
	background: #fff8ef;
	border: 1px solid #f2d7b6;
	border-radius: 9px;
	color: var(--jgff-accent-dark) !important;
	display: inline-flex !important;
	font-size: 10px;
	font-weight: 850;
	gap: 7px;
	grid-column: 1 / -1;
	justify-self: end;
	line-height: 1;
	margin: 0 !important;
	min-height: 34px;
	padding: 8px 11px !important;
	text-decoration: none !important;
	white-space: nowrap;
}
.jgff-directory-cta:hover { background: #fff0dc; border-color: #eab978; }
.jgff-directory-empty { background: #f7f8fa; border: 1px dashed #d5dbe1; border-radius: 11px; color: var(--jgff-muted); margin: 0 !important; padding: 18px; text-align: center; }

.jgff-toast { background: #192434; border-radius: 999px; bottom: 22px; box-shadow: 0 10px 28px rgba(0,0,0,.2); color: #fff; font-size: 11px; font-weight: 800; left: 50%; opacity: 0; padding: 8px 13px; pointer-events: none; position: fixed; transform: translate(-50%, 10px); transition: opacity .2s ease, transform .2s ease; z-index: 99999; }
.jgff-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 720px) {
	.jgff-related-grid { grid-template-columns: 1fr; }
	.jgff-related-card { min-height: 0; }
}

@media (max-width: 420px) {
	.jgff-related-card { gap: 8px 10px; grid-template-columns: 56px minmax(0, 1fr); padding: 11px; }
	.jgff-related-avatar-wrap, .jgff-related-avatar-link, .jgff-related-avatar { height: 56px; width: 56px; }
	.jgff-related-title-row h3 { font-size: 13px; }
	.jgff-related-footer { gap: 7px; padding-top: 9px; }
	.jgff-related-stats { font-size: 8px; gap: 5px; }
	.jgff-related-stats span { gap: 2px; }
	.jgff-related-stats strong { font-size: 9px; }
	.jgff-related-cta { font-size: 9px; min-height: 34px; padding: 7px 9px !important; }
}

@media (max-width: 860px) {
	.jgff-profile-card-body { grid-template-columns: auto minmax(0, 1fr); }
	.jgff-profile-actions, .jgff-profile-actions.is-refresh-available { grid-column: 1 / -1; padding-top: 0; }
	.jgff-profile-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
	.jgff-profile-facts > div:nth-child(2) { border-right: 0; padding-right: 0; }
	.jgff-profile-facts > div:nth-child(3) { padding-left: 0; }
	.jgff-items-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.jgff-mode-grid { grid-template-columns: 1fr; }
	.jgff-mode-card { display: grid; grid-template-columns: 210px 1fr; }
	.jgff-mode-card > header { align-items: flex-start; flex-direction: column; grid-row: 1 / span 2; justify-content: center; }
	.jgff-stat-list { grid-template-columns: repeat(2, 1fr); gap: 0 15px; }
	.jgff-search-card { grid-template-columns: 1fr; }
	.jgff-text-link { grid-column: 1; }
}

@media (max-width: 700px) {
	.jgff-directory-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
	.jgff-directory { padding: 17px 14px; }
	.jgff-directory-card { grid-template-columns: 52px minmax(0, 1fr); padding: 10px; }
	.jgff-directory-avatar-link, .jgff-directory-avatar { height: 52px; width: 52px; }
	.jgff-directory-stats { gap: 5px 8px; }
}

@media (max-width: 640px) {
	.jgff-profile-cover { height: 155px; }
	.jgff-profile-card-body { grid-template-columns: 1fr; padding: 0 17px 20px; text-align: center; }
	.jgff-profile-avatar-wrap { justify-self: center; margin-top: -48px; }
	.jgff-avatar { height: 104px; width: 104px; }
	.jgff-profile-identity { padding-top: 0; }
	.jgff-profile-actions { justify-content: center; }
	.jgff-profile-facts { text-align: left; }
	.jgff-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jgff-ranks-grid { grid-template-columns: 1fr; }
	.jgff-items-grid { gap: 10px !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.jgff-item-body { padding: 10px; }
	.jgff-mode-card { display: block; }
	.jgff-mode-card > header { align-items: center; flex-direction: row; }
	.jgff-stat-list { grid-template-columns: 1fr; }
	.jgff-details-grid { grid-template-columns: 1fr; }
	.jgff-search-card form, .jgff-error-card form, .jgff-inline-search { flex-direction: column; }
	.jgff-text-link { justify-self: center; }
	.jgff-article-copy { font-size: 15px; }
	.jgff-article-copy .jgff-lead { font-size: 17px; }
}

@media (max-width: 560px) {
	.jgff-profile-actions.is-refresh-available {
		display: grid !important;
		grid-auto-flow: row;
		grid-template-columns: 1fr;
		justify-content: stretch;
		width: 100%;
	}
	.jgff-profile-actions.is-refresh-available .jgff-button { width: 100% !important; }
}

@media (max-width: 390px) {
	.jgff-profile-actions, .jgff-profile-actions.is-refresh-available { flex-direction: column; flex-wrap: nowrap; }
	.jgff-profile-actions > * { width: 100%; }
	.jgff-refresh-form .jgff-button { width: 100%; }
	.jgff-profile-facts { grid-template-columns: 1fr; }
	.jgff-profile-facts > div { border-bottom: 1px solid var(--jgff-line); border-right: 0; padding: 0 0 11px; }
	.jgff-profile-facts > div:last-child { border-bottom: 0; }
	.jgff-summary-grid { grid-template-columns: 1fr; }
	.jgff-items-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.jgff-item-body h3 { font-size: 12px; min-height: 32px; }
	.jgff-bio-card { align-items: flex-start; flex-direction: column; }
	.jgff-rank-card dl { grid-template-columns: 1fr; }
	.jgff-rank-card dl div { border-left: 0; border-top: 1px solid #e2e6eb; padding: 7px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
	.jgff-profile *, .jgff-profile *::before, .jgff-profile *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Shortcodes de diretório reutilizam os cards estáveis de Perfis relacionados. */
.jgff-shortcode-profiles:not(.jgff-section) { margin: 18px 0 26px; }
.jgff-shortcode-profiles .jgff-related-grid { margin: 0; }
.jgff-shortcode-profiles .jgff-related-reasons span { max-width: 100%; }


/* Shortcode de busca — card de ferramenta */
.jgff-search-tool {
	--jgff-search-accent: #f28a1a;
	--jgff-search-accent-dark: #c85f00;
	--jgff-search-ink: #182230;
	--jgff-search-muted: #687589;
	align-items: center;
	background:
		radial-gradient(circle at 92% 10%, rgba(242, 138, 26, .13), transparent 34%),
		linear-gradient(135deg, #fffaf3 0%, #ffffff 72%);
	border: 1px solid #efd5b5;
	border-radius: 17px;
	box-shadow: 0 10px 28px rgba(31, 42, 57, .07);
	display: grid;
	gap: 18px;
	grid-template-columns: 70px minmax(0, 1fr);
	margin: 18px 0 8px;
	overflow: hidden;
	padding: 20px;
	position: relative;
}
.jgff-search-tool::after {
	background: linear-gradient(90deg, var(--jgff-search-accent), #ffbc68);
	bottom: 0;
	content: '';
	height: 3px;
	left: 0;
	position: absolute;
	width: 100%;
}
.jgff-search-tool-icon {
	align-items: center;
	align-self: start;
	background: #fff1dd;
	border: 1px solid #f2cf9f;
	border-radius: 17px;
	color: var(--jgff-search-accent-dark);
	display: flex;
	height: 64px;
	justify-content: center;
	width: 64px;
}
.jgff-search-tool-icon svg { fill: currentColor; height: 34px; width: 34px; }
.jgff-search-tool-content { min-width: 0; }
.jgff-search-tool-kicker {
	color: var(--jgff-search-accent-dark);
	display: block;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .12em;
	line-height: 1.2;
	margin: 0 0 5px;
	text-transform: uppercase;
}
.jgff-search-tool-copy {
	color: var(--jgff-search-muted);
	font-size: 13px;
	line-height: 1.55;
	margin: 0 0 12px !important;
}
.jgff-search-tool .jgff-inline-search {
	align-items: stretch;
	background: transparent;
	border: 0;
	display: flex;
	gap: 9px;
	margin: 0 !important;
	padding: 0;
}
.jgff-search-tool .jgff-inline-field {
	align-items: center;
	background: #fff;
	border: 1px solid #cfd6de;
	border-radius: 11px;
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	transition: border-color .18s ease, box-shadow .18s ease;
}
.jgff-search-tool .jgff-inline-field:focus-within {
	border-color: var(--jgff-search-accent);
	box-shadow: 0 0 0 4px rgba(242, 138, 26, .12);
}
.jgff-search-tool .jgff-inline-field-icon {
	align-items: center;
	border-right: 1px solid #e5e9ee;
	color: #9a5a1d;
	display: flex;
	font-size: 17px;
	font-weight: 900;
	height: 24px;
	justify-content: center;
	margin-left: 13px;
	padding-right: 12px;
	width: 27px;
}
.jgff-search-tool .jgff-inline-search input {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--jgff-search-ink);
	font: inherit;
	font-size: 15px;
	font-weight: 650;
	min-height: 50px;
	padding: 11px 14px;
	width: 100%;
}
.jgff-search-tool .jgff-inline-search input::placeholder { color: #8b96a5; font-weight: 500; }
.jgff-search-tool .jgff-inline-search input:focus { border: 0; box-shadow: none; outline: 0; }
.jgff-search-tool .jgff-inline-search button {
	align-items: center;
	background: linear-gradient(135deg, #f79324, #ef7f0e);
	border: 1px solid #e77808;
	border-radius: 11px;
	box-shadow: 0 6px 15px rgba(223, 111, 8, .2);
	color: #261504;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 13px;
	font-weight: 900;
	gap: 8px;
	justify-content: center;
	min-height: 50px;
	padding: 11px 18px;
	transition: box-shadow .18s ease, transform .18s ease, filter .18s ease;
	white-space: nowrap;
}
.jgff-search-tool .jgff-inline-search button:hover,
.jgff-search-tool .jgff-inline-search button:focus-visible {
	box-shadow: 0 9px 19px rgba(223, 111, 8, .27);
	filter: brightness(1.03);
	transform: translateY(-1px);
}
.jgff-search-tool .jgff-inline-search button svg { fill: currentColor; height: 18px; width: 18px; }
.jgff-search-benefits {
	align-items: center;
	color: #677487;
	display: flex;
	flex-wrap: wrap;
	font-size: 10px;
	font-weight: 700;
	gap: 7px 14px;
	margin-top: 10px;
}
.jgff-search-benefits span { align-items: center; display: inline-flex; gap: 5px; }
.jgff-search-benefits i {
	align-items: center;
	background: #eaf7f1;
	border-radius: 50%;
	color: #167255;
	display: inline-flex;
	font-size: 8px;
	font-style: normal;
	height: 15px;
	justify-content: center;
	width: 15px;
}

@media (max-width: 640px) {
	.jgff-search-tool { gap: 12px; grid-template-columns: 48px minmax(0, 1fr); padding: 15px; }
	.jgff-search-tool-icon { border-radius: 13px; height: 44px; width: 44px; }
	.jgff-search-tool-icon svg { height: 25px; width: 25px; }
	.jgff-search-tool .jgff-inline-search { flex-direction: column; }
	.jgff-search-tool .jgff-inline-search button { width: 100%; }
	.jgff-search-benefits { gap: 6px 10px; }
}

@media (max-width: 390px) {
	.jgff-search-tool { grid-template-columns: 1fr; }
	.jgff-search-tool-icon { display: none; }
	.jgff-search-tool-copy { font-size: 12px; }
	.jgff-search-benefits { align-items: flex-start; flex-direction: column; }
}
