:root {
	color-scheme: dark;
	--background: #111111;
	--panel: #1b1b1b;
	--panel-raised: #242424;
	--line: #303030;
	--text: #eeeeee;
	--muted: #999999;
	--faint: #888888;
	--accent: #54df92;
	--accent-dark: #27965b;
	--accent-rgb: 84, 223, 146;
	--violet: #bd91f6;
	font-family: MinecraftSeven, "Segoe UI", sans-serif;
	font-size: 15px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 135px; }
body { margin: 0; background: var(--background); color: var(--text); line-height: 1.5; }
body.violet-theme { --accent: #c198ff; --accent-dark: #8052af; --accent-rgb: 193, 152, 255; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; border: 0; background: none; }
button:disabled { cursor: default; opacity: .35; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
input, select { color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
h1, h2, h3, p { margin-top: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -50px; z-index: 200; padding: 10px 18px; background: var(--accent); color: #17101c; }
.skip-link:focus { top: 0; }
.site-header { height: 64px; padding: 0 34px; display: flex; align-items: center; gap: 28px; position: sticky; top: 0; z-index: 50; background: #191919f5; border-bottom: 1px solid #ffffff0c; backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand img { width: 37px; height: 37px; }
.brand > span { font-size: 24px; letter-spacing: -.8px; font-weight: 800; }
.brand > span > span { color: var(--accent); }
.brand small { font-size: 9px; font-weight: 600; letter-spacing: 1.8px; margin: 7px 0 0 3px; color: var(--faint); }
.top-nav { display: flex; gap: 26px; align-items: center; font-size: 13px; color: #cccccc; }
.top-nav a:hover, footer a:hover { color: var(--accent); }
.top-nav a[aria-current="page"] { color: var(--accent); }
.header-search { margin-left: auto; display: flex; width: 230px; height: 34px; border: 1px solid var(--line); border-radius: 6px; background: #242424; }
.header-search input { border: 0; background: none; width: calc(100% - 38px); font-size: 12px; padding: 0 12px; }
.header-search button { width: 38px; font-size: 24px; color: var(--muted); }
.icon-button { width: 28px; font-size: 20px; color: var(--muted); padding: 0; }
.discord-link { font-size: 12px; white-space: nowrap; color: #aaaaaa; }
.eyebrow { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 2.2px; color: var(--accent); }
.tiny-dot { display: inline-block; height: 6px; width: 6px; border-radius: 50%; background: #93c987; box-shadow: 0 0 10px #a5ff781a; }
@font-face
{
	font-family: MinecraftSeven;
	src: url('/assets/fonts/MinecraftSeven.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

.home-hero { min-height: 210px; border: 0; }
.hero-content { max-width: 960px; margin: auto; text-align: center; padding: 36px 24px 42px; }
.hero-content h1 { font-size: 36px; line-height: 1.3; letter-spacing: 0; font-weight: 400; margin: 0 0 10px; }
.hero-content > p { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.hero-search { background: #242424; border: 1px solid #303030; border-radius: 8px; height: 42px; max-width: 360px; margin: auto; display: flex; align-items: center; padding: 0 5px 0 14px; }
.hero-search:focus-within { border-color: var(--accent); }
.hero-search input { min-width: 0; flex: 1; width: 100%; height: 100%; border: 0; background: none; font-size: 14px; outline: none; }
.hero-search input::placeholder { color: #929292; }
.hero-search button { flex-shrink: 0; width: 36px; height: 32px; border-radius: 4px; color: var(--muted); font-size: 18px; }
.hero-search button:hover { color: var(--accent); background: #ffffff08; }
.favorites { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 20px 0 0; }
.favorites > span { font-size: 9px; color: var(--muted); margin-right: 7px; }
.favorites a { border: 1px solid var(--line); background: var(--panel); border-radius: 5px; padding: 5px 10px; font-size: 11px; }
.home-content { max-width: 960px; margin: auto; padding: 0 28px 60px; }
.home-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0 18px; }
.home-section-heading h2 { font-size: 16px; font-weight: 400; margin: 0; letter-spacing: 0; }
.home-section-heading > a { font-size: 12px; color: #8885ff; white-space: nowrap; }
.home-section-heading > a:hover { color: #b5b3ff; }
.board-tabs { display: flex; gap: 5px; margin-bottom: 17px; flex-wrap: wrap; }
.board-tabs button { padding: 7px 12px; color: var(--muted); font-size: 12px; border: 1px solid transparent; border-radius: 5px; }
.board-tabs button.selected { color: var(--accent); border-color: #53df9140; background: #53df9110; }
.home-boards { display: grid; grid-template-columns: 1fr; }
.board-panel { min-width: 0; }
.board-panel-title { display: flex; justify-content: space-between; align-items: center; padding: 4px 0 15px; font-size: 14px; }
.board-panel-title small { font-size: 10px; color: var(--muted); }
#board-rows { display: grid; gap: 8px; }
.leaderboard-row { display: flex; align-items: center; gap: 14px; padding: 17px 18px; background: var(--panel); border: 1px solid transparent; border-radius: 8px; font-size: 14px; min-height: 64px; }
.leaderboard-row:hover { border-color: #383838; background: #222; }
.board-position { display: grid; place-items: center; flex: 0 0 28px; height: 28px; color: #a0a0a0; background: #2a2a2a; border-radius: 50%; font-size: 14px; }
.leaderboard-row:nth-child(1) .board-position { color: #171717; background: #ffd12a; }
.leaderboard-row:nth-child(2) .board-position { color: #171717; background: #bdc4cc; }
.leaderboard-row:nth-child(3) .board-position { color: #fff; background: #b65d13; }
.board-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaderboard-row strong { font-weight: 400; color: var(--accent); white-space: nowrap; }
.home-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; }
.home-metrics > div { background: var(--panel); border-radius: 8px; min-height: 90px; padding: 16px; }
.home-metrics span { display: block; color: var(--muted); font-size: 10px; margin-bottom: 8px; }
.home-metrics strong, .home-metrics button { display: block; font-size: 16px; font-weight: 400; padding: 0; }
.home-metrics button, #home-auctions { color: var(--accent); }
.home-market-section { margin-top: 62px; }
.home-market-section .home-section-heading { padding-bottom: 6px; }
.home-market-section > p { color: var(--muted); font-size: 12px; margin: 0 0 16px; }
.home-item-strip { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #363636 transparent; }
.home-item-card { flex: 0 0 260px; min-width: 0; display: flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid #2b2b2b; border-radius: 8px; padding: 16px; scroll-snap-align: start; }
.home-item-card:hover { background: #222; border-color: #454545; }
.home-item-card > .inventory-slot { flex-shrink: 0; width: 38px; height: 38px; border: 0; background: transparent; padding: 0; box-shadow: none; }
.home-item-card > div { min-width: 0; }
.home-item-card a { font-size: 12px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-item-card a:hover { text-decoration: underline; }
.home-item-card strong { display: block; color: var(--accent); font-size: 13px; font-weight: 400; white-space: nowrap; }
.home-item-card strong small { font-size: 9px; color: var(--muted); }
.home-item-card span { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; }
.home-item-card .stack-size { color: white; margin: 0; }
.home-item-strip .loading-inline { width: 100%; }
.home-data-note, .home-market-section > .home-data-note { color: var(--muted); font-size: 10px; line-height: 1.8; }

.profile-cover { height: 168px; background-position: center 42%; opacity: .8; border-bottom: 1px solid #483247; }
.cover-caption { max-width: 1216px; margin: auto; padding: 38px 30px 0; text-align: right; }
.cover-caption .eyebrow { font-size: 9px; }
.cover-caption p { color: #b1a3bf; font-size: 12px; margin-top: 7px; }
.profile-layout { max-width: 1256px; margin: -42px auto 0; position: relative; padding: 0 30px; display: grid; grid-template-columns: 278px minmax(0, 1fr); gap: 35px; }
.player-sidebar { padding-top: 0; align-self: start; position: sticky; top: 86px; }
.character-card { background: linear-gradient(155deg, #33253d, #201a29 70%); border: 1px solid #52405e; border-radius: 9px; overflow: hidden; position: relative; }
.character-card::before { content: ''; position: absolute; inset: 120px 40px 70px; border-radius: 50%; background: radial-gradient(ellipse, #b987d412, transparent 65%); pointer-events: none; }
.character-label { position: absolute; left: 16px; top: 14px; font-size: 8px; color: #ae99bc; letter-spacing: 2px; display: flex; align-items: center; gap: 7px; }
#skin-canvas { display: block; width: 100% !important; height: 355px !important; }
.character-controls { display: flex; justify-content: center; align-items: center; gap: 27px; color: var(--faint); margin: -5px 0 10px; }
.character-controls > span { font-size: 9px; }
.character-controls button { font-size: 21px; width: 30px; height: 31px; line-height: 1; }
.character-controls button.selected { color: var(--accent); }
.equipped-armor { display: flex; justify-content: center; gap: 7px; padding: 13px 14px 16px; border-top: 1px solid #ffffff08; background: #15101d33; }
.equipped-armor .inventory-slot { width: 46px; height: 46px; }
.sidebar-caption { padding: 17px 5px 4px; text-align: center; }
.sidebar-caption h3 { font-size: 20px; margin: 0 0 5px; }
.sidebar-caption p { font-size: 11px; color: var(--muted); }
.sidebar-facts { padding: 0 6px; }
.sidebar-facts > div { display: flex; justify-content: space-between; padding: 9px 0; font-size: 11px; border-bottom: 1px solid #ffffff08; }
.sidebar-facts span { color: var(--muted); }
.sidebar-facts strong { font-weight: 500; }
.active-pet-sidebar { padding: 18px 6px 0; }
.active-pet-sidebar > .eyebrow { color: var(--faint); font-size: 8px; letter-spacing: 1.2px; }
.active-pet-sidebar > div { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.active-pet-sidebar .inventory-slot { width: 44px; height: 44px; }
.active-pet-sidebar p { font-size: 12px; margin: 0; }
.active-pet-sidebar small { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.share-profile { margin: 21px 0; width: 100%; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 11px; padding: 10px; }
.share-profile:hover { color: var(--accent); border-color: var(--accent-dark); }
.profile-main { min-width: 0; padding-top: 57px; }
.profile-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.profile-identity { display: flex; gap: 9px; align-items: center; }
.profile-identity h1 { font-size: 29px; letter-spacing: -.8px; margin: 0; font-weight: 650; }
.profile-identity > .rank { font-size: 15px; }
.profile-identity button { color: var(--faint); font-size: 24px; padding: 0 2px; }
.profile-identity button:hover { color: var(--accent); }
.saved-at { font-size: 9px; color: var(--faint); margin: 7px 0 0; display: flex; gap: 7px; align-items: center; }
.profile-selectors { display: flex; flex-direction: column; gap: 6px; }
.profile-selectors select { font-size: 10px; max-width: 190px; padding: 6px 27px 6px 10px; color: #c7b8d1; }
.rank { font-weight: 700; font-size: .9em; color: #63cef0; white-space: nowrap; }
.rank-vip, .rank-vip_plus { color: #76dd7b; }
.rank-owner, .rank-admin, .rank-manager { color: #ee686c; }
.rank-dragon { color: #db8ef7; }
.rank-patrick { color: #e73595; }
.rank-whale { color: #75b7f8; }
.section-nav { display: flex; position: sticky; z-index: 20; top: 64px; overflow: auto; scrollbar-width: thin; gap: 19px; background: #111111f5; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 10px; color: var(--muted); backdrop-filter: blur(10px); }
.section-nav a { white-space: nowrap; padding: 2px 0; }
.section-nav a:hover { color: var(--accent); }
.profile-section { padding: 28px 0 30px; border-bottom: 1px solid var(--line); scroll-margin-top: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; gap: 12px; }
.section-heading h2 { font-size: 21px; font-weight: 600; letter-spacing: -.5px; margin: 0 0 4px; }
.section-heading p { font-size: 11px; color: var(--faint); margin: 0; }
.overview-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-bottom: 21px; }
.metric { min-width: 0; background: #1b1b1b; border: 1px solid #303030; border-radius: 6px; padding: 12px; }
.metric > span { display: block; font-size: 9px; color: var(--muted); white-space: nowrap; }
.metric > strong { display: block; margin-top: 7px; font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metric.gold-metric > strong, .gold { color: #f6b959; }
.metric.violet > strong { color: #c99af4; }
.metric.orange > strong { color: #f69b69; }
.subsection-title { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #ffffff08; padding-top: 15px; margin-bottom: 12px; }
.subsection-title h3 { margin: 0; font-size: 12px; font-weight: 500; color: #c4b6ce; }
.subtle-badge { font-size: 7px; letter-spacing: 1px; color: var(--faint); border: 1px solid var(--line); border-radius: 3px; padding: 3px 5px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 27px; }
.stat-value { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 11px; }
.stat-value > span:nth-child(2) { color: #aaaaaa; }
.stat-icon { width: 17px; font-size: 15px; color: var(--stat); text-align: center; }
.stat-value strong { font-size: 12px; margin-left: auto; color: var(--stat); font-weight: 600; }
.data-note { margin: 15px 0 0; font-size: 9px; color: var(--faint); border-left: 2px solid #705448; padding-left: 9px; }
.skill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.skill-card { display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 11px; padding: 14px; border: 1px solid var(--line); background: #1b1b1b; border-radius: 7px; }
.skill-card > img { width: 29px; height: 29px; image-rendering: pixelated; align-self: center; }
.skill-title { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 9px; }
.skill-title b { color: var(--accent); font-size: 15px; font-weight: 600; }
.skill-title small { color: var(--faint); font-size: 10px; font-weight: 400; }
.progress-track { height: 5px; border-radius: 4px; background: #111111; overflow: hidden; }
.progress-track > div { height: 100%; background: linear-gradient(90deg, var(--accent-dark), var(--accent)); border-radius: inherit; }
.skill-xp { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px; color: var(--faint); font-size: 8px; margin-top: 8px; }
.inventory-tabs { display: flex; gap: 6px; margin-bottom: 13px; }
.inventory-tabs button { font-size: 10px; padding: 7px 11px; border-radius: 4px; color: var(--muted); border: 1px solid transparent; }
.inventory-tabs button[aria-selected="true"] { color: var(--accent); border-color: #54df9238; background: #54df920e; }
.inventory-body { padding: 17px; border: 1px solid var(--line); background: #1b1b1b; border-radius: 7px; }
.inventory-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 5px; max-width: 544px; }
.inventory-slot { display: flex; justify-content: center; align-items: center; aspect-ratio: 1; padding: 4px; min-width: 0; width: 100%; position: relative; background: #303030; border: 1px solid #454545; border-radius: 4px; overflow: hidden; box-shadow: inset 0 1px 0 #ffffff0a; }
.inventory-slot:not(.empty-slot) { border-color: color-mix(in srgb, var(--rarity) 35%, #303030); background: color-mix(in srgb, var(--rarity) 8%, #252525); }
.inventory-slot:not(.empty-slot):hover { background: color-mix(in srgb, var(--rarity) 17%, #252525); border-color: var(--rarity); transform: translateY(-1px); }
.empty-slot { background: #252525; border-color: #353535; box-shadow: inset 1px 2px 3px #0002; }
.item-image { width: 80%; height: 80%; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(1px 2px 0 #0005); }
.head-image { width: 100%; height: 100%; }
.fallback-icon { opacity: .65; width: 60%; height: 60%; }
.stack-size { position: absolute; right: 3px; bottom: 0; font-size: 12px; color: #fff; font-weight: 700; text-shadow: 1px 2px #111; line-height: 1.3; }
.tiny-stars { position: absolute; top: 0; left: 2px; font-size: 7px; color: #ffd06c; letter-spacing: -1px; }
.small-muted { font-size: 10px; color: var(--faint); margin: 13px 0 0; }
.page-controls { display: flex; justify-content: center; gap: 22px; align-items: center; margin-top: 15px; font-size: 10px; color: var(--muted); }
.page-controls button { font-size: 16px; border: 1px solid var(--line); border-radius: 4px; width: 28px; }
.wardrobe-sets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.wardrobe-set { border: 1px solid #353535; border-radius: 8px; background: #191919; overflow: hidden; min-width: 0; }
.wardrobe-set.is-equipped { border-color: #81926780; }
.wardrobe-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; background: #ffffff03; border-bottom: 1px solid var(--line); }
.wardrobe-heading h3 { font-size: 13px; font-weight: 600; margin: 0; }
.wardrobe-heading > span { color: var(--muted); font-size: 10px; }
.wardrobe-heading > .equipped-label { color: #a9d293; }
.wardrobe-pieces { padding: 4px 12px; }
.wardrobe-piece { display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; }
.wardrobe-piece + .wardrobe-piece { border-top: 1px solid #ffffff07; }
.wardrobe-piece > div:last-child { min-width: 0; }
.wardrobe-piece > div > span { display: block; color: var(--faint); font-size: 9px; margin-bottom: 3px; }
.wardrobe-piece strong { font-size: 11px; font-weight: 500; display: block; overflow-wrap: anywhere; }
.wardrobe-piece .inventory-slot, .wardrobe-placeholder { width: 43px; height: 43px; border-radius: 5px; }
.wardrobe-placeholder { background: #ffffff03; border: 1px dashed #55465f; display: grid; place-items: center; }
.wardrobe-placeholder img { width: 29px; height: 29px; opacity: .2; filter: grayscale(1); image-rendering: pixelated; }
.wardrobe-empty { min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.wardrobe-empty img { width: 48px; height: 48px; image-rendering: pixelated; opacity: .55; margin-bottom: 7px; }
.wardrobe-empty strong { font-size: 13px; font-weight: 500; }
.wardrobe-empty span { font-size: 11px; color: var(--muted); }
.mini-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 0 0 20px; }
.pet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.pet-card { display: flex; gap: 13px; align-items: center; padding: 13px; background: #1b1b1b; border: 1px solid #303030; border-radius: 6px; }
.pet-card > .pet-icon { width: 51px; height: 51px; flex-shrink: 0; }
.pet-card > div { min-width: 0; flex: 1; }
.pet-card strong { font-size: 11px; font-weight: 600; color: var(--rarity); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pet-card span { font-size: 9px; color: #b0a3be; display: block; margin: 3px 0 7px; }
.pet-card .pet-active { display: inline; float: right; color: #8acb8e; font-size: 8px; margin: 0; }
.pet-card small { display: block; font-size: 8px; color: var(--faint); margin-top: 5px; }
.slayer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.slayer-card { display: flex; align-items: center; gap: 17px; background: #1b1b1b; border: 1px solid var(--line); border-radius: 6px; padding: 18px; }
.slayer-card img { width: 42px; height: 42px; image-rendering: pixelated; }
.slayer-card h3 { font-size: 13px; margin-bottom: 6px; }
.slayer-card span { font-size: 10px; }
.slayer-card p { font-size: 10px; color: var(--faint); margin: 3px 0 0; }
.class-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; margin-bottom: 16px; }
.class-grid > div { background: #1b1b1b; border: 1px solid var(--line); border-radius: 5px; padding: 11px; }
.class-grid span { font-size: 10px; color: var(--muted); display: block; }
.class-grid b { font-size: 20px; display: block; margin: 5px 0; }
.class-grid small { font-size: 8px; color: var(--faint); display: block; margin-top: 5px; }
#dungeons .skill-grid { margin-bottom: 15px; }
.table-scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }
th { color: var(--faint); font-size: 10px; font-weight: 500; }
td, th { padding: 10px 9px; border-bottom: 1px solid #ffffff08; }
.perk-list, .bestiary-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.perk-list > div, .bestiary-list > div { display: flex; justify-content: space-between; padding: 9px 0; font-size: 10px; color: #b9adca; border-bottom: 1px solid #ffffff08; gap: 14px; }
.perk-list strong, .bestiary-list strong { font-weight: 500; color: #e2d5ed; }
.dragon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 21px; }
.dragon-count { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 5px; padding: 10px; font-size: 10px; background: #1b1b1b; }
.dragon-count strong { margin-left: auto; font-weight: 500; color: var(--accent); }
.dragon-dot { display: inline-block; width: 7px; height: 7px; background: #b185ca; border-radius: 2px; }
.dragon-dot.golden_dragon { background: #f6c450; box-shadow: 0 0 6px #f7bd3b33; }
.dragon-dot.strong_dragon { background: #e57d6e; }
.dragon-dot.wise_dragon { background: #7bd4dc; }
.dragon-dot.unstable_dragon { background: #a16bdd; }
.dragon-dot.protector_dragon { background: #82b46b; }
.section-filter { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 5px; }
.section-filter label { font-size: 11px; color: var(--muted); }
.section-filter input { padding: 6px 10px; font-size: 10px; width: 180px; }
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.collection-grid > div { display: flex; flex-direction: column; gap: 6px; padding: 12px; background: #1b1b1b; border: 1px solid var(--line); border-radius: 5px; font-size: 10px; color: var(--muted); }
.collection-grid strong { font-size: 15px; font-weight: 500; color: var(--accent); }
.empty-state { padding: 32px 18px; color: var(--faint); text-align: center; width: 100%; }
.empty-state > span { font-size: 25px; opacity: .6; }
.empty-state p { font-size: 11px; margin: 10px 0 0; }
.profile-end { font-size: 10px; color: var(--faint); margin: 27px 0 44px; display: flex; justify-content: space-between; }
.profile-end a { color: var(--accent); }
footer { display: flex; align-items: center; gap: 23px; border-top: 1px solid var(--line); padding: 25px max(30px, calc((100vw - 1200px) / 2)); font-size: 10px; color: var(--faint); }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; color: #c9bacf; font-size: 14px; }
footer > span { flex: 1; }
footer button { font-size: inherit; padding: 0; color: inherit; }
#copy-ip { color: var(--accent); }
#copy-ip span { margin-left: 5px; }
#tooltip { pointer-events: auto; position: fixed; z-index: 100; width: min(440px, calc(100vw - 24px)); padding: 0; background: #141414f5; box-shadow: 0 8px 40px #0009; border-radius: 12px; max-height: calc(100vh - 20px); overflow: auto; font-size: 13px; line-height: 1.45; scrollbar-width: thin; }
.item-card { border: 1px solid color-mix(in srgb, var(--rarity) 70%, #333); border-radius: 12px; overflow: hidden; background: radial-gradient(ellipse at 90% 0, #8d64172b, transparent 60%), radial-gradient(ellipse at 0 100%, #61245b21, transparent 65%), #0e0d10ec; }
.item-card-header { display: flex; align-items: center; gap: 15px; background: var(--rarity); min-height: 70px; padding: 13px 17px; }
.item-card-header .item-image { flex: 0 0 39px; width: 39px; height: 39px; }
.item-card-header h3 { font-size: 12px; line-height: 1.5; font-weight: 750; margin: 0; padding: 7px 11px; border-radius: 18px; background: #141414; color: var(--rarity); text-transform: uppercase; overflow-wrap: anywhere; }
.item-card-body { padding: 22px 23px; }
.lore-stat { display: block; color: #b9b7bb; font-size: 12px; line-height: 1.5; }
.lore-stat b { color: var(--rarity, #f4b66a); font-weight: 650; }
.lore-stat > b { margin-left: 3px; }
.dungeon-preview { color: #78747a; }
.item-metadata { font-size: 11px; color: #a8a3ae; margin: 20px 0 0; }
.item-card .small-muted { font-size: 10px; }
.muted { color: #89828e; }
.cyan { color: #55ffff; }
.lore-break { height: 12px; }
.lore-mod { color: #d8b662; font-size: 11px; }
.lore-line { font-size: 12px; min-height: 8px; }
.ability-title { color: #ffaa00; font-size: 12px; font-weight: 650; margin: 7px 0 3px; }
.ability-trigger { float: right; font-size: 8px; margin-left: 12px; border: 1px solid #bcab48; border-radius: 4px; padding: 1px 4px; color: #e9d66e; font-weight: 500; }
.lore-footer { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; border-top: 1px solid #ffffff10; padding-top: 12px; font-size: 10px; letter-spacing: .8px; font-weight: 650; }
.lore-footer > span { border: 1px solid currentColor; border-radius: 4px; padding: 1px 6px; }
.pet-class { color: #b1a2bf; font-size: 11px; margin-bottom: 9px; }
.green { color: #8cd894; }
dialog { color: var(--text); background: #241a2f; border: 1px solid #5b426e; border-radius: 10px; max-width: min(520px, calc(100vw - 30px)); max-height: calc(100vh - 60px); padding: 31px; box-shadow: 0 15px 90px #0008; }
dialog::backdrop { background: #0c0713ad; backdrop-filter: blur(4px); }
.dialog-close { position: absolute; right: 10px; top: 5px; font-size: 25px; color: var(--muted); }
#item-dialog { width: min(480px, calc(100vw - 24px)); min-width: 0; max-width: none; padding: 0; border: 0; background: #0e0d10; }
#item-dialog .dialog-close { z-index: 2; right: 5px; top: 0; width: 24px; height: 24px; border-radius: 50%; background: #15121ddd; color: white; font-size: 18px; line-height: 1; }
#credits-dialog h2 { font-size: 23px; }
#credits-dialog p { color: #b9a9c6; font-size: 12px; line-height: 1.8; }
#credits-dialog > a { font-size: 12px; color: var(--accent); }
#toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #36273f; border: 1px solid #6b4b76; border-radius: 7px; padding: 11px 18px; color: #ecdcf8; z-index: 200; font-size: 12px; transition: .2s; max-width: calc(100vw - 30px); }
#toast.visible { transform: translate(-50%, 0); opacity: 1; }
.loading-screen, .profile-loading, .profile-error { min-height: 65vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 35px; text-align: center; }
.loading-screen img, .profile-loading img, .profile-error img { width: 60px; height: 60px; margin-bottom: 25px; }
.profile-loading h2 { font-size: 23px; font-weight: 600; }
.profile-loading p, .profile-error p { font-size: 13px; color: var(--muted); }
.loading-track { width: 180px; height: 3px; margin-top: 15px; background: #392b43; overflow: hidden; border-radius: 4px; }
.loading-track::after { content: ''; display: block; height: 100%; width: 40%; background: var(--accent); animation: loading 1.1s ease-in-out infinite alternate; }
.profile-error h1 { font-size: 28px; }
.profile-error button { padding: 10px 23px; border-radius: 5px; background: var(--accent); color: #201426; font-weight: 600; margin: 13px; }
.profile-error a { color: var(--accent); font-size: 12px; }
.loading-inline { text-align: center; padding: 60px 20px; color: var(--faint); font-size: 12px; }
@keyframes loading { to { transform: translateX(150%); } }
@media (min-width: 1450px) { .profile-layout { gap: 42px; grid-template-columns: 292px minmax(0, 1fr); } }
@media (max-width: 1000px) {
	.site-header { padding: 0 20px; gap: 17px; }
	.brand small { display: none; }
	.header-search { width: 190px; }
	.profile-layout { grid-template-columns: 226px minmax(0, 1fr); gap: 24px; padding: 0 22px; }
	.profile-heading { align-items: start; }
	.profile-identity h1 { font-size: 24px; }
	.profile-identity > .rank { font-size: 12px; }
	.profile-selectors select { max-width: 140px; }
	.overview-metrics { grid-template-columns: 1fr 1fr; }
	.saved-at { max-width: 260px; flex-wrap: wrap; }
	.skill-grid, .slayer-grid { grid-template-columns: 1fr; }
	.metric > strong { font-size: 16px; }
	.pet-grid { grid-template-columns: 1fr; }
	.character-controls { gap: 15px; }
	.equipped-armor { gap: 5px; padding-left: 8px; padding-right: 8px; }
	.equipped-armor .inventory-slot { width: 43px; height: 43px; }
	.class-grid { gap: 7px; }
	.class-grid > div { padding: 8px; }
	.dragon-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
	.site-header { height: 58px; padding: 0 13px; gap: 12px; }
	.brand > span { font-size: 21px; }
	.brand img { width: 30px; height: 30px; }
	.top-nav { display: none; }
	.header-search { width: min(44vw, 215px); height: 33px; }
	.header-search input { font-size: 11px; padding: 0 8px; }
	.discord-link { display: none; }
	.board-tabs { gap: 2px; }
	.board-tabs button { padding: 6px 9px; font-size: 10px; }
	.profile-cover { height: 112px; }
	.cover-caption { padding-top: 24px; padding-right: 19px; }
	.cover-caption .eyebrow { font-size: 7px; }
	.cover-caption p { font-size: 10px; }
	.profile-layout { display: flex; flex-direction: column; padding: 0 17px; margin-top: -23px; gap: 4px; }
	.player-sidebar { position: static; display: grid; grid-template-columns: 130px minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 0 19px; width: 100%; }
	.character-card { grid-row: 1 / 4; }
	.character-label, .character-controls, .equipped-armor { display: none; }
	#skin-canvas { height: 212px !important; }
	.sidebar-caption { text-align: left; padding-top: 36px; }
	.sidebar-caption h3 { font-size: 23px; }
	.sidebar-caption p { font-size: 10px; }
	.sidebar-facts { padding: 0; }
	.sidebar-facts > div { font-size: 10px; padding: 7px 0; }
	.active-pet-sidebar, .share-profile { display: none; }
	.profile-main { padding-top: 17px; }
	.profile-heading { gap: 9px; margin-bottom: 16px; }
	.profile-identity h1 { font-size: 24px; }
	.profile-identity > .rank { display: none; }
	.profile-selectors { flex-direction: column; gap: 5px; }
	.profile-selectors select { max-width: 130px; font-size: 9px; }
	.saved-at { max-width: 210px; font-size: 8px; line-height: 1.6; gap: 5px; }
	.section-nav { top: 58px; padding: 12px 0; gap: 20px; font-size: 10px; margin: 0 -17px; padding-left: 17px; padding-right: 17px; }
	.profile-section { padding: 25px 0; }
	.section-heading h2 { font-size: 21px; }
	.section-heading p { font-size: 10px; }
	.stat-grid { column-gap: 17px; }
	.stat-value { font-size: 10px; gap: 4px; }
	.stat-value strong { font-size: 11px; }
	.stat-icon { font-size: 13px; width: 14px; }
	.data-note { font-size: 8px; }
	.inventory-body { padding: 10px; }
	.inventory-grid { gap: 3px; }
	.inventory-tabs { gap: 2px; }
	.inventory-tabs button { font-size: 10px; padding: 7px 8px; }
	.stack-size { font-size: 9px; }
	.tiny-stars { font-size: 5px; }
	.inventory-slot { border-radius: 3px; padding: 1px; }
	.mini-metrics { grid-template-columns: 1fr 1fr; }
	.pet-grid { grid-template-columns: 1fr; }
	.slayer-grid { grid-template-columns: 1fr; }
	.class-grid { grid-template-columns: repeat(3, 1fr); }
	.dragon-grid { grid-template-columns: 1fr 1fr; }
	.bestiary-list, .perk-list { grid-template-columns: 1fr; }
	.collection-grid { grid-template-columns: 1fr 1fr; }
	.profile-end { font-size: 9px; flex-direction: column; gap: 9px; }
	footer { padding: 21px 17px; gap: 15px; flex-wrap: wrap; font-size: 9px; }
	footer > span { display: none; }
	footer > .footer-brand { margin-right: auto; }
	#tooltip { width: 285px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
.board-note { color: var(--text-muted, #aaa0b5); font-size: .78rem; line-height: 1.65; margin: 0; padding: 16px 22px; border-bottom: 1px solid #ffffff0d; }
.board-name small { display: block; color: var(--text-muted, #aaa0b5); font-size: .7rem; margin-top: 5px; font-weight: 400; }
.leaderboard-row > strong > small { color: #aaa0b5; font-weight: 400; }

.site-header { height: 48px; padding: 0 18px; gap: 24px; background: #1a1a1a; border: 0; backdrop-filter: none; }
.brand { gap: 8px; }
.brand img { width: 24px; height: 24px; object-fit: contain; }
.brand > span { font-size: 16px; font-weight: 400; letter-spacing: 0; }
.top-nav { font-size: 14px; gap: 25px; }
.header-search { max-width: 190px; height: 30px; }
.header-search input { font-size: 11px; }
.discord-link { font-size: 13px; }
.icon-button { font-size: 17px; }
.section-nav { top: 48px; background: #111111f5; }
.profile-cover { background-image: none; background-color: #171717; height: 110px; }
.character-card { background: #191919; border-color: var(--line); }
.market-metric, .market-panel, .nw-summary { background: var(--panel); border-color: var(--line); }
.market-heading h1, .profile-identity h1, .section-heading h2 { font-weight: 400; letter-spacing: 0; }
.board-note { padding: 12px 0 0; border: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.board-name small { color: var(--muted); font-size: 10px; margin-top: 3px; }
footer { background: #161616; }
@media (min-width: 1450px)
{
	.home-hero { min-height: 210px; }
	.hero-content { padding-top: 36px; }
}
@media (max-width: 900px)
{
	.site-header { gap: 18px; padding: 0 14px; }
	.header-search { display: none; }
	.icon-button { margin-left: auto; }
	.top-nav { gap: 18px; }
}
@media (max-width: 600px)
{
	.site-header { height: auto; min-height: 52px; flex-wrap: wrap; padding: 12px 16px; gap: 12px 18px; }
	.brand > span { font-size: 16px; }
	.brand img { width: 24px; height: 24px; }
	.top-nav { display: flex; order: 3; width: 100%; justify-content: space-between; font-size: 12px; gap: 12px; }
	.discord-link { display: block; font-size: 11px; }
	.home-hero { min-height: 200px; }
	.hero-content { padding: 30px 20px 36px; }
	.hero-content h1 { font-size: 32px; letter-spacing: 0; }
	.hero-content > p { font-size: 12px; line-height: 1.8; }
	.hero-search { height: 44px; padding: 0 6px 0 12px; }
	.hero-search input { font-size: 13px; padding: 0; }
	.hero-search button { height: 32px; padding: 0; }
	.home-content { padding: 0 16px 40px; }
	.home-section-heading { padding: 10px 0 16px; align-items: center; }
	.home-section-heading h2 { font-size: 14px; }
	.home-section-heading > a { font-size: 10px; max-width: none; }
	.leaderboard-row { gap: 9px; padding: 14px 10px; font-size: 11px; }
	.board-position { flex-basis: 23px; height: 23px; font-size: 12px; }
	.board-name .rank { display: none; }
	.board-name small { font-size: 8px; }
	.leaderboard-row strong { font-size: 10px; }
	.home-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-metrics > div { padding: 15px; min-height: 82px; }
	.home-market-section { margin-top: 36px; }
	.home-item-card { flex-basis: 245px; }
	.home-market-section > p { font-size: 10px; }
	.section-nav { top: 90px; }
}
@media (prefers-reduced-motion: reduce)
{
	html { scroll-behavior: auto; }
}
.economy-panel { margin: 0 0 42px; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.economy-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.economy-heading .eyebrow { font-size: 9px; letter-spacing: 1px; }
.economy-heading h2 { font-size: 22px; font-weight: 400; margin: 5px 0 0; }
.economy-periods { display: flex; gap: 4px; }
.economy-periods button { padding: 7px 11px; font-size: 11px; color: var(--muted); border: 1px solid transparent; border-radius: 5px; }
.economy-periods button[aria-pressed="true"] { background: #54df9210; border-color: #54df9240; color: var(--accent); }
.economy-summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 25px 0 8px; }
.economy-summary strong { display: block; color: var(--accent); font-size: clamp(20px, 3vw, 31px); font-weight: 400; overflow-wrap: anywhere; }
.economy-summary span { display: block; color: var(--muted); font-size: 11px; margin-top: 6px; }
.economy-summary .economy-change { text-align: right; }
.economy-change strong { font-size: 17px; }
.economy-change .is-negative { color: #ff8585; }
.economy-chart { width: 100%; height: auto; display: block; overflow: visible; }
.economy-chart text { fill: var(--muted); font-size: 11px; }
.economy-grid { stroke: #ffffff0d; stroke-dasharray: 3 5; }
.economy-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; }
.economy-area { fill: #54df920b; }
.economy-point { fill: var(--accent); stroke: var(--panel); stroke-width: 2; }
.economy-inspector { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 10px; }
.economy-inspector input { flex: 1; min-width: 0; accent-color: var(--accent); }
.economy-reading { font-size: 11px; color: var(--text); min-height: 1.5em; }
.economy-status { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 10px; color: var(--muted); }
.economy-note, .economy-scope { color: var(--muted); font-size: 10px; line-height: 1.8; margin: 12px 0 0; }
.economy-scope { border-top: 1px solid var(--line); padding-top: 12px; }
.economy-empty { padding: 45px 16px; text-align: center; font-size: 12px; color: var(--muted); }
@media (max-width: 600px)
{
	.economy-panel { padding: 17px 14px; margin-bottom: 30px; }
	.economy-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
	.economy-heading h2 { font-size: 20px; }
	.economy-summary { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 20px; }
	.economy-summary .economy-change { text-align: left; }
	.economy-chart { min-height: 150px; }
	.economy-inspector { font-size: 9px; }
}

img[src="/assets/dragsim.png"] { object-fit: contain; image-rendering: auto; filter: none; }
.footer-brand img { width: 32px; height: 32px; flex-shrink: 0; }
