/* The Last Sanctum guide and system pages (Getting Started, Commands, The Great Forge, ...).
   Shared tls-* look plus page extras (gf-* = The Great Forge). Linked from interface.master. */
.tls-page { color: #dbe4ee; }
.tls-page p { color: #c9d6e6; line-height: 1.7; }
.tls-page a { color: #72a7fe; }
.tls-page a:hover { color: #f6c875; }
.tls-intro { text-align: left; padding: 8px 0 24px; }
.tls-intro h1 { background: linear-gradient(#ffd679, #ecb54f); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 12px; }
.tls-intro p { margin: 0; font-size: 1.05rem; color: #a4b8d1; }
/* "On this page" bar under the intro */
.tls-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 6px; padding: 12px 14px; background: rgba(13,22,38,.55); border: 1px solid rgba(86,156,214,.2); border-left: 3px solid #f6c875; border-radius: 6px; }
.tls-jump::before { content: "On this page"; margin-right: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #f6c875; }
.tls-jump a { font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; color: #dbe4ee; padding: 6px 12px; border: 1px solid rgba(86,156,214,.3); border-radius: 4px; background: rgba(32,54,88,.45); transition: border-color .2s ease, color .2s ease, background .2s ease; }
.tls-jump a:hover { border-color: #f6c875; color: #f6c875; background: rgba(246,200,117,.08); }
@media (max-width: 640px) { .tls-jump::before { flex-basis: 100%; margin: 0 0 2px; } }
.tls-section { margin: 34px 0 0; scroll-margin-top: 110px; }
.tls-section > h2 { display: flex; align-items: center; gap: 14px; }
.tls-step { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #f6c875; background: #203658; color: #f6c875; -webkit-text-fill-color: #f6c875; font-family: "Cinzel", serif; font-size: 1.05rem; box-shadow: 0 0 12px rgba(246,200,117,.25); }
.tls-panel { background: rgba(13,22,38,.75); border: 1px solid rgba(86,156,214,.25); border-radius: 8px; padding: 22px 24px; }
.tls-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.tls-card { background: rgba(13,22,38,.7); border: 1px solid rgba(86,156,214,.25); border-radius: 8px; padding: 18px 20px; }
.tls-card h3 { font-size: 1.02rem; padding: 0 0 6px; margin: 0; }
.tls-card p { font-size: .93rem; margin: 0; color: #a4b8d1; }
.tls-cmd, .tls-page code { font-family: Consolas, "Courier New", monospace; font-size: .9em; color: #f6c875; background: rgba(246,200,117,.08); border: 1px solid rgba(246,200,117,.25); border-radius: 4px; padding: 1px 6px; white-space: nowrap; }
.tls-key { display: inline-block; min-width: 26px; text-align: center; font-family: "Lexend", sans-serif; font-weight: 600; font-size: .85em; color: #0b1526; background: linear-gradient(#ebf7ff, #a4b8d1); border-radius: 4px; padding: 1px 7px; box-shadow: 0 2px 0 #516b89; }
.tls-tip, .tls-note { margin-top: 16px; padding: 12px 16px; border-radius: 6px; font-size: .95rem; }
.tls-tip { background: rgba(46,213,115,.08); border-left: 3px solid #2ed573; }
.tls-note { background: rgba(246,200,117,.08); border-left: 3px solid #f6c875; }
.tls-tip strong, .tls-note strong { color: #ebf7ff; }
.tls-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .95rem; }
.tls-table th { font-family: "Cinzel", serif; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; font-size: .8rem; color: #f6c875; text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(246,200,117,.35); background: rgba(32,54,88,.6); }
.tls-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(86,156,214,.15); color: #c9d6e6; vertical-align: top; }
.tls-table tr:hover td { background: rgba(114,167,254,.05); }
.tls-table td:first-child { white-space: nowrap; }
.tls-pill { display: inline-block; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(114,167,254,.4); color: #72a7fe; margin-left: 6px; }
.tls-pill.live { color: #2ed573; border-color: rgba(46,213,115,.45); }
.tls-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.tls-btn { display: inline-block; padding: 10px 26px; border-radius: 6px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; color: #fff !important; background: linear-gradient(to bottom, #4fc3ff 0%, #1f6fae 50%, #0f3f6a 100%); border: 2px solid #f2c76f; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.tls-btn:hover { filter: brightness(1.12); }
.tls-btn.secondary { background: rgba(13,22,38,.8); border-color: rgba(86,156,214,.5); }
@media (max-width: 640px) {
  .tls-panel { padding: 16px; }
  .tls-table, .tls-table tbody, .tls-table tr, .tls-table td { display: block; width: 100%; }
  .tls-table thead { display: none; }
  .tls-table tr { padding: 8px 0; border-bottom: 1px solid rgba(86,156,214,.15); }
  .tls-table td { border: 0; padding: 2px 4px; }
}
.tls-panel, .tls-card, .tls-tip, .tls-note { text-align: left; }
.tls-table th:first-child { width: 40%; }
.tls-table td:first-child { white-space: normal; }
.tls-table.fixed { table-layout: fixed; }
@media (max-width: 640px) { .tls-table.fixed { table-layout: auto; } }

/* Great Forge page extras */
.gf-ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
.gf-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px 14px; text-align: center; background: rgba(13,22,38,.7); border: 1px solid rgba(86,156,214,.25); border-radius: 8px; }
.gf-step + .gf-step::before { content: ""; position: absolute; left: -11px; top: 50%; width: 10px; height: 2px; background: #f6c875; opacity: .6; }
.gf-step.gf-top { border-color: #f6c875; box-shadow: 0 0 16px rgba(246,200,117,.2); }
.gf-tier { font-family: "Cinzel", serif; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #f6c875; }
.gf-step strong { color: #ebf7ff; font-family: "Cinzel", serif; font-size: 1.02rem; }
.gf-sockets { font-size: .85rem; color: #a4b8d1; }
.gf-el { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; box-shadow: 0 0 8px currentColor; background: currentColor; }
.gf-fire { color: #ff6b3d; } .gf-water { color: #4fb4ff; } .gf-earth { color: #c8a063; }
.gf-air { color: #cfe8ff; } .gf-nature { color: #4fd47a; } .gf-dark { color: #a56bff; }
@media (max-width: 640px) {
  .gf-ladder { grid-template-columns: 1fr; }
  .gf-step { flex-direction: row; justify-content: space-between; padding: 10px 14px; }
  .gf-step + .gf-step::before { display: none; }
}
.gf-t-grade, .gf-t-el, .gf-t-void { table-layout: fixed; }
.gf-t-grade th:nth-child(1) { width: 22%; } .gf-t-grade th:nth-child(2) { width: 42%; } .gf-t-grade th:nth-child(3) { width: 36%; }
.gf-t-el th:nth-child(1) { width: 17%; } .gf-t-el th:nth-child(2) { width: 13%; } .gf-t-el th:nth-child(3) { width: 35%; } .gf-t-el th:nth-child(4) { width: 35%; }
.gf-t-void th:nth-child(1) { width: 30%; } .gf-t-void th:nth-child(2) { width: 70%; }
.gf-t-grade td:first-child, .gf-t-el td:first-child, .gf-t-void td:first-child { white-space: normal; }
@media (max-width: 640px) { .gf-t-grade, .gf-t-el, .gf-t-void { table-layout: auto; } }

/* Site search: menu box (interface.master) and the /search page (search.aspx) */
.tls-nav-search { position: relative; display: flex; align-items: center; margin-left: 6px; }
.tls-nav-search-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; color: #ffffff !important; text-decoration: none; border-radius: 999px; transition: color .2s ease; }
.tls-nav-search-toggle:hover, .tls-nav-search.open .tls-nav-search-toggle { color: #f6c875 !important; }
.tls-nav-search-toggle .fa { font-size: 1.05rem; }
.tls-nav-search-label { display: none; }
.tls-nav-search-panel { display: none; position: absolute; top: calc(100% + 10px); right: 0; z-index: 1050; width: 320px; gap: 8px; padding: 12px; background: rgba(13,22,38,.97); border: 1px solid rgba(86,156,214,.35); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.tls-nav-search.open .tls-nav-search-panel { display: flex; }
.tls-search-input { flex: 1; min-width: 0; padding: 8px 12px; font-family: "Lexend", sans-serif; font-size: .95rem; color: #ebf7ff; background: rgba(32,54,88,.6); border: 1px solid rgba(86,156,214,.35); border-radius: 6px; outline: none; }
.tls-search-input::placeholder { color: #7f93ab; }
.tls-search-input:focus { border-color: #f6c875; box-shadow: 0 0 0 2px rgba(246,200,117,.15); }
.tls-nav-search-panel .tls-btn { padding: 8px 14px; margin: 0; }
@media (max-width: 991px) {
  .tls-nav-search { flex-direction: column; align-items: stretch; margin: 6px 1em 10px; }
  .tls-nav-search-toggle { padding: 4px 0; }
  .tls-nav-search-label { display: inline; font-family: "Lexend", sans-serif; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
  .tls-nav-search-panel { position: static; width: auto; margin-top: 8px; box-shadow: none; }
}

.tls-search .tls-intro { text-align: center; }
.tls-search-box { display: flex; gap: 10px; max-width: 640px; margin: 22px auto 6px; }
.tls-search-box .tls-search-input { padding: 12px 16px; font-size: 1.05rem; }
.tls-search-box .tls-btn { margin: 0; }
.tls-search-count { text-align: center; color: #a4b8d1; margin: 18px 0 8px; }
.tls-search-results { display: flex; flex-direction: column; gap: 12px; margin: 10px 0 0; }
.tls-search-result { display: block; padding: 16px 20px; text-decoration: none !important; background: rgba(13,22,38,.75); border: 1px solid rgba(86,156,214,.25); border-radius: 8px; transition: border-color .2s ease, transform .2s ease; }
.tls-search-result:hover { border-color: #f6c875; transform: translateY(-1px); }
.tls-search-result h3 { margin: 4px 0 6px; padding: 0; font-size: 1.1rem; color: #f6c875; }
.tls-search-section { color: #a4b8d1; font-size: .9rem; font-family: "Lexend", sans-serif; }
.tls-search-result p { margin: 0; font-size: .93rem; color: #c9d6e6; line-height: 1.6; }
.tls-search-result mark { background: rgba(246,200,117,.22); color: #ffe3a8; padding: 0 2px; border-radius: 3px; }
.tls-search-kind { display: inline-block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #72a7fe; border: 1px solid rgba(114,167,254,.4); border-radius: 999px; padding: 1px 8px; }
@media (max-width: 640px) { .tls-search-box { flex-direction: column; } }

/* Screenshots: <figure class="tls-figure"><img src="..." alt="..."><figcaption>...</figcaption></figure>.
   Until the image exists, add "placeholder" and put the description in a <span> instead of the img. */
.tls-figure { margin: 18px 0 4px; text-align: center; }
.tls-figure img { max-width: 100%; height: auto; border-radius: 8px; border: 1px solid rgba(86,156,214,.3); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.tls-figure figcaption { margin-top: 8px; font-size: .85rem; color: #a4b8d1; font-style: italic; }
.tls-figure.placeholder > span { display: flex; align-items: center; justify-content: center; min-height: 220px; padding: 20px; border: 2px dashed rgba(246,200,117,.45); border-radius: 8px; background: rgba(13,22,38,.5); color: #f6c875; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; }

/* News article page (article.aspx): banner, date line, old-post notice, readable body, "More news" cards */
.tls-article { width: 100%; text-align: left; }
.tls-article-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: #a4b8d1 !important; }
.tls-article-back:hover { color: #f6c875 !important; }
.tls-article-hero { position: relative; background: rgba(13,22,38,.75); border: 1px solid rgba(86,156,214,.25); border-radius: 8px; overflow: hidden; }
.tls-article-banner { height: 240px; background-size: cover; background-position: center; }
.tls-article-head { padding: 22px 26px 24px; border-top: 2px solid #f6c875; }
/* With a banner, the title sits on the bottom of the image over a dark fade */
.tls-article-banner + .tls-article-head { position: relative; margin-top: -130px; padding-top: 70px; border-top: 0; background: linear-gradient(to bottom, rgba(13,22,38,0) 0, rgba(13,22,38,.88) 70px, rgba(13,22,38,.96) 130px); }
.tls-article-head h1 { background: linear-gradient(#ffd679, #ecb54f); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin: 10px 0 10px; line-height: 1.25; }
.tls-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .85rem; color: #a4b8d1; }
.tls-article-meta .fa { color: #f6c875; margin-right: 4px; }
.tls-article-meta .tls-pill { margin-left: 0; }
.tls-article-lead { margin: 0; font-size: 1.08rem; color: #a4b8d1 !important; }
.tls-article-old { margin-top: 18px; }
.tls-article-body { margin-top: 26px; padding: 26px 28px; background: rgba(13,22,38,.6); border: 1px solid rgba(86,156,214,.2); border-radius: 8px; color: #c9d6e6; font-size: 1.02rem; line-height: 1.75; }
.tls-article-body > *:first-child { margin-top: 0; }
.tls-article-body > *:last-child { margin-bottom: 0; }
.tls-article-body h2, .tls-article-body h3, .tls-article-body h4 { color: #f6c875; -webkit-text-fill-color: #f6c875; margin: 1.6em 0 .5em; padding: 0; text-align: left; }
.tls-article-body h2 { font-size: 1.45rem; padding-bottom: 6px; border-bottom: 1px solid rgba(246,200,117,.25); }
.tls-article-body h3 { font-size: 1.2rem; }
.tls-article-body h4 { font-size: 1.05rem; color: #ebf7ff; -webkit-text-fill-color: #ebf7ff; }
.tls-article-body p { margin: 0 0 1em; text-align: left; }
.tls-article-body ul, .tls-article-body ol { margin: 0 0 1em; padding-left: 1.4em; text-align: left; }
.tls-article-body li { margin: .3em 0; }
.tls-article-body li::marker { color: #f6c875; }
.tls-article-body strong, .tls-article-body b { color: #ebf7ff; }
.tls-article-body img { display: block; max-width: 100%; height: auto; margin: 1.2em auto; border-radius: 8px; border: 1px solid rgba(86,156,214,.3); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.tls-article-body blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 3px solid #72a7fe; background: rgba(114,167,254,.07); border-radius: 0 6px 6px 0; color: #dbe4ee; font-style: italic; }
.tls-article-body hr { border: 0; height: 1px; margin: 2em 0; background: linear-gradient(to right, transparent, rgba(246,200,117,.5), transparent); opacity: 1; }
.tls-article-body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.tls-article-body th { color: #f6c875; text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(246,200,117,.35); background: rgba(32,54,88,.6); }
.tls-article-body td { padding: 8px 10px; border-bottom: 1px solid rgba(86,156,214,.15); }
.tls-article-more h2 { text-align: left; }
.tls-article-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 14px; }
.tls-article-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none !important; background: rgba(13,22,38,.75); border: 1px solid rgba(86,156,214,.25); border-radius: 8px; transition: border-color .2s ease, transform .2s ease; }
.tls-article-card:hover { border-color: #f6c875; transform: translateY(-2px); }
.tls-article-card-img { display: block; height: 130px; background: #203658 center / cover no-repeat; border-bottom: 1px solid rgba(86,156,214,.25); }
.tls-article-card-body { display: block; padding: 14px 16px 16px; }
.tls-article-card-date { display: block; font-size: .78rem; color: #a4b8d1; letter-spacing: .04em; }
.tls-article-card h3 { margin: 4px 0 6px; padding: 0; font-size: 1.02rem; color: #f6c875; -webkit-text-fill-color: #f6c875; line-height: 1.3; }
.tls-article-card p { margin: 0; font-size: .88rem; color: #a4b8d1; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) {
  .tls-article-banner { height: 170px; }
  .tls-article-banner + .tls-article-head { margin-top: -90px; padding-top: 56px; }
  .tls-article-head { padding: 16px 16px 18px; }
  .tls-article-body { padding: 18px 16px; }
}

/* News list (blog.aspx): newest post as a wide featured card, the rest as tls-article-card tiles */
.tls-blog { width: 100%; text-align: left; }
.tls-blog .tls-section > h2 { text-align: left; }
.tls-article-card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #72a7fe; }
.tls-article-card:hover .tls-article-card-more { color: #f6c875; }
.tls-article-card.featured { flex-direction: row; margin-top: 14px; }
.tls-article-card.featured .tls-article-card-img { flex: 0 0 55%; height: auto; min-height: 280px; border-bottom: 0; border-right: 2px solid #f6c875; }
.tls-article-card.featured .tls-article-card-body { display: flex; flex-direction: column; justify-content: center; padding: 26px 28px; }
.tls-article-card.featured h3 { font-size: 1.6rem; margin: 8px 0 10px; }
.tls-article-card.featured p { font-size: 1rem; -webkit-line-clamp: 5; }
.tls-blog-empty { text-align: center; color: #a4b8d1; margin-top: 30px; }
@media (max-width: 767px) {
  .tls-article-card.featured { flex-direction: column; }
  .tls-article-card.featured .tls-article-card-img { flex: none; min-height: 0; height: 180px; border-right: 0; border-bottom: 2px solid #f6c875; }
  .tls-article-card.featured .tls-article-card-body { padding: 16px; }
  .tls-article-card.featured h3 { font-size: 1.25rem; }
}

/* Rules page: numbered rule cards in a two-column grid */
.tls-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.tls-rule { background: rgba(13,22,38,.75); border: 1px solid rgba(86,156,214,.25); border-radius: 8px; padding: 20px 22px; text-align: left; scroll-margin-top: 110px; }
.tls-rule h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 0; font-size: 1.25rem; }
.tls-rule .tls-step { width: 34px; height: 34px; font-size: .95rem; }
.tls-rule ul { margin: 0; padding-left: 1.2em; }
.tls-rule li { margin: 6px 0; color: #c9d6e6; line-height: 1.6; }
.tls-rule li::marker { color: #f6c875; }
.tls-rule li strong { color: #ebf7ff; }
.tls-rules + .tls-note { margin-top: 22px; }
@media (max-width: 767px) { .tls-rules { grid-template-columns: 1fr; } .tls-rule { padding: 16px; } }

/* Economy page: coin row */
.ec-coins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.ec-coin { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px; text-align: center; background: rgba(13,22,38,.7); border: 1px solid rgba(86,156,214,.25); border-radius: 8px; }
.ec-coin strong { color: #ebf7ff; font-family: "Cinzel", serif; font-size: 1.05rem; }
.ec-coin span { font-size: .88rem; color: #a4b8d1; }
.ec-coin .ec-dot { width: 26px; height: 26px; border-radius: 50%; margin-bottom: 4px; border: 2px solid rgba(255,255,255,.25); }
.ec-copper { background: radial-gradient(circle at 35% 35%, #f0a36b, #a0522d); box-shadow: 0 0 10px rgba(205,127,50,.5); }
.ec-silver { background: radial-gradient(circle at 35% 35%, #ffffff, #9aa6b2); box-shadow: 0 0 10px rgba(200,210,220,.45); }
.ec-gold { background: radial-gradient(circle at 35% 35%, #ffe7a3, #d19a2a); box-shadow: 0 0 10px rgba(246,200,117,.55); }
@media (max-width: 640px) { .ec-coins { grid-template-columns: 1fr; } .ec-coin { flex-direction: row; justify-content: flex-start; gap: 12px; } .ec-coin .ec-dot { margin: 0; } }

/* Professions page: group labels, 4-step rank ladder, skill colour chips */
.pf-group { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #f6c875; -webkit-text-fill-color: #f6c875; margin: 4px 0 0; padding: 0; text-align: left; }
.pf-group + .tls-grid { margin-bottom: 22px; }
.pf-ladder { grid-template-columns: repeat(4, 1fr); }
.pf-c { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 10px; vertical-align: -2px; }
.pf-red { background: #ff4040; } .pf-orange { background: #ff8040; } .pf-yellow { background: #ffff00; }
.pf-green { background: #40c040; } .pf-grey { background: #808080; }
.pf-colours th:first-child { width: 22%; }

/* Character & Progression page (rpg-framework): attribute table, zone rows (image left, text right) */
.rp-attr th:nth-child(1) { width: 18%; } .rp-attr th:nth-child(2) { width: 50%; } .rp-attr th:nth-child(3) { width: 32%; }
.rp-zones { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.rp-zone { display: flex; overflow: hidden; background: rgba(13,22,38,.7); border: 1px solid rgba(86,156,214,.25); border-radius: 8px; }
.rp-zone.rp-pvp { border-color: rgba(255,90,90,.45); }
.rp-zone .tls-figure { flex: 0 0 34%; margin: 0; display: flex; align-items: center; background: #0b1526; border-right: 2px solid #f6c875; }
.rp-zone.rp-pvp .tls-figure { border-right-color: #ff6b6b; }
/* The zone images have their title painted on, so show them whole (no cropping) */
.rp-zone .tls-figure img { display: block; width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none; }
.rp-zone-body { padding: 18px 22px; text-align: left; }
.rp-zone-body h3 { margin: 4px 0 8px; padding: 0; font-size: 1.3rem; }
.rp-zone-body p { margin: 0 0 8px; font-size: .95rem; color: #a4b8d1; }
.rp-zone-body p:last-child { margin-bottom: 0; }
.rp-pvp .gf-tier { color: #ff8080; }
@media (max-width: 767px) {
  .rp-zone { flex-direction: column; }
  .rp-zone .tls-figure { border-right: 0; border-bottom: 2px solid #f6c875; }
  .rp-zone.rp-pvp .tls-figure { border-bottom-color: #ff6b6b; }
}

/* Gear compendium (Armor and Weapons pages), built by assets/theme/js/krystal/tls-compendium.js */
.tls-compendium { --q-common: #f7fbf4; --q-uncommon: #6fbf3a; --q-rare: #2f9bea; --q-epic: #bc76e6; --q-legendary: #ff8f00; --q-cosmetic: #ff80ff; text-align: left; }
.tc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.tc-tabs button { font-family: "Lexend", sans-serif; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #dbe4ee; padding: 9px 18px; background: rgba(32,54,88,.45); border: 1px solid rgba(86,156,214,.3); border-radius: 4px; cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.tc-tabs button:hover { border-color: #f6c875; color: #f6c875; }
.tc-tabs button.active { color: #f6c875; border-color: #f6c875; background: rgba(246,200,117,.1); box-shadow: 0 0 12px rgba(246,200,117,.2); }
.tc-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 12px 14px; background: rgba(13,22,38,.55); border: 1px solid rgba(86,156,214,.2); border-radius: 6px; }
.tc-filter { display: flex; align-items: center; gap: 10px; margin: 0; }
.tc-filter span, .tc-toggle span { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #f6c875; }
.tc-filter select { flex: none; width: auto; padding: 6px 10px; font-size: .9rem; }
.tc-toggle { display: flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; }
.tc-toggle input { width: 16px; height: 16px; accent-color: #f6c875; }
.tc-jump { margin-top: 12px; }
.tc-jump::before { content: "Jump to"; }
.tc-set { margin-top: 30px; scroll-margin-top: 110px; }
.tc-set h2 { margin: 0 0 6px; padding: 0; }
.tc-suits { margin: 0 0 6px; font-weight: 600; color: #ebf7ff !important; }
.tc-suits span { font-weight: 400; color: #a4b8d1; }
.tc-desc { margin: 0 0 14px; }
.tc-table-wrap { width: 100%; overflow-x: auto; background: rgba(13,22,38,.75); border: 1px solid rgba(86,156,214,.25); border-radius: 8px; }
.tc-table { width: 100%; min-width: 560px; border-collapse: collapse; table-layout: fixed; font-size: .93rem; }
.tc-table th { font-family: "Cinzel", serif; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; font-size: .78rem; color: #f6c875; text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(246,200,117,.35); background: rgba(32,54,88,.6); }
.tc-table td { padding: 8px 12px; border-bottom: 1px solid rgba(86,156,214,.12); color: #c9d6e6; vertical-align: middle; }
.tc-table .tc-stat { text-align: center; }
.tc-table tr.tc-group td { border-top: 1px solid rgba(86,156,214,.35); }
.tc-table tbody tr { cursor: pointer; transition: background .15s ease; }
.tc-table tbody tr:hover td, .tc-table tbody tr:focus td { background: rgba(114,167,254,.08); }
.tc-table tbody tr:focus { outline: none; }
.tc-table tbody tr:focus .tc-name { text-decoration: underline; }
.tc-icon { text-align: center; background: rgba(9,18,33,.45); }
.tc-icon img { display: block; margin: 0 auto; width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(0,0,0,.7)); }
.tc-name { font-weight: 600; text-align: left !important; }
.tc-pos { color: #5eead4; } .tc-neg { color: #f87171; } .tc-zero { color: #4b5d75; }
.tc-q-common { color: var(--q-common) !important; } .tc-q-uncommon { color: var(--q-uncommon) !important; }
.tc-q-rare { color: var(--q-rare) !important; } .tc-q-epic { color: var(--q-epic) !important; }
.tc-q-legendary { color: var(--q-legendary) !important; } .tc-q-cosmetic { color: var(--q-cosmetic) !important; }
.tc-status { text-align: center; color: #72a7fe; padding: 40px 0; }
.tc-status.tc-error { color: #f87171; }
/* In-game style tooltip */
.tc-modal { display: none; position: fixed; inset: 0; z-index: 99999; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.75); backdrop-filter: blur(4px); }
.tc-modal.open { display: flex; }
.tc-card { position: relative; width: 100%; max-width: 420px; max-height: 90vh; overflow-y: auto; padding: 20px 22px; background: #0b111e; border: 2px solid #5a6677; border-radius: 6px; color: #d1d5db; font-family: "Lexend", sans-serif; box-shadow: 0 10px 40px rgba(0,0,0,.85); outline: none; text-align: left; }
.tc-b-common { border-color: #9ca3af; } .tc-b-uncommon { border-color: var(--q-uncommon); box-shadow: 0 0 16px rgba(111,191,58,.35); }
.tc-b-rare { border-color: var(--q-rare); box-shadow: 0 0 18px rgba(47,155,234,.4); } .tc-b-epic { border-color: var(--q-epic); box-shadow: 0 0 20px rgba(188,118,230,.45); }
.tc-b-legendary { border-color: var(--q-legendary); box-shadow: 0 0 24px rgba(255,143,0,.5); } .tc-b-cosmetic { border-color: var(--q-cosmetic); box-shadow: 0 0 20px rgba(255,128,255,.4); }
.tc-modal .tc-card { --q-common: #f7fbf4; --q-uncommon: #6fbf3a; --q-rare: #2f9bea; --q-epic: #bc76e6; --q-legendary: #ff8f00; --q-cosmetic: #ff80ff; }
.tc-close { position: absolute; top: 8px; right: 10px; width: 30px; height: 30px; font-size: 1.4rem; line-height: 1; color: #94a3b8; background: none; border: 0; cursor: pointer; }
.tc-close:hover { color: #f6c875; }
.tc-tt-title { font-family: "Cinzel", serif; font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding-right: 26px; }
.tc-tt-slot { font-size: .9rem; color: #94a3b8; margin-top: 2px; }
.tc-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.1); margin: 10px 0 12px; opacity: 1; }
.tc-tt-req { color: #f3d35c; font-weight: 700; font-size: .95rem; }
.tc-tt-reqstats { color: #7baef8; font-size: .9rem; margin: 2px 0 10px; }
.tc-tt-stat { font-size: .95rem; font-weight: 600; line-height: 1.45; }
.tc-tt-stat.pos { color: #4ade80; } .tc-tt-stat.neg { color: #ef5350; }
.tc-tt-sets { margin-top: 12px; color: #f3d35c; font-weight: 700; font-size: .92rem; }
.tc-tt-sets span { color: #e2e8f0; font-weight: 400; }
.tc-tt-tier { margin-top: 10px; font-weight: 600; font-size: .92rem; }
.tc-tt-socket { color: #38bdf8; font-size: .88rem; margin-top: 2px; } .tc-tt-socket.empty { color: #94a3b8; }
.tc-tt-regen { color: #4ade80; font-weight: 600; font-size: .92rem; margin-top: 3px; }
.tc-tt-addon { color: #2dd4bf; font-weight: 600; font-size: .92rem; margin-top: 3px; }
.tc-tt-flavor { margin-top: 10px; font-style: italic; color: #94a3b8; font-size: .85rem; }
.tc-tt-source { margin-top: 10px; color: #72a7fe; font-weight: 600; font-size: .88rem; }
@media (max-width: 640px) {
  .tc-tools { flex-direction: column; align-items: flex-start; }
  /* Phones: the table scrolls sideways, so give it room for the 44px icon and one-line stat headers */
  .tc-table { min-width: 620px; }
  .tc-table th.tc-icon, .tc-table td.tc-icon { padding: 6px 4px; }
  .tc-table th, .tc-table td { padding-left: 6px; padding-right: 6px; }
  .tc-table th.tc-stat { white-space: nowrap; letter-spacing: .02em; }
}

/* Collections page (cl-*): gallery of pets, mounts and curios, like the in-game Collections window */
.cl-group { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding-bottom: 6px; border-bottom: 1px solid rgba(246,200,117,.25); }
.cl-group:first-child { margin-top: 0; }
.cl-group h3 { margin: 0; padding: 0; font-size: 1.05rem; color: #f6c875; }
.cl-group span { font-size: .85rem; color: #a4b8d1; }
.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 14px; }
.cl-tile { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 10px 12px; background: rgba(13,22,38,.7); border: 1px solid rgba(86,156,214,.25); border-radius: 8px; transition: border-color .2s ease, transform .2s ease; }
.cl-tile:hover { border-color: rgba(246,200,117,.6); transform: translateY(-2px); }
.cl-pic { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; margin-bottom: 8px; border-radius: 50%; background: radial-gradient(circle, rgba(114,167,254,.18) 0%, rgba(13,22,38,0) 70%); }
.cl-pic img { max-width: 96px; max-height: 96px; width: auto; height: auto; }
.cl-pic.cl-icon img { max-width: 64px; max-height: 64px; }
.cl-name { font-family: "Cinzel", serif; font-size: .92rem; font-weight: 600; color: #ebf7ff; line-height: 1.3; }
.cl-src { margin-top: 4px; font-size: .8rem; line-height: 1.45; color: #a4b8d1; }
.cl-q { display: inline-block; margin-top: 6px; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: 1px 8px; border-radius: 999px; border: 1px solid currentColor; }
.cl-common { color: #c9d1d9; } .cl-uncommon { color: #6fbf3a; } .cl-rare { color: #2f9bea; } .cl-epic { color: #bc76e6; } .cl-legendary { color: #ff8f00; }
.cl-tile.cl-rare { border-color: rgba(47,155,234,.35); } .cl-tile.cl-epic { border-color: rgba(188,118,230,.4); } .cl-tile.cl-legendary { border-color: rgba(255,143,0,.45); }
.cl-tile.cl-common, .cl-tile.cl-uncommon, .cl-tile.cl-rare, .cl-tile.cl-epic, .cl-tile.cl-legendary { color: inherit; }
.cl-lore { font-style: italic; color: #a4b8d1; border-left: 3px solid rgba(246,200,117,.4); padding-left: 14px; margin: 0 0 6px; }
@media (max-width: 640px) { .cl-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .cl-pic { width: 80px; height: 80px; } .cl-pic img { max-width: 80px; max-height: 80px; } }
