/*
	OUTBREAK.FORUM - the "panel" look (as the maintenance panel of the forum's server page):
	quiet dark panels with a thin solid edge, square icon tiles, mono uppercase labels,
	status pills, chips, one orange gradient button. A layer over the pages' own styles:
	linked last by index.html, forum.php and shop.php; removing the <link> brings the old look back.
*/
@import url("https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@3.19.0/dist/tabler-icons.min.css"); /* the line icons in place of the emoji (theme-panel.js) */

:root {
	--night: #0b0b0d; --soot: #141417; --ash: #1a1a1e;
	--seam: #26262c; --edge: #26262c; --line-2: #33333a;
	--bone: #ecebe6; --dust: #9a9890;
	--rust: #ff8a2a; --rust-deep: #e85d1c;
	--surf: #141417; --lift: none;
	--r: 14px; --r-s: 9px;
	--btn: linear-gradient(180deg, #ffad4a, #e85d1c);
	--btn-glow: 0 8px 22px rgba(232, 93, 28, .32);
}

body {
	background-color: var(--night) !important;
	background-image: radial-gradient(900px 420px at 80% -120px, rgba(255, 138, 42, .09), transparent 70%), radial-gradient(700px 380px at 0% 0%, rgba(120, 80, 220, .07), transparent 70%) !important;
	background-attachment: fixed;
}

/* the Halloween decor off (the panels carry the look now) */
#fog { display: none !important; } /* the fog / moon canvas of the header */
.hw-fog, .hw-bat, .hw-web, .hw-moon, .hw-leaf, .hw-leaves, .hw-pumpkins, .hw-row, .hw-deco, .hw-candle, [class^="hw-"], [class*=" hw-"] { display: none !important; }

/* every block = a panel */
form.buy, .srv, .gift-ann, .news-card, .zm-door, .card, .tier, .feat, .key, .contest, .srv-sep, .faq details, .lp-col, .ls-card, .ss-box, .sec, .post, .chap .cards, .stat-card, .pv-card, .row.one, .box, .panel {
	background: var(--soot) !important;
	border: 1px solid var(--seam) !important;
	border-radius: var(--r) !important;
	box-shadow: none !important;
}
.cards, .tiers { background: none !important; border: 0 !important; gap: 10px !important; }
.zm-door:hover, .news-card:hover, .sec:hover, .card:hover { border-color: #3a3a42 !important; transform: none !important; }

/* headings: the display face, calmer */
h1, h2 { text-wrap: balance; letter-spacing: .01em; }
h1 { text-shadow: none !important; }

/* labels: mono, uppercase, small (as "ЩО РОБИМО" / "ТРИВАЛІСТЬ") */
.kicker, .chap-label, .srv-sep-k, .zm-door-k, .eyebrow, .lbl, .modlabel, .ls-card h3, .lp-col h4, .srv-t th {
	font-family: var(--mono) !important; letter-spacing: .14em !important; text-transform: uppercase;
}
.chap-label b { font-family: var(--mono) !important; }

/* the main button: the orange gradient with a soft glow; the others: quiet */
.btn, .btn-play, .btn-forum, .ga-go, button.buy, a.buy, button.btn, .sf-play {
	background: var(--btn) !important; color: #1d0f04 !important; border: 0 !important;
	border-radius: 11px !important; box-shadow: var(--btn-glow) !important; font-weight: 700 !important;
}
.btn:hover, .btn-play:hover, .btn-forum:hover, .ga-go:hover { filter: brightness(1.06); transform: none !important; }
.btn-ghost, .sb, .ss-tabs a, .tpl-b, .qa-g button, .ms-nums span {
	background: var(--ash) !important; border: 1px solid var(--line-2) !important; border-radius: var(--r-s) !important; box-shadow: none !important;
}

/* chips (tabs, filters): mono, the chosen one orange */
.ss-tabs a, .nav-chip, .m-srv button, .tpl-b, .chip {
	font-family: var(--mono) !important; font-size: .72rem !important; letter-spacing: .08em; text-transform: uppercase; font-weight: 700 !important;
}
.ss-tabs a.on, .m-srv button.on, .chip.on {
	background: linear-gradient(180deg, #ffb24f, #ff8a2a) !important; color: #1d0f04 !important; border-color: transparent !important;
}

/* status pills */
.badge, .pill, .sv-soon, .pub-soon, .don-t, .ls-tier {
	font-family: var(--mono) !important; letter-spacing: .08em; border-radius: 999px !important;
}

/* fields */
input[type=text], input[type=search], input[type=number], input[type=password], input:not([type]), textarea, select {
	background: #0f0f12 !important; border: 1px solid var(--line-2) !important; border-radius: var(--r-s) !important; color: var(--bone) !important; box-shadow: none !important;
}
input:focus, textarea:focus, select:focus { border-color: #ff8a2a !important; outline: none; }

/* icon tiles: the round/coloured icon boxes of the blocks -> squares with an edge */
.feat svg, .lp-ic, .don-ic, .tile, .tier-img { border-radius: var(--r-s) !important; }
.feat svg { background: var(--ash) !important; border: 1px solid var(--line-2); stroke: var(--rust) !important; }
.lp-ic { background: var(--ash) !important; border: 1px solid var(--line-2); color: var(--bone) !important; }

/* the server table: a panel with quiet rows */
.srv-t th { background: none !important; color: var(--dust) !important; font-size: .68rem !important; }
.srv-t td { border-color: var(--seam) !important; }
.sv-bar { border: 1px solid var(--line-2); background: var(--ash) !important; }
.sv-b { border-radius: var(--r-s) !important; }

/* the header: one quiet line */
header.top { background: none !important; }
nav > ul a, .nav-link { font-family: var(--mono) !important; letter-spacing: .1em; }

/* the band sections: no stripes between them, just space */
section.band { border: 0 !important; background: none !important; }

/* footer */
footer { border-top: 1px solid var(--seam) !important; background: none !important; }

@media (max-width: 600px) {
	.srv, .gift-ann, .news-card, .zm-door, .card, .tier, .feat, .sec, .panel { border-radius: 12px !important; }
}

/* ===== v3: the full panel layout ===== */

/* the side menu (wide screens): the header's nav pinned to the left as the admin panel's */
@media (min-width: 1100px) {
	body { padding-left: 232px; }
	header .wrap > nav, header .wrap > nav.stuck {
		position: fixed !important; top: 0; left: 0; right: auto !important; bottom: 0; width: 232px; z-index: 60;
		display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; align-items: stretch !important; justify-content: flex-start !important; gap: 18px !important;
		padding: 22px 14px !important; margin: 0 !important; overflow-y: auto;
		background: #0f0f12 !important; border-right: 1px solid var(--seam) !important; border-bottom: 0 !important; box-shadow: none !important; backdrop-filter: none !important; animation: none !important;
	}
	#nav-spacer { display: none !important; }
	header .wrap > nav > ul { display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; gap: 4px !important; }
	header .wrap > nav > ul > li { position: static !important; display: block !important; width: 100%; }
	header .wrap > nav .logo span { white-space: nowrap; font-size: .95rem; }
	header .wrap > nav > ul ul li { display: block; }
	header .wrap > nav > ul > li > a { display: block; padding: 9px 12px; border-radius: var(--r-s); color: var(--bone) !important; font-size: .74rem !important; text-transform: uppercase; }
	header .wrap > nav > ul > li > a:hover, header .wrap > nav > ul > li.nv-on > a { background: var(--ash); }
	header .wrap > nav > ul > li.nv-on > a { box-shadow: inset 2px 0 0 var(--rust); }
	header .wrap > nav .nv-ch { display: none !important; }
	header .wrap > nav > ul ul { position: static !important; display: flex !important; flex-direction: column; gap: 0; opacity: 1 !important; visibility: visible !important; transform: none !important; pointer-events: auto !important; background: none !important; border: 0 !important; box-shadow: none !important; padding: 2px 0 6px 12px !important; margin: 0 !important; min-width: 0 !important; }
	header .wrap > nav > ul ul a { display: block; padding: 5px 12px !important; font-family: var(--body) !important; letter-spacing: 0 !important; font-size: .84rem !important; color: var(--dust) !important; border-left: 1px solid var(--seam); border-radius: 0 !important; background: none !important; text-transform: none; }
	header .wrap > nav > ul ul a:hover, header .wrap > nav > ul ul a[aria-current] { color: var(--bone) !important; border-left-color: var(--rust); }
	header .wrap > nav .lang { margin-top: auto; justify-content: flex-start; }
	header .wrap > nav .logo { padding: 0 6px 14px; border-bottom: 1px solid var(--seam); }
}

/* the headers of the pages: the home one a calm panel; the forum / shop one a slim title line, no empty box */
header.hero, header.top { min-height: 0 !important; padding-bottom: 0 !important; }
header.hero .hero-grid {
	margin: 22px 0 18px !important; padding: 22px 24px !important; min-height: 0 !important;
	background: var(--soot); border: 1px solid var(--seam); border-radius: var(--r); text-align: left !important;
}
header.top .head { margin: 8px 0 18px !important; padding: 0 0 16px !important; min-height: 0 !important; background: none !important; border: 0 !important; border-bottom: 1px solid var(--seam) !important; border-radius: 0 !important; }
header.top .head .kicker { margin: 0 0 4px !important; font-size: .64rem !important; }
header.top .head h1 { font-size: 1.5rem !important; margin: 0 !important; letter-spacing: .02em; }
header.top .head .intro { margin: 6px 0 0 !important; font-size: .88rem !important; }
header.hero h1 { font-size: clamp(1.6rem, 3vw, 2.4rem) !important; margin: 6px 0 8px !important; }
header .lead { max-width: 70ch; margin-left: 0 !important; font-size: .95rem !important; color: var(--dust) !important; }
header .hero-copy, header .hero-copy *, header.top .head * { text-align: left !important; margin-left: 0 !important; justify-content: flex-start !important; }
header .kicker::before, header .kicker::after { display: none !important; }
header.top > .gut, header.top .wrap { min-height: 0 !important; }

/* the servers: two cards side by side instead of a table */
.srv { padding: 0 !important; background: none !important; border: 0 !important; }
.srv-t, .srv-t tbody { display: block; width: 100%; }
.srv-t thead { display: none; }
.srv-t tbody { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.srv-t tr.srv-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n n" "b a"; gap: 14px 12px; align-items: center; padding: 16px 18px; background: var(--soot); border: 1px solid var(--seam); border-radius: var(--r); }
.srv-t tr.srv-row > td { display: block; padding: 0 !important; border: 0 !important; text-align: left !important; }
.srv-t tr.srv-row > td.sv-name { grid-area: n; font-size: 1.02rem; }
.srv-t tr.srv-row > td:nth-child(2) { grid-area: b; }
.srv-t tr.srv-row > td.sv-act { grid-area: a; }
.srv-t tr.srv-list { display: block; grid-column: 1 / -1; }
.srv-t tr.srv-list[hidden] { display: none; }
.srv-t tr.srv-list > td { display: block; padding: 12px !important; background: var(--soot); border: 1px solid var(--seam); border-radius: var(--r); }
.sv-b { background: var(--ash) !important; border: 1px solid var(--line-2) !important; }
.sv-b svg { fill: var(--bone) !important; }
.sv-play { background: var(--btn) !important; border: 0 !important; }
.sv-play svg { fill: #1d0f04 !important; }
.sv-bar { height: 26px; border-radius: 7px !important; overflow: hidden; }
.sv-bar b { background: linear-gradient(90deg, #e85d1c, #ff8a2a) !important; }

/* the forum sections: one list, an icon tile, the numbers in their own columns (theme-panel.js adds the head row) */
.sections { background: var(--soot); border: 1px solid var(--seam); border-radius: var(--r); overflow: hidden; gap: 0 !important; display: block !important; }
.sections .tp-th, .sections .sec { display: grid !important; grid-template-columns: 40px minmax(0, 1fr) 76px 76px 180px; align-items: center; column-gap: 16px; }
.sections .tp-th { padding: 11px 18px; font: 600 .62rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #6d6b66; border-bottom: 1px solid var(--seam); }
.sections .tp-th span:first-child { grid-column: 1 / 3; }
.sections .tp-th span:nth-child(2), .sections .tp-th span:nth-child(3) { text-align: center; }
.sections .sec { margin: 0 !important; padding: 14px 18px !important; background: none !important; border: 0 !important; border-bottom: 1px solid var(--seam) !important; border-radius: 0 !important; transition: background .15s; }
.sections .sec:last-child { border-bottom: 0 !important; }
.sections .sec:hover { background: #18181c !important; }
.sections .sec::before, .sections .sec::after { display: none !important; }
.sec-ic { width: 40px; height: 40px; display: grid; place-items: center; font-size: 1.1rem; background: var(--ash); border: 1px solid var(--line-2); border-radius: 10px; }
.sections .sec:hover .sec-ic { border-color: #4a3a2c; }
.sections .sec h2 { font: 600 .98rem/1.3 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; margin: 0 0 2px !important; }
.sections .sec p { margin: 0 !important; color: var(--dust); font-size: .83rem; }
.sections .sec .num { font-size: .78rem; color: var(--dust); line-height: 1.35; text-align: left !important; font-family: var(--body) !important; }
.sections .sec .num.sx { text-align: center !important; }
.sections .sec .num.sx b { display: block; font: 600 1.05rem/1.1 var(--body) !important; color: var(--bone); }
.sections .sec .num.sx small { font-size: .68rem; color: #6d6b66; text-transform: lowercase; }
.sections .sec .num:last-child b { display: block; color: var(--bone); font: 600 .85rem/1.3 var(--body) !important; }
@media (max-width: 760px) {
	.sections .tp-th { display: none !important; }
	.sections .tp-th ~ .sec { grid-template-columns: 36px minmax(0, 1fr) auto; row-gap: 6px; }
	.sections .sec .num.sx { display: none; }
	.sections .sec .num:last-child { grid-column: 3; text-align: right !important; }
	.sec-ic { width: 36px; height: 36px; }
}


/* ===== the side menu, variant C: the profile card, "Play", icons; the sub-items only under the open section ===== */
.tp-side { display: none; }
.tp-i { width: 16px; height: 16px; flex: none; vertical-align: -3px; margin-right: 6px; }
@media (max-width: 1099px) { header .wrap > nav > ul > li > a .tp-i { display: none; } }
@media (min-width: 1100px) {
	.tp-side { display: flex; flex-direction: column; gap: 10px; }
	.tp-me { display: flex; align-items: center; gap: 10px; padding: 10px; background: var(--ash); border: 1px solid var(--seam); border-radius: 12px; text-decoration: none; color: var(--bone); }
	.tp-me:hover { border-color: var(--line-2); }
	.tp-av { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #2a2730 center / cover no-repeat; border: 1px solid var(--line-2); }
	.tp-who { min-width: 0; display: flex; flex-direction: column; }
	.tp-who b { font: 600 .9rem/1.2 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.tp-who small { color: var(--dust); font-size: .74rem; }
	.tp-play { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border-radius: 11px; background: var(--btn); color: #1d0f04 !important; font: 700 .86rem/1 var(--body); text-decoration: none; box-shadow: var(--btn-glow); }
	.tp-play svg { width: 12px; height: 12px; }
	.tp-play:hover { filter: brightness(1.06); }
	header .wrap > nav .logo { border-bottom: 0 !important; padding-bottom: 0 !important; }
	header .wrap > nav > ul { padding-top: 10px !important; border-top: 1px solid var(--seam); }
	header .wrap > nav > ul > li > a { display: flex !important; align-items: center; gap: 11px; padding: 10px 12px !important; font: 500 .9rem/1 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; color: #c9c6bf !important; }
	header .wrap > nav > ul > li > a .tp-i { width: 18px; height: 18px; flex: none; color: #8a877f; }
	header .wrap > nav > ul > li.nv-on > a { background: #1d1a17 !important; color: var(--bone) !important; }
	header .wrap > nav > ul > li.nv-on > a .tp-i { color: var(--rust); }
	header .wrap > nav > ul > li:not(.nv-on) > ul { display: none !important; }
	header .wrap > nav > ul > li.nv-on > ul { padding: 4px 0 8px 22px !important; }
	.tp-n { margin-left: auto; font: 700 .7rem/1 var(--mono); font-style: normal; padding: 3px 7px; border-radius: 6px; background: #3a1f12; color: var(--rust); }
}

/* the main page's side block: the live online of the servers in place of the profile */
@media (min-width: 1100px) {
	.tp-on { display: flex; flex-direction: column; gap: 2px; padding: 10px; background: var(--ash); border: 1px solid var(--seam); border-radius: 12px; }
	.tp-on-k { font: 600 .62rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #6d6b66; margin: 2px 2px 8px; }
	.tp-on a { display: flex; align-items: center; gap: 9px; padding: 7px 6px; border-radius: 8px; color: var(--bone); text-decoration: none; font-size: .86rem; }
	.tp-on a:hover { background: #222227; }
	.tp-on i { width: 8px; height: 8px; border-radius: 50%; background: #55534e; flex: none; }
	.tp-on i.up { background: #3fcf8e; box-shadow: 0 0 0 3px rgba(63, 207, 142, .15); }
	.tp-on i.off { background: #e0503c; }
	.tp-on b { margin-left: auto; font: 600 .8rem/1 var(--mono); color: var(--dust); }
}

/* ===== the forum's top: one art banner (the path and the buttons, the greeting and the title, the numbers, the search) ===== */
header.top .head:has(.tp-hero) { border: 0 !important; padding: 0 !important; margin: 18px 0 20px !important; }
.tp-hero {
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; flex-direction: column; gap: 22px;
	padding: 18px 22px 20px; border: 1px solid var(--seam); border-radius: 18px;
	background: #0e0e12;
}
.tp-hero::before { /* the art: Pripyat at night, faded to the left */
	content: ""; position: absolute; inset: 0; z-index: -2;
	background: url("img/plates/pripyat.webp") right center / cover no-repeat;
	opacity: .55; filter: saturate(.7);
	-webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 70%); mask-image: linear-gradient(90deg, transparent 8%, #000 70%);
}
.tp-hero::after { /* a warm glow under the title, a soft dark floor under the search */
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(420px 180px at 12% 55%, rgba(255, 138, 42, .13), transparent 70%), linear-gradient(180deg, transparent 55%, rgba(8, 8, 10, .75));
}
.tp-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.tp-hero .backbar { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
.tp-hero .backbar .trail { margin: 0; font-size: .8rem; }
.tp-hero .backbar .trail a, .tp-hero .backbar .trail span { color: #a9a59c !important; }
.tp-hero .backbar .trail [aria-current] { color: var(--bone) !important; }
.tp-hero .userbar { position: static !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; display: flex; align-items: center; gap: 8px; }
.tp-hero .dock { background: rgba(20, 20, 24, .7) !important; border: 1px solid rgba(255, 255, 255, .08) !important; border-radius: 11px !important; backdrop-filter: blur(8px); }
.tp-hero .me-dd > summary { background: rgba(20, 20, 24, .7); border: 1px solid rgba(255, 255, 255, .08); border-radius: 999px; padding: 3px 12px 3px 3px; backdrop-filter: blur(8px); }
.tp-hero-mid { display: flex; flex-direction: column; gap: 6px; max-width: 640px; }
.tp-hi { margin: 0 !important; font-size: .9rem; color: #b9b5ac; }
.tp-hero h1 { margin: 0 !important; font-size: clamp(2rem, 3.4vw, 2.9rem) !important; line-height: 1 !important; letter-spacing: .01em; }
.tp-stats { display: flex; gap: 22px; margin-top: 10px; flex-wrap: wrap; }
.tp-stats span { display: flex; align-items: baseline; gap: 7px; color: #8f8b83; font-size: .82rem; }
.tp-stats span + span { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .1); }
.tp-stats b { font: 700 1.15rem/1 var(--body); color: var(--bone); }
.tp-hero form.sf-top { position: relative; margin: 0 !important; max-width: none !important; width: 100%; }
.tp-hero form.sf-top input[type=search] { height: 46px; padding-left: 44px !important; font-size: .95rem; background: rgba(12, 12, 15, .82) !important; border: 1px solid rgba(255, 255, 255, .1) !important; border-radius: 12px !important; backdrop-filter: blur(6px); }
.tp-hero form.sf-top input[type=search]:focus { border-color: var(--rust) !important; }
.tp-hero form.sf-top svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: #8a877f; pointer-events: none; }
@media (max-width: 700px) {
	.tp-hero { padding: 14px; gap: 16px; border-radius: 14px; }
	.tp-hero-top { flex-direction: column-reverse; align-items: stretch; }
	.tp-stats { gap: 14px; } .tp-stats span + span { padding-left: 14px; }
}
header.top .wrap:has(.tp-hero) { max-width: var(--tp-w, 1180px) !important; }
.tp-hero .userbar { margin-left: auto !important; width: auto !important; flex: none !important; justify-content: flex-end !important; }
header.top .head .tp-hero .tp-hero-top { justify-content: space-between !important; }

/* ===== the forum banner's other layouts (theme-panel.js, ?tpv=a|b|c) ===== */
header.top .head .tp-hero .tp-body { display: flex; align-items: center; justify-content: space-between !important; gap: 24px; }
/* A: no art, the numbers as tiles, the actions */
.tp-hero.tpv-a::before { display: none; }
.tp-hero.tpv-a { background: linear-gradient(135deg, #17130f, #111114 45%) !important; }
.tp-tiles3 { display: grid; grid-template-columns: repeat(2, 150px); gap: 10px; flex: none; }
.tp-tiles3 div { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); color: #8f8b83; font-size: .78rem; display: flex; flex-direction: column; gap: 4px; }
.tp-tiles3 b { font: 800 1.6rem/1 var(--display); color: var(--bone); }
.tp-tiles3 div.hot { background: rgba(255, 138, 42, .1); border-color: rgba(255, 138, 42, .35); }
.tp-tiles3 div.hot b { color: var(--rust); }
.tp-act { display: flex; gap: 10px; margin-top: 16px; }
.tp-act a { padding: 11px 18px; border-radius: 11px; font: 700 .86rem/1 var(--body); text-decoration: none; }
.tp-a1 { background: var(--btn); color: #1d0f04 !important; box-shadow: var(--btn-glow); }
.tp-a2 { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: var(--bone) !important; }
/* B: a slim title line, the section chips */
.tp-hero.tpv-b::before, .tp-hero.tpv-b::after { display: none; }
.tp-hero.tpv-b { background: none !important; border: 0 !important; padding: 0 !important; gap: 14px; overflow: visible; }
header.top .head .tp-hero.tpv-b .tp-hero-mid { flex-direction: row; align-items: center; gap: 18px; max-width: none; flex-wrap: wrap; }
.tp-hero.tpv-b .tp-hi { order: 3; margin-left: auto !important; }
.tp-hero.tpv-b h1 { font-size: 1.7rem !important; }
.tp-hero.tpv-b .tp-stats { margin: 0; }
.tp-chips { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--seam); }
.tp-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--ash); border: 1px solid var(--line-2); color: #c9c6bf !important; font-size: .84rem; text-decoration: none; }
.tp-chips a:hover { border-color: #4a4a52; color: var(--bone) !important; }
.tp-chips a.on { background: var(--btn); color: #1d0f04 !important; border-color: transparent; font-weight: 700; }
.tp-chips em { font: 700 .7rem/1 var(--mono); font-style: normal; padding: 3px 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: var(--dust); }
.tp-chips a.on em { background: rgba(0, 0, 0, .15); color: #1d0f04; }
/* C: the art banner with the servers */
.tp-srvs { display: flex; flex-direction: column; gap: 8px; width: 380px; flex: none; }
.tp-srvs a { display: grid; grid-template-columns: 10px 1fr auto auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 13px; background: rgba(14, 14, 18, .72); border: 1px solid rgba(255, 255, 255, .09); backdrop-filter: blur(8px); color: var(--bone) !important; text-decoration: none; font: 600 .9rem/1.2 var(--body); }
.tp-srvs a:hover { border-color: rgba(255, 138, 42, .5); }
.tp-srvs i { width: 8px; height: 8px; border-radius: 50%; background: #55534e; }
.tp-srvs a.up i { background: #3fcf8e; box-shadow: 0 0 0 3px rgba(63, 207, 142, .16); }
.tp-srvs span small { display: block; font: 500 .68rem/1.3 var(--mono); color: #8f8b83; letter-spacing: .06em; }
.tp-srvs b { font: 700 .85rem var(--mono); color: #c9c6bf; }
.tp-srvs u { text-decoration: none; padding: 7px 12px; border-radius: 9px; background: var(--btn); color: #1d0f04; font-size: .76rem; font-weight: 700; }
@media (max-width: 900px) { header.top .head .tp-hero .tp-body { flex-direction: column; align-items: stretch; } .tp-srvs, .tp-tiles3 { width: auto; } }

/* ===== the side menu floats: rounded, off the edge; fewer lines all over ===== */
@media (min-width: 1100px) {
	body { padding-left: 268px !important; }
	header .wrap > nav, header .wrap > nav.stuck {
		top: 14px !important; left: 14px !important; bottom: 14px !important; width: 236px !important;
		border: 1px solid #1f1f24 !important; border-radius: 20px !important;
		background: #111114 !important; box-shadow: 0 20px 50px rgba(0, 0, 0, .45) !important;
	}
	header .wrap > nav > ul { border-top: 0 !important; }
	header .wrap > nav > ul ul a { border-left: 0 !important; padding-left: 14px !important; border-radius: 8px !important; }
	header .wrap > nav > ul ul a:hover, header .wrap > nav > ul ul a[aria-current] { background: #1a1a1e !important; }
	header .wrap > nav .lang { border: 0 !important; }
}
/* the lines across the page: the header's floor, the banner edge */
header.top, header.hero, header.top > .gut, header.hero > .gut { border: 0 !important; box-shadow: none !important; }
header.top::after, header.hero::after { display: none !important; }
.tp-hero { border-color: transparent !important; }
.sections .sec { border-bottom-color: #1a1a1e !important; }
.sections .tp-th { border-bottom-color: #1a1a1e !important; }

/* the forum banner, lower: the four numbers in one row, less air */
.tp-hero.tpv-a { gap: 14px !important; padding: 16px 20px 16px !important; }
.tp-hero.tpv-a .tp-tiles3 { grid-template-columns: repeat(4, 118px); gap: 8px; }
.tp-hero.tpv-a .tp-tiles3 div { padding: 10px 12px; border-radius: 12px; font-size: .72rem; line-height: 1.25; }
.tp-hero.tpv-a .tp-tiles3 b { font-size: 1.3rem; }
.tp-hero.tpv-a .tp-act { margin-top: 10px; }
.tp-hero.tpv-a form.sf-top input[type=search] { height: 40px; }
@media (max-width: 1300px) { .tp-hero.tpv-a .tp-tiles3 { grid-template-columns: repeat(2, 118px); } }
.tp-srvs-mid { width: 340px; margin: 0 auto; }
@media (max-width: 1400px) { .tp-srvs-mid { display: none; } }
header.top .head .tp-hero .tp-srvs-mid { margin-left: auto !important; margin-right: auto !important; }

/* ===== the forum banner, layout D: all centred, the numbers in one line split by thin rules ===== */
.tp-hero.tpv-d::before { display: none; }
.tp-hero.tpv-d { background: radial-gradient(520px 200px at 50% 30%, rgba(255, 138, 42, .08), transparent 70%), #121215 !important; padding: 16px 22px 22px !important; gap: 6px !important; }
header.top .head .tp-hero.tpv-d .tp-hero-mid { align-items: center; max-width: none; text-align: center !important; gap: 4px; }
header.top .head .tp-hero.tpv-d .tp-hero-mid * { text-align: center !important; justify-content: center !important; }
.tp-hero.tpv-d .tp-hi { color: #8f8b83; }
.tp-hero.tpv-d h1 { font-size: clamp(1.7rem, 2.6vw, 2.3rem) !important; }
.tp-hero.tpv-d .tp-stats { gap: 0; margin: 12px 0 4px; }
.tp-hero.tpv-d .tp-stats span { padding: 0 22px; font-size: .86rem; }
.tp-hero.tpv-d .tp-stats span + span { border-left: 1px solid rgba(255, 255, 255, .1); padding-left: 22px; }
.tp-hero.tpv-d .tp-stats b { font-size: 1.3rem; }
.tp-hero.tpv-d .tp-on2 b { color: var(--rust); }
.tp-hero.tpv-d .tp-act { margin-top: 12px; }
header.top .head .tp-hero.tpv-d form.sf-top { max-width: 620px !important; margin: 14px auto 0 !important; }
header.top .head .tp-hero.tpv-d form.sf-top input[type=search] { text-align: left !important; }
@media (max-width: 700px) { .tp-hero.tpv-d .tp-stats span { padding: 0 10px !important; } .tp-hero.tpv-d .tp-stats span + span { padding-left: 10px !important; } }

/* ===== the forum's body in the banner's look: soft panels without edges, the warm glow, calm headings ===== */
.layout .ls-card, .layout .sections, .layout .lp-box, .layout aside.members {
	background: radial-gradient(420px 160px at 50% 0%, rgba(255, 138, 42, .05), transparent 70%), #121215 !important;
	border: 1px solid transparent !important; border-radius: 18px !important; box-shadow: none !important;
}
.layout .lp-col { background: #17171b !important; border: 0 !important; border-radius: 14px !important; overflow: hidden; }
.layout .ls-card h3, .layout .lp-box > h3, .layout aside.members h3 {
	font: 600 .98rem/1.3 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--bone) !important; margin-bottom: 12px !important;
}
.layout aside.members h3 { font-size: .86rem !important; color: #a9a59c !important; }
.sections .tp-th { font: 500 .74rem/1 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; color: #6d6b66 !important; }
.layout .sl-k { font-family: var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; font-weight: 600 !important; }
.layout nav.m-srv { background: #17171b !important; border: 0 !important; border-radius: 12px !important; }
.layout nav.m-srv button { font-family: var(--body) !important; letter-spacing: 0 !important; }
.layout .ls-card details > summary { font-family: var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; }
/* the dividers inside: barely there */
.layout .ls-card *, .layout .lp-box *, .layout aside.members * { border-color: rgba(255, 255, 255, .05) !important; }

/* ===== variant D: a dark title strip on top of every panel ===== */
.layout .ls-card, .layout .lp-box { overflow: hidden; background: #121215 !important; }
.layout .ls-card > h3 { margin: -14px -12px 12px !important; padding: 11px 14px !important; }
.layout .lp-box > h3 { margin: -16px -14px 14px !important; padding: 11px 16px !important; }
.layout .ls-card > h3, .layout .lp-box > h3, .sections .tp-th {
	background: transparent !important; border-bottom: 1px solid rgba(255, 255, 255, .04) !important;
	font: 600 .9rem/1.2 var(--body) !important; color: var(--bone) !important; display: flex; align-items: center; gap: 8px;
}
.sections .tp-th { display: grid !important; padding: 11px 18px !important; font-size: .78rem !important; color: #a9a59c !important; }
.sections .tp-th span:first-child { color: var(--bone); font-size: .9rem; font-weight: 600; }
.layout aside.members { background: #121215 !important; }
.layout aside.members h3 { background: transparent !important; border-radius: 10px; padding: 9px 12px !important; margin: 14px 0 8px !important; font: 600 .86rem/1.2 var(--body) !important; color: var(--bone) !important; }
.layout .tp-cnt { margin-left: auto; font: 600 .78rem/1 var(--body); color: #8f8b83; }
.layout .tp-cnt.on { color: #3fcf8e; }

/* the section icons: thin line icons in the orange, on a quiet tile */
.sec-ic { background: linear-gradient(180deg, #1c1a18, #161517) !important; border: 1px solid rgba(255, 138, 42, .14) !important; color: var(--rust); }
.sec-ic svg { width: 19px; height: 19px; }
.sections .sec:hover .sec-ic { border-color: rgba(255, 138, 42, .45) !important; background: #22190f !important; }

/* ===== the icons (style C): the emoji of the site's own labels -> line icons on a soft round orange tint ===== */
.tp-ico { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; margin: 0 .2em; vertical-align: middle; border-radius: 50%; background: rgba(255, 138, 42, .14); color: #ffb070; font-size: .9em; line-height: 1; font-style: normal; }
.tp-ico .ti { font-size: 1.05em; }
.tp-ico.tp-medal { font: 800 .72em/1 var(--body); color: #1d0f04; }
.tp-ico.tp-m1 { background: linear-gradient(180deg, #ffd56a, #e2a51c); }
.tp-ico.tp-m2 { background: linear-gradient(180deg, #e9ecf0, #a7adb6); }
.tp-ico.tp-m3 { background: linear-gradient(180deg, #f0b07c, #b8692e); }
/* the section icons in the same style C: round, the soft orange tint */
.sec-ic { border-radius: 50% !important; border: 0 !important; background: rgba(255, 138, 42, .14) !important; color: #ffb070 !important; }
.sections .sec:hover .sec-ic { background: rgba(255, 138, 42, .26) !important; }

/* ===== the main page in the forum's look: the centred banner, soft edgeless panels, calm headings ===== */
header.hero .hero-grid { max-width: none !important; width: 100%; margin: 22px 0 18px !important; padding: 26px 24px 28px !important; border: 0 !important; border-radius: 18px !important;
	background: radial-gradient(560px 220px at 50% 30%, rgba(255, 138, 42, .09), transparent 70%), #121215 !important; }
header.hero .hero-copy, header.hero .hero-copy * { text-align: center !important; margin-left: auto !important; margin-right: auto !important; justify-content: center !important; }
header.hero .hero-copy .kicker { color: #8f8b83 !important; font: 500 .86rem/1.3 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; }
header.hero .lead { max-width: 640px !important; font-size: .92rem !important; }
header.hero .hero-copy .tp-stats { display: flex; gap: 0; margin: 14px 0 6px; justify-content: center; }
header.hero .hero-copy .tp-stats span { display: flex; align-items: baseline; gap: 7px; padding: 0 22px; color: #8f8b83; font-size: .86rem; }
header.hero .hero-copy .tp-stats span + span { border-left: 1px solid rgba(255, 255, 255, .1); }
header.hero .hero-copy .tp-stats b { font: 700 1.3rem/1 var(--body); color: var(--bone); }
header.hero .hero-copy .tp-stats .on b { color: var(--rust); }
/* the panels below: no edges, the soft fill, rounder */
main .gift-ann, main .srv-t tr.srv-row, main .srv-t tr.srv-list > td, main .news-card, main .zm-door, main .card, main .tier, main .feat, main .key, main .contest, main .faq details, main .srv-sep {
	border: 1px solid transparent !important; border-radius: 18px !important; background: #121215 !important;
}
main .news-card { overflow: hidden; }
main .news-head .news-title, main section.band h2 { font-family: var(--display) !important; letter-spacing: .01em; }
main .kicker, main .srv-sep-k, main .zm-door-k, main .chap-label { font: 600 .82rem/1.3 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; }
/* the side "online now" block: the title strip as on the forum */
.tp-on { padding: 0 !important; overflow: hidden; background: #121215 !important; border: 0 !important; border-radius: 14px !important; }
.tp-on-k { margin: 0 0 4px !important; padding: 10px 12px; background: transparent; font: 600 .84rem/1.2 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--bone) !important; }
.tp-on a { margin: 0 6px; }
.tp-on a:last-child { margin-bottom: 6px; }

/* the main page without the repeats: no "to the forum" button in the banner, no closing "join the forum" block
   (the forum is in the menu; the servers' online is in the cards and the side menu) */
header.hero .hero-copy .connect, main section#join { display: none !important; }

/* ===== tidy-ups: the icons in the top buttons, the counters, the side menu centred ===== */
/* the emoji turned icons inside the small top buttons: no round tint there, just the icon centred */
.dock .tp-ico, .userbar .tp-ico, .ub .tp-ico, button .tp-ico, nav .tp-ico { background: none !important; width: auto !important; height: auto !important; margin: 0 !important; color: inherit !important; }
/* the members' title strips: the name left, the count pushed right */
.layout aside.members h3 { display: flex !important; align-items: center; gap: 8px; }
.layout .tp-cnt { margin-left: auto !important; padding-left: 8px; }
@media (min-width: 1100px) {
	/* the logo centred */
	header .wrap > nav .logo { justify-content: center !important; padding: 0 0 4px !important; }
	/* the items: one even column, the open one a soft fill (no stripe), the sub-items under the label */
	header .wrap > nav > ul > li > a { margin: 0 2px; }
	header .wrap > nav > ul > li.nv-on > a { box-shadow: none !important; background: rgba(255, 138, 42, .1) !important; }
	header .wrap > nav > ul > li.nv-on > ul { padding: 4px 0 8px 0 !important; }
	header .wrap > nav > ul ul a { padding: 6px 12px 6px 43px !important; margin: 0 2px; }
	/* the language switch: the full width, three even parts */
	header .wrap > nav .lang { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 100%; padding: 4px !important; background: #0c0c0e !important; border-radius: 12px !important; }
	header .wrap > nav .lang > * { display: grid !important; place-items: center; padding: 8px 0 !important; border-radius: 9px !important; text-align: center; margin: 0 !important; }
}

/* the forum's footer: only the bottom line (the servers / links block repeats the side menu and the banner) */
footer.site-foot .sf-grid { display: none !important; }
footer.site-foot .sf-bottom { border-top: 0 !important; margin-top: 0 !important; }

/* the forum's top bar moved into the side column (theme-panel.js): wide screens only, the narrow layout keeps it */
@media (min-width: 1100px) {
	.tp-ub-moved header.top .userbar { display: none !important; }
	.tp-side { position: relative; }
	.tp-adm > .adm-pill { display: flex; width: 100%; justify-content: center; border-radius: 12px; }
	.tp-side .adm-menu, .tp-side .me-menu { position: fixed; right: auto; z-index: 2000; } /* left / top set by theme-panel.js */
	.tp-side .me-menu::before { display: none; }
	.tp-medd > summary { display: none; }
	.tp-medd { position: static; }
}




/* the profile menu card under the profile card (theme-panel.js .tp-pop); no "Play now" in the column */
.tp-pop { display: none; }
@media (min-width: 1100px) {
	header .wrap > nav { scrollbar-width: none; } header .wrap > nav::-webkit-scrollbar { display: none; }
	.tp-side .tp-play { display: none !important; }
	.tp-me-dd { position: relative; }
	.tp-me-dd::after { content: ""; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .45; transition: transform .2s; }
	.tp-me-dd.open { border-color: var(--rust) !important; } .tp-me-dd.open::after { transform: rotate(-135deg); margin-top: -1px; }
	.tp-pop { display: grid; position: fixed; z-index: 80; width: 280px; gap: 1px; padding: 8px; border-radius: 16px; background: #151519; border: 1px solid #2e2e35; box-shadow: 0 22px 50px rgba(0, 0, 0, .6); }
	.tp-pop[hidden] { display: none; }
	.tp-pop > a { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px; color: var(--bone); text-decoration: none; font: 600 .88rem/1.2 var(--body); }
	.tp-pop > a:hover { background: var(--ash); }
	/* the icons keep the forum's own colours (.mm-ic.ic-*), only smaller */
	.tp-pop .mm-ic { width: 32px; height: 32px; flex: none; }
	.tp-pop .mm-ic svg { width: 16px; height: 16px; }
	.tp-pop .mm-t { display: grid; gap: 2px; min-width: 0; }
	.tp-pop .mm-t b { font-weight: 600; }
	.tp-pop .mm-t small { color: var(--dust); font: 500 .7rem/1.2 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.tp-pop .mm-go { display: none; }
	.tp-pop .mm-n { margin-left: auto; font: 700 .68rem/1 var(--mono); font-style: normal; padding: 3px 7px; border-radius: 6px; background: #3a1f12; color: var(--rust); }
	.tp-pop hr { border: 0; border-top: 1px solid var(--seam); margin: 6px 4px; }
	.tp-pop .mm-out { color: #ff7a72; }
}

/* the staff shield in the profile card and its card (theme-panel.js .tp-shield / .tp-staff) */
.tp-shield, .tp-staff { display: none; }
@media (min-width: 1100px) {
	.tp-has-shield { padding-right: 70px !important; }
	.tp-shield { display: grid; place-items: center; position: absolute; right: 30px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 9px; border: 1px solid rgba(255, 90, 99, .4); background: rgba(255, 90, 99, .12); color: #ff8f95; cursor: pointer; transition: background .15s, border-color .15s; }
	.tp-shield:hover, .tp-shield.open { background: rgba(255, 90, 99, .24); border-color: #ff6b72; color: #ffc2c5; }
	.tp-shield svg { width: 16px; height: 16px; }
	.tp-shield i { position: absolute; top: -7px; right: -7px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: linear-gradient(135deg, #ff5a63, #b3122a); color: #fff; font: 700 .62rem/17px var(--mono); font-style: normal; text-align: center; }
	.tp-staff { display: grid; position: fixed; z-index: 80; width: 270px; gap: 1px; padding: 8px; border-radius: 16px; border: 1px solid rgba(255, 90, 99, .35); background: linear-gradient(180deg, #1d1416, #151519 40%); box-shadow: 0 22px 50px rgba(0, 0, 0, .6); }
	.tp-staff[hidden] { display: none; }
	.tp-staff .adm-sec { margin: 10px 10px 4px; font: 600 .6rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #8a6d70; }
	.tp-staff .adm-sec:first-child { margin-top: 4px; }
	.tp-staff > a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; color: var(--bone); text-decoration: none; font: 600 .86rem/1.2 var(--body); }
	.tp-staff > a:hover, .tp-staff > a[aria-current] { background: rgba(255, 90, 99, .1); }
	.tp-staff > a svg { width: 28px; height: 28px; flex: none; padding: 6px; border-radius: 8px; background: rgba(255, 90, 99, .1); border: 1px solid rgba(255, 90, 99, .22); color: #ff8f95; }
	.tp-staff > a b { margin-left: auto; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: linear-gradient(135deg, #ff5a63, #b3122a); color: #fff; font: 700 .64rem/17px var(--mono); text-align: center; }
}

/* the logo mark in the column: never squeezed by the long name */
@media (min-width: 1100px) {
	header .wrap > nav .logo { gap: 8px !important; }
	header .wrap > nav .logo svg { flex: none !important; width: 26px !important; height: 26px !important; }
	header .wrap > nav .logo span { font-size: .84rem !important; }
}

/* the pages 12% smaller on wide screens (the text looked big beside the compact column); the column and the
   cards opening from it (positioned by theme-panel.js in screen pixels) keep their own size */
@media (min-width: 1100px) {
	html { zoom: .88; }
	header .wrap > nav, .tp-pop, .tp-staff { zoom: 1.1364; }
}

/* "New" and "Notifications" on top of the profile menu (theme-panel.js) */
.ic-tpnew { color: #6fd6a3; background: rgba(111, 214, 163, .12); border: 1px solid rgba(111, 214, 163, .28); }
.ic-tpnote { color: #ffb070; background: rgba(255, 138, 42, .12); border: 1px solid rgba(255, 138, 42, .28); }
.ic-tpnew svg, .ic-tpnote svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ===== the shop: the forum's banner, its three columns and its panels (theme-panel.js builds them) ===== */
.tp-hero .trail .sep { margin: 0 8px; color: #5d5a54; }
.tp-home { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; }
.tp-shoppage header.top { border-bottom: 0 !important; margin-bottom: 36px !important; }
.tp-shoppage .gut > .wrap { padding-bottom: 40px; }
#form[hidden] { display: none !important; }
form.layout.has-ls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: start; margin: 0 auto; padding: 0; }
.tp-shoppage .ls-in { display: grid; gap: 14px; min-width: 0; }
.tp-shoppage .tp-m { order: 1; } .tp-shoppage .tp-r { order: 2; } .tp-shoppage .tp-l { order: 3; }
@media (min-width: 1100px) {
	form.layout.has-ls { grid-template-columns: 310px minmax(0, 1fr); }
	.tp-shoppage .tp-m { grid-column: 2; grid-row: 1; } .tp-shoppage .tp-r { grid-column: 1; grid-row: 1 / span 2; } .tp-shoppage .tp-l { grid-column: 2; grid-row: 2; }
}
@media (min-width: 1700px) { /* the numbers of the forum's .layout.has-ls */
	.tp-shoppage .gut > .wrap { max-width: calc(100vw - 280px); }
	form.layout.has-ls { max-width: calc(100vw - 280px); grid-template-columns: clamp(320px, 17vw, 460px) minmax(0, 1100px) clamp(320px, 17vw, 460px); justify-content: center; }
	.tp-shoppage .tp-l { grid-column: 1; grid-row: 1; } .tp-shoppage .tp-m { grid-column: 2; grid-row: 1; } .tp-shoppage .tp-r { grid-column: 3; grid-row: 1; }
}
.tp-shoppage .ls-card { padding: 14px 12px; }
/* the rows: the sections' own, the chosen one marked */
.tp-shoppage .sections .sec { color: var(--bone); text-decoration: none; cursor: pointer; }
.tp-shoppage .sections .sec .num:last-child b { color: #8f8b83; font-weight: 600 !important; }
.tp-shoppage .sections .sec:hover .num:last-child b { color: var(--bone); }
.tp-shoppage .sections .sec.on { background: rgba(255, 138, 42, .07) !important; }
.tp-shoppage .sections .sec.on h2, .tp-shoppage .sections .sec.on .num:last-child b { color: var(--rust); }
.tp-shoppage .sections .sec.on .sec-ic { background: rgba(255, 138, 42, .3) !important; }
/* the switch as over the member list */
.tp-shoppage nav.m-srv { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; margin: 0; }
.tp-shoppage nav.m-srv button { padding: 8px 0; border: 0; background: none; color: var(--dust); font-weight: 700; font-size: .78rem; line-height: 1; cursor: pointer; }
.tp-shoppage nav.m-srv button.on { background: var(--rust); color: #140b04; }
/* the payment card */
.tp-shoppage .tp-r .buy-k { display: block; margin: 12px 2px 6px; font: 500 .8rem/1.2 var(--body); letter-spacing: 0; text-transform: none; color: #a9a59c; }
.tp-shoppage .tp-r select, .tp-shoppage .tp-r input[type=text] { width: 100%; padding: 10px 12px; font: 500 .9rem var(--body); color: var(--bone); }
.tp-shoppage .tp-r .hint { margin: 6px 2px 0; color: var(--dust); font-size: .76rem; line-height: 1.45; }
.tp-shoppage .paybtns { display: grid; gap: 8px; margin: 14px 0 0; }
.tp-shoppage .paybtns .btn { display: block; width: 100%; margin: 0; padding: 12px 18px; border: 0; border-radius: 11px; font: 700 .9rem/1.2 var(--body) !important; letter-spacing: 0; text-transform: none; text-align: center; transform: none; background: var(--btn) !important; color: #1d0f04 !important; box-shadow: var(--btn-glow) !important; cursor: pointer; }
.tp-shoppage .paybtns .btn-crypto { background: rgba(255, 255, 255, .05) !important; border: 1px solid rgba(255, 255, 255, .1); color: var(--bone) !important; box-shadow: none !important; }
.tp-shoppage .paybtns .btn-crypto.soon { color: #6d6b66 !important; cursor: default; }
.tp-shoppage .paybtns .btn small { display: block; margin-top: 3px; font: 500 .7rem/1 var(--body); color: #6d6b66; }
/* what it gives: the list like the feed's lines */
.tp-shoppage .buy-info { min-height: 0; padding: 0 !important; border: 0 !important; background: none !important; }
.tp-shoppage .bi-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 6px 8px; padding: 0 0 10px; }
.tp-shoppage .bi-top b { font: 600 .98rem/1.3 var(--body); }
.tp-shoppage .bi-top span { color: var(--dust); font-size: .78rem; font-weight: 500; }
.tp-shoppage .bi-list { grid-template-columns: minmax(0, 1fr) !important; gap: 2px; }
.tp-shoppage .bi-row { gap: 10px; padding: 6px; border-radius: 10px; background: none; color: var(--bone); font-size: .82rem; line-height: 1.35; transition: background .2s; }
.tp-shoppage .bi-row:hover { background: rgba(255, 255, 255, .035); }
.tp-shoppage .bi-row .y, .tp-shoppage .bi-row .n { width: 22px; height: 22px; font-size: .62rem; border-radius: 50%; }
.tp-shoppage .bi-row .y { background: rgba(255, 138, 42, .14); color: #ffb070; box-shadow: none; }
.tp-shoppage .bi-row .guns { margin-top: 4px; } .tp-shoppage .bi-row .guns img { height: 22px; }
.tp-shoppage .bi-note { margin: 10px 6px 2px; color: var(--dust); font-size: .76rem; line-height: 1.45; }
/* the guns and knives */
.tp-shoppage .tp-kn .kn-show { gap: 10px; margin: 0; padding: 0 2px 2px; }
.tp-shoppage .tp-kn .kn-card { padding: 12px 10px; border: 0 !important; border-radius: 14px; background: #17171b !important; }
.tp-shoppage .tp-kn .kn-img { height: 104px; }
.tp-shoppage .tp-kn .kn-img img { max-height: 100px; }
.tp-shoppage .tp-kn .kn-tag { font-family: var(--body); letter-spacing: 0; font-weight: 600; }
/* the comparison and the payment steps: the same soft panels */
.tp-shoppage .step { margin: 0 0 14px; border: 1px solid transparent !important; border-radius: 18px !important; background: #121215 !important; box-shadow: none !important; }
.tp-shoppage .step.cmp { margin: 0; padding: 11px 18px; }
.tp-shoppage .step.cmp[hidden] { display: none; }
.tp-shoppage .step.pay, .tp-shoppage .step.done { max-width: 560px; margin-inline: auto; }
.tp-shoppage .step h2 { font: 600 .9rem/1.2 var(--body) !important; letter-spacing: 0; text-transform: none; }
.tp-shoppage .step h2::before { display: none; }
.tp-shoppage .step.cmp > summary h2 { margin: 0; }
.tp-shoppage nav.m-srv button { border-radius: 10px !important; }
.tp-shoppage .paybtns .btn-crypto.soon { opacity: 1 !important; background: rgba(255, 255, 255, .03) !important; }

/* ===== the side column, the same panel as the forum's: the dark title strip on top, one left edge for all,
   the round orange icons of the sections' rows, the switch of the member list ===== */
@media (min-width: 1100px) {
	header .wrap > nav, header .wrap > nav.stuck {
		padding: 0 !important; gap: 12px !important; overflow-x: hidden;
		border: 1px solid transparent !important; border-radius: 18px !important; background: #121215 !important; box-shadow: none !important;
	}
	header .wrap > nav::before, header .wrap > nav::after { display: none !important; }
	header .wrap > nav .logo { flex: none; justify-content: flex-start !important; padding: 13px 18px !important; background: #19191d; border-bottom: 1px solid rgba(255, 255, 255, .04) !important; }
	/* the profile: a line like the feed's, its avatar over the icons */
	.tp-side { margin: 0 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
	.tp-me { gap: 10px; padding: 6px !important; background: none !important; border: 0 !important; border-radius: 10px; transition: background .2s; }
	.tp-me:hover, .tp-me-dd.open { background: rgba(255, 255, 255, .035) !important; }
	.tp-av { width: 34px; height: 34px; border: 0; }
	.tp-me.tp-has-shield { padding-right: 62px !important; }
	/* the items: the same left edge, the same text edge */
	header .wrap > nav > ul { margin: 0 12px; padding: 0 !important; gap: 2px !important; }
	header .wrap > nav > ul > li > a { margin: 0 !important; gap: 10px; padding: 6px !important; border-radius: 10px !important; font: 600 .9rem/1.2 var(--body) !important; color: var(--bone) !important; background: none !important; box-shadow: none !important; transition: background .2s; }
	header .wrap > nav > ul > li > a:hover { background: rgba(255, 255, 255, .035) !important; }
	header .wrap > nav > ul > li > a .tp-i { box-sizing: border-box; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(255, 138, 42, .14); color: #ffb070; }
	header .wrap > nav > ul > li.nv-on > a { background: rgba(255, 138, 42, .07) !important; color: var(--rust) !important; }
	header .wrap > nav > ul > li.nv-on > a .tp-i { background: rgba(255, 138, 42, .3); color: #ffb070; }
	/* the sub-items: plain lines under the item's name */
	header .wrap > nav > ul > li.nv-on > ul { padding: 4px 0 6px 0 !important; }
	header .wrap > nav > ul ul a { margin: 0 !important; padding: 6px 6px 6px 50px !important; border: 0 !important; border-radius: 0 !important; background: none !important; font: 500 .84rem/1.2 var(--body) !important; color: var(--dust) !important; }
	header .wrap > nav > ul ul a:hover, header .wrap > nav > ul ul a[aria-current] { background: none !important; color: var(--bone) !important; }
	/* the languages: the switch of the member list */
	header .wrap > nav .lang { flex: none; width: auto !important; margin: auto 12px 12px !important; padding: 3px !important; gap: 4px; background: #17171b !important; border: 0 !important; border-radius: 12px !important; }
	header .wrap > nav .lang > * { padding: 8px 0 !important; border: 0 !important; border-radius: 10px !important; background: none !important; color: var(--dust) !important; font: 700 .78rem/1 var(--body) !important; letter-spacing: 0 !important; box-shadow: none !important; }
	header .wrap > nav .lang > .on, header .wrap > nav .lang > [aria-current], header .wrap > nav .lang > [aria-pressed=true] { background: var(--rust) !important; color: #140b04 !important; }
}
/* every page's own header rules off: the items' padding and the separators (absolute, they drew a line down the column's edge) */
@media (min-width: 1100px) {
	header .wrap > nav ul, header .wrap > nav li { margin: 0; list-style: none; }
	header .wrap > nav > ul > li { padding: 0 !important; margin: 0 !important; gap: 0 !important; }
	header .wrap > nav > ul > li::before, header .wrap > nav > ul > li::after { display: none !important; }
	header .wrap > nav > ul { margin: 0 12px !important; }
	header .wrap > nav > ul ul li { padding: 0 !important; margin: 0 !important; }
}
.ic-tpme { color: #8fb8ff; background: rgba(143, 184, 255, .12); border: 1px solid rgba(143, 184, 255, .28); }
.ic-tpme svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1100px) {
	header .wrap > nav > ul > li > a { gap: 10px !important; }
	header .wrap > nav > ul > li > a .tp-i { margin: 0 !important; }
}
@media (min-width: 1100px) {
	header .wrap > nav > ul > li.tp-homeli { display: none !important; }
	.tp-me, .tp-me:focus, .tp-me:focus-visible, .tp-me-dd.open { outline: 0 !important; border: 0 !important; box-shadow: none !important; }
}
.tp-hero .trail [aria-current] { display: inline-block; max-width: 520px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; vertical-align: bottom; }
.tp-hero.tp-shop { padding-top: 24px !important; }
/* the banners of the main page and the shop: the forum banner's size */
.tp-probe { height: 0; overflow: hidden; visibility: hidden; }
.tp-pr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; margin: 0 auto; }
.tp-pr i { display: block; height: 1px; }
@media (min-width: 1100px) {
	.tp-pr { grid-template-columns: 310px minmax(0, 1fr) 0; }
	.tp-hero.tpv-d.tp-shop { min-height: 261px; justify-content: center; padding-top: 16px !important; }
	header.hero .hero-grid { display: flex !important; align-items: center; justify-content: center; min-height: 261px !important; height: auto !important; margin: 18px 0 !important; padding: 16px 22px 22px !important; box-sizing: border-box; }
	header.hero .hero-copy { padding: 0 !important; width: 100%; max-width: none !important; }
	header.hero .hero-copy h1 { margin: 4px auto 10px !important; font-size: clamp(1.7rem, 2.6vw, 2.3rem) !important; line-height: 1 !important; }
	header.hero .lead { margin-top: 0 !important; margin-bottom: 0 !important; }
}
@media (min-width: 1700px) {
	.tp-probe > .wrap { max-width: calc(100vw - 280px); }
	.tp-pr { max-width: calc(100vw - 280px); grid-template-columns: clamp(320px, 17vw, 460px) minmax(0, 1100px) clamp(320px, 17vw, 460px); justify-content: center; }
}
@media (min-width: 1100px) {
	header.hero > .gut > .wrap { min-height: 0 !important; }
	header.hero .hero-grid { flex: none !important; }
	header.hero .hero-copy { gap: 6px !important; }
	header.hero .hero-copy h1 { font-size: 1.75rem !important; }
	header.hero { margin-bottom: 0 !important; padding-bottom: 0 !important; }
	.tp-hero.tpv-d.tp-shop { justify-content: center !important; }
}
/* the balance: the profile menu's line, the profile's card, the history */
.ic-tpbal { color: #ffd36b; background: rgba(255, 211, 107, .12); border: 1px solid rgba(255, 211, 107, .28); }
.ic-tpbal svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bal-card { margin: 14px 0; padding: 14px 16px; border-radius: 14px; background: #17171b; }
.bal-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bal-head span { color: #a9a59c; font-size: .86rem; }
.bal-head b { font: 700 1.2rem/1 var(--body); color: var(--bone); }
.bal-head a { margin-left: auto; color: var(--rust); font: 600 .82rem var(--body); text-decoration: none; }
.bal-log { list-style: none; display: grid; gap: 2px; margin: 10px 0 0; padding: 0; }
.bal-log li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 6px; border-radius: 10px; font-size: .84rem; }
.bal-log li:hover { background: rgba(255, 255, 255, .035); }
.bal-log small { display: block; margin-top: 2px; color: #6d6b66; font-size: .72rem; }
.bal-log b { flex: none; font-weight: 700; } .bal-log b.p { color: #3fcf8e; } .bal-log b.m { color: #ff8f95; }
.tp-shoppage .tp-r .bal-top input[type=number] { width: 100%; padding: 9px 12px; font: 500 .9rem var(--body); color: var(--bone); }
.tp-shoppage .tp-r .bal-top button { min-height: 38px; }
.tp-bal { display: none; }
@media (min-width: 1100px) {
	.tp-bal { display: flex; align-items: center; justify-content: space-between; margin-top: -4px; padding: 8px 10px; border-radius: 10px; background: #17171b; font-size: .8rem; color: #a9a59c; }
	.tp-bal b { font: 700 .88rem/1 var(--body); color: #ffb070; }
}
/* one banner size on every page, whatever is inside (the main page's and the shop's have the same numbers above) */
@media (min-width: 1100px) {
	.tp-hero.tpv-d { min-height: 261px; box-sizing: border-box; justify-content: center !important; }
	.tp-hero.tpv-d:has(.backbar) { justify-content: flex-start !important; }
	.tp-hero.tpv-d:has(.backbar) .tp-hero-mid { margin-block: auto; }
}

/* ===== the forum's other pages (top, medals, events, rules, bans) in the panels of its index: the soft fill, the dark title strip,
   the body font for headings, the orange as the only accent, no gold frames or gradients ===== */
.tp-hero h1 .r { color: var(--rust); -webkit-text-fill-color: var(--rust); }
.layout .tp-page { max-width: none; gap: 14px; }
/* the Hall of Glory */
.layout .gl-hall { padding: 0 0 14px !important; overflow: hidden; border: 1px solid transparent !important; border-radius: 18px !important; background: #121215 !important; box-shadow: none !important; }
.layout .gl-hall::before, .layout .gl-hall::after { display: none !important; }
.layout .gl-hall > * { margin-left: 16px !important; margin-right: 16px !important; }
.layout .gl-hall > header { margin: 0 0 12px !important; padding: 11px 18px; background: transparent; border: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .04) !important; }
.layout .gl-hall > header h2 { margin: 0 !important; font: 600 .9rem/1.2 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--bone) !important; -webkit-text-fill-color: var(--bone) !important; background: none !important; text-shadow: none !important; }
.layout .gl-hall > header p { margin: 4px 0 0 !important; color: var(--dust) !important; font-size: .78rem !important; }
.layout .gl-prizes-h { font: 600 .82rem/1.2 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; color: #a9a59c !important; }
.layout .gl-prizes-h::after, .layout .gl-prizes-h::before { display: none !important; }
.layout .gl-prize, .layout .gl-win, .layout .gl-now li { border: 0 !important; border-radius: 14px !important; background: #17171b !important; box-shadow: none !important; }
.layout .gl-prize::before, .layout .gl-prize::after, .layout .gl-win::before, .layout .gl-win::after { display: none !important; }
.layout .gl-prize-place { font: 700 1.05rem/1 var(--body) !important; color: var(--bone) !important; -webkit-text-fill-color: var(--bone) !important; background: none !important; }
.layout .gl-prize-place small { font: 500 .68rem/1.2 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--dust) !important; }
.layout .gl-prize li { border: 0 !important; background: none !important; padding-left: 0 !important; font-size: .8rem !important; }
.layout .gl-win em { color: #ffb070 !important; font-style: normal; }
.layout .gl-prizes-n { color: var(--dust) !important; font-size: .76rem !important; }
.layout .gl-now h3 { font: 600 .86rem/1.2 var(--body) !important; }
.layout .gl-past summary { font: 500 .84rem/1.2 var(--body) !important; color: #a9a59c !important; }
/* the tabs: the member list's switch */
.layout .tp-tabs { display: inline-flex; flex-wrap: wrap; justify-self: start; align-self: flex-start; gap: 4px; padding: 3px; border-radius: 12px; background: #17171b; }
.layout .tp-tabs a { padding: 8px 14px !important; border: 0 !important; border-radius: 10px !important; background: none !important; box-shadow: none !important; font: 700 .8rem/1 var(--body) !important; color: var(--dust) !important; }
.layout .tp-tabs a:hover { color: var(--bone) !important; }
.layout .tp-tabs a.on { background: var(--rust) !important; color: #140b04 !important; }
/* the podium and the table */
.layout .tp-pod { border: 0 !important; border-radius: 18px !important; background: #121215 !important; box-shadow: none !important; }
.layout .tp-pod::before, .layout .tp-pod::after { display: none !important; }
.layout .tp-pod.p1 { background: radial-gradient(300px 140px at 50% 0%, rgba(255, 138, 42, .1), transparent 70%), #121215 !important; }
.layout .tp-pod .tp-av { border-color: transparent !important; box-shadow: none !important; }
.layout .tp-pod em { font: 700 1.4rem/1 var(--body) !important; color: var(--rust) !important; text-shadow: none !important; }
.layout .tp-pod small { font: 500 .72rem/1.2 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; }
.layout .tp-wrap { border: 0 !important; border-radius: 18px !important; overflow: hidden; background: #121215 !important; box-shadow: none !important; }
.layout .tp-table th { background: transparent !important; font: 600 .78rem/1.2 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; color: #a9a59c !important; }
.layout .tp-table th.on, .layout .tp-table td.on { color: var(--rust) !important; }
.layout .tp-table tr, .layout .tp-table td { background: none !important; border-color: rgba(255, 255, 255, .04) !important; box-shadow: none !important; }
.layout .tp-table tbody tr:hover td { background: #18181c !important; }
.layout .bp-upd { color: #6d6b66 !important; font-size: .74rem !important; }
/* headings between the panels; the medals, the lists, the rules */
.layout .prof-h { font: 600 .9rem/1.2 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--bone) !important; border: 0 !important; }
.layout .prof-h::before, .layout .prof-h::after { display: none !important; }
.layout .medal-card { border: 0 !important; border-radius: 14px !important; background: #121215 !important; box-shadow: none !important; transform: none !important; }
.layout .medal-card:hover { background: #18181c !important; }
.layout .medal-card em { font: 600 .74rem/1.3 var(--body) !important; color: #ffb070 !important; }
.layout .list { gap: 0 !important; border: 0 !important; border-radius: 18px !important; overflow: hidden; background: #121215 !important; }
.layout .list > .row, .layout .list > .empty { margin: 0 !important; border: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .04) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; transform: none !important; }
.layout .list > .row:last-child { border-bottom: 0 !important; }
.layout .list > .row:hover { background: #18181c !important; }
.layout .list > .row::before, .layout .list > .row::after { display: none !important; }
.layout .rules-toc a { border: 0 !important; background: #121215 !important; font-size: .82rem; }
.layout .rules-toc a:hover { background: #18181c !important; }
.layout .rules-toc b, .layout .rules-sec h2 span { border: 0 !important; border-radius: 50% !important; background: rgba(255, 138, 42, .14) !important; color: #ffb070 !important; box-shadow: none !important; }
.layout .rules-sec { padding: 0 0 8px !important; overflow: hidden; border: 0 !important; border-radius: 18px !important; background: #121215 !important; box-shadow: none !important; }
.layout .rules-sec h2 { margin: 0 0 8px !important; padding: 9px 18px; background: transparent; font: 600 .9rem/1.2 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; }
.layout .rules-sec h2 span { width: 26px; height: 26px; font: 600 .78rem/1 var(--body) !important; }
.layout .rules-sec ol { padding: 0 8px; }
.layout .rules-sec li { font-size: .86rem; }
.layout .ev-banner { border: 0 !important; border-radius: 18px !important; background: #121215 !important; box-shadow: none !important; transform: none !important; }
.layout .ev-date { border: 0 !important; background: #17171b !important; }
.layout .ev-date b { font: 700 1.5rem/1 var(--body) !important; }

/* the profile menu's icons on every page: the base of .mm-ic lives only in forum.php, so the shop drew them in the box's corner */
.tp-pop .mm-ic { display: grid; place-items: center; border-radius: 10px; }
.tp-pop .mm-ic svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tp-bal, .tp-bal > * { line-height: 1 !important; margin-block: 0; }

/* the whole site out of the grey: a night violet with an orange glow, as in the update posts; the panels let it through */
html, body { background: #09070f !important; }
body {
	background:
		radial-gradient(1100px 620px at 88% -6%, rgba(255, 122, 30, .30), transparent 68%),
		radial-gradient(1000px 760px at 8% 26%, rgba(112, 62, 214, .26), transparent 70%),
		radial-gradient(1200px 700px at 62% 104%, rgba(232, 84, 24, .15), transparent 70%),
		#09070f !important;
	background-attachment: fixed !important;
}
body::before, body::after { display: none !important; }
.layout .ls-card, .layout .sections, .layout .list { background: #121215 !important; backdrop-filter: blur(12px); }
header .wrap > nav { background: rgba(16, 13, 22, .82) !important; backdrop-filter: blur(12px); }

/* a section's topics (theme-panel.js): one panel, the title strip, named columns, the state as a round icon */
.layout .tr-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 18px; background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.tr-title { display: grid; gap: 3px; min-width: 0; }
.tr-title b { font: 600 .95rem/1.2 var(--body); color: var(--bone); }
.tr-title small { font: 400 .76rem/1.3 var(--body); color: var(--dust); }
.tr-head .btn { flex: none; margin: 0; }
.layout .tr-list > .row, .tr-cols { display: grid; grid-template-columns: 38px minmax(0, 1fr) 76px 76px 176px; gap: 12px; align-items: center; }
.tr-cols { padding: 9px 18px; border-bottom: 1px solid rgba(255, 255, 255, .04); font: 600 .72rem/1 var(--body); color: #77746d; }
.tr-cols span:first-child { grid-column: 1 / 3; }
.tr-cols span:nth-child(2), .tr-cols span:nth-child(3) { text-align: center; }
.layout .tr-list > .row { padding: 11px 18px; }
.tr-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .05); color: #a9a59c; }
.tr-ic svg { width: 17px; height: 17px; }
.layout .tr-list > .row.tr-pin { background: rgba(255, 138, 42, .05) !important; }
.layout .tr-list > .row.tr-pin:hover { background: rgba(255, 138, 42, .09) !important; }
.tr-pin .tr-ic { background: rgba(255, 138, 42, .14); color: #ffb070; }
.tr-closed .tr-ic { color: #6d6b66; }
.tr-closed a.t { color: #c4c1b9; }
.tr-list a.t { font: 600 .92rem/1.35 var(--body); }
.tr-list .sub { margin-top: 3px; font-size: .76rem; }
.tr-list .tag { margin-right: 6px; }
.tr-list .num.stats { display: contents; }
.tr-list .num.stats > span { display: block; text-align: center; color: var(--bone); }
.tr-list .num.stats svg { display: none; }
.tr-list .num.stats b { font: 600 .9rem/1 var(--body) !important; }
.tr-list .tr-last { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 10px; align-items: center; text-align: left; font: 400 .72rem/1.3 var(--body); color: var(--dust); }
.tr-av { grid-row: 1 / 3; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #1f1c25; color: #ffb070; font: 700 .8rem/1 var(--body); font-style: normal; }
.tr-list .tr-last b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 600 .82rem/1.3 var(--body) !important; color: var(--bone); }
@media (max-width: 760px) {
	.tr-cols, .tr-ic, .tr-av { display: none; }
	.layout .tr-list > .row { grid-template-columns: minmax(0, 1fr) auto auto; }
	.tr-list .tr-last { grid-column: 1 / -1; display: block; }
}

/* a topic's page: the post, the moderator's bar, the numbers and the reply form as the forum's panels */
.layout .modbar { gap: 6px; padding: 10px 12px; border: 0 !important; border-radius: 18px !important; background: #121215 !important; box-shadow: none !important; backdrop-filter: blur(12px); }
.layout .modbar button, .layout .modbar .sb, .layout .modbar a { border: 0 !important; border-radius: 10px !important; background: rgba(255, 255, 255, .05) !important; box-shadow: none !important; font: 600 .78rem/1.2 var(--body) !important; color: var(--bone) !important; }
.layout .modbar button:hover, .layout .modbar .sb:hover, .layout .modbar a:hover { background: rgba(255, 255, 255, .1) !important; }
.layout .modbar input, .layout .modbar select { border: 0 !important; border-radius: 10px !important; background: rgba(255, 255, 255, .05) !important; font: 500 .8rem/1.2 var(--body) !important; color: var(--bone); }
.layout .topic-stats { gap: 18px; margin: 0 0 14px; padding: 2px 6px; }
.layout .topic-stats span { padding: 0; border: 0 !important; border-radius: 0; background: none !important; box-shadow: none !important; font: 500 .8rem/1 var(--body); color: var(--dust); }
.layout .topic-stats b { color: var(--bone); font-weight: 600; }
.layout .post { border: 0 !important; border-radius: 18px !important; overflow: hidden; background: #121215 !important; box-shadow: none !important; backdrop-filter: blur(12px); }
.layout .post::before, .layout .post::after { display: none !important; }
.layout .post aside { border: 0 !important; border-radius: 0 !important; background: rgba(255, 255, 255, .025) !important; }
.layout .post .meta { margin: -18px -22px 16px; padding: 10px 22px; border: 0 !important; background: transparent; font: 500 .76rem/1.4 var(--body); }
.layout .post .meta .sb { border: 0 !important; border-radius: 9px !important; background: rgba(255, 255, 255, .05) !important; box-shadow: none !important; font: 600 .72rem/1.2 var(--body) !important; }
.layout .post .badge { border: 0 !important; box-shadow: none !important; border-radius: 9px !important; background: rgba(255, 138, 42, .14) !important; color: #ffb070 !important; font: 600 .72rem/1 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; }
.layout .post .pbody { font: 400 .92rem/1.65 var(--body); }
.layout .att-img { overflow: hidden; border: 0 !important; border-radius: 12px; background: #17171b; }
.layout .att-img img { object-fit: contain; }
.layout .rc { border: 0 !important; border-radius: 9px !important; background: rgba(255, 255, 255, .05) !important; box-shadow: none !important; }
.layout .rc.mine { background: rgba(255, 138, 42, .16) !important; }
.layout .content > .box, .layout .content > form.box { border: 0 !important; border-radius: 18px !important; background: #121215 !important; box-shadow: none !important; backdrop-filter: blur(12px); }
.layout .content > .box h2 { font: 600 .9rem/1.2 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; }
.layout .note { border: 0 !important; border-radius: 14px !important; background: #121215 !important; color: var(--dust) !important; font-size: .82rem; }

/* the site's own drop-down lists (theme-panel.js) */
.tp-sel { position: relative; display: inline-block; min-width: 120px; max-width: 100%; vertical-align: middle; }
.tp-sel.wide { display: block; width: 100%; }
.tp-sel[hidden] { display: none; }
.tp-sel-src { position: absolute !important; left: 0; bottom: 0; width: 1px !important; height: 1px !important; min-width: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0; pointer-events: none; }
.tp-sel > button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 38px; padding: 8px 12px; border: 0 !important; border-radius: 10px !important; background: rgba(255, 255, 255, .05) !important; box-shadow: none !important; color: var(--bone) !important; font: 500 .84rem/1.2 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; text-align: left; cursor: pointer; transform: none !important; }
.tp-sel > button:hover { background: rgba(255, 255, 255, .09) !important; }
.tp-sel > button:disabled { opacity: .5; cursor: default; }
.tp-sel > button span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tp-sel > button svg { flex: none; width: 15px; height: 15px; color: var(--dust); transition: transform .12s; }
.tp-sel > button.on svg { transform: rotate(180deg); }
.tp-sel-menu { position: fixed; z-index: 90; display: grid; gap: 1px; max-height: 300px; max-width: 420px; overflow-y: auto; padding: 6px; border: 1px solid #2e2e35; border-radius: 12px; background: #151519; box-shadow: 0 22px 50px rgba(0, 0, 0, .6); scrollbar-width: thin; }
.tp-sel-menu button { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: var(--bone); font: 500 .8rem/1.3 var(--body); text-align: left; white-space: nowrap; cursor: pointer; }
.tp-sel-menu button:hover, .tp-sel-menu button:focus { outline: 0; background: rgba(255, 255, 255, .06); }
.tp-sel-menu button.on { background: rgba(255, 138, 42, .12); color: #ffb070; }
.tp-sel-menu button:disabled { opacity: .4; cursor: default; }
@media (min-width: 1100px) { .tp-sel-menu { zoom: 1.1364; } }

/* a new topic in a window (theme-panel.js) */
html.tp-modal-on { overflow: hidden; }
.tp-modal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 24px 16px; overflow-y: auto; background: rgba(6, 5, 9, .72); backdrop-filter: blur(6px); }
.tp-modal[hidden] { display: none; }
.tp-modal .tp-modal-win { display: grid; gap: 14px; width: min(720px, 100%); margin: 0 !important; padding: 0 22px 22px !important; border: 1px solid rgba(255, 255, 255, .06) !important; border-radius: 18px !important; background: #121215 !important; box-shadow: 0 30px 80px rgba(0, 0, 0, .7) !important; color: var(--bone); font-family: var(--body); }
.tp-modal-head { display: flex; align-items: center; justify-content: space-between; margin: 0 -22px; padding: 12px 14px 12px 22px; border-radius: 18px 18px 0 0; background: transparent; }
.tp-modal-head h2 { margin: 0 !important; font: 600 1rem/1.2 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--bone) !important; }
.tp-modal-x { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--dust); cursor: pointer; }
.tp-modal-x:hover { background: rgba(255, 255, 255, .07); color: var(--bone); }
.tp-modal-x svg { width: 17px; height: 17px; }
.tp-modal-win label, .tp-modal-win summary { display: block; margin: 0; font: 600 .8rem/1.3 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; color: #a9a59c !important; }
.tp-modal-win label > input, .tp-modal-win label > textarea, .tp-modal-win label > .tp-sel { margin-top: 6px; }
.tp-modal-win input[type=text], .tp-modal-win textarea { display: block; width: 100%; box-sizing: border-box; padding: 10px 12px; border: 0 !important; border-radius: 10px !important; background: #1b1b20 !important; box-shadow: none !important; color: var(--bone); font: 400 .9rem/1.5 var(--body); }
.tp-modal-win input[type=text]:focus, .tp-modal-win textarea:focus { outline: 1px solid rgba(255, 138, 42, .5); }
.tp-modal-win textarea { min-height: 160px; }
.tp-modal-win .pollbox, .tp-modal-win .dz, .tp-modal-win [class*="drop"] { border: 0 !important; border-radius: 12px !important; background: #17171b !important; }
.tp-modal-win .hint, .tp-modal-win p { margin: 0; font-size: .76rem; line-height: 1.5; color: var(--dust); }
.tp-modal-win > button[type=submit], .tp-modal-win > .btn { justify-self: end; }

/* the staff menu and the profile menu as the forum's panels: no red frames, round icons, the orange accent, the titles as strips */
@media (min-width: 1100px) {
	.tp-staff, .tp-pop { gap: 2px; padding: 0 0 8px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .06); border-radius: 18px; background: #121215; }
	.tp-pop { padding-top: 8px; }
	.tp-staff .adm-sec { margin: 8px 0 4px; padding: 9px 16px; background: transparent; font: 600 .76rem/1 var(--body); letter-spacing: 0; text-transform: none; color: #a9a59c; }
	.tp-staff .adm-sec:first-child { margin-top: 0; }
	.tp-staff > a, .tp-pop > a { margin: 0 8px; padding: 6px 8px; border-radius: 12px; font: 500 .86rem/1.2 var(--body); }
	.tp-staff > a:hover, .tp-pop > a:hover { background: rgba(255, 255, 255, .05); }
	.tp-staff > a[aria-current] { background: rgba(255, 138, 42, .07); color: var(--rust); }
	.tp-staff > a svg { width: 30px; height: 30px; padding: 7px; border: 0; border-radius: 50%; background: rgba(255, 138, 42, .14); color: #ffb070; }
	.tp-staff > a b, .tp-pop .mm-n { border-radius: 9px; background: var(--rust); color: #140b04; font: 700 .66rem/17px var(--body); }
	.tp-pop .mm-ic { width: 30px; height: 30px; border: 0 !important; border-radius: 50%; background: rgba(255, 138, 42, .14) !important; color: #ffb070 !important; }
	.tp-pop .mm-t b { font-weight: 500; }
	.tp-pop hr { margin: 6px 16px; border-top-color: rgba(255, 255, 255, .05); }
}

/* pictures in a post: each one the post's whole width at its own height, no dark bands around it */
.layout .att-media { grid-template-columns: minmax(0, 1fr) !important; gap: 10px; }
.layout .att-img { background: none; }
.layout .att-img img { width: 100%; height: auto !important; max-height: none !important; object-fit: contain; }

/* the moderator's bar laid out anew: a title strip, the actions in a row, then renaming and moving side by side */
.layout .tools:has(> .modbar) { display: block; margin: 0 0 14px; }
.layout .modbar { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 14px; overflow: hidden; }
.layout .modbar .modlabel { display: flex; align-items: center; gap: 8px; flex: 0 0 calc(100% + 28px); margin: 0 -14px 4px; padding: 10px 16px; background: transparent; font: 600 .82rem/1.2 var(--body) !important; letter-spacing: 0 !important; color: var(--bone) !important; }
.layout .modbar .modlabel svg { width: 15px; height: 15px; color: #ffb070; }
.layout .modbar .modsep { display: block; flex: 0 0 100%; width: auto; height: 0; margin: 0; border: 0; background: none; }
.layout .modbar .rename-f + .modsep { display: none; }
.layout .modbar .rename-f, .layout .modbar .move-f { display: flex; flex: 1 1 280px; gap: 8px; min-width: 0; }
.layout .modbar .rename-f input[type=text] { flex: 1 1 auto; min-width: 0; min-height: 38px; padding: 8px 12px; box-sizing: border-box; }
.layout .modbar .sb-split { display: flex; flex: 1 1 auto; gap: 8px; min-width: 0; }
.layout .modbar .sb-split .tp-sel { flex: 1 1 auto; min-width: 0; }
.layout .modbar button, .layout .modbar a { min-height: 38px; padding: 8px 14px !important; white-space: nowrap; }
.layout .modbar .tp-sel > button { padding: 8px 12px !important; }
.layout .modbar .sb-split, .layout .modbar .sb-split > * { border-radius: 10px; box-shadow: none; }
/* a long title in the banner: smaller, its lines apart */
.tp-hero.tpv-d h1.tp-h-long { max-width: 1000px; margin-inline: auto !important; font-size: 1.35rem !important; line-height: 1.35 !important; }

/* the moderator's bar in one row (theme-panel.js) */
.layout .modbar.tp-mod { align-items: center; gap: 6px; padding: 10px 12px; }
.layout .modbar.tp-mod .modlabel { flex: none; margin: 0 6px 0 2px; padding: 0; background: none; }
.layout .modbar.tp-mod .sb svg { color: #ffb070; }
.layout .modbar.tp-mod .tp-mod-del { display: flex; margin-left: auto; }
.layout .modbar.tp-mod .tp-mod-del .sb, .layout .modbar.tp-mod .tp-mod-del .sb svg { color: #ff7a72 !important; }
.layout .modbar.tp-mod .tp-mod-open.on { background: rgba(255, 138, 42, .14) !important; color: #ffb070 !important; }
.layout .modbar.tp-mod .tp-mod-f { flex: 0 0 100%; margin-top: 4px; }
.layout .modbar.tp-mod .tp-mod-f[hidden] { display: none; }
.layout .modbar.tp-mod .modlabel { border: 0 !important; text-transform: none !important; }
.layout .modbar.tp-mod .modlabel::before, .layout .modbar.tp-mod .modlabel::after { display: none !important; }
.layout .modbar.tp-mod .modlabel { margin: 0 18px 0 4px !important; gap: 9px; white-space: nowrap; }

/* the general chat as a messenger in the forum's panel: bubbles, one's own on the right, no bars across the column */
.layout .chat-card { overflow: hidden; border: 0; border-radius: 18px; background: #121215; box-shadow: none; backdrop-filter: blur(12px); }
.layout .chat-head { padding: 12px 18px; background: transparent; border: 0; }
.layout .chat-head b { font: 600 .92rem/1.2 var(--body); }
.layout .chat-head small { font: 500 .76rem/1.2 var(--body); color: var(--dust); }
.layout .chat-box { padding: 14px 18px; gap: 6px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .14) transparent; }
.chat-page .chat-day { align-self: center; margin: 12px 0 8px; padding: 5px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); font: 500 .72rem/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--dust); }
.chat-page .cm, .chat-page .cm.mine, .chat-page .cm.staff, .chat-page .cm.at-me { align-items: flex-end; gap: 10px; margin: 0; padding: 0; background: none !important; box-shadow: none; }
.chat-page .cm.cont { margin-top: -3px; padding: 0; }
.chat-page .cm.mine { flex-direction: row-reverse; }
.chat-page .cm.cont .cm-av { height: 1px; }
.chat-page .cm-b, .chat-page .cm.mine .cm-b, .chat-page .cm.at-me .cm-b { flex: 0 1 auto; width: fit-content; min-width: 90px; max-width: 74%; padding: 8px 13px 9px; border-radius: 14px 14px 14px 4px; background: #1d1b23; box-shadow: none; }
.chat-page .cm.mine .cm-b { border-radius: 14px 14px 4px 14px; background: rgba(255, 138, 42, .15); }
.chat-page .cm.at-me .cm-b { background: rgba(255, 138, 42, .1); box-shadow: inset 0 0 0 1px rgba(255, 138, 42, .35); }
.chat-page .cm-h { margin-bottom: 2px; }
.chat-page .cm-t { font: 400 .68rem/1 var(--body); color: #77746d; }
.chat-page .cm-x { font: 400 .9rem/1.45 var(--body); color: var(--bone); }
.chat-page .cm-at { color: #ffb070; font-weight: 600; }
.chat-page .cm-rp { border-left-color: rgba(255, 138, 42, .5); border-radius: 0 8px 8px 0; background: rgba(255, 255, 255, .04); }
/* who bought a status: a quiet line in the middle */
.chat-page .cm.cm-don { align-self: center; align-items: center; width: min(620px, 100%); margin: 8px 0; padding: 10px 12px; gap: 12px; overflow: visible; border: 0 !important; border-radius: 14px; background: #1d1b23 !important; }
.chat-page .don-bar { display: none; }
.chat-page .don-ic { width: 38px; height: 38px; border: 0; border-radius: 50%; }
.chat-page .don-b { font-size: .86rem; }
.chat-page .don-b small { font-size: .76rem; }
.chat-page .don-buy { padding: 8px 12px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--bone); font: 600 .76rem/1 var(--body); box-shadow: none; }
.chat-page .don-buy:hover { background: rgba(255, 255, 255, .11); }
/* the typing line */
.chat-page .chat-form { align-items: center; gap: 8px; padding: 12px 14px; border: 0; background: #19191d; }
.chat-page .chat-tool { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .05); box-shadow: none; color: #ffb070; }
.chat-page .chat-tool:hover { background: rgba(255, 255, 255, .1); }
.chat-page .chat-form textarea { min-height: 42px; padding: 10px 54px 10px 14px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .05); font: 400 .9rem/1.45 var(--body); }
.chat-page .chat-send { right: 20px; width: 34px; height: 34px; border-radius: 50%; box-shadow: none; }
.chat-page .chat-rules { font-size: .74rem; color: #77746d; }

/* the site's own hints (theme-panel.js) */
.tp-tip { position: fixed; z-index: 95; max-width: 280px; padding: 7px 11px; border-radius: 10px; background: #1f1c25; box-shadow: 0 10px 28px rgba(0, 0, 0, .55); color: var(--bone); font: 500 .76rem/1.35 var(--body); text-align: center; pointer-events: none; transform: translateX(-50%); animation: tp-tip .12s ease-out; }
.tp-tip[hidden] { display: none; }
.tp-tip::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 9px; height: 9px; margin-left: -4.5px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.tp-tip.below::after { top: -4px; bottom: auto; }
@keyframes tp-tip { from { opacity: 0; margin-top: 3px; } to { opacity: 1; margin-top: 0; } }
@media (min-width: 1100px) { .tp-tip { zoom: 1.1364; } }

/* the site's windows instead of the browser's (theme-panel.js) */
.tp-dlg-wrap { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(6, 5, 9, .68); backdrop-filter: blur(5px); }
.tp-dlg { width: min(460px, 100%); overflow: hidden; border: 1px solid rgba(255, 255, 255, .06); border-radius: 18px; background: #121215; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); color: var(--bone); font-family: var(--body); }
.tp-dlg-h { display: flex; align-items: center; gap: 11px; padding: 12px 18px; background: transparent; }
.tp-dlg-h b { font: 600 1rem/1.2 var(--body); }
.tp-dlg-i { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 138, 42, .14); color: #ffb070; }
.tp-dlg-i.del { background: rgba(255, 90, 99, .14); color: #ff7a72; }
.tp-dlg-i svg { width: 16px; height: 16px; }
.tp-dlg-b { padding: 16px 18px; font: 400 .9rem/1.5 var(--body); color: #c9c6be; overflow-wrap: anywhere; white-space: pre-line; }
.tp-dlg-f { display: flex; justify-content: flex-end; gap: 8px; padding: 0 18px 16px; }
.tp-dlg-f button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 11px; background: rgba(255, 255, 255, .06); color: var(--bone); font: 600 .86rem/1 var(--body); cursor: pointer; }
.tp-dlg-f button:hover { filter: brightness(1.15); }
.tp-dlg-f button:focus-visible { outline: 2px solid rgba(255, 138, 42, .6); outline-offset: 2px; }
.tp-dlg-f button.pr { background: linear-gradient(180deg, #ffad4a, #f07a1f); color: #1b0a02; }
.tp-dlg-f button.dg { background: #e5484f; color: #fff; }
/* check boxes, radios, dates, numbers, files, colours */
html { color-scheme: dark; }
input[type=checkbox], input[type=radio] { -webkit-appearance: none; appearance: none; flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; margin: 0 8px 0 0; padding: 0; border: 0; background: rgba(255, 255, 255, .08); vertical-align: -5px; cursor: pointer; }
input[type=checkbox] { border-radius: 6px; }
input[type=radio] { border-radius: 50%; }
input[type=checkbox]:hover, input[type=radio]:hover { background: rgba(255, 255, 255, .14); }
input[type=checkbox]:checked, input[type=radio]:checked { background: var(--rust, #ff8a2a); }
input[type=checkbox]:checked::after { content: ""; width: 11px; height: 6px; margin-top: -3px; border: solid #140b04; border-width: 0 0 2.4px 2.4px; transform: rotate(-45deg); }
input[type=radio]:checked::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #140b04; }
input[type=checkbox]:disabled, input[type=radio]:disabled { opacity: .45; cursor: default; }
input[type=checkbox]:focus-visible, input[type=radio]:focus-visible { outline: 2px solid rgba(255, 138, 42, .6); outline-offset: 2px; }
.layout input[type=date], .layout input[type=datetime-local], .layout input[type=number] { box-sizing: border-box; min-height: 40px; padding: 8px 12px; border: 0 !important; border-radius: 10px !important; background: rgba(255, 255, 255, .05) !important; box-shadow: none !important; color: var(--bone); font: 500 .86rem/1.2 var(--body); }
.layout input[type=date]:focus, .layout input[type=datetime-local]:focus, .layout input[type=number]:focus { outline: 1px solid rgba(255, 138, 42, .5); }
input[type=file] { color: var(--dust); font: 400 .82rem/1.3 var(--body); }
input[type=file]::file-selector-button { min-height: 38px; margin-right: 12px; padding: 0 14px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .07); color: var(--bone); font: 600 .8rem/1 var(--body); cursor: pointer; }
input[type=file]::file-selector-button:hover { background: rgba(255, 255, 255, .12); }
input[type=color] { width: 44px; height: 38px; padding: 3px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .06); cursor: pointer; }
input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
input[type=color]::-webkit-color-swatch { border: 0; border-radius: 7px; }
.layout .content label:has(> input[type=checkbox], > input[type=radio]):not(.pl-opt, .ns-opt, .ns-col) { display: inline-flex; align-items: center; gap: 0; margin: 2px 12px 2px 0; font: 500 .86rem/1.3 var(--body); letter-spacing: 0; text-transform: none; color: var(--bone); cursor: pointer; }

/* the profile as the forum's panels: a member's own colours stay in the banner and a soft tint, the facts and the sections as tiles under title strips */
.layout .prof-card, .layout .prof-card.themed { padding: 0 16px 16px; gap: 12px; border: 0 !important; border-radius: 18px; box-shadow: none; backdrop-filter: blur(12px); background: #121215; }
.layout .prof-card.themed { background: linear-gradient(180deg, color-mix(in srgb, var(--t1) 16%, #121215) 0, rgba(20, 16, 26, .8) 340px); }
.layout .prof-banner { margin: 0 -16px; width: calc(100% + 32px); }
.layout .prof-status { border: 0; background: rgba(18, 18, 21, .94); box-shadow: none; font: 400 .8rem/1.4 var(--body); }
.layout .prof-card .badge { border: 0 !important; box-shadow: none !important; border-radius: 9px !important; background: rgba(255, 138, 42, .14) !important; color: #ffb070 !important; font: 600 .74rem/1 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; }
.layout .prof-facts div, .layout .prof-card.themed .prof-facts div { padding: 10px 12px; border: 0 !important; border-radius: 12px; background: rgba(255, 255, 255, .045); box-shadow: none; transform: none; }
.layout .prof-facts div:hover, .layout .prof-card.themed .prof-facts div:hover { background: rgba(255, 255, 255, .07); }
.layout .prof-facts dt, .layout .prof-card.themed .prof-facts dt { font: 500 .72rem/1.2 var(--body); letter-spacing: 0; text-transform: none; color: var(--dust); }
.layout .prof-facts dd { font: 600 .9rem/1.3 var(--body); }
.layout .prof-facts div:nth-last-child(-n+2) dd, .layout .prof-card.themed .prof-facts div:nth-last-child(-n+2) dd { font: 700 1.2rem/1 var(--body); color: var(--bone); }
.layout .prof-card .btn, .layout .prof-card .btn.ghost { padding: 11px 16px; border: 0 !important; border-radius: 11px; box-shadow: none; transform: none; font: 600 .86rem/1.2 var(--body); }
.layout .prof-card .btn.ghost { background: rgba(255, 255, 255, .06) !important; color: var(--bone) !important; }
.layout .prof-card .btn.ghost:hover { background: rgba(255, 255, 255, .1) !important; }
.layout .prof-card .soc, .layout .prof-card.themed .soc { border: 0; border-radius: 11px; background: rgba(255, 255, 255, .045); }
/* the sections on the right: a title strip with its content under it */
.layout .prof > div:last-child > .prof-h { margin: 0; padding: 11px 16px; border-radius: 18px 18px 0 0; background: transparent; }
.layout .prof-h .pts { font: 500 .78rem/1 var(--body); color: var(--dust); }
.layout .prof > div:last-child > .prof-h + * { margin: 0 0 14px !important; border: 0 !important; border-radius: 0 0 18px 18px !important; background: #121215 !important; box-shadow: none !important; backdrop-filter: blur(12px); }
.layout .prof .about { padding: 14px 16px; font: 400 .9rem/1.6 var(--body); }
.layout .prof .fr-chips { padding: 12px 14px; }
.layout .prof .fr-chip { border: 0; border-radius: 12px; background: rgba(255, 255, 255, .045); box-shadow: none; }
.layout .prof .fr-chip:hover { background: rgba(255, 255, 255, .08); transform: none; }
.layout .prof .medal-grid { padding: 12px; gap: 8px; }
.layout .prof .medal-card { background: rgba(255, 255, 255, .035) !important; }
.layout .prof .medal-card:hover { background: rgba(255, 255, 255, .065) !important; }
.layout .prof .medal-card b { font: 600 .86rem/1.3 var(--body); }
.layout .prof .medal-card span { font-size: .74rem; }
.layout .prof-card .btn.ghost, .layout .prof-card .btn.ghost:hover { box-shadow: none !important; filter: none !important; }
.layout .prof-card .btn.ghost::before, .layout .prof-card .btn.ghost::after { display: none !important; }

/* a server's page has one banner: the server's own takes the place and the look of the site's */
body.zm-on header.hero .hero-grid, body.pub-on header.hero .hero-grid { display: none !important; }
body.zm-on .hero #zm, body.pub-on .hero #pub { box-sizing: border-box; max-width: none !important; min-height: 261px; margin: 18px 0 !important; padding: 22px 24px !important; border: 0 !important; border-radius: 18px !important; box-shadow: none !important; background: radial-gradient(560px 220px at 50% 30%, rgba(255, 138, 42, .09), transparent 70%), #121215 !important; }
.hero .srv-sep .srv-sep-k { color: #8f8b83 !important; }
.hero .srv-sep .srv-sep-k::before, .hero .srv-sep .srv-sep-k::after, .hero .srv-sep .pub-soon { display: none !important; }
.hero .srv-sep h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem) !important; line-height: 1 !important; }
.hero .srv-sep .intro { max-width: 640px; font-size: .92rem; }
.hero .srv-sep .srv-sep-k { font: 500 .86rem/1.3 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; }
.hero .srv-sep { scroll-margin-top: 18px; }

/* the language switch: no focus ring after a click */
header .wrap > nav .lang button:focus { outline: 0 !important; box-shadow: none !important; }
header .wrap > nav .lang button:focus-visible { outline: 0 !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35) !important; }

/* giving hryvnias (admins) */
.tp-grant .prof-h { margin: 0; padding: 11px 16px; border-radius: 18px 18px 0 0; background: transparent; font: 600 .92rem/1.2 var(--body); }
.tpg-form, .tpg-log { margin: 0 0 14px; border-radius: 0 0 18px 18px; background: #121215; backdrop-filter: blur(12px); }
.tpg-form { display: grid; grid-template-columns: 200px 1fr; gap: 14px; padding: 16px; }
.tpg-form label { display: grid; gap: 7px; font: 500 .8rem/1.3 var(--body); color: var(--dust); }
.tpg-form .tpg-w { grid-column: 1 / -1; }
.tpg-form input[type=text], .tpg-form input[type=number] { box-sizing: border-box; width: 100%; height: 42px; padding: 0 13px; border: 0; border-radius: 11px; background: rgba(255, 255, 255, .05); color: var(--bone); font: 400 .9rem/1 var(--body); }
.tpg-hint { margin: 0; font: 400 .78rem/1.5 var(--body); color: #8f8b83; }
.tpg-form .btn { grid-column: 1 / -1; justify-self: end; height: 42px; padding: 0 22px; border: 0; border-radius: 11px; background: linear-gradient(180deg, #ffad4a, #f07a1f); color: #1b0a02; box-shadow: none; font: 600 .88rem/1 var(--body); }
.tpg-log { list-style: none; padding: 10px; display: grid; gap: 6px; }
.tpg-log li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 13px; border-radius: 12px; background: rgba(255, 255, 255, .04); font: 500 .86rem/1.3 var(--body); }
.tpg-log small { display: block; margin-top: 3px; font: 400 .72rem/1 var(--body); color: #8f8b83; }
.tpg-log b { flex: none; font: 700 .92rem/1 var(--body); }
.tpg-log b.p { color: #5fd38a; }
.tpg-log b.m { color: #ff7a72; }
.tpg-empty { padding: 16px; font: 400 .86rem/1.4 var(--body); color: #8f8b83; }
.layout .tpg-form label { font: 500 .8rem/1.3 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; }
.layout .tpg-form input[type=text], .layout .tpg-form input[type=number] { border: 0 !important; box-shadow: none !important; }
.layout .tpg-form input[type=text], .layout .tpg-form input[type=number] { background: rgba(255, 255, 255, .05) !important; }

/* the terms before a payment: a page of their own over the shop */
html.tp-terms-on { overflow: hidden; }
.tp-terms { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; align-items: flex-start; overflow-y: auto; padding: 32px 16px; box-sizing: border-box; background: radial-gradient(900px 500px at 92% -6%, rgba(255, 122, 30, .22), transparent 68%), radial-gradient(800px 600px at 6% 30%, rgba(112, 62, 214, .25), transparent 70%), #09070f; }
.tpt-win { width: 100%; max-width: 760px; overflow: hidden; border-radius: 18px; background: #121215; color: var(--bone); font-family: var(--body); }
.tpt-h { display: grid; gap: 4px; padding: 16px 22px; background: transparent; }
.tpt-h b { font: 700 1.2rem/1.2 var(--body); }
.tpt-h small { font: 400 .8rem/1.2 var(--body); color: #8f8b83; }
.tpt-win ol { display: grid; gap: 8px; margin: 0; padding: 16px; list-style: none; }
.tpt-win li { display: flex; gap: 13px; padding: 13px 14px; border-radius: 14px; background: #17171b; }
.tpt-win li i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 138, 42, .14); color: #ffb070; font: 700 .82rem/1 var(--body); }
.tpt-win li b { font: 600 .9rem/1.3 var(--body); }
.tpt-win li p { margin: 3px 0 0; font: 400 .84rem/1.5 var(--body); color: #b5b1a8; }
.tpt-f { padding: 0 16px 18px; }
.tpt-f p { margin: 0 6px 14px; font: 400 .78rem/1.5 var(--body); color: #8f8b83; }
.tpt-f div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.tpt-f button { height: 44px; padding: 0 20px; border: 0; border-radius: 11px; background: rgba(255, 255, 255, .06); color: var(--bone); font: 600 .88rem/1 var(--body); cursor: pointer; }
.tpt-f button:hover { background: rgba(255, 255, 255, .1); }
.tpt-f .tpt-ok, .tpt-f .tpt-ok:hover { background: linear-gradient(180deg, #ffad4a, #f07a1f); color: #1b0a02; }
.tpt-f button:focus { outline: 0; }
.tpt-f button:focus-visible { outline: 2px solid rgba(255, 138, 42, .6); outline-offset: 2px; }
@media (min-width: 1100px) { .tp-terms { zoom: 1.1364; } }

/* delete: the feed's lines and the chat's purchase messages (staff) */
.ls-del, .chat-page .cm-don .cm-del { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin: 0 0 0 auto; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06); color: #a9a59c; font-size: .72rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .15s, background .15s, color .15s; }
.ls-feed li:hover .ls-del, .ls-del:focus-visible, .chat-page .cm-don:hover .cm-del { opacity: 1; }
.ls-del:hover, .chat-page .cm-don .cm-del:hover { background: rgba(255, 90, 99, .16); color: #ff7a72; }
.chat-page .cm-don .cm-del { margin-left: -4px; }
.ls-feed .ls-tx { flex: 1; min-width: 0; }
@media (hover: none) { .ls-del, .chat-page .cm-don .cm-del { opacity: .7; } }
/* the purchase message's icon: one even circle in the status's colour, the same for every status */
.chat-page .cm-don .don-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; overflow: hidden; border: 0 !important; border-radius: 50% !important; background: color-mix(in srgb, var(--dc) 16%, transparent) !important; box-shadow: none !important; color: var(--dc); font-size: 1.1rem; line-height: 1; }
.chat-page .cm-don .don-ic .tp-ico { display: grid; place-items: center; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none !important; box-shadow: none !important; color: var(--dc) !important; transform: none; }
.chat-page .cm-don .don-ic .tp-ico .ti { color: inherit; font-size: 1.15rem; line-height: 1; }

/* the banners' picture (theme-panel.js): anchored right and down, so a narrow screen keeps the plant */
.tp-scened { position: relative; overflow: hidden !important; background: #0a0810 !important; }
.tp-scened > * { position: relative; z-index: 1; }
.tp-scened > .tp-scene { position: absolute; z-index: 0; right: 0; bottom: 0; width: max(100%, 1380px); aspect-ratio: 6 / 1; min-height: 100%; background: url(img/chaes.jpg) right bottom / cover no-repeat; pointer-events: none; overflow: hidden; }
.tp-scene .tps-l { position: absolute; left: 73.06%; top: 23%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 60, 44, .75), transparent 65%); animation: tps-l 2.6s ease-in-out infinite; }
.tp-scene .l2 { top: 48%; width: 36px; height: 36px; margin: -18px 0 0 -18px; animation-delay: -.9s; }
.tp-scene .l3 { top: 62.7%; width: 36px; height: 36px; margin: -18px 0 0 -18px; animation-delay: -1.7s; }
.tp-scene u { position: absolute; left: 70%; top: -10%; width: 30%; height: 80%; background: radial-gradient(closest-side, rgba(150, 84, 54, .3), transparent); filter: blur(10px); animation: tps-s 26s ease-in-out infinite alternate; }
.tp-scene i { position: absolute; bottom: 8%; width: 3px; height: 3px; border-radius: 50%; background: #ffae6a; box-shadow: 0 0 6px #ff8a2a; opacity: 0; animation: tps-e 14s linear infinite; }
@keyframes tps-l { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes tps-s { from { transform: translateX(-9%) scale(1); } to { transform: translateX(11%) scale(1.25); } }
@keyframes tps-e { 0% { opacity: 0; transform: translate(0, 0); } 12% { opacity: .9; } 85% { opacity: .35; } 100% { opacity: 0; transform: translate(70px, -210px); } }
@media (prefers-reduced-motion: reduce) { .tp-scene *, .tp-scene { animation: none !important; } }
.tp-scene .tps-l, .tp-scene .l2, .tp-scene .l3 { margin: 0 !important; transform: translate(-50%, -50%); }

/* the site's background: the Zone at night with the plant far off, standing still while the page scrolls */
html, body { background: #08070e !important; }
body { background: url(img/bg_zone.jpg) center / cover fixed no-repeat !important; }
body::before, body::after { display: none !important; }
@media (max-width: 1099px) { body { background-attachment: scroll !important; background-position: center top !important; background-size: auto 100vh !important; background-repeat: no-repeat !important; } }

/* who is playing, on hover (theme-panel.js) */
.tp-plist { position: fixed; z-index: 90; width: 340px; overflow: hidden; border-radius: 14px; background: #121215; box-shadow: 0 18px 44px rgba(0, 0, 0, .6); font-family: var(--body); color: var(--bone); }
.tp-plist[hidden] { display: none; }
.tpl-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: transparent; }
.tpl-h b { overflow: hidden; font: 600 .84rem/1.3 var(--body); white-space: nowrap; text-overflow: ellipsis; }
.tpl-h span { flex: none; font: 700 .84rem/1 var(--body); color: #ffb070; }
.tpl-b { display: grid; gap: 2px; max-height: 340px; overflow-y: auto; padding: 8px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .14) transparent; }
.tpl-b div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 8px; border-radius: 8px; font: 500 .84rem/1.3 var(--body); }
.tpl-b div:hover { background: rgba(255, 255, 255, .05); }
.tpl-b div span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tpl-b div span:last-child { flex: none; color: #8f8b83; font: 500 .8rem/1.3 var(--body); }
.tpl-b p { margin: 8px; font: 400 .84rem/1.4 var(--body); color: #8f8b83; }
@media (min-width: 1100px) { .tp-plist { zoom: 1.1364; } }
/* a server's card keeps one colour under the pointer */
main .srv-t tr.srv-row:hover td { background: transparent !important; }
.tp-plist .tpl-b { border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
.tp-plist .tpl-b div, .tp-plist .tpl-b span { border: 0 !important; background: none; letter-spacing: 0 !important; text-transform: none !important; }

/* who is playing: the plant over the list */
.tp-plist { width: 400px; }
.tp-plist .tpl-h { display: grid; align-content: end; justify-content: stretch; gap: 3px; height: 134px; box-sizing: border-box; padding: 12px 16px; background: linear-gradient(180deg, rgba(10, 8, 14, .1), #121215), url(img/chaes.jpg) right bottom / cover no-repeat; }
.tp-plist .tpl-h b { font: 700 .98rem/1.2 var(--body); }
.tp-plist .tpl-h span { font: 400 .76rem/1.2 var(--body); color: #c9c6be; }
.tp-plist .tpl-b { padding: 4px 8px 10px; }
.tp-plist .tpl-b div { align-items: center; gap: 12px; padding: 7px 10px; }
.tp-plist .tpl-b div:hover { background: rgba(255, 255, 255, .05); }
.tp-plist .tpl-b div b { flex: 1; min-width: 0; overflow: hidden; font: 600 .84rem/1.2 var(--body); white-space: nowrap; text-overflow: ellipsis; }
.tp-plist .tpl-b div em { flex: none; font: 600 .84rem/1.2 var(--body); color: #ffb070; }
.tp-plist .tpl-b div u { flex: none; min-width: 38px; color: #8f8b83; font-size: .78rem; text-align: right; text-decoration: none; }

.tp-plist .tpl-b { max-height: min(520px, calc(100vh - 360px)); max-height: min(520px, calc(100dvh - 360px)); }

/* the atmosphere: a fine film grain over the whole page, the corners in shadow, a low fog over the banners and one lamp of the plant failing */
html::before { content: ""; position: fixed; inset: -50%; z-index: 9998; pointer-events: none; opacity: .13; mix-blend-mode: overlay; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: tp-grain 1.2s steps(6) infinite; }
html::after { content: ""; position: fixed; inset: 0; z-index: 9997; pointer-events: none; background: radial-gradient(ellipse at 55% 40%, transparent 40%, rgba(0, 0, 0, .6) 100%); }
@keyframes tp-grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.tp-scene::after { content: ""; position: absolute; left: -20%; right: -20%; bottom: -6%; height: 42%; background: radial-gradient(ellipse 30% 60% at 20% 70%, rgba(150, 130, 160, .34), transparent 70%), radial-gradient(ellipse 25% 55% at 55% 80%, rgba(150, 130, 160, .3), transparent 70%), radial-gradient(ellipse 30% 60% at 85% 75%, rgba(170, 120, 100, .32), transparent 70%); filter: blur(6px); animation: tp-fog 22s ease-in-out infinite alternate; }
@keyframes tp-fog { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
.tp-scene .l2 { animation: tp-fail 7s linear infinite !important; }
@keyframes tp-fail { 0%, 61%, 66%, 70%, 100% { opacity: .9; } 62%, 64%, 69% { opacity: .05; } 63%, 65% { opacity: .7; } 72%, 86% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { html::before, .tp-scene::after { animation: none !important; } }

/* the night sky behind everything: twinkling stars, now and then a falling one, a power line along the bottom; the page's glow goes to the html so the sky can sit between it and the panels */
html { background: #09070f url(img/bg_zone.jpg) center / cover fixed no-repeat !important; }
html body { background: transparent !important; }
.tp-sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.tp-sky i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; animation: tp-tw ease-in-out infinite; }
.tp-sky i.b { width: 3px; height: 3px; box-shadow: 0 0 6px rgba(255, 255, 255, .7); }
@keyframes tp-tw { 50% { opacity: .12; } }
.tp-sky .fall { position: absolute; width: 120px; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .9), transparent); transform: rotate(-24deg); opacity: 0; animation: tp-fall 14s linear infinite; }
@keyframes tp-fall { 0%, 92% { opacity: 0; translate: 0 0; } 93% { opacity: 1; } 98% { opacity: 0; translate: -340px 150px; } 100% { opacity: 0; } }
.tp-sky svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 190px; opacity: .55; }
@media (prefers-reduced-motion: reduce) { .tp-sky * { animation: none !important; } }
@media (max-width: 1099px) { html { background-attachment: scroll !important; background-position: center top !important; background-size: auto 100vh !important; } }

/* the side menu as tall as what is in it: no empty run down to the bottom, the languages right under the menu, a solid card the sky does not show through */
@media (min-width: 1100px) {
	header .wrap > nav, header .wrap > nav.stuck { bottom: auto !important; max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); background: #111114 !important; backdrop-filter: none !important; }
	header .wrap > nav .lang { margin-top: 4px !important; }
}

/* the side menu, the strict look: full height again, the active item marked by a stripe on the left, its sub-items on a thin branch, the balance under the name, the languages at the bottom */
@media (min-width: 1100px) {
	header .wrap > nav, header .wrap > nav.stuck { bottom: 14px !important; max-height: none; background: #100e13 !important; }
	header .wrap > nav .lang { margin-top: auto !important; }
	.tp-me .tp-mbal { color: #ff9a3c !important; font-weight: 500; }
	header .wrap > nav > ul > li.nv-on > a { background: linear-gradient(90deg, rgba(255, 138, 42, .14), transparent) !important; border-radius: 0 !important; box-shadow: inset 2px 0 0 #ff8a2a !important; margin: 0 !important; }
	header .wrap > nav > ul > li.nv-on > a .tp-ico { background: none !important; }
	header .wrap > nav > ul > li.nv-on > ul { margin: 4px 0 6px 22px !important; padding: 0 0 0 10px !important; border-left: 1px solid #2c2730 !important; }
	header .wrap > nav > ul ul a { padding: 6px 10px !important; margin: 0 !important; background: none !important; border-radius: 0 !important; }
	header .wrap > nav > ul ul a:hover { color: var(--bone) !important; background: none !important; }
	header .wrap > nav > ul ul a[aria-current] { color: #ff9a3c !important; background: none !important; }
}

/* the side menu, variant F: the panels' own see-through violet, the logo centred on the card, the profile a centred tile with a large avatar, the staff shield in its corner */
@media (min-width: 1100px) {
	header .wrap > nav, header .wrap > nav.stuck { background: rgba(20, 16, 26, .74) !important; backdrop-filter: blur(12px) !important; border: 1px solid rgba(255, 255, 255, .05) !important; box-shadow: none !important; }
	header .wrap > nav .logo { justify-content: center !important; background: none !important; border-bottom: 0 !important; padding: 16px 12px 4px !important; }
	.tp-side { border-bottom: 0 !important; padding-bottom: 4px !important; }
	.tp-me, .tp-me.tp-has-shield { flex-direction: column; justify-content: center; gap: 6px !important; padding: 14px 10px 12px !important; text-align: center; background: rgba(0, 0, 0, .25) !important; border-radius: 12px !important; }
	.tp-me:hover, .tp-me-dd.open { background: rgba(0, 0, 0, .35) !important; }
	.tp-me .tp-av { width: 56px; height: 56px; }
	.tp-me .tp-who { align-items: center; }
	.tp-me .tp-who b { font-size: .95rem !important; }
	.tp-me-dd::after { display: none; }
	.tp-me .tp-shield { top: 8px; right: 8px; margin-top: 0; }
}

/* the profile tile: the avatar's frame and the nameplate as in the members list */
.tp-me { position: relative; overflow: hidden; isolation: isolate; }
.tp-me .tp-av { position: relative; }
.tp-me .tp-av .avf { width: 125%; height: 125%; }
.tp-me .pl { inset: 0; z-index: -1; -webkit-mask: linear-gradient(180deg, #000 30%, transparent); mask: linear-gradient(180deg, #000 30%, transparent); opacity: .8; }
.tp-me.has-pl .tp-who { filter: drop-shadow(0 1px 2px #000) drop-shadow(0 0 4px rgba(0, 0, 0, .8)); }

/* ===== the dock: the side menu becomes a floating capsule at the bottom of the screen (wide screens) =====
   the order in it: the logo's mark, the items (their sub-items pop up above), the servers' online, the profile, the languages */
@media (min-width: 1100px) {
	html body { padding-left: 0 !important; padding-bottom: 84px !important; }
	html body header .wrap > nav, html body header .wrap > nav.stuck {
		position: fixed !important; top: auto !important; bottom: 14px !important; left: 0 !important; right: 0 !important; margin: 0 auto !important;
		width: max-content !important; max-width: calc(100vw - 40px); height: auto !important; max-height: none; zoom: 1 !important;
		display: flex !important; flex-direction: row !important; align-items: center !important; gap: 4px !important;
		padding: 5px !important; overflow: visible !important; border-radius: 26px !important;
		background: rgba(18, 14, 22, .94) !important; border: 1px solid rgba(255, 255, 255, .08) !important; box-shadow: 0 12px 34px rgba(0, 0, 0, .6) !important; backdrop-filter: none !important;
	}
	html body header .wrap > nav > * { order: 5; margin: 0 !important; }
	/* the logo: only its mark */
	html body header .wrap > nav .logo { order: 0; padding: 0 6px 0 8px !important; background: none !important; border: 0 !important; }
	html body header .wrap > nav .logo span { display: none !important; }
	html body header .wrap > nav .logo svg { width: 24px !important; height: 24px !important; }
	/* the items */
	html body header .wrap > nav > ul { order: 1; flex-direction: row !important; gap: 2px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
	html body header .wrap > nav > ul > li { position: relative !important; width: auto !important; }
	html body header .wrap > nav > ul > li.tp-homeli { display: block !important; }
	html body header .wrap > nav > ul > li > a { display: flex !important; align-items: center; gap: 7px !important; padding: 7px 14px 7px 8px !important; border-radius: 20px !important; font: 500 .86rem/1 var(--body) !important; color: #b9b3aa !important; background: none !important; box-shadow: none !important; white-space: nowrap; }
	html body header .wrap > nav > ul > li > a .tp-i { width: 26px !important; height: 26px !important; padding: 6px !important; background: none !important; color: inherit !important; }
	html body header .wrap > nav > ul > li > a:hover { background: rgba(255, 255, 255, .05) !important; color: var(--bone) !important; }
	html body header .wrap > nav > ul > li.nv-on > a { background: #e07a24 !important; color: #1a0f06 !important; }
	html body header .wrap > nav > ul > li.nv-on > a .tp-i { color: #1a0f06 !important; }
	/* the sub-items: a card above the item, on hovering it */
	html body header .wrap > nav > ul > li > ul, html body header .wrap > nav > ul > li.nv-on > ul, html body header .wrap > nav > ul > li:not(.nv-on) > ul {
		display: flex !important; position: absolute !important; left: 50% !important; bottom: 100% !important; top: auto !important; transform: translateX(-50%) !important;
		flex-direction: column; min-width: 200px !important; margin: 0 0 12px !important; padding: 6px !important; border: 1px solid rgba(255, 255, 255, .08) !important; border-radius: 14px !important;
		background: #121215 !important; box-shadow: 0 12px 30px rgba(0, 0, 0, .6) !important;
		opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transition: opacity .15s, visibility .15s;
	}
	html body header .wrap > nav > ul > li > ul::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
	html body header .wrap > nav > ul > li:hover > ul, html body header .wrap > nav > ul > li:focus-within > ul { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }
	html body header .wrap > nav > ul ul li { display: block !important; }
	html body header .wrap > nav > ul ul a { display: block !important; padding: 8px 12px !important; margin: 0 !important; border: 0 !important; border-radius: 9px !important; color: #b9b3aa !important; font: 500 .84rem/1.2 var(--body) !important; white-space: nowrap; background: none !important; }
	html body header .wrap > nav > ul ul a:hover { background: rgba(255, 255, 255, .05) !important; color: var(--bone) !important; }
	html body header .wrap > nav > ul ul a[aria-current] { color: #ff9a3c !important; background: rgba(255, 138, 42, .08) !important; }
	/* the servers' online */
	html body header .wrap > nav .tp-dk-srv { order: 2; display: flex; gap: 2px; padding: 0 4px !important; border-left: 1px solid #2a2230; border-right: 1px solid #2a2230; }
	.tp-dk-srv a { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 20px; color: #b9b3aa; font: 500 .8rem/1 var(--body); text-decoration: none; white-space: nowrap; }
	.tp-dk-srv a:hover { background: rgba(255, 255, 255, .05); color: var(--bone); }
	.tp-dk-srv b { color: var(--bone); font-weight: 600; }
	.tp-dk-srv i { width: 7px; height: 7px; border-radius: 50%; background: #4ecb71; box-shadow: 0 0 6px #4ecb71; }
	.tp-dk-srv a.off i { background: #e0464e; box-shadow: none; }
	/* the profile: the avatar and the balance */
	html body header .wrap > nav .tp-side { order: 3; display: flex !important; flex-direction: row !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
	html body header .wrap > nav .tp-me, html body header .wrap > nav .tp-me.tp-has-shield { flex-direction: row !important; gap: 8px !important; padding: 3px 12px 3px 3px !important; border-radius: 20px !important; background: none !important; text-align: left; }
	html body header .wrap > nav .tp-me.tp-has-shield { padding-right: 46px !important; }
	html body header .wrap > nav .tp-me:hover, html body header .wrap > nav .tp-me-dd.open { background: rgba(255, 255, 255, .05) !important; }
	html body header .wrap > nav .tp-me .tp-av { width: 30px !important; height: 30px !important; }
	html body header .wrap > nav .tp-me .tp-who { align-items: flex-start; }
	html body header .wrap > nav .tp-me .tp-who b { font-size: .8rem !important; }
	html body header .wrap > nav .tp-me .tp-who small { font-size: .72rem !important; }
	html body header .wrap > nav .tp-me .pl { display: none; }
	html body header .wrap > nav .tp-me .tp-shield { top: 50%; right: 8px; margin-top: -14px; width: 28px; height: 28px; }
	html body header .wrap > nav .tp-side > :not(.tp-me) { display: none !important; }
	/* the languages: small, last */
	html body header .wrap > nav .lang { order: 4; display: flex !important; gap: 2px !important; width: auto !important; padding: 3px !important; margin: 0 0 0 2px !important; border-radius: 20px !important; background: rgba(0, 0, 0, .3) !important; }
	html body header .wrap > nav .lang > * { padding: 6px 9px !important; border-radius: 16px !important; font-size: .72rem !important; }
	/* the popups of the profile and the staff shield over the dock */
	.tp-pop, .tp-staff { position: fixed !important; z-index: 2000 !important; }
}
.tp-dk-srv { display: none; }
/* the dock over the page: its header is isolated, so the header itself goes up */
@media (min-width: 1100px) { html body header.top, html body header.hero, html body > header { z-index: 900 !important; } }

/* the dock, louder: larger, a warm rim and glow, an orange line along its top, a dark band under it so it stands off the page */
@media (min-width: 1100px) {
	html body header .wrap > nav, html body header .wrap > nav.stuck {
		bottom: 18px !important; padding: 7px !important; gap: 6px !important; border-radius: 30px !important;
		background: linear-gradient(180deg, #221a24, #140f18) !important;
		border: 1px solid rgba(255, 138, 42, .45) !important;
		box-shadow: 0 0 0 4px rgba(255, 138, 42, .07), 0 0 28px rgba(255, 122, 30, .28), 0 16px 40px rgba(0, 0, 0, .75) !important;
	}
	html body header .wrap > nav::before { content: "" !important; display: block !important; position: absolute; left: 22%; right: 22%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, #ffb070, transparent); pointer-events: none; }
	html body header .wrap > nav > ul > li > a { padding: 10px 18px 10px 12px !important; font-size: .95rem !important; color: #ddd7cd !important; }
	html body header .wrap > nav > ul > li > a .tp-i { width: 30px !important; height: 30px !important; color: #ffb070 !important; }
	html body header .wrap > nav > ul > li.nv-on > a { background: linear-gradient(180deg, #ff9a3c, #d9681a) !important; color: #1a0f06 !important; box-shadow: 0 0 16px rgba(255, 138, 42, .45) !important; }
	html body header .wrap > nav .logo svg { width: 30px !important; height: 30px !important; }
	.tp-dk-srv a { padding: 10px 12px; font-size: .88rem; color: #ddd7cd; }
	html body header .wrap > nav .tp-me .tp-av { width: 36px !important; height: 36px !important; }
	html body header .wrap > nav .tp-me .tp-who b { font-size: .9rem !important; }
	html body header .wrap > nav .lang > * { padding: 8px 11px !important; font-size: .78rem !important; }
	body::after { content: "" !important; display: block !important; position: fixed; left: 0; right: 0; bottom: 0; height: 120px; z-index: 50; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(5, 4, 8, .85)); }
	html body { padding-bottom: 110px !important; }
}
/* the forum dock: without the home item; the active item stays a pill */
@media (min-width: 1100px) { html body header .wrap > nav.tp-dk-forum > ul > li.tp-homeli:has(> a[href="/"]) { display: none !important; } html body header .wrap > nav > ul > li.nv-on > a { border-radius: 20px !important; } }

/* the main page in one screen over the dock: a lower banner, tighter gaps, a shorter news card and doors, no footer line */
@media (min-width: 1100px) and (min-height: 760px) {
	header.hero .hero-grid { margin: 12px auto !important; padding-top: 10px !important; padding-bottom: 14px !important; }
	header.hero .hero-grid .hero-copy p { margin-bottom: 0 !important; line-height: 1.55 !important; }
	main .wrap > .gift-ann { margin-top: 12px !important; margin-bottom: 12px !important; padding-top: 12px !important; padding-bottom: 12px !important; }
	main .wrap > #servers { margin-top: 12px !important; margin-bottom: 0 !important; }
	main .wrap > #news { margin-top: 20px !important; }
	main .wrap > #news .news-head { margin-bottom: 10px !important; }
	main .wrap > .doors { margin-top: 16px !important; margin-bottom: 0 !important; }
	main .wrap > .doors .zm-door { padding-top: 14px !important; padding-bottom: 14px !important; min-height: 0 !important; height: auto !important; }
	main .wrap > .doors ~ footer { display: none !important; }
}

/* who is playing as a side panel beside the servers: the forum's panel look, a title strip, sliding in from its side */
.tp-plist.tpl-side { width: 300px; border: 1px solid rgba(255, 255, 255, .05); background: #121215; animation: tpl-in-l .18s ease-out; }
.tp-plist.tpl-side.tpl-r { animation-name: tpl-in-r; }
.tp-plist.tpl-side .tpl-h { height: auto; padding: 10px 14px; background: rgba(10, 8, 14, .6); }
@keyframes tpl-in-l { from { opacity: 0; transform: translateX(14px); } }
@keyframes tpl-in-r { from { opacity: 0; transform: translateX(-14px); } }
@media (min-width: 1100px) { .tp-plist.tpl-side, .tp-plist { zoom: 1 !important; } .tp-plist.tpl-side { width: 330px; } }
/* the dock with the corners of the page blocks (18px), its buttons and their cards to match */
@media (min-width: 1100px) { html body header .wrap > nav, html body header .wrap > nav.stuck { border-radius: 18px !important; } html body header .wrap > nav > ul > li > a, html body header .wrap > nav > ul > li.nv-on > a, .tp-dk-srv a, html body header .wrap > nav .tp-me, html body header .wrap > nav .tp-me.tp-has-shield { border-radius: 12px !important; } html body header .wrap > nav .lang { border-radius: 12px !important; } html body header .wrap > nav .lang > * { border-radius: 9px !important; } html body header .wrap > nav > ul > li > ul { border-radius: 18px !important; } }

/* the forum's and the shop's windows as the main page's — solid #121215 cards, 18px, no title strips */
html .layout .ls-card, html .layout .sections, html .layout .lp-box, html .layout aside.members, html .layout .list, html .tp-pr > *, html .tp-shoppage .gut > .wrap > * > section {
	background: #121215 !important; backdrop-filter: none !important; border: 1px solid transparent !important; border-radius: 18px !important; box-shadow: none !important;
}
html .layout .ls-card > h3, html .layout .lp-box > h3, html .layout .sections .tp-th, html .layout aside.members h3 {
	background: none !important; border: 0 !important; box-shadow: none !important;
}
/* the titles plain bold inside the card */
html .layout .ls-card > h3, html .layout .lp-box > h3, html .layout .sections .tp-th { padding: 18px 20px 6px !important; font: 700 1.02rem/1.2 var(--body) !important; color: #fff !important; }
html .layout aside.members h3 { padding: 8px 6px !important; font: 700 .9rem/1.2 var(--body) !important; color: #fff !important; }

/* the main page's windows on every page: the forum's inner pages (sections, topics, top, rules, chat, profile, grants) as solid #121215 cards, their title strips gone */
html .layout .modbar, html .layout .post, html .layout .content > .box, html .layout .content > form.box, html .layout .note, html .layout .chat-card,
html .layout .prof-card, html .layout .prof-card.themed, html .layout .prof > div:last-child > .prof-h + *, html .tpg-form, html .tpg-log, html .layout .gl-hall, html .layout .rules-sec, html .layout .tp-table {
	background: #121215 !important; backdrop-filter: none !important; box-shadow: none !important;
}
html .layout .tp-on-k, html .layout .gl-hall > header, html .layout .tp-table th, html .layout .rules-sec h2, html .layout .tr-head, html .layout .post .meta,
html .layout .modbar .modlabel, html .layout .chat-head, html .layout .prof > div:last-child > .prof-h, html .tp-grant .prof-h, html .tpt-h {
	background: none !important; border-bottom: 0 !important;
}
html .layout .gl-hall > header, html .layout .rules-sec h2, html .layout .tr-head, html .layout .chat-head, html .layout .prof > div:last-child > .prof-h, html .tp-grant .prof-h, html .layout .tp-on-k { padding-top: 16px !important; font-weight: 700 !important; color: #fff !important; }
html .layout .prof > div:last-child > .prof-h { background: #121215 !important; }
html .tp-grant .prof-h { background: #121215 !important; }
html .layout .post .meta { border-bottom: 1px solid rgba(255, 255, 255, .05) !important; }
html .layout .tp-table th { border-bottom: 1px solid rgba(255, 255, 255, .05) !important; }

/* one type scale on every page: the windows' titles 15px bold, the column labels small and grey, the small print in the body font (no monospace) */
html .layout .ls-card > h3, html .layout .lp-box > h3, html .layout aside.members h3, html .layout .gl-hall > header, html .layout .rules-sec h2, html .layout .tr-head, html .layout .chat-head, html .layout .prof > div:last-child > .prof-h { font-size: 15px !important; font-weight: 700 !important; }
html .layout .sections .tp-th { font: 600 12px/1.2 var(--body) !important; color: #8d8a83 !important; }
html .layout .sections .tp-th > span:first-child { font-size: 15px; font-weight: 700; color: #fff; }
html .layout small, html .layout time, html .layout .meta, html .tp-pop .mm-t small, html .me-menu .mm-t small { font-family: var(--body) !important; letter-spacing: 0 !important; }
/* the modals over the raised header and the dock */
.tp-modal, .tp-dlg-wrap, .tp-terms, .lb { z-index: 2500 !important; }

/* the pay step: the way back a quiet ghost button under the orange one */
html #pay #pBack { background: transparent !important; border: 1px solid rgba(255, 255, 255, .12) !important; color: #cfc8bd !important; box-shadow: none !important; }
html #pay #pBack:hover { border-color: rgba(255, 138, 42, .5) !important; color: #fff !important; }

/* the shop: the page does not move when the server tab changes the height (the scrollbar keeps its place); the tab keeps no focus ring after a click */
html { scrollbar-gutter: stable; }
html .m-srv button:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }

/* ===== phones: windows never cut off ===== */
/* a tall window centred in a scrolling overlay lost its top: pin to the top, centre by margin */
.tp-modal, .tp-dlg-wrap { place-items: start center; overflow-y: auto; overscroll-behavior: contain; }
.tp-modal .tp-modal-win, .tp-dlg { margin-block: auto !important; }
.tp-dlg-wrap { box-sizing: border-box; }
@media (max-width: 760px) {
	.tp-modal { padding: 12px 10px calc(12px + env(safe-area-inset-bottom)); }
	.tp-modal .tp-modal-win { padding: 0 14px 16px !important; }
	.tp-modal-head { margin: 0 -14px; padding-left: 14px; }
	.tp-dlg-wrap { padding: 10px; }
	.tp-terms { padding: 12px 10px; }
	/* fixed-width popups: never wider than the screen */
	.tp-pop, .tp-staff, .tp-plist, .me-menu, .adm-menu, .tp-sel-menu, .tp-tip { max-width: calc(100vw - 16px) !important; box-sizing: border-box; }
	.me-menu { min-width: 0 !important; width: min(270px, calc(100vw - 16px)); right: 8px !important; max-height: calc(100dvh - 130px); overflow-y: auto; }
	.tp-plist .tpl-b { max-height: max(200px, calc(100dvh - 260px)); }
	.tp-sel-menu { max-height: min(300px, calc(100dvh - 40px)); }
	/* inputs under 16px make iOS zoom the page on focus */
	input, textarea, select { font-size: 16px !important; }
	/* long words / links / code in posts do not push the page wider */
	.post .body, .post .msg, .post p, .post a, .tpt-win, .tp-dlg { overflow-wrap: anywhere; }
	.badge { white-space: nowrap; overflow-wrap: normal !important; }
	.post .nm, .post [data-text] { overflow-wrap: normal !important; word-break: keep-all; font-size: clamp(.7rem, 4.2vw, 1rem); max-width: 100%; display: inline-block; }
	pre, table { max-width: 100%; }
	pre { overflow-x: auto; }
	img, video, iframe { max-width: 100%; }
}
/* phones/tablets: the bar's blur makes its own layer, so its dropdowns slid under the hero title: lift the bar above the page */
@media (max-width: 1099px) {
	header nav:not(.stuck) { position: relative; z-index: 120; }
	header nav.stuck { z-index: 120; }
	.nv-dd > ul { z-index: 130 !important; }
}
/* phones: the section rows drop the topics/posts counts, so the header drops them too */
@media (max-width: 760px) {
	html .layout .tp-th, html .tp-th { display: flex !important; justify-content: space-between; align-items: center; }
	html .tp-th > span:nth-child(2), html .tp-th > span:nth-child(3) { display: none !important; }
}
/* phones: topic rows — replies/views were two bare digits squeezed at the right edge; show them as a labelled line under the title */
@media (max-width: 760px) {
	.layout .tr-list > .row { grid-template-columns: minmax(0, 1fr) !important; row-gap: 6px; }
	.tr-list .num.stats { display: flex !important; gap: 14px; justify-content: flex-start; }
	.tr-list .num.stats > span { display: inline-flex; align-items: center; gap: 5px; color: var(--dust); }
	.tr-list .num.stats svg { display: inline-block; width: 13px; height: 13px; opacity: .7; }
	.tr-list .tr-last { display: flex !important; gap: 6px; align-items: baseline; }
	.tr-list .tr-last b { display: inline; }
}
/* the floating chat button no longer covers the right side of the last row */
@media (max-width: 760px) { body { padding-bottom: 72px; } }
/* phones: the chat window follows the visible screen (address bar / keyboard), not the full one */
@media (max-width: 760px) { .chat-box { height: 60vh; height: 58dvh; min-height: 280px; } }
/* phones: the account menu hung from the button low on the screen ran past the bottom; pin it near the top, scroll inside */
@media (max-width: 760px) { .me-menu { top: var(--mm-top, 64px) !important; bottom: auto !important; max-height: calc(100vh - var(--mm-top, 64px) - 12px); max-height: calc(100dvh - var(--mm-top, 64px) - 12px); overflow-y: auto; overscroll-behavior: contain; } }
/* phones: wide tables (top 15 etc.) were clipped by their card; let them scroll sideways inside it */
@media (max-width: 760px) {
	.tp-wrap { overflow-x: auto !important; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
	.tp-wrap > .tp-table { min-width: max-content; }
	.tp-table th, .tp-table td { white-space: nowrap; }
}
/* the account / staff menus live in the hero's top row (z 1), the search form below it is also z 1 and later in the page, so it covered the open menus: lift the top row */
.tp-hero-top { position: relative; z-index: 6 !important; }
.tp-hero-top .me-menu, .tp-hero-top .adm-menu { z-index: 1000; }
/* while the account / staff menu is open, its row goes above the nav bar too (the menu is pinned near the top on phones) */
.tp-hero-top:has(details[open]) { z-index: 200 !important; }
/* phones: the account and staff menus nearly full width, bigger tap targets */
@media (max-width: 760px) {
	.me-menu, .adm-menu { left: 10px !important; right: 10px !important; width: auto !important; max-width: none !important; min-width: 0 !important; transform: none !important; }
	.me-menu a, .adm-menu a { padding-top: 11px; padding-bottom: 11px; }
}
/* touch screens up to 1099px (phones in desktop mode / landscape, tablets): the same wide menus as on narrow phones */
@media (max-width: 1099px) and (pointer: coarse) {
	.me-menu, .adm-menu { position: fixed !important; left: 10px !important; right: 10px !important; width: auto !important; max-width: none !important; min-width: 0 !important; transform: none !important;
		top: var(--mm-top, 64px) !important; bottom: auto !important; max-height: calc(100dvh - var(--mm-top, 64px) - 12px); overflow-y: auto; overscroll-behavior: contain; }
	.me-menu a, .adm-menu a { padding-top: 11px; padding-bottom: 11px; }
}
/* phones: the profile is in the bottom dock, the hero's own profile button is a duplicate (its menu stays, the dock opens it) */
@media (max-width: 760px), (max-width: 1099px) and (pointer: coarse) {
	.me-dd > summary { display: none !important; }
	.me-dd { margin: 0 !important; padding: 0 !important; width: 0; height: 0; }
}
/* phones: the staff shield is in the bottom dock too, the hero's own one is a duplicate */
@media (max-width: 760px), (max-width: 1099px) and (pointer: coarse) {
	details.adm-dd > summary { display: none !important; }
	details.adm-dd { margin: 0 !important; padding: 0 !important; width: 0; height: 0; }
}

/* private messages look like the general chat: a dark card, bubbles with an avatar and the name, date pills */
.layout .chat-wrap { border-radius: 18px; background: #121215; overflow: hidden; }
.layout .chat#chat { gap: 6px; padding: 14px 18px; border: 0; border-radius: 18px; background: #121215; }
.layout .chat#chat .pm-day { justify-self: center; margin: 10px 0 6px; padding: 5px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); font: 500 .72rem/1 var(--body); color: var(--dust); }
.layout .chat#chat .msg { max-width: 74%; min-width: 90px; margin: 0 0 0 46px; padding: 8px 13px 7px; border: 0; border-radius: 14px 14px 14px 4px; background: #1d1b23; }
.layout .chat#chat .msg.out { margin: 0 46px 0 0; border-radius: 14px 14px 4px 14px; background: rgba(255, 138, 42, .15); }
.layout .chat#chat .m-av { position: absolute; left: -46px; bottom: 0; width: 36px; height: 36px; text-decoration: none; color: var(--bone); }
.layout .chat#chat .msg.out .m-av { left: auto; right: -46px; }
.layout .chat#chat .m-av img, .layout .chat#chat .m-av .noav { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--ash); font-weight: 700; }
.layout .chat#chat .m-h { display: block; margin-bottom: 2px; font-size: .88rem; }
.layout .chat#chat .m-body { font: 400 .9rem/1.45 var(--body); color: var(--bone); }
.layout .chat#chat .msg .sub { font: 400 .68rem/1.4 var(--body); color: #77746d; }
@media (max-width: 760px), (max-width: 1099px) and (pointer: coarse) { .layout .chat#chat { padding: 12px 10px; } .layout .chat#chat .msg { max-width: 82%; } }

/* the PM typing line = the general chat's: round tools on the left, the field with the send button inside it */
.layout form.composer#reply { position: relative; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 0; padding: 12px 14px; border: 0; border-radius: 0 0 18px 18px; background: #19191d; box-shadow: none; }
.layout .chat-wrap:has(+ .typing + .stk-pick + form#reply), .layout .chat-wrap { border-radius: 18px 18px 0 0; }
.layout .chat-wrap .chat#chat { border-radius: 18px 18px 0 0; }
.layout form#reply .cmp-btn { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .05); color: #ffb070; font-size: 1rem; box-shadow: none; }
.layout form#reply .cmp-btn:hover { background: rgba(255, 255, 255, .1); }
.layout form#reply .cmp-btn svg { width: 18px; height: 18px; }
.layout form#reply #pm-pic { order: 0; } .layout form#reply #mic-btn { order: 1; } .layout form#reply #stk-btn { order: 2; }
.layout form#reply textarea { order: 3; flex: 1; min-width: 0; min-height: 42px; padding: 10px 54px 10px 14px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .05); font: 400 .9rem/1.45 var(--body); }
.layout form#reply textarea:focus { box-shadow: 0 0 0 1px rgba(224, 138, 60, .5); }
.layout form#reply .send { order: 4; position: absolute; right: 20px; top: 15px; width: 34px; height: 34px; border-radius: 50%; background: var(--rust); box-shadow: none; transform: none; }
.layout form#reply .send svg { width: 16px; height: 16px; }
.layout form#reply .composer-files { order: 5; }
.layout form#reply .up-add, .layout form#reply .upzone > .hint { display: none; }
.layout form#reply .upzone { padding: 0; border: 0; background: none; }
.layout form#reply .composer-files:not(:has(.up-item)):has(.up-bar[hidden]) { display: none; }

/* the PM head = the general chat's head: one dark bar on top of the card - back, the name, the status */
html .layout .chat-head:has(#pm-status) { margin: 0 !important; padding: 12px 18px !important; border: 0 !important; border-radius: 18px 18px 0 0 !important; background: #121215 !important; border-bottom: 1px solid rgba(255, 255, 255, .06) !important; }
html .layout .chat-head:has(#pm-status) + .pm-pin, html .layout .chat-head:has(#pm-status) ~ .chat-wrap, html .layout .chat-head:has(#pm-status) ~ .chat-wrap .chat#chat { margin-top: 0 !important; border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; }
html .layout .chat-head:has(#pm-status) .crumbs { display: flex !important; align-items: center !important; gap: 10px !important; font: 600 .92rem/1.2 var(--body) !important; color: transparent !important; letter-spacing: 0 !important; text-transform: none !important; }
html .layout .chat-head:has(#pm-status) .crumbs a { text-decoration: none !important; color: var(--bone) !important; font: 600 .92rem/1.2 var(--body) !important; }
html .layout .chat-head:has(#pm-status) .crumbs a:first-child { display: grid !important; place-items: center !important; width: 32px !important; height: 32px !important; border-radius: 50% !important; background: rgba(255, 255, 255, .05) !important; font-size: 0 !important; }
html .layout .chat-head:has(#pm-status) .crumbs a:first-child::before { content: '←' !important; font-size: 1rem !important; color: #ffb070 !important; }
html .layout .chat-head:has(#pm-status) .crumbs a:first-child:hover { background: rgba(255, 255, 255, .1) !important; }
html .layout .chat-head:has(#pm-status) .crumbs a:hover { color: #ffb070 !important; }
html .layout .chat-head:has(#pm-status) #pm-status .pm-st { margin: 0 !important; font: 500 .76rem/1.2 var(--body) !important; color: var(--dust) !important; }
html .layout .chat-head:has(#pm-status) .del-chat { padding: 7px 12px !important; border: 0 !important; border-radius: 10px !important; background: rgba(255, 255, 255, .05) !important; font: 500 .76rem/1 var(--body) !important; }
html .layout .chat-head:has(#pm-status) .del-chat:hover { background: rgba(255, 90, 99, .16) !important; color: #ff7a72 !important; }
.layout .pm-pin { margin: 0; border-radius: 0; background: #17171b; }
html .layout .chat-head:has(#pm-status) .crumbs a:first-child { line-height: 0 !important; } html .layout .chat-head:has(#pm-status) .crumbs a:first-child::before { display: block !important; font: 400 1rem/1 var(--body) !important; transform: translateY(1px); }
html .layout .chat-head:has(#pm-status) .crumbs a:first-child::before { color: #ffb070 !important; }
html .layout .chat-head:has(#pm-status) .crumbs a:first-child::before { content: '' !important; display: block !important; width: 16px !important; height: 16px !important; transform: none !important; background: #ffb070 !important; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M12 19l-7-7 7-7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M12 19l-7-7 7-7'/%3E%3C/svg%3E") center / contain no-repeat; }
html .layout .chat-head:has(#pm-status) .crumbs a:first-child { display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; }

/* the PM list = the chat's card: one dark window, quiet rows split by thin lines */
html .layout .pmlist { display: grid; gap: 0 !important; padding: 6px; border-radius: 18px; background: #121215; }
html .layout .pmlist .pmwrap + .pmwrap { border-top: 1px solid rgba(255, 255, 255, .05); }
html .layout .pmrow { padding: 12px 58px 12px 12px !important; border: 0 !important; border-radius: 12px !important; background: transparent !important; box-shadow: none !important; transform: none !important; }
html .layout .pmrow:hover { background: rgba(255, 255, 255, .04) !important; }
html .layout .pmrow.unseen { background: rgba(255, 138, 42, .08) !important; }
html .layout .pm-av img, html .layout .pm-av .noav { border: 0; }
html .layout .pm-av i { box-shadow: 0 0 0 3px #121215; }
html .layout .pm-top b, html .layout .pm-top .nm { font-size: .95rem; }
html .layout .pm-time { font: 400 .72rem/1 var(--body) !important; letter-spacing: 0 !important; color: #77746d; }
html .layout .pm-last { font: 400 .86rem/1.35 var(--body); color: #9a9790; }
html .layout .pm-last em { color: #ffb070; }
html .layout .pm-n { background: var(--rust); color: #1a0f06; }
html .layout .pm-x .m-btn { border: 0; border-radius: 50%; background: rgba(255, 255, 255, .05); }
html .layout .pm-x .m-btn:hover { background: rgba(255, 90, 99, .16); color: #ff7a72; }
html .layout .pm-privacy { margin-top: 12px; padding: 12px 16px; border-radius: 14px; background: #121215; font: 400 .86rem/1.4 var(--body); }
html .layout .pm-privacy select { padding: 6px 10px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--bone); }

/* off the forum's main page: one round back arrow (like the PM head) instead of the "Forum > Section" trail */
html .tp-hero .backbar .trail, html .backbar .trail { display: none !important; }
html .backbar:not([hidden]) .back { display: flex !important; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: rgba(255, 255, 255, .07) !important; font-size: 0 !important; color: transparent !important; overflow: hidden; box-shadow: none !important; transition: background .15s; }
html .backbar:not([hidden]) .back:hover { background: rgba(255, 255, 255, .13) !important; }
html .backbar:not([hidden]) .back svg { display: block; flex: none; width: 17px !important; height: 17px !important; margin: 0 !important; color: #ffb070 !important; stroke-width: 2.4; }
html .backbar:not([hidden]) .back { justify-content: center !important; align-items: center !important; gap: 0 !important; line-height: 0 !important; }
