:root {
  --bg-main: #ffffff;
  --bg-secondary: #000000;
  --bg-tertiary: #111827;

  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-hover: #f1f5f9;

  --color-title: #4d4d4d;
  --color-subtitle: #4d4d4d;
  --color-text: #4b5563;
  --color-muted: #6b7280;
  --color-white: #ffffff;
  --color-light: #e5e7eb;
  --color-border: #e5e7eb;

  --color-primary: #ffffff;
  --color-primary-hover: #c29b2e;
  --color-success: #22c55e;
  --color-danger: #ef4444;

  --shadow-card: 0 10px 30px rgba(0,0,0,.12);
  --shadow-hover: 0 16px 40px rgba(0,0,0,.18);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --font-main: Inter, Segoe UI, Arial, sans-serif;
}

/* RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(
    to bottom,
    var(--bg-secondary) 0,
    var(--bg-main) 260px
  );
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

main {
  position: relative;
  z-index: 2;
}

/* TYPOGRAPHY */

h1 {
  color: var(--color-title);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.04em;
}

h2 {
  color: var(--color-title);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.03em;
}

h3 {
  color: var(--color-subtitle);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
}

h4 {
  color: var(--color-subtitle);
  font-size: 18px;
  font-weight: 800;
}

p {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.8;
}

small {
  color: var(--color-muted);
}

strong {
  color: var(--color-title);
  font-weight: 900;
}

ul,
ol {
  color: var(--color-text);
  padding-left: 24px;
}

li {
  margin: 8px 0;
}

/* TOPBAR */

.topbar {
  position: sticky;
  top: 0;
  z-index: 999;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(6,11,22,.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.logo {
  color: var(--color-white);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar nav a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
  transition: .15s ease;
}

.topbar nav a:hover {
  color: var(--color-white);
}

.nav-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

/* BUTTONS */

.button,
button {
  border: none;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  transition: .15s ease;
}

.button,
button:not(.secondary-btn) {
  background: var(--bg-tertiary);
  color: var(--color-white);
}

.button:hover,
button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.button.secondary,
.secondary-btn {
  background: var(--surface-soft) !important;
  color: var(--color-title) !important;
  border: 1px solid var(--color-border);
}

.danger {
  background: var(--color-danger) !important;
  color: var(--color-white) !important;
}

/* CARDS / PANELS */

.card,
.sidebar-card,
.forum-panel,
.profile-card,
.patch-content,
.post-box {
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* LAYOUT */

.layout,
.forum-home-layout {
  max-width: 1420px;
  margin: 28px auto 50px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
}

.forum-main,
.patch-main {
  min-width: 0;
}

/* HERO */

.forum-hero {
  min-height: 300px;
  background:
    linear-gradient(
      rgba(0,0,0,.35),
      rgba(0,0,0,.55)
    ),
    url("/static/uploads/2.png");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.forum-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 24px;
}

.forum-hero h1 {
  color: var(--color-white);
  font-size: clamp(40px, 5vw, 58px);
}

.forum-hero p {
  margin-top: 12px;
  color: var(--color-light);
  font-size: 18px;
}

/* BADGES */

.eyebrow,
.version,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .80);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* BREADCRUMBS */

.forum-breadcrumbs,
.breadcrumbs {
  max-width: 1180px;
  margin: 22px auto 12px;
  padding: 0 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: #94a3b8;
  font-size: 14px;
}

.forum-breadcrumbs a,
.breadcrumbs a {
  color: var(--color-light);
  font-weight: 700;
}

/* FORUM PANEL */

.forum-panel {
  overflow: hidden;
}

.forum-panel-head {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 18px;
}

.forum-panel-head h2 {
  color: var(--color-subtitle);
  font-size: 17px;
  font-weight: 800;
}

/* CATEGORY / TOPIC ROWS */

.forum-category-row,
.forum-topic-row {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) 80px 80px 200px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  background: var(--surface);
  transition: .15s ease;
}

.new-topic-btn{
  background-color: var(--bg-tertiary);
  color: white;
}

.forum-category-row:hover,
.forum-topic-row:hover {
  background: var(--surface-hover);
}

.forum-icon {
  color: #9ca3af;
  font-size: 22px;
}

.forum-category-info,
.forum-topic-info {
  min-width: 0;
}

.forum-category-info h3,
.forum-topic-info h3 {
  color: var(--color-title);
  font-size: 15px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.forum-category-info p,
.forum-topic-info p {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 12px;
}

.forum-category-stats {
  text-align: center;
}

.forum-category-stats span {
  display: block;
  color: var(--color-title);
  font-size: 15px;
  font-weight: 800;
}

.forum-category-stats small {
  color: var(--color-muted);
  font-size: 11px;
}

.forum-last-post strong {
  display: block;
  color: var(--color-title);
  font-size: 13px;
}

.forum-last-post small {
  color: var(--color-muted);
  font-size: 11px;
}

/* SIDEBAR */

.forum-sidebar,
.patch-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  padding: 14px;
}

.sidebar-card h3 {
  margin-bottom: 14px;
  color: var(--color-title);
  font-size: 16px;
  font-weight: 800;
}

.recent-post {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.recent-post:last-child {
  border-bottom: 0;
}

.recent-post strong {
  display: block;
  color: var(--color-title);
  font-size: 13px;
}

.recent-post span {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 12px;
}

/* PATCH DETAIL */

.patch-page {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto 80px;
}

.patch-header {
  position: relative;
  min-height: 340px;
  max-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.patch-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(6,11,22,.96),
      rgba(6,11,22,.30)
    );
}

.patch-header-content {
  position: relative;
  z-index: 2;
  padding: 54px 64px;
}

.patch-header h1 {
  color: var(--color-white);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  margin-top: 12px;
}

.patch-date {
  margin-top: 12px;
  color: var(--color-light);
  font-size: 14px;
}

/* Patch layout parecido com página oficial:
   página larga, texto confortável, imagens amplas */
.patch-layout {
  width: 100%;
  max-width: 1400px;
  margin: 34px auto 70px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.patch-main {
  min-width: 0;
}

.patch-sidebar {
  position: sticky;
  top: 96px;
}

.patch-content {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 42px 56px;
  overflow-wrap: break-word;
}

.patch-content h1 {
  margin: 28px 0 14px;
  color: var(--color-title);
  font-size: 42px;
}

.patch-content h2 {
  margin: 34px 0 14px;
  padding-left: 16px;
  border-left: 5px solid var(--color-primary);
  color: var(--color-title);
  font-size: 32px;
}

.patch-content h3 {
  margin: 24px 0 10px;
  color: var(--color-subtitle);
  font-size: 23px;
}

.patch-content p,
.patch-content li {
  max-width: 880px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--color-text);
}

.patch-content ul,
.patch-content ol,
.patch-content blockquote {
  max-width: 900px;
}

.patch-content blockquote {
  margin: 22px 0;
  padding: 16px 20px;
  background: var(--surface-soft);
  border-left: 4px solid var(--color-primary);
  color: var(--color-subtitle);
}

.patch-content hr {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid var(--color-border);
}

.patch-image {
  margin: 28px 0;
}

.patch-image img,
.patch-content figure img {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-md);
}

.patch-image figcaption,
.patch-content figcaption {
  margin-top: 10px;
  color: var(--color-muted);
  text-align: center;
  font-size: 13px;
}

/* Imagem solta dentro de HTML */
.patch-content > img,
.text-block img {
  width: 100%;
  max-width: 100%;
  margin: 28px 0;
  border-radius: var(--radius-md);
}

/* Vídeos */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-top: 56.25%;
  margin: 32px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.text-block + .text-block {
  margin-top: 16px;
}

/* PATCH GRID */

.patch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding: 16px;
}

.patch-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: .15s ease;
}

.patch-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.patch-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.patch-card-content {
  padding: 16px;
}

.patch-card h3 {
  margin-top: 14px;
  color: var(--color-title);
  font-size: 20px;
  line-height: 1.3;
}

.patch-card p {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 13px;
}

/* PROFILE */

.profile-card {
  overflow: hidden;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px;
}

.profile-avatar {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
  font-weight: 900;
  color: #2563eb;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-meta h1 {
  color: var(--color-title);
  font-size: 42px;
  line-height: 1;
}

.profile-meta p {
  color: var(--color-muted);
  max-width: 700px;
}

/* FORMS */

form {
  display: grid;
  gap: 12px;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #d1d5db;
  background: var(--surface);
  color: var(--color-title);
  font-size: 14px;
}

textarea {
  resize: vertical;
}

/* TABLES */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

th {
  background: var(--surface-soft);
  color: var(--color-subtitle);
  font-size: 13px;
  font-weight: 800;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

/* FORUM TOPIC DETAIL */

.topic-title-wrap {
  max-width: 1180px;
  margin: 36px auto 24px;
  padding: 0 24px;
}

.topic-title-wrap h1 {
  color: var(--color-white);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.topic-title-wrap p {
  color: #94a3b8;
}

.topic-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.forum-post {
  max-width: 1180px;
  margin: 16px auto;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.post-sidebar {
  background: var(--surface-soft);
  border-right: 1px solid var(--color-border);
  padding: 24px 14px;
  text-align: center;
}

.post-sidebar .avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 900;
  overflow: hidden;
}

.post-sidebar .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-sidebar h3 {
  color: var(--color-title);
  font-size: 16px;
  margin-bottom: 6px;
}

.post-sidebar p {
  color: var(--color-muted);
  font-size: 12px;
  margin-top: 5px;
}

.post-body {
  background: var(--surface);
  min-width: 0;
}

.post-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 12px;
}

.post-content {
  padding: 24px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.85;
}

.like-box {
  margin: 0 24px 18px;
  padding: 10px 12px;
  background: var(--surface-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  font-size: 13px;
}

.post-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 24px 24px;
}

.post-actions form,
.mod-actions form {
  display: inline-flex;
  width: auto;
}

.post-actions button,
.mod-actions button {
  width: auto;
  padding: 9px 13px;
  font-size: 13px;
}

.mod-actions {
  max-width: 1180px;
  margin: 16px auto;
  padding: 0 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.comments-title {
  max-width: 1180px;
  margin: 40px auto 12px;
  padding: 0 24px;
}

.comments-title h2 {
  color: var(--color-white);
}

.reply-box {
  max-width: 1180px;
  margin: 24px auto 70px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.reply-box h2 {
  margin-bottom: 16px;
  color: var(--color-title);
}

.reply-box textarea {
  min-height: 150px;
}

/* AUTH / ADMIN */

.auth-box,
.admin-wrap {
  max-width: 720px;
  margin: 48px auto 80px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.auth-box h1,
.admin-wrap h1 {
  margin-bottom: 24px;
  color: var(--color-title);
  font-size: 34px;
  line-height: 1.1;
}

.auth-box label,
.admin-wrap label {
  color: var(--color-subtitle);
  font-size: 13px;
  font-weight: 800;
}

.auth-box input,
.auth-box textarea,
.auth-box select,
.admin-wrap input,
.admin-wrap textarea,
.admin-wrap select {
  background: var(--surface-soft);
  border: 1px solid var(--color-border);
  color: var(--color-title);
}

.auth-box button,
.admin-wrap button {
  width: fit-content;
  margin-top: 8px;
}

.admin-wrap {
  max-width: 1180px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.admin-wrap h2 {
  margin: 34px 0 16px;
  color: var(--color-title);
  font-size: 26px;
}

.admin-wrap hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--color-border);
}

.admin-block {
  margin: 16px 0;
  padding: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.admin-block strong {
  display: block;
  margin-bottom: 10px;
}

.admin-thumb {
  max-width: 260px;
  height: auto;
  margin: 14px 0;
  border-radius: var(--radius-sm);
}

/* FOOTER */

.footer {
  margin-top: 70px;
  padding: 40px;
  text-align: center;
  color: #94a3b8;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .patch-layout {
    grid-template-columns: 1fr;
    max-width: 1100px;
  }

  .patch-sidebar {
    position: static;
  }

  .patch-content {
    max-width: 100%;
  }
}

@media (max-width: 980px) {
  .layout,
  .forum-home-layout {
    grid-template-columns: 1fr;
  }

  .forum-category-row,
  .forum-topic-row {
    grid-template-columns: 36px minmax(0,1fr);
  }

  .forum-category-stats,
  .forum-last-post {
    grid-column: 2;
    text-align: left;
  }

  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .patch-header-content {
    padding: 30px;
  }

  .patch-content {
    padding: 30px;
  }

  .topbar {
    padding: 0 18px;
  }

  .topbar nav {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .forum-post {
    grid-template-columns: 1fr;
    margin: 16px 16px;
  }

  .post-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 760px) {
  .auth-box,
  .admin-wrap {
    margin: 32px 16px 60px;
    padding: 24px;
  }

  .auth-box button,
  .admin-wrap button {
    width: 100%;
    justify-content: center;
  }

  .admin-actions .button {
    width: 100%;
    justify-content: center;
  }

  .patch-layout {
    padding: 0 16px;
  }

  .patch-content {
    padding: 24px 20px;
  }

  .patch-content p,
  .patch-content li {
    max-width: 100%;
    font-size: 15px;
  }

  .patch-content h2 {
    font-size: 27px;
  }

  .patch-content h3 {
    font-size: 21px;
  }
}

.patch-meta-banner {
  margin-top: 24px;
}

.patch-meta-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;

  display: flex;
  align-items: center;
  gap: 14px;
}

.armory-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:14px;
    margin-top:20px;
}

.armory-card{
    display:flex;
    align-items:center;
    gap:14px;

    background:var(--card-bg);

    border:1px solid var(--border-color);

    border-radius:14px;

    padding:14px;

    transition:.2s;

    text-decoration:none;
}

.armory-card:hover{
    transform:translateY(-2px);

    border-color:var(--primary-color);
}

.armory-icon{
    width:56px;
    height:56px;

    min-width:56px;

    background:#0f172a;

    border-radius:10px;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;
}

.armory-icon img{
    width:48px;
    height:48px;
    image-rendering:pixelated;
}

.armory-info{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.armory-info strong{
    color:var(--text-primary);
    font-size:15px;
}

.armory-info span{
    color:var(--text-muted);
    font-size:13px;
    text-transform:capitalize;
}

/* ======================================================
   ARMORY
====================================================== */

.armory-box {
  max-width: 1180px;
}

.armory-box hr {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid var(--color-border);
}

.armory-box h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.armory-box h3 {
  margin: 28px 0 14px;
  font-size: 20px;
}

.armory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.armory-card {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 14px;

  background: var(--surface-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);

  transition: .15s ease;
}

.armory-card:hover {
  transform: translateY(-2px);
  background: var(--surface-hover);
  box-shadow: var(--shadow-card);
}

.armory-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #0f172a;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.armory-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  image-rendering: pixelated;
}

.armory-icon span {
  color: var(--color-muted);
  font-weight: 900;
}

.armory-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.armory-info strong {
  color: var(--color-title);
  font-size: 15px;
  line-height: 1.3;
}

.armory-info span {
  color: var(--color-muted);
  font-size: 12px;
  text-transform: capitalize;
}

.armory-empty {
  margin-top: 18px;
  color: var(--color-muted);
}

.armory-detail-head {
  display: flex;
  align-items: center;
  gap: 22px;
}

.armory-detail-icon {
  width: 86px;
  height: 86px;
  min-width: 86px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #0f172a;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.armory-detail-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  image-rendering: pixelated;
}

.armory-recipe-card {
  margin: 18px 0 26px;
  padding: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.armory-recipe-card h3 {
  margin-bottom: 8px;
}

.armory-recipe-meta {
  margin-bottom: 16px;
  color: var(--color-muted);
  font-size: 13px;
}

.profile-tag-form {
  margin-top: 14px;

  display: flex;
  gap: 10px;
}

.mod-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ======================================================
   FOOTER
====================================================== */

.site-footer {
  margin-top: 70px;
  padding: 28px 20px;

  background: var(--surface-soft);
  border-top: 1px solid var(--color-border);
}

.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  color: var(--color-muted);
  font-size: 14px;
}

.site-footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer-links a {
  color: var(--color-muted);
  font-weight: 700;
}

.site-footer-links a:hover {
  color: var(--color-title);
}

@media (max-width: 700px) {
  .site-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

.monster-drop-preview {
  margin-top: 12px;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-drop {
  display: flex;
  align-items: center;
  gap: 6px;

  padding: 5px 8px;

  background: rgba(15, 23, 42, .08);
  border: 1px solid var(--color-border);
  border-radius: 999px;

  font-size: 12px;
  color: var(--color-muted);
}

.mini-drop img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  image-rendering: pixelated;
}

.monster-drop-preview {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-drop {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  background: rgba(15, 23, 42, .08);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--color-muted);
}

.mini-drop img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  image-rendering: pixelated;
}

/* ARMORY - MONSTER SEARCH CARD */

.armory-monster-card {
  display: block;
}

.armory-monster-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.armory-monster-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  background: rgba(15, 23, 42, .08);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.armory-monster-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.armory-monster-card .armory-info strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.armory-monster-card .armory-info span {
  font-size: 12px;
}

.monster-drop-preview {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);

  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mini-drop {
  display: flex;
  align-items: center;
  gap: 6px;

  max-width: 100%;

  padding: 5px 8px;
  border-radius: 999px;

  background: rgba(15, 23, 42, .07);
  color: var(--color-muted);

  font-size: 12px;
  line-height: 1.2;
}

.mini-drop img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  image-rendering: pixelated;
}

.flash-container {
  max-width: 1180px;
  margin: 18px auto;
  padding: 0 20px;
}

.flash-message {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-weight: 700;
}

.flash-success {
  background: rgba(34, 197, 94, .14);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, .25);
}

.flash-error {
  background: rgba(239, 68, 68, .14);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, .25);
}