/*
 * artisanDark - dark-fantasy skin for Project Artisan.
 * Loaded AFTER hurtFreeV1's flux.css / bulma / extensions, so every colour decision below is an override.
 * Palette = the "adventurer's guild ledger" look: night-indigo ground, parchment ink, antique gold as the only accent.
 */

body.artisan {
	--page: #0d0e19;
	--raised: #1a1b2a;
	--sunken: #090a14;
	--hover: #242538;
	--line: #3a3427;
	--line-strong: #5f5336;
	--ink: #ece6d6;
	--ink2: #b9b2a1;
	--ink3: #8a8474;
	--gold: #d4a93a;
	--gold-hi: #f0d078;
	--gold-lo: #a9812a;
	--up: #5fd08a;
	--down: #e0624d;
	--display: 'Cinzel', Georgia, serif;
	--sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ------------------------------------------------------------------ base */
html { background: #0d0e19; }
body.artisan {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
body.artisan *,
body.artisan *::before,
body.artisan *::after { box-sizing: border-box; }
body.artisan, body.artisan p, body.artisan td, body.artisan th, body.artisan li, body.artisan label,
body.artisan input, body.artisan select, body.artisan textarea, body.artisan button { font-family: var(--sans); }
body.artisan .fas, body.artisan .far, body.artisan .fa { font-family: 'Font Awesome 5 Free'; }
body.artisan .fab { font-family: 'Font Awesome 5 Brands'; }
body.artisan a { color: var(--gold-hi); text-decoration: none; }
body.artisan a:hover { color: #fff; }
body.artisan img { max-width: 100%; }
body.artisan h1, body.artisan h2, body.artisan h3, body.artisan .title { font-family: var(--display); letter-spacing: .04em; color: var(--ink); }
body.artisan h4, body.artisan h5, body.artisan h6, body.artisan .subtitle { color: var(--ink); }
body.artisan strong, body.artisan b { color: inherit; }
body.artisan hr { background: var(--line); height: 1px; border: 0; }
body.artisan ::selection { background: var(--gold-lo); color: #fff; }
.ax-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ----------------------------------------------------------- announcement + nav */
.ax-announce {
	background: linear-gradient(90deg, #4a3a14, #3d3012);
	border-bottom: 1px solid var(--line-strong);
	color: var(--gold-hi);
	font: 600 12px var(--sans);
	letter-spacing: .12em;
	text-transform: uppercase;
	text-align: center;
	padding: 9px 16px;
}
.ax-announce a { margin-left: 10px; border-bottom: 1px solid currentColor; color: inherit !important; }

.ax-nav {
	position: sticky; top: 0; z-index: 50;
	background: rgba(9, 10, 20, .9);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.ax-nav-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.ax-brand { font: 700 18px var(--display); letter-spacing: .14em; color: var(--ink) !important; line-height: 1.15; }
.ax-brand small { display: block; font: 500 9px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink3); margin-top: 2px; }
.ax-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.ax-dd { position: relative; }
.ax-dd-toggle {
	display: block; font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase;
	color: var(--ink2) !important; padding: 22px 12px; cursor: pointer;
}
.ax-dd-toggle::after { content: "\25BE"; font-size: 9px; margin-left: 6px; color: var(--ink3); }
.ax-dd:hover .ax-dd-toggle, .ax-dd:focus-within .ax-dd-toggle { color: var(--gold-hi) !important; }
.ax-dd-list {
	display: none; position: absolute; left: 0; top: 100%; min-width: 210px; z-index: 60;
	background: var(--raised); border: 1px solid var(--line-strong); border-top: 2px solid var(--gold);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .55); padding: 6px 0;
}
.ax-dd:hover .ax-dd-list, .ax-dd:focus-within .ax-dd-list { display: block; }
.ax-dd-list a { display: block; padding: 8px 18px; font-size: 14px; color: var(--ink2) !important; }
.ax-dd-list a:hover { background: var(--hover); color: var(--gold-hi) !important; }
.ax-actions { display: flex; gap: 8px; margin-left: 12px; }
.ax-burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 3px; width: 42px; height: 38px; padding: 0 9px; cursor: pointer; }
.ax-burger span { display: block; height: 2px; background: var(--gold-hi); margin: 5px 0; }

/* ------------------------------------------------------------------ buttons */
.ax-btn {
	display: inline-block; font: 600 13px var(--sans); letter-spacing: .06em; padding: 11px 22px;
	border-radius: 3px; border: 1px solid var(--gold); cursor: pointer; line-height: 1.2; text-align: center;
}
.ax-btn-gold { background: var(--gold); color: #231c08 !important; }
.ax-btn-gold:hover { background: var(--gold-hi); color: #231c08 !important; }
.ax-btn-ghost { background: rgba(13, 14, 25, .6); color: var(--gold-hi) !important; }
.ax-btn-ghost:hover { background: var(--hover); color: #fff !important; }
.ax-btn-sm { padding: 8px 14px; font-size: 12px; }

/* --------------------------------------------------------------------- hero */
.ax-hero {
	position: relative; height: 640px; background: #05060f center top / cover no-repeat;
	border-bottom: 1px solid var(--line-strong);
}
.ax-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(13, 14, 25, .55) 72%, var(--page) 100%); }
.ax-hero-in { position: absolute; left: 0; right: 0; bottom: 44px; }
.ax-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ax-chip {
	display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--sans); color: var(--ink);
	background: rgba(13, 14, 25, .7); border: 1px solid var(--line); padding: 9px 14px; border-radius: 99px;
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.ax-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 8px var(--up); }
.ax-dot.is-down { background: var(--down); box-shadow: 0 0 8px var(--down); }

/* ------------------------------------------------------------- home sections */
.ax-sec { padding: 54px 0; }
.ax-h2 { font: 600 22px var(--display); letter-spacing: .1em; text-transform: uppercase; text-align: center; margin: 0 0 6px; color: var(--ink); }
.ax-rule { width: 220px; height: 1px; margin: 10px auto 30px; background: linear-gradient(90deg, transparent, var(--gold-lo), transparent); }

.ax-prereg {
	display: grid; grid-template-columns: 1.2fr 1fr; align-items: center;
	border: 1px solid var(--line-strong); background: linear-gradient(120deg, var(--raised), #151529);
	border-radius: 6px; overflow: hidden; position: relative;
}
.ax-prereg::before, .ax-prereg::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid var(--gold); z-index: 2; }
.ax-prereg::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.ax-prereg::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.ax-prereg .txt { padding: 38px 42px; }
.ax-prereg .eyebrow { font: 600 11px var(--sans); letter-spacing: .22em; color: var(--gold); text-transform: uppercase; }
.ax-prereg h3 { font: 700 30px/1.15 var(--display); margin: 10px 0 12px; letter-spacing: .04em; color: var(--ink); }
.ax-prereg p { color: var(--ink2); max-width: 48ch; margin: 0 0 14px; }
.ax-prereg p b { color: var(--ink); }
.ax-prereg p b.gold { color: var(--gold-hi); }
.ax-prereg p.count { margin-bottom: 20px; font-size: 14px; color: var(--ink3); }
.ax-prereg p.count b { color: var(--gold-hi); }
.ax-prereg img { width: 100%; height: 100%; object-fit: cover; object-position: center; min-height: 300px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }

.ax-gates, .ax-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ax-tile { position: relative; background: var(--raised); border: 1px solid var(--line); padding: 22px 18px; text-align: center; border-radius: 2px; }
.ax-tile::before { content: ""; position: absolute; top: -1px; left: -1px; width: 10px; height: 10px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.ax-tile::after { content: ""; position: absolute; bottom: -1px; right: -1px; width: 10px; height: 10px; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.ax-tile .k, .ax-stat .k { font: 500 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink3); }
.ax-tile .v { font: 700 20px var(--display); letter-spacing: .14em; margin-top: 8px; }
.ax-tile .v.up { color: var(--up); }
.ax-tile .v.down { color: var(--down); }
.ax-tile .big { font: 700 34px var(--display); color: var(--gold-hi); margin-top: 2px; }
.ax-tile .sub { font-size: 12px; color: var(--ink3); margin-top: 2px; }
.ax-stat { background: var(--raised); border: 1px solid var(--line); padding: 16px 18px; }
.ax-stat .k { letter-spacing: .14em; }
.ax-stat .v { font: 600 26px var(--sans); margin-top: 4px; color: var(--ink); }
.ax-stat .v.small { font-size: 18px; color: var(--ink2); }
.ax-stat .v.up { color: var(--up); }

.ax-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.ax-panel { background: var(--raised); border: 1px solid var(--line); }
.ax-panel h4 { font: 600 14px var(--display); letter-spacing: .14em; text-transform: uppercase; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--gold-hi); margin: 0; }
.ax-panel-foot { padding: 12px 18px; border-top: 1px solid var(--line); text-align: right; font-size: 13px; }
.ax-fame, .ax-bars { list-style: none; margin: 0; padding: 0; }
.ax-fame li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; padding: 11px 18px; border-bottom: 1px solid var(--line); align-items: center; }
.ax-fame li:last-child, .ax-bars li:last-child { border-bottom: 0; }
.ax-fame .n { font: 600 14px var(--display); color: var(--ink3); }
.ax-fame li:first-child .n { color: var(--gold-hi); }
.ax-fame .nm b { font-weight: 600; color: var(--ink); }
.ax-fame .nm span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.ax-fame .lv { text-align: right; font-weight: 600; color: var(--ink); }
.ax-fame .lv span { display: block; font-size: 11px; color: var(--ink3); font-weight: 400; }
.ax-bars li { display: grid; grid-template-columns: 130px 1fr 54px; gap: 12px; align-items: center; padding: 11px 18px; border-bottom: 1px solid var(--line); color: var(--ink); }
.ax-bars i { height: 6px; background: var(--sunken); border-radius: 9px; overflow: hidden; display: block; }
.ax-bars i b { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold)); }
.ax-bars em { font-style: normal; text-align: right; color: var(--ink2); font-size: 13px; }

.ax-news { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ax-card { background: var(--raised); border: 1px solid var(--line); border-left: 2px solid var(--gold-lo); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; }
.ax-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line-strong); display: block; }
.ax-card .b { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ax-card .meta { font: 500 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ax-card h3 { font: 600 20px/1.3 var(--display); letter-spacing: .03em; margin: 0; color: var(--ink); }
.ax-card p { color: var(--ink2); font-size: 14.5px; margin: 0; }
.ax-card .more { margin-top: auto; padding-top: 6px; font: 600 13px var(--sans); letter-spacing: .06em; }
.ax-empty { text-align: center; color: var(--ink3); }

/* ------------------------------------------------------------------- footer */
.ax-footer { border-top: 1px solid var(--line-strong); background: var(--sunken); padding: 40px 0 26px; margin-top: 40px; }
.ax-footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.ax-footer h5 { font: 600 12px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.ax-footer ul { list-style: none; margin: 0; padding: 0; }
.ax-footer li { padding: 3px 0; font-size: 14px; }
.ax-footer li a { color: var(--ink2) !important; }
.ax-footer li a:hover { color: var(--gold-hi) !important; }
.ax-footer-note { color: var(--ink3); font-size: 13px; margin: 8px 0 12px; max-width: 38ch; }
.ax-social { font-size: 14px; }
.ax-fine { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink3); }
.ax-credit { display: block; margin-top: 4px; opacity: .7; }

/* ---------------------------------------------------- inner pages: the panel */
.ax-inner { padding-top: 32px; padding-bottom: 20px; }
.ax-page { background: var(--raised); border: 1px solid var(--line); border-radius: 3px; padding: 28px 30px 34px; min-height: 360px; }
.ax-page > h2:first-of-type, .ax-page h2 { font: 600 24px var(--display); letter-spacing: .08em; color: var(--ink); border: 0; margin: 0 0 16px; }
.ax-page h3 { font: 600 17px var(--display); letter-spacing: .08em; color: var(--gold-hi); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin: 22px 0 14px; }
.ax-page h3:first-letter { font-size: inherit; color: inherit; }

/* ------------------------------------- Bulma / FluxCP components, dark versions */
body.artisan .box, body.artisan .is-semi-transparent, body.artisan .is-semi-dark-transparent {
	background: var(--sunken) !important; border: 1px solid var(--line); box-shadow: none; color: var(--ink); border-radius: 3px;
}
body.artisan .card { background: var(--sunken); border: 1px solid var(--line); box-shadow: none; color: var(--ink); max-width: none; }
body.artisan .card:hover { transform: none; box-shadow: none; }
body.artisan .card-header { box-shadow: none; border-bottom: 1px solid var(--line); }
body.artisan .card-header-title, body.artisan .card-header h2 { color: var(--gold-hi); }
body.artisan .card-content { background: transparent; color: var(--ink2); }
body.artisan .card-footer, body.artisan .card-footer-item { border-color: var(--line); color: var(--ink2); }
body.artisan .content, body.artisan .content p, body.artisan .content li, body.artisan .content td { color: var(--ink2); }
body.artisan .content h1, body.artisan .content h2, body.artisan .content h3, body.artisan .content h4, body.artisan .content strong { color: var(--ink); }
body.artisan .content a { text-decoration: underline; }
body.artisan .title, body.artisan .has-text-dark, body.artisan .has-text-black { color: var(--ink) !important; }
body.artisan .subtitle, body.artisan .has-text-grey, body.artisan .help { color: var(--ink2) !important; }
body.artisan .has-text-white { color: var(--ink) !important; }
body.artisan .has-text-warning { color: var(--gold-hi) !important; }
body.artisan .has-background-white, body.artisan .has-background-light { background: var(--sunken) !important; }

/* tables - Bulma and the classic FluxCP ones */
body.artisan table { background: transparent; color: var(--ink); border-collapse: collapse; }
body.artisan .table, body.artisan .table td, body.artisan .table th { background: transparent; color: var(--ink); border-color: var(--line); }
body.artisan .table thead th, body.artisan .table thead td, body.artisan .table tfoot th { background: var(--sunken); color: var(--gold-hi); border-color: var(--line-strong); }
body.artisan .table.is-striped tbody tr:not(.is-selected):nth-child(even), body.artisan .table tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .02); }
body.artisan .table.is-hoverable tbody tr:not(.is-selected):hover, body.artisan .table tbody tr:hover td { background: var(--hover); }
body.artisan .horizontal-table, body.artisan .vertical-table, body.artisan .generic-form-table, body.artisan .install_table { border-color: var(--line); }
body.artisan .horizontal-table th, body.artisan .vertical-table th, body.artisan .generic-form-table th, body.artisan .install_table th {
	background: var(--sunken); color: var(--gold-hi); border: 1px solid var(--line); text-align: left; padding: 8px 12px;
}
body.artisan .horizontal-table td, body.artisan .vertical-table td, body.artisan .generic-form-table td, body.artisan .install_table td {
	background: transparent; color: var(--ink); border: 1px solid var(--line); padding: 8px 12px;
}
body.artisan .horizontal-table tr:hover td { background: var(--hover); }
body.artisan .vertical-table label, body.artisan label { color: var(--ink2); }
body.artisan .top-ranked td { box-shadow: inset 0 0 14px rgba(212, 169, 58, .25); }
body.artisan .pages { color: var(--ink3); border-color: var(--line); }
body.artisan .pages a { color: var(--gold-hi); }
body.artisan .pages .current-page { color: #fff; }

/* forms */
body.artisan input[type=text], body.artisan input[type=password], body.artisan input[type=email], body.artisan input[type=number],
body.artisan input[type=file], body.artisan input[type=search], body.artisan textarea, body.artisan select,
body.artisan .input, body.artisan .textarea, body.artisan .select select {
	background: var(--sunken); border: 1px solid var(--line-strong); color: var(--ink); box-shadow: none; border-radius: 3px;
}
body.artisan .input:focus, body.artisan .textarea:focus, body.artisan .select select:focus, body.artisan input:focus, body.artisan textarea:focus, body.artisan select:focus {
	border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 169, 58, .22); outline: 0; background: var(--sunken); color: var(--ink);
}
body.artisan ::placeholder { color: var(--ink3); opacity: 1; }
body.artisan select option { background: var(--raised); color: var(--ink); }
body.artisan .select:not(.is-multiple):not(.is-loading)::after { border-color: var(--gold); }
body.artisan .label, body.artisan .field .label { color: var(--ink2); font-weight: 500; }
body.artisan .checkbox, body.artisan .radio { color: var(--ink2); }
body.artisan .checkbox:hover, body.artisan .radio:hover, body.artisan label:hover { color: var(--gold-hi); background: transparent; border-color: transparent; }
body.artisan .submit_button, body.artisan input[type=submit], body.artisan input[type=button], body.artisan button.button, body.artisan .button {
	background: var(--sunken); border: 1px solid var(--line-strong); color: var(--gold-hi); border-radius: 3px; font-weight: 600; box-shadow: none; transform: none;
}
body.artisan .submit_button:hover, body.artisan input[type=submit]:hover, body.artisan .button:hover { background: var(--hover); border-color: var(--gold); color: #fff; transform: none; }
body.artisan .button.is-primary, body.artisan .button.is-link, body.artisan .button.is-info, body.artisan input[type=submit].is-primary {
	background: var(--gold); border-color: var(--gold); color: #231c08; }
body.artisan .button.is-primary:hover, body.artisan .button.is-link:hover, body.artisan .button.is-info:hover { background: var(--gold-hi); color: #231c08; }
body.artisan .button.is-success { background: #1f4d33; border-color: #2f7a52; color: #bff0d3; }
body.artisan .button.is-danger { background: #5a2018; border-color: #8e3a2d; color: #ffd3cb; }
body.artisan .button.is-warning { background: #5a4510; border-color: var(--gold-lo); color: var(--gold-hi); }
body.artisan .button.is-dark, body.artisan .button.is-light, body.artisan .button.is-white { background: var(--sunken); color: var(--ink); border-color: var(--line-strong); }

/* notices, tags, tabs, menus, pagination, modals */
body.artisan .notification { background: var(--sunken); color: var(--ink); border: 1px solid var(--line-strong); border-left-width: 4px; border-radius: 3px; }
body.artisan .notification.is-success { border-left-color: var(--up); background: #12261b; }
body.artisan .notification.is-danger { border-left-color: var(--down); background: #2a1512; }
body.artisan .notification.is-warning { border-left-color: var(--gold); background: #2a2210; }
body.artisan .notification.is-info, body.artisan .notification.is-link, body.artisan .notification.is-primary { border-left-color: var(--gold-lo); background: #1d1c2e; }
body.artisan .notification a { text-decoration: underline; }
body.artisan .message, body.artisan .notice { background: var(--sunken); color: var(--ink); border: 1px solid var(--line-strong); }
body.artisan .note { background: var(--sunken); color: var(--ink2); border: 1px solid var(--line); }
body.artisan .tag:not(body) { background: var(--sunken); color: var(--ink2); border: 1px solid var(--line); }
body.artisan .tag.is-success { color: var(--up); } body.artisan .tag.is-danger { color: var(--down); } body.artisan .tag.is-warning { color: var(--gold-hi); }
body.artisan .tabs ul, body.artisan .tabs { border-bottom-color: var(--line-strong); }
body.artisan .tabs a { color: var(--ink2); border-bottom-color: var(--line-strong); }
body.artisan .tabs a:hover { color: var(--gold-hi); border-bottom-color: var(--gold); background: transparent; }
body.artisan .tabs li.is-active a { color: var(--gold-hi); border-bottom-color: var(--gold); }
body.artisan .tabs.is-boxed a { background: transparent; }
body.artisan .tabs.is-boxed li.is-active a { background: var(--sunken); border-color: var(--line-strong); border-bottom-color: transparent; }
body.artisan .menu-label { color: var(--gold); }
body.artisan .menu-list a { color: var(--ink2); }
body.artisan .menu-list a:hover, body.artisan .menu-list a.is-active { background: var(--hover); color: var(--gold-hi); }
body.artisan .panel { background: var(--sunken); border: 1px solid var(--line); box-shadow: none; }
body.artisan .panel-heading { background: #11121f; color: var(--gold-hi); border-bottom: 1px solid var(--line); }
body.artisan .panel-block { color: var(--ink2); border-color: var(--line); }
body.artisan .panel-block:hover, body.artisan a.panel-block:hover, body.artisan a.has-hover-dark:hover { background: var(--hover); }
body.artisan .pagination-link, body.artisan .pagination-previous, body.artisan .pagination-next { background: var(--sunken); border-color: var(--line-strong); color: var(--ink2); }
body.artisan .pagination-link.is-current { background: var(--gold); border-color: var(--gold); color: #231c08; }
body.artisan .modal-card-head, body.artisan .modal-card-foot { background: var(--sunken); border-color: var(--line); }
body.artisan .modal-card-body { background: var(--raised); color: var(--ink); }
body.artisan .modal-card-title { color: var(--gold-hi); }
body.artisan .dropdown-content, body.artisan .navbar-dropdown { background: var(--raised); border: 1px solid var(--line-strong); }
body.artisan .progress { background: var(--sunken); }
body.artisan code, body.artisan pre, body.artisan .request, body.artisan .fs-path { background: var(--sunken); color: var(--gold-hi); border: 1px solid var(--line); }
body.artisan .keyword { color: var(--gold-hi); }
body.artisan .up { color: var(--up); } body.artisan .down { color: var(--down); }
body.artisan .current-sub-menu { color: var(--gold-hi); font-weight: 600; }
body.artisan .red { background: #6b2118; color: #ffd3cb; } body.artisan .green { background: #1f5a38; color: #cff5de; }
body.artisan .tooltip, body.artisan .unitip { color: var(--ink); }
body.artisan .loginbox-admin-menu { background: var(--sunken); }

/* custom views inherited from hurtFreeV1 (rate / rule cards, equal-height cards) */
.rate-card-grid { margin: .5rem 0 1rem; }
.rate-card { background: var(--sunken); border: 1px solid var(--line); border-radius: 4px; padding: 1rem .5rem; text-align: center; color: var(--ink); height: 100%; }
.rate-card i { font-size: 1.5rem; color: var(--gold-hi); margin-bottom: .5rem; display: block; }
.rate-card .rate-value { font-size: 1.4rem; font-weight: 700; color: var(--gold-hi); line-height: 1.2; }
.rate-card .rate-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; margin-top: .25rem; }
.rate-card .rate-value.up { color: var(--up) !important; }
.rate-card .rate-value.down { color: var(--down) !important; }
.rules-intro { margin-bottom: 1rem; }
.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.rule-section { background: var(--sunken); border: 1px solid var(--line); border-radius: 4px; padding: 1rem 1.25rem; color: var(--ink); }
.rule-section h3 { color: var(--gold-hi) !important; font-size: 1.05rem !important; margin: 0 0 .5rem !important; border: 0 !important; padding: 0 !important; }
.rule-section h3 i { margin-right: .5rem; }
.rule-section ul { margin: 0 !important; padding-left: 1.2rem; }
.rule-section li { margin-bottom: .5rem; line-height: 1.4; font-size: .9rem; color: var(--ink2); }
.rules-footer { opacity: .8; font-size: .85rem; }
.bm--card-equal-height { display: flex; flex-direction: column; height: 100%; }
.bm--card-equal-height .card-footer { margin-top: auto; }
.homepage-announcements .title { font-size: 1.25rem; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 960px) {
	.ax-burger { display: block; }
	.ax-menu {
		display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
		background: var(--sunken); border-bottom: 1px solid var(--line-strong); padding: 6px 16px 14px; margin: 0; max-height: 80vh; overflow: auto;
	}
	.ax-menu.is-open { display: flex; }
	.ax-dd-toggle { padding: 12px 6px; border-bottom: 1px solid var(--line); }
	.ax-dd-list { display: block; position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 14px; min-width: 0; }
	.ax-actions { margin: 12px 0 0; }
	.ax-nav-row { position: relative; }
}
@media (max-width: 860px) {
	.ax-hero { height: 520px; background-position: 30% top; }
	.ax-gates, .ax-stats { grid-template-columns: 1fr 1fr; }
	.ax-prereg, .ax-two, .ax-news { grid-template-columns: 1fr; }
	.ax-prereg .txt { padding: 28px 24px; }
	.ax-prereg img { min-height: 200px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
	.ax-footer-cols { grid-template-columns: 1fr 1fr; }
	.ax-page { padding: 20px 16px 26px; }
	.ax-sec { padding: 40px 0; }
}

/* ------------------------------------------------------- fixes after first preview */
.ax-dd-toggle, .ax-actions .ax-btn { white-space: nowrap; }
.ax-brand small { white-space: nowrap; }
.ax-page form, .ax-page .generic-form, .ax-page table, .ax-page tbody, .ax-page thead, .ax-page tr,
.ax-page .generic-form-table, .ax-page fieldset, .ax-page .form-box { background: transparent !important; }
.ax-page .generic-form-table th, .ax-page .vertical-table th, .ax-page .horizontal-table th { background: var(--sunken) !important; }
.ax-page td, .ax-page p, .ax-page td p, .ax-page .generic-form-table td p { color: var(--ink); }
.ax-page .generic-form-table th { text-align: right; width: 1%; white-space: nowrap; }
.ax-page .generic-form-table td { background: transparent; }

/* mobile overflow guard */
body.artisan { overflow-x: hidden; }
.ax-gates > *, .ax-stats > *, .ax-two > *, .ax-news > *, .ax-prereg > *, .ax-footer-cols > * { min-width: 0; }
.ax-announce { overflow-wrap: anywhere; }
@media (max-width: 560px) {
	.ax-wrap { padding: 0 16px; }
	.ax-gates, .ax-stats { gap: 10px; }
	.ax-tile .v { font-size: 15px; letter-spacing: .08em; }
	.ax-announce { font-size: 11px; letter-spacing: .06em; }
	.ax-brand small { white-space: normal; }
	.ax-hero { height: 440px; background-position: 22% top; }
}

.ax-social-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.ax-footer .ax-social { display: inline-block; margin-top: 0; }

/* ------------------------------------------------------------- motion (see js/artisan-fx.js) */
/* hero: moonlight pulse and drifting embers */
.ax-hero { overflow: hidden; }
.ax-hero::after {
	content: ""; position: absolute; left: 62%; top: 12%; width: 22%; height: 46%; pointer-events: none;
	background: radial-gradient(closest-side, rgba(170, 205, 255, .35), rgba(170, 205, 255, 0));
	mix-blend-mode: screen; animation: ax-moon 6s ease-in-out infinite;
}
@keyframes ax-moon { 0%, 100% { opacity: .25; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.08); } }
.ax-embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.ax-hero-in { z-index: 2; }

/* scroll reveal: only hidden when the script is running */
.ax-fx .ax-rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--ax-d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--ax-d, 0ms); }
.ax-fx .ax-rv.ax-in { opacity: 1; transform: none; }
.ax-bars i b { transition: width 1s cubic-bezier(.2, .7, .2, 1); }

/* hover polish */
.ax-tile, .ax-stat, .ax-card, .ax-panel { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.ax-fx .ax-rv.ax-in:hover, .ax-tile:hover, .ax-stat:hover, .ax-card:hover { transform: translateY(-4px); border-color: var(--gold-lo); box-shadow: 0 14px 30px rgba(0, 0, 0, .4), 0 0 0 1px rgba(212, 169, 58, .15); }
.ax-tile::before, .ax-tile::after { transition: width .3s ease, height .3s ease; }
.ax-tile:hover::before, .ax-tile:hover::after { width: 22px; height: 22px; }
.ax-card img { transition: transform .6s ease; }
.ax-card { overflow: hidden; }
.ax-card:hover img { transform: scale(1.04); }
.ax-btn { position: relative; overflow: hidden; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.ax-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212, 169, 58, .25); }
.ax-btn::after {
	content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; pointer-events: none;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-18deg);
}
.ax-btn:hover::after { left: 130%; transition: left .6s ease; }
.ax-dot { animation: ax-pulse 2s ease-in-out infinite; }
@keyframes ax-pulse { 50% { box-shadow: 0 0 14px var(--up); opacity: .75; } }
.ax-fame li:first-child .n { animation: ax-shimmer 3.2s ease-in-out infinite; }
@keyframes ax-shimmer { 50% { text-shadow: 0 0 10px rgba(240, 208, 120, .9); } }
.ax-announce a { transition: color .2s ease; }

@media (prefers-reduced-motion: reduce) {
	.ax-hero::after, .ax-dot, .ax-fame li:first-child .n { animation: none; }
	.ax-btn::after { display: none; }
	* { transition-duration: .01ms !important; }
}

/* generic-form tables (server info, account pages): kill the white wrapper and white cells */
.ax-page .generic-form-div, .ax-page .generic-form-div table, .ax-page .generic-form-div tr, .ax-page .generic-form-div tbody { background: transparent !important; }
.ax-page .generic-form-table td, .ax-page .vertical-table td, .ax-page .horizontal-table td { background: transparent !important; color: var(--ink) !important; }
.ax-page .generic-form-table td p, .ax-page .generic-form-table td p.important, .ax-page .generic-form-table td div { color: var(--ink) !important; }
.ax-page .generic-form-table td p.important { font-weight: 600; color: var(--gold-hi) !important; }
.ax-page .generic-form-div { border: 0 !important; padding: 0 !important; }
.ax-page .generic-form-table { width: 100%; border: 1px solid var(--line) !important; }

/* ---------------------------------------------------- nav: sliding underline, eased dropdowns, compact on scroll */
.ax-menu { position: relative; }
.ax-ink { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi), var(--gold-lo)); opacity: 0; pointer-events: none; transition: transform .3s cubic-bezier(.2, .7, .2, 1), width .3s cubic-bezier(.2, .7, .2, 1), opacity .2s ease; }
.ax-ink.on { opacity: 1; }
.ax-nav { transition: background .3s ease, box-shadow .3s ease; }
.ax-nav.ax-scrolled { background: rgba(9, 10, 20, .97); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.ax-brand small { transition: opacity .25s ease, max-height .25s ease; max-height: 14px; overflow: hidden; }
.ax-nav.ax-scrolled .ax-brand small { opacity: 0; max-height: 0; margin-top: 0; }
.ax-dd-list { display: block; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
.ax-dd:hover .ax-dd-list, .ax-dd:focus-within .ax-dd-list { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
.ax-dd-list a { transition: background .15s ease, color .15s ease, padding-left .15s ease; }
.ax-dd-list a:hover { padding-left: 24px; }
@media (max-width: 960px) {
	.ax-dd-list { visibility: visible; opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ page transitions */
@keyframes ax-pagein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ax-fx body.artisan > main, .ax-fx body.artisan > header.ax-hero { animation: ax-pagein .45s cubic-bezier(.2, .7, .2, 1) both; }
.ax-fx body.artisan > main, .ax-fx body.artisan > header.ax-hero, .ax-fx body.artisan > section, .ax-fx body.artisan > footer { transition: opacity .2s ease, transform .2s ease; }
.ax-fx.ax-leaving body.artisan > main, .ax-fx.ax-leaving body.artisan > header.ax-hero, .ax-fx.ax-leaving body.artisan > section, .ax-fx.ax-leaving body.artisan > footer { opacity: 0; transform: translateY(-6px); }

/* ------------------------------------------------------------------ rankings */
@keyframes ax-rowin { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.ax-fx .ax-row { animation: ax-rowin .5s cubic-bezier(.2, .7, .2, 1) var(--ax-r, 0ms) both; }
.ax-top1 td { background: linear-gradient(90deg, rgba(240, 208, 120, .22), transparent 80%) !important; box-shadow: none; }
.ax-top2 td { background: linear-gradient(90deg, rgba(200, 208, 222, .16), transparent 80%) !important; }
.ax-top3 td { background: linear-gradient(90deg, rgba(205, 138, 84, .17), transparent 80%) !important; }
.ax-top1 td:first-child { color: #f0d078 !important; font-weight: 700; text-shadow: 0 0 10px rgba(240, 208, 120, .7); }
.ax-top2 td:first-child { color: #d3d9e6 !important; font-weight: 700; }
.ax-top3 td:first-child { color: #d9955d !important; font-weight: 700; }
.ax-top1 td:nth-child(2) { color: var(--gold-hi) !important; font-weight: 600; }
.ax-page table.horizontal-table tr.ax-row { transition: background .2s ease; }
.ax-page table.horizontal-table tr.ax-row:hover td { background: var(--hover) !important; }
@media (prefers-reduced-motion: reduce) { .ax-ink, .ax-dd-list { transition: none; } }

/* ------------------------------------------------------------------ layered parallax hero */
.ax-hero { --H: clamp(540px, 43vw, 880px); height: var(--H); background: #070918; }
.ax-hero::before { z-index: 6; }
.ax-hero::after { display: none; }
.ax-layer { position: absolute; inset: 0; z-index: 1; will-change: transform; pointer-events: none; }
.ax-l-castle { z-index: 2; } .ax-l-fore { z-index: 4; }
.ax-box { position: absolute; top: 50%; left: 50%; width: max(100%, calc(var(--H) * 2.327)); aspect-ratio: 1913 / 822; transform: translate(-50%, -50%) scale(1.08); }
.ax-box img { display: block; width: 100%; height: 100%; }
.ax-l-castle .ax-box { transform: translate(-44%, -48%) scale(.92); }
.ax-l-fore .ax-box { top: auto; bottom: -2%; left: auto; right: -2%; transform: scale(1.06); transform-origin: right bottom; }
.ax-moon { position: absolute; left: 66%; top: 0; width: 15%; height: 36%; pointer-events: none; background: radial-gradient(closest-side, rgba(180, 210, 255, .55), rgba(180, 210, 255, 0)); mix-blend-mode: screen; animation: ax-moon 6s ease-in-out infinite; }
.ax-embers { z-index: 3; }
.ax-hero-logo { position: absolute; left: 0; right: 0; top: 14%; z-index: 5; will-change: transform; }
.ax-logo { display: flex; align-items: center; gap: 18px; }
.ax-emblem { width: clamp(78px, 9vw, 130px); height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .6)); }
.ax-wordmark { display: flex; flex-direction: column; line-height: 1; }
.ax-wordmark .p { font: 600 clamp(14px, 1.7vw, 24px) var(--display); letter-spacing: .6em; color: var(--ink2); padding-left: .3em; }
.ax-wordmark .a { font: 700 clamp(38px, 6.2vw, 92px) var(--display); letter-spacing: .04em; margin-top: 6px; background: linear-gradient(180deg, #fff2cf 8%, #e6bf62 52%, #9b6f2a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .65)); }
.ax-wordmark .t { font: 500 clamp(9px, 1vw, 13px) var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--ink2); margin-top: 12px; }
@media (max-width: 860px) {
	.ax-hero { --H: 600px; }
	.ax-hero-logo { top: 9%; }
	.ax-logo { flex-direction: column; align-items: flex-start; gap: 10px; }
	.ax-l-fore .ax-box { right: -34%; }
}
.ax-hero::after { display: block; content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(90deg, rgba(5, 6, 15, .78) 0%, rgba(5, 6, 15, .45) 32%, transparent 58%); mix-blend-mode: normal; animation: none; left: 0; top: 0; width: 100%; height: 100%; }
.ax-hero-logo, .ax-hero-in { z-index: 7; }
.ax-l-fore .ax-box { transform: scale(1.04); }
.ax-l-castle .ax-box { transform: translate(-40%, -50%) scale(.9); }
.ax-wordmark .p, .ax-wordmark .t { text-shadow: 0 2px 10px rgba(0, 0, 0, .9); color: var(--ink); }
.ax-logo-img { display: block; width: clamp(260px, 34vw, 560px); height: auto; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .65)); }
@media (max-width: 860px) { .ax-logo-img { width: min(78vw, 360px); } }
@media (max-width: 860px) {
	.ax-hero-logo { top: 2%; }
	.ax-logo-img { width: min(62vw, 290px); }
	.ax-l-fore .ax-box { bottom: -10%; }
}

/* logo in the top-left corner of the hero */
.ax-hero-logo { top: 3%; left: clamp(12px, 2.5vw, 44px); right: auto; }
.ax-hero-logo .ax-wrap { padding: 0; margin: 0; max-width: none; }
.ax-logo-img { width: clamp(220px, 27vw, 440px); }
.ax-hero::after { background: linear-gradient(90deg, rgba(5, 6, 15, .6) 0%, rgba(5, 6, 15, .25) 30%, transparent 52%); }
@media (max-width: 860px) {
	.ax-hero-logo { top: 2%; left: 8px; }
	.ax-logo-img { width: min(58vw, 270px); }
}
@media (max-width: 860px) {
	.ax-l-fore .ax-box { bottom: -2%; transform: scale(1.12); }
}

/* foreground layer is now 5.png (3:2, transparent left side) */
.ax-l-fore .ax-box { width: calc(var(--H) * 1.5); aspect-ratio: 3 / 2; left: auto; right: 0; top: auto; bottom: 0; transform: none; }
.ax-l-fore .ax-box img { object-fit: cover; }
/* pre-registration card is text only now */
.ax-prereg { grid-template-columns: 1fr; background: linear-gradient(120deg, var(--raised), #1a1830 60%, #22192a); }
.ax-prereg .txt { padding: 40px 48px; }
.ax-prereg p { max-width: 62ch; }
@media (max-width: 860px) {
	.ax-l-fore .ax-box { right: -150px; transform: none; bottom: 0; }
	.ax-prereg .txt { padding: 28px 24px; }
}
.ax-stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
