/* OT74CLAUDE - Old-Pythera portal. Layout classico de OTServer: topbar, banner, menu vertical a esquerda, conteudo em
   pergaminho no centro e boxes a direita. Sem fontes externas, sem animacao pesada. Desktop primeiro, responsivo basico. */
:root {
  --bg: #14110e;
  --wood: #3a2716;
  --wood-dark: #24170d;
  --wood-light: #5a3d22;
  --gold: #c9a24a;
  --gold-light: #e8cf8a;
  --gold-dark: #8f6a26;
  --parch: #efe5cf;
  --parch-dark: #e2d3b4;
  --parch-line: #cdbb96;
  --ink: #2a1d10;
  --ink-soft: #5a4632;
  --link: #7a3b12;
  --link-hover: #b8721f;
  --red: #7d1f12;
  --green: #2f6b2c;
  --blue: #274f7d;
  --panel: #1d1712;
  --panel-2: #261e17;
  --shadow: 0 2px 10px rgba(0, 0, 0, .45);
  --radius: 4px;
  --font-body: Verdana, Tahoma, "Segoe UI", Arial, sans-serif;
  --font-title: Georgia, "Palatino Linotype", "Book Antiqua", serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; color: var(--ink); font: 13px/1.55 var(--font-body);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, #171310 0%, var(--bg) 55%, #0f0c0a 100%);
  background-attachment: fixed;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
img.op-pixel, .op-sprite img, img[src*="/images/library/"] { image-rendering: pixelated; image-rendering: crisp-edges; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; color: var(--ink); margin: 0 0 .5em; line-height: 1.25; }
h2 { font-size: 20px; } h3 { font-size: 16px; } h4 { font-size: 14px; }
p { margin: 0 0 .9em; }
hr { border: 0; border-top: 1px solid var(--parch-line); margin: 14px 0; }
code, pre { font-family: Consolas, "Courier New", monospace; font-size: 12px; background: rgba(0, 0, 0, .06); padding: 1px 4px; border-radius: 3px; }

/* ---------------------------------------------------------------- topbar */
.op-topbar { background: linear-gradient(180deg, #241d16 0%, #15110d 100%); border-bottom: 1px solid #000; box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset; }
.op-topbar-inner { max-width: 1180px; margin: 0 auto; padding: 0 14px; display: flex; align-items: center; gap: 18px; min-height: 38px; flex-wrap: wrap; }
.op-topbar-welcome { color: #c8b892; font-size: 12px; padding-right: 16px; border-right: 1px solid #3a2f24; }
.op-topbar-welcome b { color: var(--gold-light); }
.op-quick { display: flex; gap: 16px; flex-wrap: wrap; }
.op-quick a { color: #d8cbb0; font-size: 12px; }
.op-quick a:hover { color: var(--gold-light); text-decoration: none; }
.op-quick-gold { color: var(--gold-light) !important; font-weight: 700; }
.op-topbar-account { margin-left: auto; display: flex; align-items: center; gap: 12px; color: #9c8f78; font-size: 12px; }
.op-topbar-account b { color: var(--gold-light); }
.op-topbar-account a { color: #d8cbb0; }

/* ---------------------------------------------------------------- banner */
.op-banner {
  position: relative; height: 210px; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at center, rgba(201, 162, 74, .10) 0%, transparent 62%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, #1c1712 0%, #15110d 55%, #100d0a 100%);
  border-bottom: 2px solid var(--gold-dark);
  box-shadow: inset 0 -30px 40px -30px rgba(0, 0, 0, .9);
}
.op-banner-logo { display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.op-banner-logo:hover { text-decoration: none; }
.op-banner-img { width: 420px; max-width: 82vw; height: auto; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .95)); }
.op-banner-sword { width: 96px; height: 96px; image-rendering: pixelated; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .9)) drop-shadow(0 0 16px rgba(201, 162, 74, .35)); }
.op-banner-name {
  margin-top: -6px; font-family: var(--font-title); font-size: 52px; font-weight: 700; letter-spacing: 8px; color: var(--gold-light);
  text-shadow: 0 2px 0 #5b3f12, 0 4px 12px rgba(0, 0, 0, .95), 0 0 34px rgba(201, 162, 74, .3);
}
.op-banner-sub {
  margin-top: 4px; padding: 2px 16px; font-family: var(--font-title); font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: #e2d6b8; background: rgba(0, 0, 0, .45); border-top: 1px solid rgba(201, 162, 74, .45); border-bottom: 1px solid rgba(201, 162, 74, .45);
}

/* ---------------------------------------------------------------- layout */
.op-wrap { max-width: 1180px; margin: 0 auto; padding: 16px 14px 30px; }
.op-body { display: flex; gap: 14px; align-items: flex-start; }
.op-left { width: 196px; flex: 0 0 196px; }
.op-main { flex: 1; min-width: 0; }
.op-sidebar { width: 240px; flex: 0 0 240px; }
.op-menu-toggle { display: none; }

/* ---------------------------------------------------------------- left menu */
.op-menu { border: 1px solid #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.op-menu-cat + .op-menu-cat { border-top: 1px solid #000; }
.op-menu-head {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; cursor: pointer; text-align: left;
  background: linear-gradient(180deg, #2e2419 0%, var(--panel) 100%); border: 0; border-top: 1px solid rgba(255, 255, 255, .06);
  color: #e2d6b8; font: 700 14px/1 var(--font-title); letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 1px 0 rgba(0, 0, 0, .8);
}
.op-menu-head:hover { background: linear-gradient(180deg, #3a2d1e 0%, #241c14 100%); color: var(--gold-light); }
.op-menu-cat.is-open .op-menu-head { color: var(--gold-light); background: linear-gradient(180deg, #3b2d1c 0%, #271e14 100%); }
.op-menu-icon { width: 24px; height: 24px; image-rendering: pixelated; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .8)); flex: 0 0 24px; }
.op-menu-sub { display: none; list-style: none; margin: 0; padding: 4px 0; background: #171310; }
.op-menu-cat.is-open .op-menu-sub { display: block; }
.op-menu-sub a {
  display: block; padding: 7px 12px 7px 22px; color: #c2b79e; font-size: 12px; border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}
.op-menu-sub li:last-child a { border-bottom: 0; }
.op-menu-sub a:hover { color: var(--gold-light); background: rgba(201, 162, 74, .08); text-decoration: none; border-left-color: var(--gold-dark); }
.op-menu-sub a.is-current { color: #fff; background: rgba(201, 162, 74, .16); border-left-color: var(--gold); font-weight: 700; }
.op-menu-search { display: flex; gap: 4px; margin-top: 10px; }
.op-menu-search input { width: 100%; min-width: 0; padding: 6px 8px; border: 1px solid #000; border-radius: 3px; background: var(--parch); color: var(--ink); font: 11px var(--font-body); }
.op-menu-search button { border: 1px solid #000; background: linear-gradient(180deg, #4a3018, #2c1c0e); color: #f1e3c4; border-radius: 3px; padding: 4px 7px; cursor: pointer; }

/* ---------------------------------------------------------------- buttons */
.op-btn {
  display: inline-block; padding: 8px 16px; border-radius: var(--radius); border: 1px solid #6b4a2a; cursor: pointer;
  background: linear-gradient(180deg, #6f4b2a 0%, #4a3018 55%, #3a2411 100%); color: #f1e3c4 !important; font: 700 12px/1.2 var(--font-body);
  text-decoration: none !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 1px 3px rgba(0, 0, 0, .5); text-shadow: 0 1px 0 rgba(0, 0, 0, .6);
}
.op-btn:hover { filter: brightness(1.12); }
.op-btn-gold { background: linear-gradient(180deg, #e2c46f 0%, #b88a2e 55%, #8f6a26 100%); border-color: #7a5a1c; color: #2b1c05 !important; text-shadow: 0 1px 0 rgba(255, 255, 255, .35); }
.op-btn-ghost { background: linear-gradient(180deg, #3b2d1c 0%, #241c14 100%); border-color: #4a3a28; color: #e2d6b8 !important; }
.op-btn-small { padding: 6px 12px; font-size: 11px; }
.op-btn-block { display: block; width: 100%; text-align: center; margin-top: 6px; }
.op-btn-danger { background: linear-gradient(180deg, #9a3b2c 0%, #6f2418 55%, #521a10 100%); border-color: #4a160d; }
.op-btn[disabled], .op-btn.is-disabled { opacity: .5; cursor: not-allowed; filter: none; }

/* ---------------------------------------------------------------- boxes */
.op-box { background: var(--parch); border: 1px solid #000; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.op-box + .op-box, .op-features + .op-box, .op-box + .op-features { margin-top: 14px; }
.op-box-title, .op-side-title {
  margin: 0; padding: 9px 14px; font-family: var(--font-title); font-size: 17px; color: var(--gold-light); letter-spacing: 1px; text-transform: uppercase;
  background: linear-gradient(180deg, #3b2d1c 0%, #241c14 100%); border-bottom: 2px solid var(--gold-dark); text-shadow: 0 1px 0 rgba(0, 0, 0, .8);
}
.op-side-title { font-size: 13px; padding: 7px 12px; }
.op-box-body { padding: 14px 16px; overflow-x: auto; }
.op-box-body h1, .op-box-body h2 { color: var(--red); }
.op-box-body > table > tbody > tr > td { vertical-align: top; }
.op-side-box + .op-side-box { margin-top: 12px; }
.op-side-body { padding: 10px 12px; font-size: 12px; }
.op-side-link { display: block; padding: 5px 6px; border-bottom: 1px solid var(--parch-line); }
.op-side-link:last-child { border-bottom: 0; }
.op-side-login label { display: block; font-size: 11px; color: var(--ink-soft); margin-bottom: 6px; }
.op-side-login input { display: block; width: 100%; margin-top: 2px; padding: 6px; border: 1px solid #b4a382; border-radius: 3px; background: #fff9ec; font: 12px var(--font-body); }
.op-side-links-row { text-align: center; margin-top: 8px; font-size: 11px; }
.op-side-status .op-status { color: var(--ink); font-weight: 700; margin-bottom: 6px; }
.op-side-stat { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-top: 1px solid var(--parch-line); }
.op-side-stat span { color: var(--ink-soft); }
.op-side-stat b { text-align: right; }
.op-top-list { margin: 0; padding-left: 20px; }
.op-top-list li, .op-death-list li { padding: 4px 0; border-bottom: 1px solid var(--parch-line); }
.op-death-list { list-style: none; margin: 0; padding: 0; }
.op-top-meta { display: block; font-size: 11px; color: var(--ink-soft); }
.op-side-more { display: block; text-align: right; margin-top: 6px; font-size: 11px; }
.op-muted { color: var(--ink-soft); font-style: italic; }
.op-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
.op-status-dot { width: 10px; height: 10px; border-radius: 50%; background: #8a8a8a; }
.op-status.is-online .op-status-dot { background: #3f9c3f; box-shadow: 0 0 6px #4fd35a; }
.op-status.is-offline .op-status-dot { background: #b03a3a; box-shadow: 0 0 6px #d34f4f; }

/* ---------------------------------------------------------------- home intro + features */
.op-intro { display: flex; gap: 16px; align-items: center; }
.op-intro-text { flex: 1; min-width: 0; }
.op-intro-text p { margin-bottom: 10px; }
.op-rates { list-style: none; margin: 0 0 12px; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.op-rates li { background: #e6d9bc; border: 1px solid var(--parch-line); border-radius: 3px; padding: 3px 9px; font-size: 11px; }
.op-rates b { color: var(--red); }
.op-intro-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.op-intro-art { display: flex; align-items: flex-end; gap: 4px; flex: 0 0 auto; }
.op-intro-art img { width: 64px; height: 64px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.op-intro-art img:nth-child(3) { width: 80px; height: 80px; }
.op-features { margin-top: 14px; }
.op-section-title { font-size: 16px; color: var(--gold-light); letter-spacing: 1px; margin: 0 0 8px 2px; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); text-transform: uppercase; }
.op-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.op-feature-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 14px 10px;
  background: linear-gradient(180deg, var(--parch) 0%, var(--parch-dark) 100%); border: 1px solid #000; border-radius: var(--radius); box-shadow: var(--shadow);
  color: var(--ink); text-decoration: none !important;
}
.op-feature-card:hover { outline: 2px solid var(--gold); outline-offset: -2px; }
.op-feature-card img { width: 48px; height: 48px; }
.op-feature-name { font-family: var(--font-title); font-weight: 700; font-size: 14px; color: var(--red); }
.op-feature-desc { font-size: 11px; color: var(--ink-soft); }

/* ---------------------------------------------------------------- breadcrumbs / footer */
.op-breadcrumbs { color: #a89a80; font-size: 12px; margin: 0 0 8px 2px; }
.op-breadcrumbs a { color: #d8cbb0; }
.op-breadcrumbs span { margin: 0 4px; color: #6f634f; }
.op-footer { margin-top: 22px; padding: 14px 6px; border-top: 1px solid #3a2a1c; color: #8d8068; font-size: 11px; text-align: center; }
.op-footer-links { margin-bottom: 8px; }
.op-footer-links a { color: #c8b892; margin: 0 8px; }
.op-footer-meta { display: block; margin-top: 6px; color: #6f634f; }
.op-footer-meta a { color: #a89a80; }

/* ---------------------------------------------------------------- news + MyAAC content */
.op-news { padding: 4px 0 14px; margin-bottom: 14px; border-bottom: 1px solid var(--parch-line); }
.op-news:last-child { border-bottom: 0; }
.op-news-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.op-news-date { font-size: 11px; color: var(--ink-soft); background: #e6d9bc; padding: 2px 8px; border-radius: 10px; }
.op-news-title { margin: 0; font-size: 19px; color: var(--red); }
.op-news-author { font-size: 11px; color: var(--ink-soft); font-style: italic; }
.op-news-body { font-size: 13px; }
.op-news-foot { text-align: right; font-size: 12px; margin-top: 6px; }
.NewsTickers, .NewsTicker { margin-bottom: 12px; }

.op-content table { border-collapse: collapse; }
.op-content table[width="100%"], .op-content .op-table { width: 100%; }
.op-content td, .op-content th { font-size: 12px; vertical-align: middle; }
.op-content table.TableContent, .op-table { border: 1px solid #b4a382; }
.op-table th, .op-content td.white, .op-content tr[bgcolor="#3a2718"] td, .op-content tr[bgcolor="#3A2718"] td, .op-content td[bgcolor="#3a2718"], .op-content td[bgcolor="#3A2718"] {
  background: linear-gradient(180deg, #3b2d1c 0%, #241c14 100%) !important; color: #f3e2b6 !important; font-weight: 700; text-align: left; padding: 6px 8px;
}
.op-content td.white a, .op-table th a, .op-content tr[bgcolor="#3a2718"] a { color: var(--gold-light); }
.op-table td { padding: 6px 8px; border-top: 1px solid #d9cbae; }
.op-table tbody tr:nth-child(even) td { background: rgba(0, 0, 0, .035); }
.op-table tbody tr:hover td { background: rgba(201, 162, 74, .12); }
.op-content td[bgcolor="#d8c9a8"], .op-content tr[bgcolor="#d8c9a8"] td, .op-content td[bgcolor="#D8C9A8"], .op-content tr[bgcolor="#D8C9A8"] td { background: #e6d9bc; }
.op-content td[bgcolor="#eee4cf"], .op-content tr[bgcolor="#eee4cf"] td, .op-content td[bgcolor="#EEE4CF"], .op-content tr[bgcolor="#EEE4CF"] td { background: #f4ecda; }
.op-content input[type="text"], .op-content input[type="password"], .op-content input[type="email"], .op-content input[type="number"], .op-content select, .op-content textarea {
  padding: 6px 8px; border: 1px solid #b4a382; border-radius: 3px; background: #fff9ec; font: 12px var(--font-body); color: var(--ink); max-width: 100%;
}
.op-content input[type="submit"], .op-content button, .op-content input[type="button"] { cursor: pointer; }
.op-content input[type="submit"]:not(.op-btn), .op-content button:not(.op-btn):not(.op-tab) {
  padding: 7px 14px; border-radius: 3px; border: 1px solid #6b4a2a; background: linear-gradient(180deg, #6f4b2a, #3a2411); color: #f1e3c4; font: 700 12px var(--font-body);
}
.op-content img[src*="buttons/"], .op-content img[src*="sbutton"] { display: none; }
.op-content .error, .op-content p.error, .op-content .FormFieldError { color: #9b1c0f; font-weight: 700; }
.op-content .ErrorMessage, .op-content .SuccessMessage, .op-alert { padding: 10px 14px; border-radius: 3px; margin: 0 0 12px; border: 1px solid; font-size: 12px; }
.op-content .ErrorMessage, .op-alert-error { background: #f6dcd6; border-color: #c66; color: #6d1a10; }
.op-content .SuccessMessage, .op-alert-success { background: #ddebd3; border-color: #6a9a5c; color: #204a18; }
.op-alert-info { background: #dfe7f2; border-color: #7f9bc0; color: #1d3554; }
.op-alert-warning { background: #f7ecc8; border-color: #c9a24a; color: #5a3d0b; }
.op-content .op-btn { color: #f1e3c4 !important; }
.op-content .op-btn-gold { color: #2b1c05 !important; }

.op-tooltip { position: relative; cursor: help; border-bottom: 1px dotted var(--ink-soft); }
.op-tooltip:hover::after {
  content: attr(data-tip); position: absolute; left: 0; top: 120%; z-index: 20; min-width: 180px; max-width: 320px; padding: 8px 10px; border-radius: 3px;
  background: #2a1c10; color: #e9dcc0; font-size: 11px; font-weight: 400; box-shadow: var(--shadow); white-space: normal;
}
.op-pagination { display: flex; gap: 4px; flex-wrap: wrap; margin: 12px 0; }
.op-pagination a, .op-pagination span { padding: 4px 9px; border: 1px solid #b4a382; border-radius: 3px; background: #f4ecda; font-size: 12px; }
.op-pagination span.is-current { background: var(--wood); color: var(--gold-light); border-color: var(--wood-dark); }
.op-badge { display: inline-block; padding: 1px 7px; border-radius: 10px; font-size: 11px; font-weight: 700; background: #d9cbae; color: var(--ink); }
.op-badge-gold { background: linear-gradient(180deg, #e2c46f, #b88a2e); color: #2b1c05; }
.op-badge-red { background: var(--red); color: #f3e2b6; }
.op-badge-green { background: var(--green); color: #eaf3e6; }
.op-badge-blue { background: var(--blue); color: #e6eefa; }
.op-badge-grey { background: #8b8375; color: #fff; }
.op-stars { color: #d9a800; letter-spacing: 1px; }
.op-badge .op-stars, .op-badge-gold .op-stars { color: #5a3d0b; }
.op-form { max-width: 560px; }
.op-form label { display: block; font-weight: 700; margin: 10px 0 4px; font-size: 12px; }
.op-form input[type="text"], .op-form input[type="password"], .op-form input[type="email"], .op-form select { width: 100%; }
.op-form small { color: var(--ink-soft); }
.op-form .op-btn { margin-top: 14px; }
.op-kv { width: 100%; border-collapse: collapse; }
.op-kv th { text-align: left; width: 180px; padding: 6px 8px; color: var(--ink-soft); font-weight: 700; border-top: 1px solid var(--parch-line); vertical-align: top; }
.op-kv td { padding: 6px 8px; border-top: 1px solid var(--parch-line); }
.op-kv tr:first-child th, .op-kv tr:first-child td { border-top: 0; }
.op-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.op-cols { display: flex; gap: 16px; align-items: flex-start; }
.op-cols > * { flex: 1; min-width: 0; }
.op-note { font-size: 12px; color: var(--ink-soft); }
.op-tabs { display: flex; gap: 4px; margin-bottom: 12px; border-bottom: 2px solid var(--wood); flex-wrap: wrap; }
.op-tab { padding: 7px 14px; border: 1px solid #b4a382; border-bottom: 0; border-radius: 3px 3px 0 0; background: #e6d9bc; cursor: pointer; font: 700 12px var(--font-body); color: var(--ink); }
.op-tab.is-active { background: var(--wood); color: var(--gold-light); border-color: var(--wood); }

/* ---------------------------------------------------------------- library */
.op-lib-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.op-lib-toolbar input[type="text"] { min-width: 220px; }
.op-lib-count { color: var(--ink-soft); font-size: 12px; }
.op-chip-row { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.op-chip { padding: 3px 10px; border: 1px solid #b4a382; border-radius: 12px; background: #f4ecda; font-size: 11px; color: var(--ink); }
.op-chip:hover { text-decoration: none; border-color: var(--gold-dark); }
.op-chip.is-active { background: var(--wood); color: var(--gold-light); border-color: var(--wood-dark); }
.op-item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.op-item-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 10px 6px; border: 1px solid #cdbb96; border-radius: var(--radius);
  background: #f6efdf; color: var(--ink); text-decoration: none !important; min-height: 112px;
}
.op-item-card:hover { border-color: var(--gold-dark); box-shadow: 0 0 0 2px rgba(201, 162, 74, .35); }
.op-item-card img { width: 48px; height: 48px; }
.op-item-card .op-item-name { font-weight: 700; font-size: 12px; }
.op-item-card .op-item-sub { font-size: 11px; color: var(--ink-soft); }
.op-sprite { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; vertical-align: middle; }
.op-sprite img { max-width: 32px; max-height: 32px; width: auto; height: auto; }
.op-sprite-lg { width: 96px; height: 96px; }
.op-sprite-lg img { max-width: 96px; max-height: 96px; }
.op-sprite-big { display: flex; align-items: center; justify-content: center; width: 128px; height: 128px; background: radial-gradient(circle, #fff9ec 0%, #e6d9bc 100%); border: 1px solid #b4a382; border-radius: var(--radius); flex: 0 0 128px; }
.op-sprite-big img { width: 96px; height: 96px; }
.op-sprite-big img.op-sprite-64 { width: 112px; height: 112px; }
.op-detail-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 14px; }
.op-detail-head h2 { margin: 0 0 4px; font-size: 22px; }
.op-detail-meta { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.op-attr-table td.op-attr-name { font-weight: 700; }
.op-attr-table tr.op-attr-first td { border-top: 2px solid #b4a382; }
.op-creature-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.op-creature-card { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #cdbb96; border-radius: var(--radius); background: #f6efdf; color: var(--ink); text-decoration: none !important; }
.op-creature-card:hover { border-color: var(--gold-dark); box-shadow: 0 0 0 2px rgba(201, 162, 74, .35); }
.op-creature-card .op-sprite { width: 48px; height: 48px; flex: 0 0 48px; }
.op-creature-card .op-sprite img { max-width: 48px; max-height: 48px; }
.op-creature-card b { display: block; font-size: 12px; }
.op-creature-card span { font-size: 11px; color: var(--ink-soft); }
.op-feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.op-feature-list .op-feature-card { min-height: 146px; }
.op-doc h2 { margin-top: 22px; padding-bottom: 4px; border-bottom: 1px solid var(--parch-line); }
.op-doc h3 { margin-top: 16px; }
.op-doc ul, .op-doc ol { padding-left: 22px; }
.op-doc table { margin-bottom: 12px; }
.op-doc .op-tip { padding: 10px 14px; border-left: 4px solid var(--gold); background: #f7ecc8; margin: 10px 0; }
.op-doc .op-warn { padding: 10px 14px; border-left: 4px solid #b3412f; background: #f6dcd6; margin: 10px 0; }
.op-related { margin-top: 20px; padding-top: 10px; border-top: 1px solid var(--parch-line); font-size: 12px; }
.op-related a { margin-right: 10px; }
.op-search-result { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--parch-line); }
.op-num { text-align: right; white-space: nowrap; }

/* ---------------------------------------------------------------- responsive */
/* ---------------------------------------------------------------- quests (library) */
.op-quests td { vertical-align: middle; }
.op-quests .op-quest-reward { line-height: 0; }
.op-quests .op-quest-reward .op-sprite { width: 30px; height: 30px; }
.op-quests .op-quest-reward a { display: inline-block; }
.op-quests .op-quest-reward a:hover { background: rgba(120, 90, 40, .14); border-radius: var(--radius); }

.op-quests .op-quest-reward a { position: relative; }
.op-qty { position: absolute; right: 0; bottom: 0; font-style: normal; font-size: 10px; line-height: 1;
	padding: 0 2px; border-radius: 2px; background: rgba(0,0,0,.72); color: #fff; }

.op-legend { font-style: italic; color: var(--ink-soft); border-left: 3px solid var(--parch-line); padding-left: 12px; margin-bottom: 1em; }

.op-reward-item { display: inline-flex; align-items: center; gap: 2px; margin: 0 10px 4px 0; white-space: nowrap; }
.op-reward-item .op-sprite { width: 28px; height: 28px; }
.op-reward-item b { color: var(--ink); }
.op-reward-inner { display: inline-flex; flex-wrap: wrap; align-items: center; margin-left: 6px; padding-left: 8px; border-left: 2px solid var(--parch-line); }

.op-states { margin: 4px 0 0; padding-left: 18px; }
.op-states li { margin: 2px 0; color: var(--ink-soft); }

@media (max-width: 760px) {
	.op-quests .op-quest-reward .op-sprite { width: 26px; height: 26px; }
	.op-reward-inner { border-left: 0; padding-left: 0; margin-left: 0; }
}

@media (max-width: 1000px) {
  .op-body { flex-wrap: wrap; }
  .op-sidebar { width: 100%; flex: 1 1 100%; order: 3; }
  .op-feature-grid, .op-feature-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .op-banner { height: 140px; }
  .op-banner-name { font-size: 32px; letter-spacing: 4px; }
  .op-banner-img { width: 300px; }
  .op-banner-sword { width: 60px; height: 60px; }
  .op-menu-toggle { display: block; width: 100%; margin-bottom: 10px; padding: 10px; border: 1px solid #000; border-radius: var(--radius); background: linear-gradient(180deg, #2e2419, #15110d); color: #e2d6b8; font: 700 14px var(--font-title); letter-spacing: 2px; cursor: pointer; }
  .op-left { display: none; width: 100%; flex: 1 1 100%; }
  .op-left.is-open { display: block; }
  .op-body { flex-direction: column; }
  .op-intro { flex-direction: column; }
  .op-intro-art { display: none; }
  .op-feature-grid, .op-feature-list, .op-grid-2 { grid-template-columns: 1fr; }
  .op-cols { flex-direction: column; }
  .op-topbar-inner { justify-content: center; }
  .op-topbar-welcome { display: none; }
}

/* OT74CLAUDE Relics (2026-09-13) */
.op-relic-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.op-relic-head h1 { margin: 0 0 4px; }
.op-relic-head p { margin: 0; }
.op-relic-props { font-size: 15px; }
.op-relic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.op-relic-card { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--parch-line); border-radius: var(--radius); background: var(--parch-dark); color: var(--ink); text-decoration: none !important; }
.op-relic-card:hover { outline: 2px solid var(--gold); outline-offset: -2px; }
@media (max-width: 700px) { .op-relic-grid { grid-template-columns: 1fr; } }

.op-danger-list { display: flex; flex-wrap: wrap; gap: 6px; }
.op-danger { display: flex; align-items: center; gap: 5px; padding: 3px 8px 3px 3px; border: 1px solid var(--parch-line); border-radius: var(--radius); background: var(--parch-dark); color: var(--ink); text-decoration: none !important; position: relative; }
.op-danger:hover { outline: 2px solid var(--gold); outline-offset: -2px; }
.op-danger .op-sprite { width: 30px; height: 30px; }
.op-danger .op-qty { font-style: normal; font-size: 11px; font-weight: 700; color: var(--ink-soft); }

/* ===== OT74CLAUDE: barra de navegação horizontal no topo (com dropdowns) ===== */
.op-nav { background: linear-gradient(180deg, #2a2118 0%, #17120d 100%); border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid #000; box-shadow: 0 2px 6px rgba(0,0,0,.5); position: relative; z-index: 40; }
.op-nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 14px; display: flex; align-items: stretch; gap: 10px; min-height: 46px; }
.op-nav-save { display: flex; flex-direction: column; justify-content: center; padding-right: 14px; margin-right: 4px; border-right: 1px solid #3a2f24; white-space: nowrap; }
.op-nav-save-label { color: var(--gold-light); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.op-nav-save b { color: #e9dcc0; font-size: 13px; font-variant-numeric: tabular-nums; }
.op-nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; flex: 1; flex-wrap: wrap; }
.op-nav-item { position: relative; }
.op-nav-top { display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 12px; color: #d8cbb0; font-size: 13px; font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; }
.op-nav-top:hover { color: var(--gold-light); text-decoration: none; background: rgba(201,162,74,.07); }
.op-nav-item.is-active .op-nav-top { color: var(--gold-light); border-bottom-color: var(--gold-dark); }
.op-nav-icon { width: 20px; height: 20px; image-rendering: pixelated; filter: drop-shadow(0 1px 2px rgba(0,0,0,.8)); }
.op-nav-caret { font-size: 9px; opacity: .7; font-style: normal; }
.op-nav-item:only-child .op-nav-caret { display: none; }
.op-nav-drop { position: absolute; top: 100%; left: 0; min-width: 190px; margin: 0; padding: 4px 0; list-style: none; background: #171310; border: 1px solid #000; border-top: 2px solid var(--gold-dark); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .12s, transform .12s; z-index: 50; }
.op-nav-item:hover .op-nav-drop, .op-nav-item:focus-within .op-nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.op-nav-drop a { display: block; padding: 7px 14px; color: #d8cbb0; font-size: 13px; text-decoration: none; border-left: 3px solid transparent; white-space: nowrap; }
.op-nav-drop a:hover { color: var(--gold-light); background: rgba(201,162,74,.08); border-left-color: var(--gold-dark); text-decoration: none; }
.op-nav-drop a.is-current { color: #fff; background: rgba(201,162,74,.16); border-left-color: var(--gold); font-weight: 700; }
.op-nav-search { display: flex; align-items: center; gap: 4px; margin-left: auto; align-self: center; }
.op-nav-search input { width: 150px; max-width: 34vw; padding: 6px 9px; border: 1px solid #000; border-radius: 3px; background: var(--parch); color: var(--ink); font: 12px var(--font-body); }
.op-nav-search button { border: 1px solid #000; background: linear-gradient(180deg, #4a3018, #2c1c0e); color: #f1e3c4; border-radius: 3px; padding: 5px 8px; cursor: pointer; }
@media (max-width: 860px) {
	.op-nav { display: none; } /* no mobile, o menu lateral (com hamburguer) assume */
}

/* OT74CLAUDE 2026-09-18: Discord (convite oficial vem de OP_DISCORD_INVITE_URL; sem URL nada disto e renderizado) */
.op-discord-ico { width: 20px; height: 20px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.op-discord-body { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.op-discord-text { flex: 1 1 260px; min-width: 0; }
.op-discord-title { margin: 0 0 4px; font-size: 16px; letter-spacing: .5px; text-transform: uppercase; }
.op-discord-text p { margin: 0; }
.op-btn-discord, .op-content .op-btn-discord { display: inline-flex; align-items: center; gap: 8px; background: #5865F2; border-color: #4752c4; color: #fff !important; text-shadow: none; white-space: nowrap; min-height: 40px; padding-left: 16px; padding-right: 16px; }
.op-btn-discord:hover { background: #4752c4; }
.op-footer-discord { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.op-footer-discord .op-discord-ico { width: 18px; height: 18px; color: #8ea1ff; }
@media (max-width: 760px) {
	.op-discord-body { flex-direction: column; align-items: stretch; text-align: center; }
	.op-discord-text { flex: 0 0 auto; }
	.op-btn-discord { justify-content: center; width: 100%; box-sizing: border-box; white-space: normal; }
	.op-footer-discord { display: flex; justify-content: center; margin-top: 8px; }
}

/* OT74CLAUDE 2026-09-18: faixa social no topo (op_social_bar). Cada rede sai de UMA constante em
   plugins/portal/config.php; rede nao configurada nao renderiza nada, e sem nenhuma a faixa inteira desaparece. */
.op-social { background: linear-gradient(180deg, #100d0a 0%, #191410 100%); border-bottom: 1px solid #000; }
.op-social-inner { max-width: 1180px; margin: 0 auto; padding: 6px 14px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.op-social-link {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: 0 0 auto;
  border: 1px solid #000; border-radius: 50%; background: #241d16; color: #bfae8a;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 2px 5px rgba(0, 0, 0, .5);
  transition: color .12s, background .12s, transform .12s; text-decoration: none;
}
.op-social-link:hover, .op-social-link:focus-visible { transform: translateY(-1px); color: #fff; text-decoration: none; outline: none; }
.op-social-ico, .op-social-link .op-discord-ico { width: 27px; height: 27px; }
.op-social-link.is-discord { color: #fff; background: #5865F2; border-color: #3c45a5; }
.op-social-link.is-discord:hover, .op-social-link.is-discord:focus-visible { background: #6f7bff; }
.op-side-discord { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 6px; background: #5865F2; border: 1px solid #3c45a5;
  color: #fff !important; text-decoration: none !important; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 3px 8px rgba(0,0,0,.55); transition: background .12s, transform .12s; }
.op-side-discord:hover, .op-side-discord:focus-visible { background: #6f7bff; transform: translateY(-1px); outline: none; }
.op-side-discord .op-discord-ico { width: 40px; height: 40px; flex: 0 0 auto; }
.op-side-discord-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.op-side-discord-text strong { font-size: 15px; letter-spacing: .3px; }
.op-side-discord-text small { font-size: 11.5px; opacity: .9; }
.op-social-link.is-facebook { color: #5b9cf2; }
.op-social-link.is-facebook:hover, .op-social-link.is-facebook:focus-visible { background: #1877F2; }
.op-social-link.is-instagram { color: #ee7aa0; }
.op-social-link.is-instagram:hover, .op-social-link.is-instagram:focus-visible { background: #E4405F; }
.op-social-link.is-tiktok { color: #8fd8e2; }
.op-social-link.is-tiktok:hover, .op-social-link.is-tiktok:focus-visible { background: #69C9D0; color: #101010; }
.op-social-link.is-youtube { color: #f2666b; }
.op-social-link.is-youtube:hover, .op-social-link.is-youtube:focus-visible { background: #FF0000; }

/* OT74CLAUDE 2026-09-18: faixa TEST SERVER (BETA) - toda pagina, so quando OP_BETA_MODE = true. */
.op-beta { background: linear-gradient(180deg, #5c1a12 0%, #3a100b 100%); border-top: 1px solid #9c3a25; border-bottom: 1px solid #000; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.op-beta-inner { max-width: 1180px; margin: 0 auto; padding: 9px 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: #f6e3cf; font-size: 12px; line-height: 1.45; }
.op-beta-tag {
  flex: 0 0 auto; padding: 4px 10px; border: 1px solid #f0c07a; border-radius: 3px; background: rgba(0, 0, 0, .35);
  color: #ffd79a; font: 700 12px/1.2 var(--font-title); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.op-beta-text { flex: 1 1 340px; min-width: 0; }
.op-beta-wipe { flex: 0 0 auto; font-weight: 700; color: #ffdca8; }
@media (max-width: 860px) {
  .op-beta-inner { flex-direction: column; align-items: flex-start; text-align: left; gap: 6px; }
  /* em coluna o flex-basis vale para a ALTURA: sem isto o texto virava um bloco de 340 px de alto */
  .op-beta-tag, .op-beta-text, .op-beta-wipe { flex: 0 0 auto; }
}
