@font-face {
  font-family: "Ninja Naruto";
  src: url("../fonts/ninja-naruto/njnaruto.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --font-ninja: "Ninja Naruto", Georgia, "Times New Roman", serif;
  --black: #050506;
  --ink: #0b0c0f;
  --stone: #121316;
  --blood: #a00d16;
  --blood-bright: #d12a2f;
  --blood-dark: #3a0407;
  --gold: #e3c276;
  --gold-light: #f6dc9a;
  --text: #f4ead6;
  --muted: #b9ad9a;
  --line: rgba(227, 194, 118, .27);
  --shadow: 0 18px 55px rgba(0, 0, 0, .6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: #030304;
  font-family: "Trebuchet MS", Arial, sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
button { color: inherit; }
.container { width: min(calc(100% - 44px), 1120px); margin-inline: auto; }

.portal-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(3,3,5,.72) 0%, rgba(3,3,5,.48) 38%, rgba(3,3,5,.04) 70%, rgba(3,3,5,.42) 100%),
    linear-gradient(180deg, rgba(4,4,6,.04) 0%, rgba(4,4,6,.08) 60%, #050506 100%),
    url("../images/bloodline-world-tsukuyomi-v3.png") center top / cover fixed no-repeat;
}
.portal-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .24;
  background:
    repeating-linear-gradient(118deg, rgba(255,255,255,.025) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 40% 32%, transparent 0 25%, rgba(0,0,0,.5) 78%);
  mix-blend-mode: overlay;
}

.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid rgba(176,26,30,.55);
  background:
    radial-gradient(circle at 20% 0, rgba(120,9,15,.16), transparent 28%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #111216 0%, #08090c 100%);
  box-shadow: 0 7px 24px rgba(0,0,0,.78), inset 0 -1px rgba(255,255,255,.04);
}
.masthead { position: relative; height: 88px; display: flex; align-items: center; justify-content: space-between; }
.masthead-mini { width: 165px; height: 80px; display: grid; place-items: center; }
.masthead-mini img { width: 158px; max-height: 78px; object-fit: contain; filter: drop-shadow(0 6px 11px #000); }
.masthead-brand { position: absolute; left: 50%; top: 0; width: 245px; height: 88px; display: grid; place-items: center; transform: translateX(-50%); }
.masthead-brand img { width: 234px; max-height: 88px; object-fit: contain; filter: drop-shadow(0 8px 14px #000); }
.server-badge { min-width: 150px; display: grid; grid-template-columns: 10px 1fr; column-gap: 8px; align-items: center; color: var(--gold); text-align: left; }
.server-badge i { grid-row: 1 / 3; width: 9px; height: 9px; border-radius: 50%; background: #751018; box-shadow: 0 0 8px #7b1219; }
.server-badge i.is-online { background: #57d486; box-shadow: 0 0 10px #57d486; }
.server-badge span { font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.server-badge small { color: #6f6a62; font-size: 9px; }

.nav-bar { position: relative; height: 43px; border-top: 1px solid rgba(255,255,255,.035); background: linear-gradient(180deg, rgba(9,10,13,.88), rgba(5,6,8,.96)); }
.nav-shell { height: 100%; display: flex; align-items: center; }
.main-nav { height: 100%; display: flex; align-items: stretch; }
.main-nav a, .nav-account a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 11px;
  color: #e5ded0;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 2px 2px #000;
}
.main-nav a + a::before { content: ""; position: absolute; left: 0; height: 12px; border-left: 1px solid #5d4934; }
.main-nav a:hover, .main-nav a.active, .nav-account a:hover { color: var(--gold-light); }
.main-nav a.active { background: radial-gradient(ellipse at bottom, rgba(197,26,32,.42), transparent 70%); }
.main-nav a.active::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 0; height: 2px; background: var(--blood-bright); box-shadow: 0 -2px 12px var(--blood-bright); }
.nav-account { margin-left: auto; height: 100%; }
.nav-account a { color: #cdb989; }
.menu-toggle { display: none; width: 39px; height: 32px; padding: 7px; border: 1px solid #6d3428; background: #38100e; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 3px 0; background: var(--gold); }

.status-banner { position: relative; z-index: 25; padding: 8px 16px; color: #e3c9a1; background: rgba(73,10,13,.94); border-bottom: 1px solid #85222a; text-align: center; font-size: 11px; }
.status-banner span { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #e59d43; }
.flash-stack { position: relative; z-index: 24; display: grid; gap: 8px; margin-top: 16px; }
.flash { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border: 1px solid #7b4a2c; background: rgba(18,16,14,.94); box-shadow: var(--shadow); font-size: 12px; }
.flash-success { border-color: #497557; }
.flash-error { border-color: #9b3036; }
.flash button { border: 0; background: transparent; cursor: pointer; font-size: 19px; }

.portal-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 720px) 190px;
  justify-content: space-between;
  gap: clamp(38px, 11vw, 150px);
  min-height: 710px;
  padding-top: 26px;
  padding-bottom: 40px;
}
.portal-main { min-width: 0; }
.screen { min-height: 610px; padding-bottom: 32px; }
.score-rail { display: flex; flex-direction: column; gap: 48px; padding-top: 0; }
.scroll-card {
  position: relative;
  min-height: 180px;
  padding: 11px 12px 14px;
  color: #301b0c;
  border: 2px solid #5d351c;
  border-radius: 4px;
  background:
    radial-gradient(circle at 20% 15%, rgba(111,61,21,.15), transparent 22%),
    radial-gradient(circle at 83% 75%, rgba(86,44,15,.13), transparent 18%),
    repeating-linear-gradient(90deg, rgba(86,47,19,.04) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, #c09255, #ead49d 10%, #ddbd7e 50%, #efd9a0 90%, #af7740);
  box-shadow: 0 12px 30px #000, inset 0 0 20px rgba(91,48,16,.45);
}
.scroll-card::before, .scroll-card::after {
  content: "";
  position: absolute;
  left: -9px;
  right: -9px;
  height: 14px;
  border: 1px solid #542b17;
  border-radius: 50%;
  background: linear-gradient(180deg, #7c4524, #c99859 42%, #6f381f);
  box-shadow: 0 3px 7px rgba(0,0,0,.62);
}
.scroll-card::before { top: -8px; }
.scroll-card::after { bottom: -8px; transform: rotate(180deg); }
.scroll-card h2 { position: relative; z-index: 1; margin: 0 -3px 2px; padding-bottom: 4px; border-bottom: 1px solid rgba(73,37,14,.45); font-family: var(--font-ninja); font-size: 15px; text-align: center; text-shadow: 0 1px #f8e4b2; }
.scroll-card > p { margin: 0 0 6px; color: #6f411e; font-size: 8px; text-align: center; }
.scroll-card ol { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; }
.scroll-card li { display: grid; grid-template-columns: 16px 1fr auto; gap: 4px; align-items: center; min-height: 19px; border-bottom: 1px solid rgba(76,42,17,.15); font-size: 9px; }
.scroll-card li:last-child { border-bottom: 0; }
.scroll-card li b { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; color: #f8deb0; background: #85501f; font-size: 8px; }
.scroll-card li a { overflow: hidden; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.scroll-card li a:hover { color: #8e0c12; }
.scroll-card li span { color: #70411d; font-size: 7px; }
.rail-empty { padding: 24px 4px; text-align: center; font-size: 9px; }
.game-intro { max-width: 630px; min-height: 285px; padding: 28px 18px 10px; display: flex; flex-direction: column; justify-content: center; }
.rune-label { margin: 0 0 8px; color: var(--gold); font-family: var(--font-ninja); font-size: 18px; letter-spacing: .45em; text-shadow: 0 0 12px var(--blood); }
.game-intro h1 {
  margin: 0 0 4px;
  color: #df5535;
  font-family: var(--font-ninja);
  font-size: clamp(43px, 5vw, 62px);
  line-height: .98;
  letter-spacing: -.04em;
  text-transform: uppercase;
  -webkit-text-stroke: 1px #4b0908;
  text-shadow: 0 2px 0 #f0b072, 0 4px 0 #56100d, 0 8px 18px #000, 0 0 28px rgba(180,18,24,.45);
}
.game-intro h1 span { color: #d1402b; }
.hero-kicker { margin: 10px 0 3px; color: #f4eadc; font-size: 11px; font-weight: 900; }
.hero-lead { max-width: 470px; margin: 0; color: #d0c8bc; font-size: 11px; line-height: 1.55; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.live-line { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 13px; color: #a89d8e; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.live-line span + span { padding-left: 15px; border-left: 1px solid rgba(227,194,118,.3); }
.online-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #4bc476; box-shadow: 0 0 7px #4bc476; }

.button {
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid #9d3234;
  border-radius: 3px;
  color: #fff3df;
  background: linear-gradient(180deg, #8e141b, #4a080c);
  box-shadow: inset 0 0 0 2px rgba(242,190,100,.11), 0 0 0 1px #2a0305, 0 6px 14px rgba(0,0,0,.5), 0 0 14px rgba(171,20,26,.25);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-shadow: 0 2px 2px #000;
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
}
.button:hover { filter: brightness(1.2); transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.button-gold, .button-glass, .button-ghost { border-color: #8b6638; background: linear-gradient(180deg, #3a2b1f, #14110e); }
.button-small { min-height: 30px; padding-inline: 12px; }
.button-block { width: 100%; }
.button-light { color: #37120b; border-color: #f0ce82; background: linear-gradient(180deg, #ffe7a8, #c89247); text-shadow: 0 1px #fff0c7; }
.button-disabled, .button:disabled { opacity: .48; pointer-events: none; }

.portal-section { margin-top: 18px; }
.section-title { position: relative; height: 25px; display: flex; align-items: center; justify-content: center; margin-bottom: 9px; color: var(--gold); font-family: var(--font-ninja); font-size: 14px; font-weight: 900; text-shadow: 0 2px #000; }
.section-title::before, .section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #8f2927); }
.section-title::after { background: linear-gradient(90deg, #8f2927, transparent); }
.section-title span { padding: 0 11px; }

.ornate-panel, .panel, .auth-card, .search-card, .guild-card {
  position: relative;
  border: 1px solid #745c41;
  background:
    repeating-linear-gradient(128deg, rgba(255,255,255,.018) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 30% 0, rgba(132,23,27,.16), transparent 42%),
    linear-gradient(145deg, rgba(29,31,32,.98), rgba(8,9,11,.98));
  box-shadow:
    inset 0 0 0 3px #0c0d0f,
    inset 0 0 0 4px rgba(173,134,79,.32),
    inset 0 0 28px rgba(0,0,0,.7),
    var(--shadow);
}
.ornate-panel::before, .panel::before, .auth-card::before, .guild-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  pointer-events: none;
  border: 1px solid rgba(227,194,118,.12);
}
.news-feature { display: block; height: 190px; overflow: hidden; }
.news-feature img { width: 100%; height: 100%; object-fit: cover; }
.news-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(4,4,6,.96) 100%); }
.news-copy { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 12px; text-shadow: 0 2px 4px #000; }
.news-copy small { color: var(--gold); font-size: 8px; font-weight: 900; }
.news-copy h2 { margin: 2px 0 1px; font-family: var(--font-ninja); font-size: 17px; }
.news-copy p { margin: 0; color: #c9bbac; font-size: 9px; }

.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.feature-row article {
  min-height: 110px;
  padding: 15px 12px 12px;
  border: 1px solid #74543a;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(35,24,21,.93), rgba(8,8,10,.96));
  box-shadow: inset 0 0 0 2px #0c0c0e, 0 8px 18px rgba(0,0,0,.48);
  text-align: center;
}
.feature-row i { display: block; margin-bottom: 5px; color: #ef7542; font-family: var(--font-ninja); font-size: 22px; font-style: normal; text-shadow: 0 0 12px #b10e16; }
.feature-row strong { display: block; color: var(--gold-light); font-size: 9px; text-transform: uppercase; }
.feature-row p { margin: 4px 0 0; color: #9e9487; font-size: 8px; }
.server-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 17px; padding: 12px; }
.server-stats div { padding: 4px 8px; border-right: 1px solid var(--line); text-align: center; }
.server-stats div:last-child { border: 0; }
.server-stats span { display: block; color: #978c7e; font-size: 7px; text-transform: uppercase; }
.server-stats strong { color: var(--gold); font-family: var(--font-ninja); font-size: 18px; }

.page-banner {
  position: relative;
  margin: 4px 0 17px;
  padding: 17px 28px 16px;
  border-top: 3px solid #4d2a20;
  border-bottom: 3px solid #4d2a20;
  background: linear-gradient(90deg, rgba(8,8,10,.88), rgba(62,17,16,.92), rgba(8,8,10,.88));
  box-shadow: inset 0 0 20px #000, 0 9px 25px #000;
  text-align: center;
}
.page-banner::before, .page-banner::after { content: "◆"; position: absolute; top: 50%; color: #9d3431; transform: translateY(-50%); }
.page-banner::before { left: 13px; }
.page-banner::after { right: 13px; }
.page-banner p { margin: 0; color: #c1503a; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.page-banner h1 { margin: 1px 0; color: var(--gold); font-family: var(--font-ninja); font-size: 26px; text-transform: uppercase; text-shadow: 0 2px #000; }
.page-banner span { color: #cdbca3; font-size: 10px; }
.page-banner.compact { padding-block: 13px; }

.download-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; padding: 28px; }
.download-main { position: relative; z-index: 1; }
.panel-kicker { display: block; margin-bottom: 12px; color: #b9a78b; font-size: 8px; font-weight: 900; }
.download-button {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #ad3337;
  background: radial-gradient(circle, rgba(197,38,43,.22), transparent 68%), linear-gradient(180deg, #5a1114, #210508);
  box-shadow: inset 0 0 0 4px #151315, inset 0 0 0 5px #6c4d35, 0 0 24px rgba(195,24,31,.26);
  text-align: center;
}
.download-button small { color: var(--gold); font-size: 8px; }
.download-button strong { font-family: var(--font-ninja); font-size: 23px; }
.download-button span { color: #c9bba8; font-size: 9px; }
.download-button:hover { filter: brightness(1.16); }
.download-button.is-disabled { opacity: .55; }
.download-details { margin: 16px 0 0; padding: 11px 13px; border: 1px solid #4e463d; background: rgba(0,0,0,.31); }
.download-details div { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,.04); font-size: 9px; }
.download-details div:last-child { border-bottom: 0; }
.download-details dt { color: #a69887; }
.download-details dd { margin: 0; color: #dfcda9; font-weight: 800; }
.requirements-scroll {
  position: relative;
  z-index: 1;
  min-height: 340px;
  padding: 64px 56px 54px;
  color: #3e2510;
  border: 0;
  background: url("../images/ranking-scroll-transparent-v3.png") center / 115% 100% no-repeat;
  box-shadow: none;
}
.requirements-scroll::before, .requirements-scroll::after { display: none; }
.requirements-scroll h2 { position: relative; z-index: 1; margin: 0 0 12px; padding-bottom: 7px; border-bottom: 1px solid rgba(77,41,15,.35); font-family: var(--font-ninja); font-size: 13px; text-align: center; }
.requirements-scroll ul { position: relative; z-index: 1; margin: 0; padding-left: 15px; }
.requirements-scroll li { margin: 7px 0; font-size: 9px; }
.steps-row i { color: var(--gold); font-size: 17px; }
.ranking-panel { padding: 18px; }
.ranking-tools { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 9px; }
.ranking-tools > span { color: var(--gold); font-size: 10px; font-weight: 900; }
.ranking-tools label { color: #908779; font-size: 7px; text-transform: uppercase; }
.ranking-tools input { width: 175px; min-height: 27px; margin-left: 8px; padding: 4px 8px; }
.table-wrap { position: relative; z-index: 1; overflow-x: auto; border: 1px solid #5f3f2b; }
.game-table { width: 100%; border-collapse: collapse; color: #d9c9b0; font-size: 9px; }
.game-table th { padding: 6px 7px; color: var(--gold-light); background: linear-gradient(180deg, #651616, #2b090b); text-align: left; text-transform: uppercase; }
.game-table td { padding: 5px 7px; border-bottom: 1px solid #392a20; background: rgba(12,12,13,.79); }
.game-table tr:nth-child(even) td { background: rgba(41,28,21,.77); }
.game-table tbody tr:hover td { background: rgba(101,24,23,.55); }
.player-link { display: inline-flex; align-items: center; gap: 5px; color: #f2dfbc; font-weight: 800; }
.player-link i { width: 5px; height: 5px; border-radius: 50%; background: #6b4c42; }
.player-link i.is-online { background: #49c777; box-shadow: 0 0 5px #49c777; }
.placement { color: var(--gold); font-weight: 900; }
.placement-1 { color: #ffe28c; }
.placement-2 { color: #d5d6dc; }
.placement-3 { color: #db8751; }

.registration-panel { margin-top: 4px; padding: 22px 26px 25px; }
.register-intro { min-height: 230px; padding-top: 5px; }
.ornate-heading { position: relative; z-index: 1; display: flex; align-items: baseline; justify-content: center; gap: 9px; margin: -7px 0 15px; padding-bottom: 7px; border-bottom: 1px solid #5e4430; }
.ornate-heading span { color: var(--gold); font-family: var(--font-ninja); font-size: 15px; font-weight: 900; }
.ornate-heading small { color: #887e70; font-size: 8px; }
.registration-panel form { position: relative; z-index: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.registration-submit { display: flex; margin: 12px auto 0; min-width: 180px; }

label { display: grid; gap: 5px; color: #d8c8ac; font-size: 8px; font-weight: 900; text-transform: uppercase; }
input, select {
  width: 100%;
  min-height: 35px;
  padding: 7px 10px;
  border: 1px solid #605a50;
  border-radius: 2px;
  color: #f5e9d2;
  outline: 0;
  background: linear-gradient(180deg, #090a0c, #1b1c1e);
  box-shadow: inset 0 2px 6px #000, 0 1px rgba(255,255,255,.05);
  font-size: 11px;
}
input:focus, select:focus { border-color: #ae713f; box-shadow: inset 0 2px 6px #000, 0 0 9px rgba(185,58,42,.25); }
.password-field { position: relative; display: block; }
.password-field button { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 44px; border: 0; color: #a89477; background: transparent; font-size: 8px; font-weight: 900; cursor: pointer; }
.checkbox { display: flex; align-items: center; gap: 8px; margin-top: 11px; color: #a89d8e; text-transform: none; }
.checkbox input { width: 14px; min-height: 14px; margin: 0; accent-color: var(--blood); }
.checkbox span { font-size: 9px; font-weight: 500; }

.page-hero, .account-hero { margin-bottom: 14px; padding: 14px 22px; border-top: 2px solid #553629; border-bottom: 2px solid #553629; background: rgba(10,9,10,.78); box-shadow: 0 10px 25px #000; }
.page-hero .container, .account-hero .container { width: 100%; }
.page-hero h1, .account-hero h1, .auth-story h1, .error-page h1 { margin: 0; color: var(--gold); font-family: var(--font-ninja); font-size: 29px; text-shadow: 0 2px #000; }
.page-hero p:last-child, .account-hero p { margin-bottom: 0; color: #b8ab98; font-size: 10px; }
.eyebrow { margin: 0 0 3px; color: #c9503b; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.section { padding: 0; }
.page-section, .account-section { padding: 0 0 28px; }
.page-section > .container, .account-section > .container, .narrow-container { width: 100%; }
.panel { padding: 17px; }
.panel-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: -4px -4px 12px; padding: 4px 6px 11px; border-bottom: 1px solid #59422f; }
.panel-head span { color: #b64e38; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.panel-head h2 { margin: 2px 0 0; color: var(--gold); font-family: var(--font-ninja); font-size: 18px; }
.live-pill { color: #9ac8a5 !important; }
.empty-state { position: relative; z-index: 1; padding: 35px 15px; color: #a99d8e; text-align: center; }
.empty-state strong { color: var(--gold); font-family: var(--font-ninja); }
.empty-state p { margin: 5px 0 0; font-size: 10px; }

.guild-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.guild-card { min-height: 180px; padding: 18px; }
.guild-mark { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 9px; border: 1px solid #8d4d30; color: var(--gold); background: #3c1010; font-family: var(--font-ninja); }
.guild-card-top { position: relative; z-index: 1; display: flex; justify-content: space-between; color: #9e8b73; font-size: 7px; text-transform: uppercase; }
.guild-card h2 { position: relative; z-index: 1; margin: 6px 0 4px; color: var(--gold); font-family: var(--font-ninja); font-size: 19px; }
.guild-card p { position: relative; z-index: 1; min-height: 32px; color: #a3998c; font-size: 9px; }
.guild-card dl { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid #493a2e; padding-top: 9px; }
.guild-card dt { color: #746c62; font-size: 7px; }
.guild-card dd { margin: 1px 0 0; color: #d4c4a8; font-size: 8px; }

.search-card { padding: 16px; margin-bottom: 12px; }
.search-card label { display: block; margin-bottom: 7px; }
.search-card > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.character-profile { padding: 20px; }
.character-head { position: relative; z-index: 1; display: flex; gap: 14px; align-items: center; padding-bottom: 13px; border-bottom: 1px solid #4c3b2c; }
.character-avatar, .character-symbol { display: grid; place-items: center; border: 1px solid #8e3e2d; color: var(--gold); background: linear-gradient(135deg, #5d1013, #151315); font-family: var(--font-ninja); }
.character-avatar { width: 62px; height: 62px; font-size: 26px; }
.character-head h2 { margin: 1px 0; color: var(--gold); font-family: var(--font-ninja); }
.character-head p { margin: 0; color: #9e9485; font-size: 9px; }
.online-label, .offline-label { color: #56c67c; font-size: 7px; font-weight: 900; }
.offline-label { color: #8e8375; }
.profile-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); padding: 15px 0; }
.profile-stats div { border-right: 1px solid #44382e; text-align: center; }
.profile-stats div:last-child { border: 0; }
.profile-stats span { display: block; color: #877d70; font-size: 7px; text-transform: uppercase; }
.profile-stats strong { color: var(--gold); font-family: var(--font-ninja); font-size: 18px; }
.profile-details { position: relative; z-index: 1; display: flex; justify-content: space-between; color: #847a6e; font-size: 8px; }

.auth-section { padding: 20px 0 34px; }
.auth-shell { width: 100%; display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: center; }
.auth-section .container { width: 100%; }
.auth-story { padding: 16px; text-shadow: 0 2px 4px #000; }
.auth-story h1 { font-size: 31px; }
.auth-story > p:not(.eyebrow) { color: #b7aa98; font-size: 10px; }
.quote-card { padding: 12px; border-left: 2px solid var(--blood-bright); background: rgba(0,0,0,.42); }
.quote-card span { color: var(--gold); font-family: var(--font-ninja); }
.quote-card blockquote { margin: 4px 0 0; color: #a99c8a; font-family: var(--font-ninja); font-size: 9px; font-style: italic; }
.auth-card { padding: 22px; }
.auth-card-head { position: relative; z-index: 1; margin-bottom: 14px; }
.auth-card-head > span { color: #c9533d; font-size: 8px; font-weight: 900; }
.auth-card-head h2 { margin: 2px 0; color: var(--gold); font-family: var(--font-ninja); font-size: 25px; }
.auth-card-head p { margin: 0; color: #9d9181; font-size: 9px; }
.auth-card form { position: relative; z-index: 1; display: grid; gap: 7px; }
.auth-card small { color: #756c61; font-size: 7px; }
.auth-switch { position: relative; z-index: 1; margin: 16px 0 0; padding-top: 11px; border-top: 1px solid #493a2d; color: #8f8476; text-align: center; font-size: 9px; }
.auth-switch a { color: var(--gold); font-weight: 900; }
.benefit-list { margin: 13px 0 0; padding: 0; list-style: none; color: #c1b5a4; font-size: 9px; }
.benefit-list li { margin: 7px 0; }
.benefit-list span { color: var(--gold); }
.account-heading { display: flex; justify-content: space-between; align-items: center; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1fr) 220px; gap: 11px; }
.dashboard-main { display: grid; gap: 10px; }
.summary-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.summary-grid article { padding: 14px; border: 1px solid #65503a; background: rgba(12,12,14,.88); }
.summary-grid span, .summary-grid small { display: block; color: #81776b; font-size: 7px; }
.summary-grid strong { color: var(--gold); font-family: var(--font-ninja); font-size: 16px; }
.character-list { position: relative; z-index: 1; }
.character-list a { display: grid; grid-template-columns: 34px 1fr auto 14px; gap: 9px; align-items: center; padding: 8px 0; border-bottom: 1px solid #40352c; }
.character-symbol { width: 31px; height: 31px; }
.character-list a > span:nth-child(2) { display: grid; }
.character-list strong { color: #e8d7bb; font-size: 9px; }
.character-list small { color: #81776b; font-size: 7px; }
.character-list i { color: #786f65; font-size: 7px; font-style: normal; }
.character-list i.is-online { color: #5dca80; }
.settings-panel { padding: 0 15px; }
.settings-panel summary { position: relative; z-index: 1; display: flex; justify-content: space-between; padding: 13px 0; cursor: pointer; list-style: none; }
.settings-panel summary small { display: block; color: #b94c39; font-size: 7px; }
.settings-panel summary strong { color: var(--gold); font-family: var(--font-ninja); }
.settings-panel summary b { color: #8d7e69; }
.settings-panel form { position: relative; z-index: 1; display: grid; gap: 8px; padding-bottom: 14px; }
.dashboard-side { display: grid; align-content: start; gap: 10px; }
.create-character h2 { position: relative; z-index: 1; margin: 4px 0; color: var(--gold); font-family: var(--font-ninja); font-size: 20px; }
.create-character > p { position: relative; z-index: 1; color: #9c9181; font-size: 8px; }
.create-character form { position: relative; z-index: 1; display: grid; gap: 8px; }
.create-character fieldset { display: flex; gap: 6px; margin: 0; padding: 0; border: 0; }
.create-character legend { color: #b8aa95; font-size: 7px; }
.radio { flex: 1; position: relative; }
.radio input { position: absolute; opacity: 0; }
.radio span { display: grid; place-items: center; min-height: 30px; border: 1px solid #534a3e; color: #968a7b; font-size: 8px; }
.radio input:checked + span { border-color: #9b3b30; color: var(--gold); background: #441013; }
.support-card { padding: 16px; border: 1px solid #986c36; color: #30200f; background: linear-gradient(135deg, #e4c47a, #a7783b); }
.support-card span { font-size: 7px; font-weight: 900; }
.support-card h3 { margin: 3px 0; font-family: var(--font-ninja); }
.support-card p, .support-card a { margin: 0; font-size: 8px; }

.error-page { min-height: 520px; display: grid; place-items: center; text-align: center; }
.error-page .container { width: 100%; }
.error-page > .container > span { color: rgba(227,194,118,.22); font-family: var(--font-ninja); font-size: 90px; font-weight: 900; }
.error-page p { color: #afa291; font-size: 10px; }

.portal-footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid #65191a;
  background:
    repeating-linear-gradient(130deg, rgba(255,255,255,.015) 0 1px, transparent 1px 5px),
    rgba(5,5,7,.94);
  box-shadow: 0 -10px 30px rgba(0,0,0,.6);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, .7fr); gap: 30px; padding-top: 23px; padding-bottom: 18px; }
.footer-logo { width: 145px; height: 68px; object-fit: contain; object-position: left center; }
.footer-grid p { max-width: 260px; margin: 0; color: #6f685e; font-size: 8px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 3px; }
.footer-grid strong { margin-bottom: 3px; color: var(--gold); font-size: 9px; text-transform: uppercase; }
.footer-grid a, .footer-grid span { color: #8c8378; font-size: 8px; }
.footer-grid a:hover { color: #e9d4ac; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 10px; padding-bottom: 12px; border-top: 1px solid rgba(255,255,255,.05); color: #554f48; font-size: 7px; }

@media (max-width: 1060px) {
  .container { width: min(calc(100% - 30px), 960px); }
  .portal-body { grid-template-columns: minmax(0, 650px) 180px; gap: 55px; }
  .main-nav a, .nav-account a { padding-inline: 8px; font-size: 10px; }
}

@media (max-width: 860px) {
  .portal-stage {
    background:
      linear-gradient(90deg, rgba(3,3,5,.78), rgba(3,3,5,.3) 70%, rgba(3,3,5,.62)),
      linear-gradient(180deg, transparent 0%, #050506 100%),
      url("../images/bloodline-world-tsukuyomi-v3.png") 62% top / auto 100vh fixed no-repeat;
  }
  .masthead-mini { display: none; }
  .masthead-brand { left: 0; transform: none; width: 180px; }
  .masthead-brand img { width: 175px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    left: 15px;
    right: 15px;
    top: 43px;
    z-index: 40;
    height: auto;
    display: none;
    padding: 8px;
    border: 1px solid #693228;
    background: rgba(8,8,10,.98);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: grid; }
  .main-nav a { min-height: 38px; }
  .main-nav a + a::before { display: none; }
  .nav-account { margin-left: auto; }
  .portal-body { grid-template-columns: 1fr; gap: 28px; }
  .score-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 8px 25px; }
  .scroll-card { min-height: 165px; }
  .game-intro { max-width: 590px; }
}

@media (max-width: 650px) {
  .container { width: min(calc(100% - 20px), 560px); }
  .masthead { height: 76px; }
  .masthead-brand { height: 76px; width: 150px; }
  .masthead-brand img { width: 148px; max-height: 74px; }
  .server-badge { min-width: 118px; }
  .server-badge span { font-size: 9px; }
  .portal-body { padding-top: 15px; }
  .score-rail { grid-template-columns: 1fr; }
  .game-intro { min-height: 310px; padding-inline: 6px; }
  .game-intro h1 { font-size: 40px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 300px; }
  .hero-actions .button { width: 100%; }
  .live-line span + span { padding-left: 0; border-left: 0; }
  .news-feature { height: 175px; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row article { min-height: 92px; }
  .server-stats { grid-template-columns: 1fr 1fr; }
  .server-stats div:nth-child(2) { border-right: 0; }
  .server-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .page-banner h1 { font-size: 20px; }
  .download-panel { grid-template-columns: 1fr; padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .ranking-tools { align-items: stretch; flex-direction: column; }
  .ranking-tools label { display: grid; gap: 4px; }
  .ranking-tools input { width: 100%; margin: 0; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-story { display: none; }
  .guild-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: 1fr; }
  .profile-stats { grid-template-columns: 1fr 1fr; gap: 13px 0; }
  .profile-stats div:nth-child(2) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 3px; }
}

@media (max-width: 430px) {
  .server-badge small { display: none; }
  .server-badge { min-width: auto; }
  .server-badge span { display: none; }
  .server-badge i { grid-row: auto; }
  .nav-account a { padding-inline: 5px; font-size: 9px; }
  .game-intro h1 { font-size: 34px; }
  .news-copy h2 { font-size: 14px; }
  .registration-panel { padding-inline: 17px; }
  .ornate-heading { align-items: center; flex-direction: column; gap: 1px; }
}
/* Loja, fórum e navegação lateral */
.rune-rail {
  position: absolute;
  left: -46px;
  top: 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rune-rail a {
  position: relative;
  display: grid;
  place-items: center;
  width: 31px;
  height: 35px;
  color: #8e5f36;
  font-family: var(--font-ninja);
  font-size: 18px;
  text-shadow: 0 2px 4px #000;
  transition: color .2s ease, filter .2s ease;
}
.rune-rail a::after {
  content: "";
  position: absolute;
  right: -7px;
  width: 2px;
  height: 0;
  background: var(--blood-bright);
  box-shadow: 0 0 9px var(--blood-bright);
  transition: height .2s ease;
}
.rune-rail a:hover, .rune-rail a.active { color: var(--gold-light); filter: drop-shadow(0 0 6px #b5161d); }
.rune-rail a.active::after { height: 26px; }

.shop-panel, .forum-panel { padding: 14px; }
.shop-toolbar, .forum-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 35px;
  margin-bottom: 8px;
  padding: 0 8px;
  border-bottom: 1px solid #674632;
  background: rgba(8,8,9,.48);
}
.shop-tabs, .forum-toolbar > div { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.shop-tabs span, .forum-toolbar span {
  padding: 5px 7px;
  color: #bbaa92;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.shop-tabs span.active, .forum-toolbar span.active {
  color: #f2d791;
  border: 1px solid #82352c;
  background: linear-gradient(180deg, #6a1718, #2c090b);
}
.shop-cart, .forum-toolbar > a {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 6px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
}
.shop-cart b { grid-row: 1 / 3; color: #d05234; }
.shop-cart small { color: #8f8270; font-size: 7px; font-weight: 500; }

.shop-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.shop-product {
  min-height: 232px;
  padding: 11px 9px 10px;
  border: 1px solid #685039;
  background:
    radial-gradient(circle at 50% 30%, rgba(157,31,28,.16), transparent 42%),
    linear-gradient(180deg, rgba(27,24,22,.94), rgba(9,9,10,.98));
  box-shadow: inset 0 0 0 2px #0b0c0d, inset 0 0 0 3px rgba(184,139,76,.18);
  text-align: center;
}
.shop-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 3px;
  background-image: url("../images/shop-items-atlas-v2.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
  filter: drop-shadow(0 7px 8px rgba(0,0,0,.7));
}
.shop-icon-1 { background-position: 0 0; }
.shop-icon-2 { background-position: 50% 0; }
.shop-icon-3 { background-position: 100% 0; }
.shop-icon-4 { background-position: 0 100%; }
.shop-icon-5 { background-position: 50% 100%; }
.shop-icon-6 { background-position: 100% 100%; }
.shop-product h2 {
  min-height: 28px;
  margin: 1px 0 2px;
  color: var(--gold-light);
  font-family: var(--font-ninja);
  font-size: 11px;
  line-height: 1.15;
  text-transform: uppercase;
}
.shop-product p { min-height: 24px; margin: 0 0 3px; color: #9d9180; font-size: 7px; }
.shop-product strong { display: block; margin-bottom: 6px; color: #e2b75f; font-size: 8px; }
.shop-product > a {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #7f332c;
  color: #f1d9ae;
  background: linear-gradient(#6d191a, #31090b);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.shop-product > a:hover { filter: brightness(1.25); }

.forum-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(190px, 1.1fr) minmax(145px, .8fr) 55px 65px;
  gap: 8px;
  padding: 5px 12px 5px 56px;
  color: var(--gold-light);
  background: linear-gradient(180deg, #651616, #2c090b);
  font-size: 8px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}
.forum-head span:first-child, .forum-head span:nth-child(2) { text-align: left; }
.forum-list { position: relative; z-index: 1; }
.forum-list article {
  display: grid;
  grid-template-columns: 39px minmax(150px, 1.1fr) minmax(135px, .8fr) 55px 65px;
  gap: 8px;
  align-items: center;
  min-height: 61px;
  padding: 7px 12px;
  border: 1px solid #5c4430;
  border-top: 0;
  background: linear-gradient(180deg, rgba(32,26,22,.94), rgba(11,11,12,.96));
}
.forum-list article:nth-child(even) { background: linear-gradient(180deg, rgba(41,28,22,.94), rgba(13,12,12,.97)); }
.forum-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #f0b453;
  background: radial-gradient(circle, #80231f, #170707 68%);
  box-shadow: inset 0 0 0 1px #71422b, 0 0 10px rgba(185,35,29,.25);
  font-family: var(--font-ninja);
  font-size: 17px;
  font-style: normal;
}
.forum-list h2 { margin: 0; color: #ecd6aa; font-family: var(--font-ninja); font-size: 12px; }
.forum-list p { margin: 2px 0 0; color: #84796b; font-size: 7px; }
.forum-list article > div:nth-child(3) { display: grid; }
.forum-list article > div:nth-child(3) strong { color: #d5c4a8; font-size: 8px; }
.forum-list article > div:nth-child(3) small { color: #827769; font-size: 7px; }
.forum-list article > b { color: var(--gold); font-family: var(--font-ninja); font-size: 11px; text-align: center; }
.forum-tabs button {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid transparent;
  color: #bbaa92;
  background: transparent;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease, filter .18s ease;
}
.forum-tabs button:hover,
.forum-tabs button:focus-visible { color: #f2d791; background: rgba(113, 24, 25, .28); }
.forum-tabs button:focus-visible { outline: 1px solid #e8bd67; outline-offset: 2px; }
.forum-tabs button.active {
  color: #f2d791;
  border-color: #82352c;
  background: linear-gradient(180deg, #6a1718, #2c090b);
}
.forum-list article[hidden] { display: none; }

@media (max-width: 1180px) {
  .rune-rail { left: -34px; }
}
@media (max-width: 860px) {
  .rune-rail { display: none; }
}
@media (max-width: 650px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-toolbar, .forum-toolbar { align-items: flex-start; flex-direction: column; gap: 7px; padding-block: 7px; }
  .forum-head { display: none; }
  .forum-list article { grid-template-columns: 39px 1fr auto; }
  .forum-list article > div:nth-child(3) { grid-column: 2 / 4; padding-top: 4px; border-top: 1px solid #3f3329; }
  .forum-list article > b { grid-row: 1; }
  .forum-list article > b:last-child { display: none; }
}
@media (max-width: 420px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-product { min-height: 218px; }
}
/* Título metálico Bloodline */
.game-intro .bloodline-title {
  display: flex;
  align-items: center;
  gap: 15px;
  overflow: visible;
  margin: 7px 0 8px;
  padding-top: 8px;
  color: var(--gold);
  line-height: .92;
  letter-spacing: -.045em;
  -webkit-text-stroke: 0;
  text-shadow: none;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.9));
}
.bloodline-title .title-nto,
.bloodline-title .title-bloodline {
  display: inline-block;
  background-clip: text;
  -webkit-background-clip: text;
}
.bloodline-title .title-nto {
  position: relative;
  padding-right: 2px;
  color: #e4bd68;
  background-image: linear-gradient(180deg, #fff1b3 0%, #e9bd65 24%, #8d501d 52%, #f0cf7b 70%, #9a581e 100%);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px #3b0a07;
  text-shadow:
    0 2px 0 #2c0806,
    0 4px 0 #6f3217,
    0 7px 11px #000,
    0 0 18px rgba(183,28,28,.48);
}
.bloodline-title .title-o {
  display: inline-block;
  margin-left: .01em;
  color: #f2c66d;
  background: none;
  background-image: none;
  -webkit-text-fill-color: #f2c66d;
  -webkit-text-stroke: 1.5px #481008;
  text-shadow:
    0 -1px 0 #fff0a8,
    0 2px 0 #8a4617,
    0 4px 0 #3a0906,
    0 7px 11px #000,
    0 0 14px rgba(240,174,63,.56),
    0 0 25px rgba(183,28,28,.45);
  filter: brightness(1.15) saturate(1.08);
  transform: scale(1.04);
}
.bloodline-title .title-bloodline {
  position: relative;
  color: #d74732;
  background-image: linear-gradient(180deg, #ffae72 0%, #df4a31 24%, #7d090e 53%, #ee6341 73%, #7b0a0d 100%);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px #360506;
  text-shadow:
    0 2px 0 #f0a05b,
    0 4px 0 #4d0809,
    0 7px 12px #000,
    0 0 22px rgba(204,22,28,.58);
}
.bloodline-title .title-bloodline::after {
  content: "";
  position: absolute;
  left: 1%;
  right: 0;
  bottom: -.16em;
  height: 3px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, #7f0b0e 5%, #e66a3f 48%, #7f0b0e 95%, transparent);
  box-shadow: 0 2px 0 #2c0506, 0 0 9px rgba(197,24,29,.65);
}

@media (max-width: 650px) {
  .game-intro .bloodline-title { gap: 10px; letter-spacing: -.055em; }
}
@media (max-width: 430px) {
  .game-intro .bloodline-title { gap: 7px; font-size: 30px; }
}
/* Reforço de luminosidade do NT */
.bloodline-title .title-nt {
  display: inline-block;
  color: #f2c66d;
  -webkit-text-fill-color: #f2c66d;
  -webkit-text-stroke: 1.5px #481008;
  text-shadow:
    0 -1px 0 #fff0a8,
    0 2px 0 #8a4617,
    0 4px 0 #3a0906,
    0 7px 11px #000,
    0 0 14px rgba(240,174,63,.56),
    0 0 25px rgba(183,28,28,.45);
  filter: brightness(1.15) saturate(1.08);
}
/* Uniformização dourada do nome */
.bloodline-title .title-bloodline {
  color: #f2c66d;
  background: none;
  background-image: none;
  -webkit-text-fill-color: #f2c66d;
  -webkit-text-stroke: 1.5px #481008;
  text-shadow:
    0 -1px 0 #fff0a8,
    0 2px 0 #8a4617,
    0 4px 0 #3a0906,
    0 7px 11px #000,
    0 0 14px rgba(240,174,63,.56),
    0 0 25px rgba(183,28,28,.45);
  filter: brightness(1.15) saturate(1.08);
}
/* Elementos visuais somente em português */
.rune-label {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}
.rune-rail a {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .04em;
}
.feature-row i {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
}
.character-avatar,
.character-symbol {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 8px;
  font-weight: 900;
}
.forum-icon.forum-word {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 7px;
  font-weight: 900;
}
.quote-card span {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .05em;
}

/* Escala global e responsividade aprimorada */
html { font-size: 16px; }
body { font-size: 16px; }
.container { width: min(calc(100% - 40px), 1280px); }
.masthead { height: 100px; }
.masthead-mini { width: 205px; height: 98px; }
.masthead-mini img { width: 200px; max-height: 96px; }
.masthead-brand { width: 290px; height: 100px; }
.masthead-brand img { width: 282px; max-height: 98px; }
.nav-bar { height: 52px; }
.main-nav a, .nav-account a { padding-inline: 14px; font-size: 13px; }
.main-nav a + a::before { height: 16px; }
.server-badge { min-width: 170px; }
.server-badge span { font-size: 12px; }
.server-badge small { font-size: 10px; }
.status-banner, .flash { font-size: 13px; }

.portal-body {
  grid-template-columns: minmax(0, 860px) 250px;
  gap: clamp(45px, 6vw, 95px);
  min-height: 820px;
  padding-top: 34px;
  padding-bottom: 58px;
}
.screen { min-height: 720px; padding-bottom: 42px; }
.score-rail { min-width: 0; gap: 54px; }
.scroll-card {
  width: 100%;
  min-width: 0;
  min-height: 320px;
  padding: 52px 30px 40px;
  border: 0;
  border-radius: 0;
  background: url("../images/ranking-scroll-transparent-v3.png") center / 115% 100% no-repeat;
  box-shadow: none;
}
.scroll-card::before, .scroll-card::after { display: none; }
.scroll-card h2 { margin: 0 0 4px; padding-bottom: 7px; font-size: 18px; }
.scroll-card > p { margin-bottom: 9px; font-size: 10px; }
.scroll-card ol { width: 100%; min-width: 0; overflow: hidden; }
.scroll-card li {
  width: 100%;
  min-width: 0;
  grid-template-columns: 20px minmax(0, 1fr) minmax(0, 52px);
  gap: 5px;
  min-height: 25px;
  overflow: hidden;
  font-size: 11px;
}
.scroll-card li > * { min-width: 0; }
.scroll-card li b { width: 18px; height: 18px; font-size: 10px; }
.scroll-card li a {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.scroll-card li span {
  display: block;
  max-width: 52px;
  overflow: hidden;
  font-size: 9px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rail-empty { padding-block: 34px; font-size: 11px; }

.game-intro { max-width: 790px; min-height: 370px; padding: 42px 20px 18px; }
.game-intro .bloodline-title { gap: 18px; font-size: clamp(58px, 5.25vw, 78px); }
.rune-label { margin-bottom: 11px; font-size: 13px; letter-spacing: .18em; }
.hero-kicker { margin-top: 15px; font-size: 14px; }
.hero-lead { max-width: 610px; font-size: 13px; line-height: 1.65; }
.hero-actions { gap: 15px; margin-top: 21px; }
.live-line { gap: 18px; margin-top: 17px; font-size: 10px; }
.online-dot { width: 8px; height: 8px; }
.button { min-height: 45px; padding-inline: 22px; font-size: 12px; }
.button-small { min-height: 38px; padding-inline: 16px; }

.portal-section { margin-top: 25px; }
.section-title { height: 32px; margin-bottom: 12px; font-size: 18px; }
.section-title span { padding-inline: 15px; }
.news-feature { height: 235px; }
.news-copy { left: 24px; right: 24px; bottom: 18px; }
.news-copy small { font-size: 10px; }
.news-copy h2 { margin-top: 4px; font-size: 22px; }
.news-copy p { font-size: 12px; }
.feature-row { gap: 14px; }
.feature-row article { min-height: 145px; padding: 21px 16px 16px; }
.feature-row i { margin-bottom: 8px; font-size: 12px; }
.feature-row strong { font-size: 12px; }
.feature-row p { margin-top: 7px; font-size: 11px; line-height: 1.45; }
.server-stats { margin-top: 22px; padding: 18px; }
.server-stats div { padding: 7px 10px; }
.server-stats span { font-size: 10px; }
.server-stats strong { font-size: 25px; }

.page-banner { margin-bottom: 22px; padding: 22px 34px 21px; }
.page-banner.compact { padding-block: 18px; }
.page-banner p { font-size: 11px; }
.page-banner h1 { font-size: 33px; }
.page-banner span { font-size: 13px; }
.download-panel { gap: 28px; padding: 35px; }
.panel-kicker { margin-bottom: 16px; font-size: 10px; }
.download-button { min-height: 126px; }
.download-button small { font-size: 10px; }
.download-button strong { font-size: 29px; }
.download-button span { font-size: 12px; }
.download-details { margin-top: 20px; padding: 14px 17px; }
.download-details div { padding-block: 5px; font-size: 11px; }
.requirements-scroll { min-height: 380px; padding: 73px 64px 62px; }
.requirements-scroll h2 { font-size: 17px; }
.requirements-scroll li { margin-block: 9px; font-size: 11px; }

.ranking-panel, .shop-panel, .forum-panel { padding: 23px; }
.ranking-tools { margin-bottom: 13px; }
.ranking-tools > span { font-size: 13px; }
.ranking-tools label { font-size: 10px; }
.ranking-tools input { width: 225px; min-height: 39px; font-size: 12px; }
.game-table { font-size: 12px; }
.game-table th { padding: 9px 10px; }
.game-table td { padding: 8px 10px; }

.registration-panel { padding: 30px 34px 33px; }
.register-intro { min-height: 290px; }
.ornate-heading { gap: 12px; margin-bottom: 20px; padding-bottom: 10px; }
.ornate-heading span { font-size: 19px; }
.ornate-heading small { font-size: 10px; }
.form-grid { gap: 14px 16px; }
.registration-submit { min-width: 230px; margin-top: 17px; }
label { gap: 7px; font-size: 10px; }
input, select { min-height: 44px; padding: 9px 12px; font-size: 13px; }
.password-field button { font-size: 10px; }
.checkbox { margin-top: 14px; }
.checkbox input { width: 18px; min-height: 18px; }
.checkbox span { font-size: 11px; }

.page-hero, .account-hero { margin-bottom: 19px; padding: 20px 28px; }
.page-hero h1, .account-hero h1, .auth-story h1, .error-page h1 { font-size: 36px; }
.page-hero p:last-child, .account-hero p { font-size: 13px; }
.eyebrow { font-size: 10px; }
.page-section, .account-section { padding-bottom: 40px; }
.panel { padding: 23px; }
.panel-head { margin-bottom: 17px; padding-bottom: 14px; }
.panel-head span { font-size: 10px; }
.panel-head h2 { font-size: 23px; }
.empty-state { padding: 46px 20px; }
.empty-state p { font-size: 12px; }

.guild-grid { gap: 15px; }
.guild-card { min-height: 230px; padding: 24px; }
.guild-mark { width: 55px; height: 55px; }
.guild-card-top { font-size: 10px; }
.guild-card h2 { font-size: 24px; }
.guild-card p { font-size: 11px; line-height: 1.5; }
.guild-card dt { font-size: 9px; }
.guild-card dd { font-size: 11px; }
.search-card { padding: 21px; margin-bottom: 16px; }
.character-profile { padding: 27px; }
.character-avatar { width: 78px; height: 78px; font-size: 11px; }
.character-head { gap: 19px; padding-bottom: 18px; }
.character-head h2 { font-size: 24px; }
.character-head p { font-size: 11px; }
.online-label, .offline-label { font-size: 9px; }
.profile-stats { padding-block: 20px; }
.profile-stats span { font-size: 9px; }
.profile-stats strong { font-size: 24px; }
.profile-details { font-size: 10px; }

.auth-section { padding: 30px 0 48px; }
.auth-shell { gap: 26px; }
.auth-story { padding: 22px; }
.auth-story h1 { font-size: 39px; }
.auth-story > p:not(.eyebrow) { font-size: 13px; }
.quote-card { padding: 17px; }
.quote-card span { font-size: 12px; }
.quote-card blockquote { font-size: 11px; }
.auth-card { padding: 29px; }
.auth-card-head > span { font-size: 10px; }
.auth-card-head h2 { font-size: 31px; }
.auth-card-head p { font-size: 11px; }
.auth-card form { gap: 10px; }
.auth-card small { font-size: 9px; }
.auth-switch { font-size: 11px; }
.benefit-list { font-size: 11px; }

.dashboard-grid { grid-template-columns: minmax(0,1fr) 270px; gap: 16px; }
.dashboard-main, .dashboard-side { gap: 14px; }
.summary-grid { gap: 12px; }
.summary-grid article { padding: 18px; }
.summary-grid span, .summary-grid small { font-size: 9px; }
.summary-grid strong { font-size: 21px; }
.character-list a { grid-template-columns: 43px 1fr auto 18px; gap: 12px; padding-block: 12px; }
.character-symbol { width: 40px; height: 40px; font-size: 10px; }
.character-list strong { font-size: 12px; }
.character-list small, .character-list i { font-size: 9px; }
.settings-panel { padding-inline: 20px; }
.settings-panel summary { padding-block: 17px; }
.settings-panel summary small, .create-character legend { font-size: 9px; }
.create-character h2 { font-size: 25px; }
.create-character > p { font-size: 10px; }
.radio span { min-height: 39px; font-size: 10px; }
.support-card { padding: 20px; }
.support-card span { font-size: 9px; }
.support-card p, .support-card a { font-size: 10px; }

.rune-rail { left: -58px; gap: 18px; }
.rune-rail a { width: 43px; height: 43px; font-size: 9px; }
.shop-toolbar, .forum-toolbar { min-height: 46px; margin-bottom: 12px; padding-inline: 11px; }
.shop-tabs span, .forum-toolbar span { padding: 7px 10px; font-size: 10px; }
.shop-cart, .forum-toolbar > a { font-size: 10px; }
.shop-cart small { font-size: 9px; }
.shop-grid { gap: 11px; }
.shop-product { min-height: 285px; padding: 14px 12px 13px; }
.shop-icon { width: 122px; height: 122px; }
.shop-product h2 { min-height: 35px; font-size: 14px; }
.shop-product p { min-height: 31px; font-size: 10px; }
.shop-product strong { font-size: 11px; }
.shop-product > a { min-height: 32px; padding-inline: 18px; font-size: 10px; }
.forum-head { grid-template-columns: minmax(210px, 1.1fr) minmax(170px, .8fr) 65px 75px; padding: 8px 15px 8px 67px; font-size: 10px; }
.forum-list article { grid-template-columns: 50px minmax(180px, 1.1fr) minmax(155px, .8fr) 65px 75px; gap: 11px; min-height: 79px; padding: 10px 15px; }
.forum-icon { width: 43px; height: 43px; font-size: 10px; }
.forum-list h2 { font-size: 15px; }
.forum-list p { font-size: 10px; }
.forum-list article > div:nth-child(3) strong { font-size: 10px; }
.forum-list article > div:nth-child(3) small { font-size: 9px; }
.forum-list article > b { font-size: 14px; }

.footer-grid { gap: 38px; padding-top: 31px; padding-bottom: 25px; }
.footer-logo { width: 180px; height: 82px; }
.footer-grid p { max-width: 330px; font-size: 10px; }
.footer-grid strong { font-size: 11px; }
.footer-grid a, .footer-grid span { font-size: 10px; }
.footer-bottom { padding-block: 14px 16px; font-size: 9px; }

@media (max-width: 1200px) {
  .container { width: min(calc(100% - 34px), 1100px); }
  .portal-body { grid-template-columns: minmax(0, 1fr) 230px; gap: 40px; }
  .main-nav a, .nav-account a { padding-inline: 10px; font-size: 12px; }
  .game-intro .bloodline-title { font-size: clamp(53px, 5.4vw, 68px); }
  .rune-rail { left: -43px; }
}

@media (max-width: 900px) {
  .container { width: min(calc(100% - 28px), 820px); }
  .masthead { height: 88px; }
  .masthead-brand { width: 205px; height: 88px; }
  .masthead-brand img { width: 198px; max-height: 86px; }
  .masthead-mini { display: none; }
  .nav-bar { height: 50px; }
  .menu-toggle { display: block; }
  .main-nav { top: 50px; }
  .main-nav a { min-height: 46px; font-size: 13px; }
  .portal-body { grid-template-columns: 1fr; gap: 38px; min-height: 0; }
  .screen { min-height: 0; }
  .score-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: 0 12px 32px; }
  .scroll-card { min-height: 330px; padding-inline: 46px; }
  .game-intro { max-width: 720px; min-height: 350px; }
  .game-intro .bloodline-title { font-size: clamp(50px, 8vw, 66px); }
  .rune-rail { display: none; }
  .auth-shell { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .container { width: min(calc(100% - 20px), 580px); }
  .masthead { height: 78px; }
  .masthead-brand { width: 160px; height: 78px; }
  .masthead-brand img { width: 156px; max-height: 76px; }
  .nav-account a { padding-inline: 7px; font-size: 10px; }
  .portal-body { padding-top: 22px; padding-bottom: 38px; }
  .game-intro { min-height: 350px; padding: 40px 5px 16px; }
  .game-intro .bloodline-title { gap: 9px; font-size: clamp(34px, 10.2vw, 48px); }
  .hero-kicker { font-size: 12px; }
  .hero-lead { font-size: 11px; }
  .hero-actions { max-width: none; }
  .button { min-height: 46px; font-size: 11px; }
  .live-line { font-size: 9px; }
  .news-feature { height: 220px; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row article { min-height: 125px; }
  .server-stats { grid-template-columns: repeat(2, 1fr); }
  .page-banner h1 { font-size: 27px; }
  .download-panel, .form-grid, .guild-grid { grid-template-columns: 1fr; }
  .download-panel { padding: 24px; }
  .registration-panel { padding-inline: 20px; }
  .score-rail { grid-template-columns: 1fr; padding-inline: 0; }
  .scroll-card { min-height: 365px; padding: 63px 16% 48px; }
  .scroll-card li { min-height: 27px; font-size: 12px; }
  .scroll-card li span { font-size: 10px; }
  .ranking-panel, .shop-panel, .forum-panel { padding: 15px; }
  .game-table { font-size: 11px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .forum-list article { grid-template-columns: 48px 1fr auto; min-height: 88px; }
  .summary-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
  .footer-bottom { gap: 8px; flex-direction: column; }
}

@media (max-width: 430px) {
  .server-badge span, .server-badge small { display: none; }
  .server-badge { min-width: auto; }
  .game-intro .bloodline-title { gap: 6px; font-size: 31px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .news-copy h2 { font-size: 18px; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-product { min-height: 275px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Ajuste intermediario do menu */
@media (min-width: 861px) and (max-width: 900px) {
  .menu-toggle { display: none; }
}

/* Área segura para os atalhos laterais em zoom de 100% */
.portal-body { padding-left: 72px; }

@media (max-width: 1200px) {
  .portal-body { padding-left: 58px; }
}

@media (max-width: 980px) {
  .portal-body {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: 0;
    padding-left: 0;
  }
  .screen { min-height: 0; }
  .rune-rail { display: none; }
  .score-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    padding: 0 12px 32px;
  }
  .scroll-card { min-height: 330px; padding-inline: 46px; }
}

@media (max-width: 650px) {
  .score-rail { grid-template-columns: 1fr; padding-inline: 0; }
  .scroll-card { min-height: 365px; padding-inline: clamp(58px, 18vw, 76px); }
  .scroll-card ol { width: calc(100% - 36px); margin-inline: auto; }
  .scroll-card li { grid-template-columns: 20px minmax(0, 1fr) 40px; }
  .scroll-card li span {
    max-width: 40px;
    justify-self: start;
    text-align: left;
  }
}

/* Reposicionamento interno dos atalhos laterais */
.rune-rail { left: 14px; }

/* Abas funcionais da loja */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.shop-tabs button {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid transparent;
  color: #bbaa92;
  background: transparent;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease, filter .18s ease;
}
.shop-tabs button:hover { color: #f2d791; background: rgba(113, 24, 25, .28); }
.shop-tabs button.active {
  color: #f2d791;
  border-color: #82352c;
  background: linear-gradient(180deg, #6a1718, #2c090b);
  box-shadow: inset 0 0 0 1px rgba(245, 194, 112, .08), 0 0 12px rgba(180, 24, 29, .18);
}
.shop-tabs button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.shop-product:not([hidden]) { animation: shop-product-in .24s ease both; }
@keyframes shop-product-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 650px) {
  .shop-tabs { gap: 4px; }
  .shop-tabs button { min-height: 38px; padding-inline: 9px; }
}

/* =========================================================
   CRIADOR VISUAL DE PERSONAGEM
   ========================================================= */
.account-dashboard .vocation-creator {
  position: relative;
  grid-column: 1 / -1;
  padding: 26px;
  overflow: hidden;
  border-color: #745333;
  background:
    radial-gradient(circle at 86% 4%, rgba(146, 24, 25, .18), transparent 30%),
    linear-gradient(145deg, rgba(25, 17, 17, .97), rgba(8, 8, 10, .98));
}
.account-dashboard .vocation-creator::after {
  content: "";
  position: absolute;
  inset: 7px;
  pointer-events: none;
  border: 1px solid rgba(206, 159, 83, .16);
}
.vocation-creator-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(181, 67, 48, .46);
}
.create-character .vocation-creator-head h2 {
  margin: 4px 0 6px;
  color: #f3d38b;
  font-family: var(--font-ninja);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(210, 45, 30, .28);
}
.create-character .vocation-creator-head > div > p:last-child {
  max-width: 670px;
  margin: 0;
  color: #b9ad9d;
  font-size: 11px;
  line-height: 1.65;
}
.vocation-creator-seal {
  display: grid;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  place-content: center;
  border: 1px solid #8e5b30;
  border-radius: 50%;
  color: #f4c66b;
  background: radial-gradient(circle, #6c1517 0 34%, #1a080a 36% 62%, #060608 64%);
  box-shadow: 0 0 0 5px rgba(114, 40, 28, .23), inset 0 0 19px rgba(238, 77, 35, .28);
  text-align: center;
}
.vocation-creator-seal span { font-family: var(--font-ninja); font-size: 25px; line-height: 1; }
.vocation-creator-seal small { color: #e7c17d; font-size: 8px; font-weight: 900; letter-spacing: .18em; }
.create-character .vocation-creator-form {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
}
.vocation-identity-fields {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(280px, .85fr);
  gap: 15px;
  align-items: end;
}
.vocation-name-field,
.vocation-gender-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.vocation-name-field > span,
.vocation-gender-field legend {
  color: #d5c5aa;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.vocation-name-field input {
  min-height: 48px;
  font-size: 13px;
}
.create-character .vocation-gender-field {
  display: grid;
  margin: 0;
  padding: 0;
  border: 0;
}
.vocation-gender-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.vocation-gender-options .radio {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #5d4933;
  color: #c5b59e;
  background: rgba(11, 11, 13, .82);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.vocation-gender-options .radio:has(input:focus-visible) {
  outline: 2px solid #f1c56f;
  outline-offset: 2px;
}
.vocation-gender-options .radio:has(input:checked) {
  border-color: #bd7837;
  color: #ffe0a0;
  background: linear-gradient(180deg, rgba(108, 27, 27, .84), rgba(42, 10, 12, .9));
  box-shadow: inset 0 0 0 1px rgba(244, 198, 107, .12);
}
.vocation-gender-options input { accent-color: #b82127; }
.vocation-gender-options .radio input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
}
.vocation-gender-options .radio span,
.vocation-gender-options .radio input:checked + span {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-size: 10px;
  line-height: 1;
}
.vocation-picker-shell {
  padding: 17px;
  border: 1px solid #6d5134;
  background:
    linear-gradient(rgba(255,255,255,.015), rgba(255,255,255,0)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.012) 0 1px, transparent 1px 5px),
    rgba(6, 6, 8, .82);
  box-shadow: inset 0 0 0 4px rgba(6, 6, 8, .55), inset 0 0 0 5px rgba(198, 147, 74, .12);
}
.vocation-picker-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 2px 2px 13px;
}
.vocation-picker-toolbar > div { display: grid; gap: 3px; }
.vocation-picker-toolbar > div span,
.vocation-submit-row > div span {
  color: #d04b39;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}
.vocation-picker-toolbar > div strong {
  color: #e9cf98;
  font-family: var(--font-ninja);
  font-size: 18px;
}
.vocation-search {
  position: relative;
  display: block;
  width: min(100%, 310px);
}
.vocation-search input {
  width: 100%;
  min-height: 43px;
  padding: 10px 42px 10px 14px;
  border-color: #725338;
  font-size: 12px;
}
.vocation-search button {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 30px;
  height: 30px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  color: #d9b670;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}
.vocation-picker-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 2px;
  border-top: 1px solid rgba(122, 75, 43, .34);
  color: #897c6a;
  font-size: 9px;
  text-transform: uppercase;
}
.vocation-picker-meta span:first-child { color: #d8bd87; }
.vocation-card-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.vocation-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: max-content;
  align-content: start;
  gap: 13px;
  max-height: 740px;
  padding: 5px 8px 5px 2px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: #85302b #161013;
  scrollbar-width: thin;
}
.vocation-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  align-self: start;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #4e3f31;
  color: #d7c8ae;
  background: #0b0a0c;
  box-shadow: 0 4px 13px rgba(0, 0, 0, .28);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease;
}
.vocation-card:hover {
  z-index: 1;
  transform: translateY(-3px);
  border-color: #a26037;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .46), 0 0 13px rgba(169, 40, 31, .14);
  filter: brightness(1.08);
}
.vocation-card:has(input:focus-visible) {
  outline: 2px solid #f1c56f;
  outline-offset: 2px;
}
.vocation-card:has(input:checked),
.vocation-card.is-selected {
  border-color: #e0a14c;
  box-shadow: 0 0 0 2px #7b161b, 0 0 22px rgba(218, 52, 39, .32);
  background: #18090b;
}
.vocation-card[hidden] { display: none; }
.vocation-card-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #13080a;
}
.vocation-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(4, 3, 5, .93));
}
.vocation-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  transition: transform .22s ease;
}
.vocation-card:hover .vocation-card-media img { transform: scale(1.045); }
.vocation-card-check {
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 9px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  transform: scale(.7);
  border: 1px solid #f3cf83;
  border-radius: 50%;
  opacity: 0;
  color: #fff1c2;
  background: #83191e;
  box-shadow: 0 2px 10px #000;
  font-size: 15px;
  transition: opacity .18s ease, transform .18s ease;
}
.vocation-card:has(input:checked) .vocation-card-check,
.vocation-card.is-selected .vocation-card-check { transform: scale(1); opacity: 1; }
.vocation-card-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 11px 12px 13px;
  border-top: 1px solid rgba(207, 155, 77, .19);
}
.vocation-card-copy strong {
  overflow: hidden;
  color: #f1d59e;
  font-family: var(--font-ninja);
  font-size: 15px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vocation-card-copy small {
  color: #8d7c68;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.vocation-card:has(input:checked) .vocation-card-copy strong,
.vocation-card.is-selected .vocation-card-copy strong { color: #ffe09a; }
.vocation-empty {
  margin: 18px 0 6px;
  padding: 28px;
  border: 1px dashed #684733;
  color: #bba98d;
  text-align: center;
}
.vocation-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 17px;
  border: 1px solid #60442f;
  background: linear-gradient(90deg, rgba(82, 15, 18, .34), rgba(12, 10, 11, .82));
}
.vocation-submit-row > div { display: grid; gap: 3px; }
.vocation-submit-row > div strong {
  color: #f1d99f;
  font-family: var(--font-ninja);
  font-size: 18px;
}
.vocation-submit-row .button { min-width: 220px; }
.character-symbol.character-portrait {
  display: block;
  object-fit: cover;
  border: 1px solid #855231;
  border-radius: 2px;
  background: #12090a;
}

@media (max-width: 900px) {
  .account-dashboard .vocation-creator { padding: 22px; }
  .vocation-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .account-dashboard .vocation-creator { padding: 18px 14px; }
  .vocation-creator-head { align-items: flex-start; margin-bottom: 17px; }
  .vocation-creator-seal { flex-basis: 56px; width: 56px; height: 56px; }
  .vocation-creator-seal span { font-size: 19px; }
  .vocation-identity-fields { grid-template-columns: 1fr; }
  .vocation-picker-shell { padding: 11px; }
  .vocation-picker-toolbar { align-items: stretch; flex-direction: column; }
  .vocation-search { width: 100%; }
  .vocation-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; max-height: 68vh; }
  .vocation-card-copy { padding: 9px 9px 11px; }
  .vocation-card-copy strong { font-size: 13px; }
  .vocation-submit-row { align-items: stretch; flex-direction: column; }
  .vocation-submit-row .button { width: 100%; min-width: 0; }
}

@media (max-width: 360px) {
  .vocation-card-grid { grid-template-columns: 1fr; }
  .vocation-picker-meta span:last-child { display: none; }
}
/* PERFIL SHINOBI DETALHADO */
.character-page-shell { max-width: 1100px; }
.character-search-card {
  margin-bottom: 18px;
  padding: 20px 22px;
  border-color: #76502e;
  background:
    linear-gradient(110deg, rgba(79, 14, 17, .2), transparent 42%),
    repeating-linear-gradient(128deg, rgba(255,255,255,.016) 0 1px, transparent 1px 5px),
    rgba(11, 10, 11, .94);
}
.character-search-card label {
  color: #d6c5a9;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.shinobi-profile.panel {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-color: #8a5b30;
  background:
    radial-gradient(circle at 82% 4%, rgba(154, 21, 25, .16), transparent 34%),
    repeating-linear-gradient(128deg, rgba(255,255,255,.015) 0 1px, transparent 1px 5px),
    linear-gradient(145deg, #151112, #09090a 62%, #13090a);
  box-shadow: 0 22px 55px rgba(0,0,0,.58), inset 0 0 45px rgba(101,21,17,.09);
}
.shinobi-profile.panel::before {
  z-index: 5;
  inset: 7px;
  border-color: rgba(189, 137, 72, .45);
}
.shinobi-profile::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -120px;
  top: -150px;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(177, 33, 26, .12);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(145, 17, 22, .14);
  pointer-events: none;
}
.shinobi-profile-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(245px, 31%) minmax(0, 1fr) 116px;
  min-height: 270px;
  border-bottom: 1px solid #674225;
  background: linear-gradient(90deg, rgba(72,13,16,.3), transparent 58%);
}
.shinobi-portrait-wrap {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  border-right: 1px solid #6c4325;
  background: #10090a;
}
.shinobi-portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(7,5,6,.94) 100%),
    linear-gradient(90deg, transparent 72%, rgba(11,9,10,.88));
  pointer-events: none;
}
.shinobi-portrait {
  width: 100%;
  height: 100%;
  min-height: 270px;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.9) contrast(1.08);
}
.shinobi-portrait-fallback {
  height: 100%;
  min-height: 270px;
  display: grid;
  place-content: center;
  text-align: center;
  background: radial-gradient(circle, #4c1116, #0d090a 68%);
}
.shinobi-portrait-fallback span {
  color: #e1bd70;
  font-family: var(--font-ninja);
  font-size: 46px;
  font-weight: 900;
}
.shinobi-portrait-fallback small { color: #9d7650; letter-spacing: .22em; }
.shinobi-vocation-ribbon {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 17px;
  max-width: calc(100% - 36px);
  padding: 7px 12px;
  border-left: 3px solid #d39742;
  color: #f4d899;
  background: rgba(18,7,8,.84);
  box-shadow: 0 5px 18px rgba(0,0,0,.45);
  font-family: var(--font-ninja);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}
.shinobi-identity {
  align-self: center;
  min-width: 0;
  padding: 32px 30px;
}
.shinobi-status-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 19px;
  color: #8e8170;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.shinobi-status-line > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.shinobi-status-line i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}
.shinobi-identity .eyebrow { margin-bottom: 5px; }
.shinobi-identity h2 {
  margin: 0;
  color: #f3d894;
  font-family: var(--font-ninja);
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1;
  text-shadow: 0 2px 0 #4b160f, 0 0 22px rgba(189,85,42,.16);
}
.shinobi-title {
  margin: 8px 0 19px;
  color: #b8aa96;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.shinobi-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.shinobi-tags span {
  padding: 6px 9px;
  border: 1px solid #49362a;
  color: #a99a86;
  background: rgba(0,0,0,.25);
  font-size: 9px;
  font-weight: 700;
}
.shinobi-level-seal {
  align-self: center;
  justify-self: center;
  width: 86px;
  height: 86px;
  display: grid;
  place-content: center;
  border: 1px solid #8c5a27;
  border-radius: 50%;
  color: #e7c678;
  background:
    radial-gradient(circle, rgba(105,23,20,.68), rgba(15,10,10,.96) 67%),
    #120b0b;
  box-shadow: 0 0 0 5px rgba(110,72,36,.16), inset 0 0 18px rgba(221,151,63,.12);
  text-align: center;
}
.shinobi-level-seal span { font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.shinobi-level-seal strong { display: block; font-family: var(--font-ninja); font-size: 31px; line-height: .95; }
.shinobi-overview {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(285px, .65fr);
  gap: 1px;
  background: #4d3827;
  border-bottom: 1px solid #654323;
}
.shinobi-vitals, .shinobi-summary, .shinobi-skills { background: rgba(12,11,12,.96); }
.shinobi-vitals { padding: 25px 28px 27px; }
.shinobi-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 21px;
}
.shinobi-section-title span {
  display: block;
  color: #c34b38;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}
.shinobi-section-title h3 {
  margin: 2px 0 0;
  color: #e8cf92;
  font-family: var(--font-ninja);
  font-size: 22px;
}
.shinobi-section-title small { color: #786e62; font-size: 9px; text-align: right; }
.vital-list { display: grid; gap: 17px; }
.vital-row {
  display: grid;
  grid-template-columns: minmax(120px, .45fr) minmax(160px, 1fr) 42px;
  align-items: center;
  gap: 13px;
}
.vital-copy { display: grid; gap: 2px; }
.vital-copy span { color: #9e9180; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.vital-copy strong { color: #e4d5bb; font-size: 12px; }
.vital-row em {
  color: #bfb09c;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}
.vital-row > small {
  grid-column: 2 / 4;
  margin-top: -8px;
  color: #766c61;
  font-size: 8px;
}
.profile-meter {
  position: relative;
  overflow: hidden;
  height: 11px;
  border: 1px solid #43372e;
  border-radius: 20px;
  background: #080808;
  box-shadow: inset 0 2px 5px rgba(0,0,0,.8);
}
.profile-meter::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: repeating-linear-gradient(90deg, transparent 0 19px, rgba(0,0,0,.24) 19px 21px);
  pointer-events: none;
}
.profile-meter > span {
  display: block;
  width: var(--bar-value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8f171b, #dc3f35 72%, #ff8a5f);
  box-shadow: 0 0 12px rgba(226,51,45,.4);
}
.vital-mana .profile-meter > span { background: linear-gradient(90deg, #173f75, #2d78c7 72%, #77c6ff); box-shadow: 0 0 12px rgba(55,128,215,.4); }
.vital-experience .profile-meter > span { background: linear-gradient(90deg, #735019, #cf9536 72%, #ffe28a); box-shadow: 0 0 12px rgba(214,158,61,.38); }
.shinobi-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 17px;
}
.shinobi-summary > div {
  min-width: 0;
  padding: 15px 13px;
  border-right: 1px solid #392f27;
  border-bottom: 1px solid #392f27;
}
.shinobi-summary > div:nth-child(2n) { border-right: 0; }
.shinobi-summary > div:nth-last-child(-n+2) { border-bottom: 0; }
.shinobi-summary span, .shinobi-summary small { display: block; }
.shinobi-summary span { color: #827668; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.shinobi-summary strong { display: block; margin: 3px 0; color: #e8cc85; font-family: var(--font-ninja); font-size: 24px; }
.shinobi-summary small { overflow: hidden; color: #70675e; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.shinobi-skills {
  position: relative;
  z-index: 1;
  padding: 26px 28px 29px;
}
.shinobi-skill-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.shinobi-skill-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #3f332a;
  background: linear-gradient(100deg, rgba(89,17,18,.16), rgba(255,255,255,.012));
}
.skill-code {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #79502a;
  border-radius: 50%;
  color: #e4c370;
  background: radial-gradient(circle, #4d1617, #120d0e 70%);
  font-family: var(--font-ninja);
  font-size: 12px;
  font-weight: 900;
}
.skill-data { min-width: 0; }
.skill-data > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.skill-data > div:first-child span { overflow: hidden; color: #cabcaa; font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.skill-data > div:first-child strong { color: #f0d387; font-family: var(--font-ninja); font-size: 17px; }
.skill-meter { height: 7px; }
.skill-meter > span { background: linear-gradient(90deg, #7e241f, #d16f35 70%, #f1cf76); box-shadow: 0 0 8px rgba(205,105,48,.32); }
.skill-data small { display: block; margin-top: 5px; color: #6f665c; font-size: 8px; }
.shinobi-profile-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #5b3c23;
  background: rgba(6,6,7,.84);
}
.shinobi-profile-footer span {
  padding: 15px 18px;
  border-right: 1px solid #392d25;
  color: #776e63;
  font-size: 9px;
  text-align: center;
}
.shinobi-profile-footer span:last-child { border-right: 0; }
.shinobi-profile-footer strong { color: #c5b69d; }

@media (max-width: 820px) {
  .shinobi-profile-head { grid-template-columns: 220px minmax(0, 1fr); }
  .shinobi-level-seal { position: absolute; right: 19px; top: 18px; width: 68px; height: 68px; }
  .shinobi-level-seal strong { font-size: 25px; }
  .shinobi-identity { padding-right: 93px; }
  .shinobi-overview { grid-template-columns: 1fr; }
  .shinobi-summary { grid-template-columns: repeat(3, 1fr); }
  .shinobi-summary > div, .shinobi-summary > div:nth-child(2n) { border-right: 1px solid #392f27; border-bottom: 1px solid #392f27; }
  .shinobi-summary > div:nth-child(3n) { border-right: 0; }
  .shinobi-summary > div:nth-last-child(-n+3) { border-bottom: 0; }
}

@media (max-width: 620px) {
  .character-search-card { padding: 16px; }
  .character-search-card > div { grid-template-columns: 1fr; }
  .character-search-card .button { width: 100%; }
  .shinobi-profile-head { grid-template-columns: 1fr; }
  .shinobi-portrait-wrap, .shinobi-portrait, .shinobi-portrait-fallback { min-height: 220px; }
  .shinobi-portrait-wrap { aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid #674225; }
  .shinobi-identity { padding: 25px 21px 27px; }
  .shinobi-identity h2 { font-size: 34px; }
  .shinobi-level-seal { top: 18px; right: 18px; }
  .shinobi-vitals, .shinobi-skills { padding: 22px 18px 24px; }
  .shinobi-section-title { align-items: start; flex-direction: column; gap: 4px; }
  .shinobi-section-title small { text-align: left; }
  .vital-row { grid-template-columns: 1fr 40px; gap: 8px; }
  .vital-copy { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; }
  .vital-row > small { grid-column: 1 / -1; margin-top: -3px; }
  .shinobi-summary { grid-template-columns: repeat(2, 1fr); }
  .shinobi-summary > div, .shinobi-summary > div:nth-child(3n) { border-right: 1px solid #392f27; border-bottom: 1px solid #392f27; }
  .shinobi-summary > div:nth-child(2n) { border-right: 0; }
  .shinobi-summary > div:nth-last-child(-n+2) { border-bottom: 0; }
  .shinobi-skill-grid { grid-template-columns: 1fr; }
  .shinobi-profile-footer { grid-template-columns: 1fr; }
  .shinobi-profile-footer span { border-right: 0; border-bottom: 1px solid #392d25; text-align: left; }
  .shinobi-profile-footer span:last-child { border-bottom: 0; }
}

@media (max-width: 390px) {
  .shinobi-level-seal { width: 60px; height: 60px; }
  .shinobi-status-line { padding-right: 58px; }
  .shinobi-identity { padding-right: 19px; }
  .shinobi-tags span { font-size: 8px; }
  .shinobi-summary { grid-template-columns: 1fr 1fr; padding: 10px; }
  .shinobi-summary > div { padding: 12px 9px; }
}
/* Tipografia tematica Ninja Naruto: textos curtos e elementos de destaque. */
.main-nav a,
.nav-account a,
.button,
.shop-tabs button,
.shop-product > a,
.vocation-card-copy strong {
  font-family: var(--font-ninja);
}
/* Pergaminhos laterais: arte um pouco mais larga e linhas compactas. */
.scroll-card li {
  grid-template-columns: 20px fit-content(110px) fit-content(44px);
  justify-content: center;
}
.scroll-card li span {
  max-width: 44px;
  justify-self: start;
  text-align: left;
}

@media (min-width: 1201px) {
  .portal-body { grid-template-columns: minmax(0, 840px) 270px; }
}

@media (min-width: 981px) and (max-width: 1200px) {
  .portal-body { grid-template-columns: minmax(0, 1fr) 250px; }
}
/* Moldura semitransparente do cabecalho. */
.site-header {
  border-top: 1px solid rgba(232, 193, 103, .36);
  border-bottom: 0;
  background:
    radial-gradient(circle at 18% 0, rgba(132, 14, 20, .22), transparent 31%),
    radial-gradient(circle at 78% -25%, rgba(201, 153, 70, .08), transparent 30%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, rgba(13, 14, 18, .82), rgba(5, 6, 8, .72));
  box-shadow:
    0 9px 28px rgba(0,0,0,.72),
    inset 0 1px rgba(255, 224, 153, .08),
    inset 0 -1px rgba(154, 17, 23, .46);
  backdrop-filter: blur(7px) saturate(1.12);
  -webkit-backdrop-filter: blur(7px) saturate(1.12);
}
.site-header > * { position: relative; z-index: 1; }
.nav-bar {
  border-top: 1px solid rgba(224, 182, 99, .20);
  border-bottom: 1px solid rgba(134, 19, 24, .72);
  background: linear-gradient(180deg, rgba(8, 9, 12, .76), rgba(3, 4, 6, .84));
  box-shadow: inset 0 1px rgba(255,255,255,.025), inset 0 -8px 18px rgba(0,0,0,.24);
}

/* Navegacao principal centralizada, com a conta fixa a direita. */
.nav-shell { position: relative; justify-content: center; }
.main-nav { margin-inline: auto; }
.nav-account {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  margin-left: 0;
}
.nav-account a {
  height: 34px;
  padding-inline: 15px;
  border: 1px solid rgba(190, 139, 65, .48);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(86, 22, 23, .54), rgba(17, 10, 11, .62));
  box-shadow: inset 0 0 0 1px rgba(255, 220, 143, .05), 0 0 12px rgba(128, 17, 22, .18);
  transform: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.nav-account a:hover {
  border-color: rgba(238, 192, 96, .76);
  background: linear-gradient(180deg, rgba(116, 27, 29, .68), rgba(28, 12, 13, .78));
  box-shadow: inset 0 0 0 1px rgba(255, 228, 157, .08), 0 0 15px rgba(176, 25, 31, .32);
}

@media (max-width: 900px) {
  .nav-shell { justify-content: flex-start; }
  .main-nav { margin-inline: 0; }
  .nav-account { position: static; margin-left: auto; }
}
/* Rodape mais compacto e com leitura reforcada. */
.footer-grid {
  grid-template-columns: minmax(250px, 330px) repeat(3, minmax(120px, 145px));
  justify-content: center;
  column-gap: clamp(34px, 5vw, 72px);
  row-gap: 16px;
  padding-top: 17px;
  padding-bottom: 11px;
}
.footer-logo { width: 156px; height: 68px; }
.footer-grid p { max-width: 285px; font-size: 11px; line-height: 1.45; }
.footer-grid > div:not(:first-child) { gap: 2px; padding-top: 5px; }
.footer-grid strong { margin-bottom: 4px; font-size: 13px; line-height: 1.3; }
.footer-grid a,
.footer-grid span { font-size: 11px; line-height: 1.45; }
.footer-bottom { padding-top: 9px; padding-bottom: 10px; font-size: 10px; }

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(105px, 1fr));
    column-gap: 22px;
  }
}

@media (max-width: 650px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 16px 24px;
    padding-top: 15px;
  }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:not(:first-child) { padding-top: 0; }
}

@media (max-width: 430px) {
  .footer-grid { grid-template-columns: 1fr; gap: 13px; }
  .footer-grid > div:first-child { grid-column: auto; }
}
