/* Time Sand - glue between the converted Nozdor design and ZnoteX markup.
   Only additive rules live here; the converted design file is untouched. */

body { background: var(--nz-bg); color: var(--nz-text); font-family: var(--nz-font); }

.wrapper { position: relative; min-height: 45vh; overflow: hidden; }

/* logo sizing - height-locked, any aspect ratio, never overflows its slot */
.header__logo img { height: 46px !important; width: auto !important; max-width: 220px; object-fit: contain; }
.header--scrolled .header__logo img { height: 38px !important; }
.footer__logo { height: 48px !important; width: auto !important; max-width: 240px; object-fit: contain; }
.stages__card-preparing .nozdor-logo { max-width: 160px; height: auto; width: auto; max-height: 90px; object-fit: contain; }
.nz-auth__head .nz-auth__logo { max-width: 200px; height: auto; margin: 0 auto 8px; display: block; }
@media (max-width: 600px) { .header__logo img { height: 38px !important; max-width: 150px; } }

/* the header + promo strip are fixed; push non-home pages clear of them */
.ts-page { position: relative; z-index: 5; padding: calc(var(--nz-promo-h) + var(--nz-header-h) + 32px) 0 80px; }
.ts-inner { position: relative; z-index: 2; }

/* hero carousel image inside .slide-frame (replaces the old lazy-youtube box) */
.ts-slide-media { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.ts-slide-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ts-slide-media--logo { display: flex; align-items: center; justify-content: center; }
.ts-slide-media--logo img { width: 72%; height: 72%; object-fit: contain; }

@media (max-width: 600px) {
	.ts-slide-media--logo img { width: 78%; height: 78%; }
}

/* news media placeholder (ZnoteX news has no image field) */
.news__media { display: flex; align-items: center; justify-content: center;
	background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--nz-gold) 18%, transparent), transparent 60%), var(--nz-bg-deep); }
.news__media-mark { font-size: 64px; font-weight: 800; color: color-mix(in srgb, var(--nz-gold) 40%, transparent); text-transform: uppercase; line-height: 1; user-select: none; }
.news__item-grid .news__media-mark { font-size: 40px; }
.news__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* news grid client-side pagination (featured stays put) */
.news__grid[hidden] { display: none; }
.news__pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px 0 4px; }
.news__pager-btn { display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: var(--nz-r); font-size: 15px; cursor: pointer;
	color: var(--nz-text-dim); background: var(--nz-sunken); border: 1px solid var(--nz-border); transition: all .15s ease; }
.news__pager-btn:hover:not(:disabled) { color: var(--nz-gold); border-color: var(--nz-border-hover); }
.news__pager-btn:disabled { opacity: .4; cursor: default; }
.news__pager-info { font-size: 13px; font-weight: 600; color: var(--nz-text-dim); font-variant-numeric: tabular-nums; }
.news__pager-info [data-news-cur] { color: var(--nz-gold); }
.news__date, .news__author { font-size: 12px; color: var(--nz-text-mute); font-weight: 500; }
.news__author { color: var(--nz-text-dim); }
.news__title { display: block; color: var(--nz-text); font-weight: 700; line-height: 1.25; }
.news__subtitle { display: block; color: var(--nz-text-dim); font-size: 14px; line-height: 1.5;
	display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- auth pages (login / register / recover) --------------------------- */
/* the shell wraps ZnoteX's plain form in .nz-auth__card; style the inner form
   to match the Nozdor .nz-auth__form look. */
.nz-auth { display: flex; align-items: flex-start; justify-content: center; }
.nz-auth .container { max-width: 520px; }
.nz-auth__content h2 { color: var(--nz-error); font-size: 16px; margin: 0 0 12px; }
.nz-auth__content form { margin: 0; }
.nz-auth__content ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.nz-auth__content li { display: flex; flex-direction: column; gap: 6px; color: var(--nz-text-dim); font-size: 13px; }
.nz-auth__content li br { display: none; }
.nz-auth__content input[type=text],
.nz-auth__content input[type=password],
.nz-auth__content input[type=email],
.nz-auth__content select {
	width: 100%; background: var(--nz-sunken); color: var(--nz-text);
	border: 1px solid var(--nz-border); border-radius: var(--nz-r);
	padding: 11px 13px; font: inherit; transition: border-color var(--nz-t); }
.nz-auth__content input:focus, .nz-auth__content select:focus { outline: none; border-color: var(--nz-border-hover); }
.nz-auth__content input[type=submit] {
	width: 100%; margin-top: 4px; padding: 13px 18px; border: 1px solid transparent;
	border-radius: var(--nz-r); background: var(--nz-gold-fill); color: var(--nz-on-gold);
	font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; cursor: pointer; }
.nz-auth__content input[type=submit]:hover { filter: brightness(1.07); box-shadow: var(--nz-shadow-gold); }
.nz-auth__content .g-recaptcha, .nz-auth__content [class*="captcha"] { display: none !important; }
.nz-auth__content p, .nz-auth__content h3 { color: var(--nz-text-dim); font-size: 13px; }
.nz-auth__content a { color: var(--nz-gold); }
.nz-auth__foot { margin: 22px 0 0; text-align: center; color: var(--nz-text-mute); font-size: 13px; }

/* logout / admin actions in the header (logged-in state) */
.header__logout { gap: 6px; }
.header__logout:hover, .header__logout:hover .material-icons { color: var(--nz-error); }
.header__admin { gap: 6px; color: var(--nz-gold); }
.header__admin:hover, .header__admin:hover .material-icons { color: var(--nz-gold-hover); }

/* ---- changelog box (home, above the news grid) ----------------------- */
.ts-changelog { padding: 16px 20px; margin-bottom: 18px; text-align: left; }
.ts-changelog__title { margin: 0 0 10px; font-size: 14px; font-weight: 700; text-transform: uppercase;
	letter-spacing: .6px; color: var(--nz-text-brand); }
.ts-changelog__list { list-style: none; margin: 0; padding: 0; }
.ts-changelog__item + .ts-changelog__item { border-top: 1px solid var(--nz-border); }
.ts-changelog__row, .ts-changelog__item summary {
	display: flex; align-items: baseline; gap: 10px; padding: 8px 0;
	font-size: 13px; font-weight: 600; color: var(--nz-text); }
.ts-changelog__item summary { cursor: pointer; list-style: none; }
.ts-changelog__item summary::-webkit-details-marker { display: none; }
.ts-changelog__item summary::before {
	content: "+"; flex-shrink: 0; width: 15px; height: 15px; margin-top: 1px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--nz-border); border-radius: 3px; color: var(--nz-gold);
	font-weight: 700; line-height: 1; font-size: 12px; }
.ts-changelog__item[open] summary::before { content: "\2212"; }
.ts-changelog__date { flex-shrink: 0; color: var(--nz-gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.ts-changelog__text { color: var(--nz-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ts-changelog__item[open] summary .ts-changelog__text { display: none; }
.ts-changelog__more { padding: 2px 0 12px 25px; color: var(--nz-text-dim); font-size: 13px; line-height: 1.6; }
.ts-changelog__more img { max-width: 100%; height: auto; border-radius: var(--nz-r); }

/* ---- single news article page --------------------------------------- */
.ts-article-wrap { max-width: 900px; }
.ts-article { padding: 26px 30px; text-align: left; }
.ts-article__meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--nz-text-mute); margin-bottom: 8px; }
.ts-article__meta a { color: var(--nz-text-dim); }
.ts-article__title { margin: 0 0 20px; font-size: 26px; font-weight: 800; color: var(--nz-text); line-height: 1.2; }
.ts-article__body { color: var(--nz-text-dim); font-size: 14px; line-height: 1.75; }
.ts-article__body img { max-width: 100%; height: auto; border-radius: var(--nz-r); margin: 10px 0; }
.ts-article__body a { color: var(--nz-gold); }
.ts-article__back { margin-top: 24px; }

/* ---- downloads page -------------------------------------------------- */
.ts-dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 20px; }
.ts-dl-card { display: flex; flex-direction: column; align-items: center; text-align: center;
	gap: 6px; padding: 26px 20px 22px; }
.ts-dl-card__icon { display: inline-flex; align-items: center; justify-content: center;
	width: 54px; height: 54px; border-radius: 50%; margin-bottom: 6px;
	color: var(--nz-gold); background: var(--nz-sunken); border: 1px solid var(--nz-border); }
.ts-dl-card__icon .material-icons { font-size: 26px; }
.ts-dl-card__os { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--nz-text-mute); }
.ts-dl-card__name { font-size: 15px; font-weight: 700; color: var(--nz-text); }
.ts-dl-card__meta { font-size: 12px; color: var(--nz-text-mute); }
/* sam launcher: jedna karta na srodku zamiast siatki 3 kolumn */
.ts-dl-grid--single { grid-template-columns: minmax(0, 420px); justify-content: center; }
.ts-dl-card__btn { margin-top: 12px; width: 100%; padding: 11px 16px; }
.ts-dl-card__btn, .ts-dl-card__btn:link, .ts-dl-card__btn:visited,
.ts-dl-card__btn .material-icons { color: #000 !important; }

.ts-dl-howto { padding: 24px 28px; text-align: left; }
.ts-dl-howto__title { margin: 0 0 16px; font-size: 17px; font-weight: 800; text-transform: uppercase;
	letter-spacing: .5px; color: var(--nz-text); }

.ts-dl-steps { margin: 0; padding: 0; list-style: none; counter-reset: dlstep; }
.ts-dl-steps li { position: relative; padding: 12px 0 12px 44px; border-top: 1px solid var(--nz-border-soft);
	color: var(--nz-text-dim); font-size: 14px; line-height: 1.6; }
.ts-dl-steps li:first-child { border-top: 0; }
.ts-dl-steps li::before { counter-increment: dlstep; content: counter(dlstep);
	position: absolute; left: 0; top: 11px; width: 26px; height: 26px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
	color: var(--nz-on-gold); background: var(--nz-gold-fill); }
.ts-dl-steps a { color: var(--nz-gold); }
.ts-dl-steps code, .ts-dl-howto code { padding: 2px 7px; border-radius: 3px; font-size: 13px;
	background: var(--nz-sunken); border: 1px solid var(--nz-border-soft); color: var(--nz-gold); }

@media (max-width: 760px) {
	.ts-dl-grid { grid-template-columns: 1fr; }
}

/* ---- shop page ------------------------------------------------------- */
.ts-shop-points { display: flex; align-items: center; gap: 8px; padding: 10px 14px;
	background: var(--nz-panel); border: 1px solid var(--nz-border-soft); border-radius: var(--nz-r-lg); }
.ts-shop-points > .material-icons { color: var(--nz-gold); font-size: 20px; }
.ts-shop-points__value { font-size: 18px; font-weight: 800; color: var(--nz-text); font-variant-numeric: tabular-nums; }
.ts-shop-points__label { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--nz-text-mute); }
.ts-shop-points__buy { margin-left: 8px; padding: 7px 12px; font-size: 12px; }

.ts-shop-filter { flex-wrap: wrap; width: auto; max-width: 100%; margin: 0 0 16px; }
.ts-shop-filter .nz-segment__btn { flex: 0 0 auto; cursor: pointer; }

.ts-shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ts-shop-card { display: flex; flex-direction: column; align-items: center; text-align: center;
	gap: 6px; padding: 14px 12px 12px; }
.ts-shop-card[hidden] { display: none; }
.ts-shop-card__img { position: relative; width: 100%; aspect-ratio: 1 / 1; display: flex;
	align-items: center; justify-content: center; border-radius: var(--nz-r-md);
	background: var(--nz-sunken); border: 1px solid var(--nz-border-soft); overflow: hidden; }
.ts-shop-card__img img { max-width: 78%; max-height: 78%; object-fit: contain;
	object-position: center; image-rendering: pixelated; }
.ts-shop-card__count { position: absolute; right: 5px; bottom: 5px; padding: 1px 6px; border-radius: var(--nz-r-pill);
	font-size: 10px; font-weight: 700; color: var(--nz-on-gold); background: var(--nz-gold-fill); }
.ts-shop-card__name { font-size: 12.5px; font-weight: 600; color: var(--nz-text); line-height: 1.3;
	display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ts-shop-card__cost { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--nz-gold); }
.ts-shop-card__cost .material-icons { font-size: 15px; }
.ts-shop-card__buy { width: 100%; margin-top: auto; }
.ts-shop-card__buy button, .ts-shop-card__login { width: 100%; margin-top: 6px; padding: 8px 10px; font-size: 12px; }
.ts-shop-card__buy button:disabled { opacity: .45; cursor: not-allowed; }

/* purchase result message echoed by shop.php before the view */
.ts-inner font[color="green"], .ts-inner font[color="red"] {
	display: block; margin: 0 0 16px; padding: 12px 16px; border-radius: var(--nz-r-md);
	font-size: 14px !important; font-weight: 600; }
.ts-inner font[color="green"] { color: var(--nz-ok); background: color-mix(in srgb, var(--nz-ok) 12%, transparent); border: 1px solid color-mix(in srgb, var(--nz-ok) 40%, transparent); }
.ts-inner font[color="red"] { color: var(--nz-error); background: color-mix(in srgb, var(--nz-error) 12%, transparent); border: 1px solid color-mix(in srgb, var(--nz-error) 40%, transparent); }

/* ---- header account dropdown (logged-in) ------------------------------- */
.header__account-menu { position: relative; }
.header__account-menu > .header__action-item { cursor: pointer; background: none; border: 0; font: inherit; }
.header__account-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header__account-menu .dropdown__icon { font-size: 18px; transition: transform .15s ease; }
.header__account-menu.open .dropdown__icon { transform: rotate(180deg); }
.header__account-menu .dropdown__menu {
	position: absolute !important; top: calc(100% + 8px); right: 0; left: auto !important;
	transform: none !important; min-width: 190px; width: max-content !important; max-height: none;
	background: var(--nz-panel); border: 1px solid var(--nz-border-soft); border-radius: var(--nz-r-md);
	box-shadow: var(--nz-shadow-popup); padding: 6px; overflow: hidden; z-index: 1200; }
.header__account-menu .dropdown__menu:before { display: none !important; }
.header__account-menu.open .dropdown__menu { opacity: 1; visibility: visible; max-height: none; }
.header__account-menu .dropdown__item { width: 100%; border: 0; }
.header__account-menu .dropdown__item .nav__link {
	width: 100%; height: 40px; padding: 0 12px; gap: 10px; border-radius: var(--nz-r);
	justify-content: flex-start; text-transform: none; font-size: 13px; }
.header__account-menu .dropdown__item .nav__link:hover { background: var(--nz-panel-raised); color: var(--nz-gold); }
.header__account-menu .dropdown__item .material-icons { font-size: 18px; }
.header__account-menu .header__logout:hover { color: var(--nz-error) !important; }

/* login form opened from the header, matching the former layout behaviour */
.header__login-menu .login-dropdown {
	width: 310px !important;
	padding: 18px;
	overflow: visible;
}
.login-dropdown__form { display: grid; gap: 9px; }
.login-dropdown__form label {
	color: var(--nz-text-dim); font-size: 12px; font-weight: 600;
	text-transform: uppercase; letter-spacing: .45px;
}
.login-dropdown__form input[type="text"],
.login-dropdown__form input[type="password"] {
	width: 100%; height: 42px; padding: 0 12px;
	color: var(--nz-text); background: var(--nz-sunken);
	border: 1px solid var(--nz-border-soft); border-radius: var(--nz-r);
	font: inherit; outline: none;
}
.login-dropdown__form input:focus {
	border-color: var(--nz-gold);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--nz-gold) 14%, transparent);
}
.login-dropdown__submit { width: 100%; margin-top: 6px; cursor: pointer; }
.login-dropdown__recovery {
	color: var(--nz-text-mute); font-size: 12px; text-align: center;
	text-decoration: none; margin-top: 2px;
}
.login-dropdown__recovery:hover { color: var(--nz-gold); }

/* ---- account / profile pages ----------------------------------------- */
.profile-page .container { max-width: 1200px; text-align: left; }
.profile-page .container:after { display: none; }
.breadcrumb-nav { padding: 6px 2px 14px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; margin: 0; padding: 0; font-size: 12px; }
.breadcrumb-item { display: flex; align-items: center; gap: 8px; color: var(--nz-text-mute); text-transform: uppercase; letter-spacing: .5px; }
.breadcrumb-item + .breadcrumb-item::before { content: "\203A"; color: var(--nz-text-mute); }
.breadcrumb-link { color: var(--nz-text-dim); text-decoration: none; }
a.breadcrumb-link:hover { color: var(--nz-gold); }

.profile-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 20px 28px; padding: 22px 24px; margin-bottom: 16px; text-align: left; }
.profile-hero__id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.profile-avatar { flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; line-height: 1;
	color: var(--nz-on-gold); background: var(--nz-gold-fill); box-shadow: 0 0 0 3px var(--nz-sunken), 0 0 0 4px var(--nz-border); }
.profile-hero__lines { min-width: 0; }
.profile-hero__name { display: flex; align-items: baseline; gap: 8px; font-size: 19px; font-weight: 800;
	color: var(--nz-text); text-transform: uppercase; letter-spacing: .5px; line-height: 1.1; }
.profile-hero__tag { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none;
	color: var(--nz-text-mute); font-variant-numeric: tabular-nums; }
.profile-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.profile-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px;
	border-radius: var(--nz-r-pill); font-size: 11px; font-weight: 600; letter-spacing: .3px;
	color: var(--nz-text-dim); background: var(--nz-sunken); border: 1px solid var(--nz-border-soft); }
.profile-badge .material-icons { font-size: 14px; }
.profile-badge--gold { color: var(--nz-gold); border-color: color-mix(in srgb, var(--nz-gold) 40%, var(--nz-border-soft)); }
.profile-hero__stats { border-radius: var(--nz-r-lg); min-width: 260px; flex: 0 1 340px; }

/* management tabs (segmented control) */
.profile-tabs { display: flex; flex-wrap: wrap; width: 100%; gap: 4px; padding: 4px; margin-bottom: 16px; }
.profile-tabs__tab { flex: 0 0 auto; text-decoration: none; height: 34px; }
.profile-tabs__tab .material-icons { font-size: 17px; }
.profile-tabs__tab:hover { background: var(--nz-panel-raised); color: var(--nz-text); }
.profile-tabs__tab.nz-segment__btn--active { background: var(--nz-gold-wash); color: var(--nz-gold); }
.profile-tabs__tab--logout { margin-left: auto; color: var(--nz-text-mute); }
.profile-tabs__tab--logout:hover { color: var(--nz-error); background: transparent; }

.profile-content { padding: 24px 26px; text-align: left; }
.profile-content .ts-inner { color: var(--nz-text); }

/* the ZnoteX #myaccount markup, restyled inside the content panel */
#myaccount > h1 { font-size: 20px; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 6px; }
#myaccount > h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .5px; color: var(--nz-text-brand);
	margin: 26px 0 12px; padding-top: 18px; border-top: 1px solid var(--nz-border-soft); }
#myaccount > p { color: var(--nz-text-dim); font-size: 13px; }
#myaccount .btn, #myaccount input[type=submit] { width: auto; }
#myaccount .form-control { max-width: 320px; }

@media (max-width: 992px) {
	/* inside the mobile drawer the account menu drops inline */
	.header__account-menu { width: 100%; }
	.header__account-menu .dropdown__menu {
		position: static !important; box-shadow: none; border: 0; padding: 0; min-width: 0;
		background: transparent; margin-top: 4px; }
	.header__login-menu .login-dropdown { width: 100% !important; padding: 14px; background: var(--nz-sunken); }
	.header__account-name { max-width: none; }
}

@media (max-width: 900px) {
	.profile-hero { flex-direction: column; align-items: stretch; }
	.profile-hero__stats { width: 100%; min-width: 0; flex-basis: auto; }
	.profile-tabs__tab--logout { margin-left: 0; }
}

/* ---- highscores (arena) + guilds/guildwar (raids) views ---------------- */
/* the panels bring their own background; keep the page wrapper flush */
.ts-page > .ts-inner > .hero-header:first-child,
.ts-page > .ts-inner > .raids-panel:first-child { margin-top: 0; }
.arena-filter select, .arena-filter input[type=submit] {
	background: var(--nz-sunken); color: var(--nz-text); border: 1px solid var(--nz-border);
	border-radius: var(--nz-r); padding: 8px 10px; font: inherit; }
.arena-filter input[type=submit] { background: var(--nz-gold-fill); color: var(--nz-on-gold); font-weight: 700; cursor: pointer; border-color: transparent; }
.arena-table-wrapper .table td a, .raids-ladder td a { color: var(--nz-text); font-weight: 600; }
.arena-table-wrapper .table td a:hover, .raids-ladder td a:hover { color: var(--nz-gold); }
.arena-table-wrapper .table td { color: var(--nz-text-dim); }
.hs-flag { width: 18px; height: auto; vertical-align: -3px; margin-right: 6px; }
.outfitColumn img { height: 40px; width: auto; }

/* Character profile: metadata on the left, equipment alongside it. */
.page_characterprofile #characterProfileTable .profile-title-cell {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	text-align: left;
	padding-left: 104px;
	padding-right: 32px;
}
.page_characterprofile #characterProfileTable .profile-title-cell h1 {
	margin: 0;
	text-align: left;
}
.page_characterprofile #characterProfileTable .profile-title-cell .outfit {
	position: absolute;
	left: 28px;
	top: 50%;
	transform: translateY(-50%);
}
.page_characterprofile #characterProfileTable > tbody {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 190px;
	align-items: stretch;
}
.page_characterprofile #characterProfileTable > tbody > tr:not(.profile-equipment-row) {
	display: grid;
	grid-template-columns: minmax(150px, 32%) minmax(0, 1fr);
	grid-column: 1;
}
.page_characterprofile #characterProfileTable > tbody > tr:not(.profile-equipment-row) > td {
	display: flex;
	align-items: center;
}
.page_characterprofile #characterProfileTable > tbody > .profile-equipment-row {
	display: block;
	grid-column: 2;
	grid-row: 1 / span 30;
	background: #241c15;
	border-left: 1px solid var(--nz-border-soft);
	transition: background .25s ease, box-shadow .25s ease, filter .25s ease;
}
.page_characterprofile #characterProfileTable > tbody > .profile-equipment-row:hover {
	background: radial-gradient(circle at 50% 42%, rgba(239, 143, 34, .32), rgba(71, 39, 17, .88) 52%, #241c15 100%);
	box-shadow: inset 0 0 30px rgba(247, 151, 41, .28);
	animation: equipment-glow 1.35s ease-in-out infinite alternate;
}
.page_characterprofile #characterProfileTable .profile-equipment-row > #piv {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 16px;
	background-image: none;
}
.page_characterprofile #characterProfileTable .profile-equipment-row #piv_flex {
	justify-content: center;
	width: 126px;
}

@keyframes equipment-glow {
	from { filter: brightness(1); box-shadow: inset 0 0 22px rgba(247, 151, 41, .18); }
	to { filter: brightness(1.18); box-shadow: inset 0 0 42px rgba(247, 151, 41, .42); }
}

@media (max-width: 700px) {
	.page_characterprofile #characterProfileTable .profile-title-cell {
		padding-left: 82px;
		padding-right: 18px;
	}
	.page_characterprofile #characterProfileTable .profile-title-cell .outfit { left: 14px; }
	.page_characterprofile #characterProfileTable > tbody { grid-template-columns: 1fr; }
	.page_characterprofile #characterProfileTable > tbody > tr:not(.profile-equipment-row) {
		grid-template-columns: minmax(110px, 38%) minmax(0, 1fr);
	}
	.page_characterprofile #characterProfileTable > tbody > .profile-equipment-row {
		grid-column: 1;
		grid-row: auto;
		border-left: 0;
		border-top: 1px solid var(--nz-border-soft);
	}
}

/* raids tabs rendered as <a> instead of <button> */
.raids-tabs .nz-segment__btn { text-decoration: none; }
.raids-details-link { color: var(--nz-gold); font-size: 12px; font-weight: 600; }
.raids-ladder { width: 100%; }
.raids-empty { padding: 28px 16px; text-align: center; }

/* medal tint for the first three ranks in the raids ladder */
.raids-ladder tbody tr:nth-child(1) td:first-child { color: var(--nz-coin-g); font-weight: 700; }
.raids-ladder tbody tr:nth-child(2) td:first-child { color: var(--nz-coin-s); font-weight: 700; }
.raids-ladder tbody tr:nth-child(3) td:first-child { color: var(--nz-coin-c); font-weight: 700; }

/* language selector chip in the header actions */
.ts-lang { display: inline-flex; align-items: center; }
.ts-lang select, .ts-lang a { color: var(--nz-text-dim); }

/* "how to start" slider: 3-up on desktop, 1-up slider below 900px */
.swiper-start { overflow: hidden; }
.swiper-start.is-static .swiper-wrapper { transform: none !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.swiper-start.is-static .swiper-slide { width: auto !important; }
.swiper-start.is-static .swiper-pagination { display: none; }
.swiper-start:not(.is-static) .swiper-wrapper { display: flex; }
.swiper-start .swiper-pagination { position: static; display: flex; justify-content: center; gap: 8px; margin-top: 22px; }

/* ---- generic ZnoteX page content, themed to match ------------------------- */
.ts-inner { color: var(--nz-text); font-size: 14px; line-height: 1.6; }
.ts-inner a { color: var(--nz-gold); text-decoration: none; }
.ts-inner a:hover { color: var(--nz-gold-hover); }
.ts-inner h1, .ts-inner h2, .ts-inner h3, .ts-inner h4 { color: var(--nz-text); font-weight: 700; margin: 0 0 14px; }
.ts-inner h1 { font-size: 26px; } .ts-inner h2 { font-size: 21px; } .ts-inner h3 { font-size: 17px; }
.ts-inner p { margin: 0 0 14px; }
.ts-inner img { max-width: 100%; height: auto; }

.ts-inner table { width: 100%; border-collapse: collapse; margin: 0 0 22px; background: var(--nz-panel);
	border: 1px solid var(--nz-border-soft); border-radius: var(--nz-r-lg); overflow: hidden; }
.ts-inner th, .ts-inner td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--nz-border-soft); }
.ts-inner thead th, .ts-inner tr.yellow td, .ts-inner .zheadline {
	background: var(--nz-panel-raised); color: var(--nz-text-brand); font-weight: 600; }
.ts-inner tr:last-child td { border-bottom: 0; }
.ts-inner tr:hover td { background: color-mix(in srgb, var(--nz-gold) 5%, transparent); }
#news.news-section .ts-inner { display: none; } /* guard: never nest the hero news here */

.ts-inner input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
.ts-inner select, .ts-inner textarea {
	background: var(--nz-sunken); color: var(--nz-text); border: 1px solid var(--nz-border);
	border-radius: var(--nz-r); padding: 8px 10px; font: inherit; }
.ts-inner input:focus, .ts-inner select:focus, .ts-inner textarea:focus {
	outline: none; border-color: var(--nz-border-hover); }

.ts-inner input[type=submit], .ts-inner input[type=button], .ts-inner button, .ts-inner .button, .ts-inner .btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer;
	color: var(--nz-on-gold); background: var(--nz-gold-fill); border: 1px solid transparent;
	border-radius: var(--nz-r); text-transform: uppercase; letter-spacing: .3px; }
.ts-inner input[type=submit]:hover, .ts-inner button:hover, .ts-inner .button:hover, .ts-inner .btn:hover { filter: brightness(1.07); }

.ts-article { text-align: left; max-width: 900px; margin: 0 auto; color: var(--nz-text-dim); }

/* footer bits added by the shell */
.footer__column--brand { display: flex; flex-direction: column; gap: 12px; }
.footer__logo { height: 42px; width: auto; }
.footer__brand-line { color: var(--nz-text-mute); font-size: 13px; margin: 0; }
.footer__powered { color: var(--nz-text-mute); font-size: 12px; margin: 6px 0 0; }
.footer__powered a { color: var(--nz-text-dim); }

@media (max-width: 900px) {
	.ts-page { padding-top: calc(var(--nz-promo-h) + var(--nz-header-h) + 20px); }
}

/* ---- sortowanie tabel ----------------------------------------------------- */
/* Naglowek kolumny jest linkiem, ale ma wygladac jak naglowek: kolor i grubosc
   bierze z komorki, a strzalka nie moze zostac sama na nastepnej linii. */
.ts-inner th .sortLink,
.ts-inner tr.yellow td .sortLink {
	color: inherit; font-weight: inherit; text-decoration: none; white-space: nowrap;
}
.ts-inner th .sortLink:hover,
.ts-inner tr.yellow td .sortLink:hover {
	color: var(--nz-gold); text-decoration: underline;
}

/* Naglowki w markupie motywu: w .table klikalny jest caly kafel, w drabinkach
   sama etykieta. */
.table .table-header__link { display: block; color: inherit; text-decoration: none; }
.raids-ladder th .sortLink { color: inherit; text-decoration: none; white-space: nowrap; }
.raids-ladder th .sortLink:hover { color: var(--nz-gold); text-decoration: underline; }

/* ---- pusta sekcja newsow -------------------------------------------------- */
/* Bez newsow i changeloga sekcja zostaje tylko jako kotwica #news; jej padding
   zostawialby ~120px dziury miedzy separatorem a "How to start?". */
.news-section--empty { padding-top: 0; padding-bottom: 0; }
/* Sekcja "How to start?" podjezdza wtedy pod separator; tlo bez gradientu
   panel->bg, bo bez newsow nie ma go z czego przejmowac. */
.start--flush { padding-top: 30px; background: var(--nz-bg); }

/* ---- iskry startuja pod przyciskiem Download ------------------------------ */
/* Kotwica ma zerowa wysokosc, wiec siedzi dokladnie na progu przycisku, a przez
   100vw zachowuje stare left% iskier mimo ze lezy w waskim .container.
   z-index -1 zostawia je pod trescia hero, tak jak w starej warstwie efektow. */
.ember-origin { position: relative; z-index: -1; width: 100vw; left: 50%; transform: translateX(-50%);
	height: 0; pointer-events: none; }
.ember-origin .ember { top: 0; }
