/* ==========================================================================
   Community: online panel, members, profiles, gallery, pictures
   ========================================================================== */

/* ---------------------------------------------------------------- Online panel (home, signed-in) */
.online-panel {
	position: fixed; right: 0; top: 120px; z-index: 40;
	display: flex; align-items: flex-start;
	transition: transform .45s var(--ease);
}
.online-panel.is-collapsed { transform: translateX(260px); }
.online-handle {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	margin-top: 18px; padding: 14px 8px;
	background: rgba(9, 7, 10, .95); border: 1px solid var(--line-strong); border-right: 0;
	color: var(--ink); cursor: pointer; box-shadow: -10px 10px 30px rgba(0, 0, 0, .5);
}
.online-handle b { font: 700 1rem/1 var(--f-head); color: var(--ember-2); }
.online-handle-text { writing-mode: vertical-rl; transform: rotate(180deg); font: 700 .62rem/1 var(--f-head); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.online-body {
	width: 260px; max-height: calc(100vh - 160px); overflow-y: auto; scrollbar-width: thin;
	background: linear-gradient(180deg, rgba(21, 16, 21, .97), rgba(9, 7, 10, .98));
	border: 1px solid var(--line-strong); border-right: 0;
	box-shadow: -20px 20px 60px rgba(0, 0, 0, .6);
}
.online-head { padding: 18px 18px 12px; border-bottom: 1px solid var(--line); }
.online-head h2 { font-size: 1rem; color: var(--ember-2); letter-spacing: .08em; }
.online-head p { margin: .3rem 0 0; font-size: .9rem; color: var(--muted); font-style: italic; }
.ol-title { display: flex; justify-content: space-between; padding: 12px 18px 6px; font: 700 .6rem/1 var(--f-head); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.ol-title span { color: var(--ember); }
.ol-list { list-style: none; margin: 0; padding: 0 8px 8px; }
.ol-row a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; color: var(--ink-soft); border-left: 2px solid transparent; }
.ol-row a:hover { color: var(--ink); background: rgba(122, 12, 12, .16); border-left-color: var(--blood-glow); }
.ol-angel .ol-name { color: var(--holy-2); }
.ol-demon .ol-name { color: #ffc4b4; }
.ol-name { flex: 1; font: 600 .9rem/1.2 var(--f-head); letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ol-ago { font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ol-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #5fd35f; box-shadow: 0 0 8px #5fd35f; }
.ol-dot.is-away { background: #6a6a6a; box-shadow: none; }
.ol-empty { padding: 8px 10px; font-size: .92rem; font-style: italic; color: var(--muted); }
.online-foot { display: block; padding: 12px 18px; border-top: 1px solid var(--line); font: 600 .74rem/1 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--ember-2); }

/* ---------------------------------------------------------------- Members */
.people { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 110px !important; }
.people-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: -24px 0 30px; position: relative; z-index: 2; }
.people-tools input[type=search] { flex: 1; min-width: 220px; padding: .75em 1em; font: 400 1.05rem/1.2 var(--f-body); color: var(--ink); background: #09070a; border: 1px solid var(--line-strong); outline: none; }
.people-tools input[type=search]:focus { border-color: var(--ember-2); }
.people-tools .filter-chips { margin: 0; }
a.chip { display: inline-block; }
.people-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.person a { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(21, 16, 21, .92), rgba(9, 7, 10, .96)); color: var(--ink); transition: border-color .25s, transform .25s var(--ease); }
.person a:hover { border-color: var(--line-strong); transform: translateY(-2px); color: var(--ink); }
.person-angel a { border-left: 2px solid var(--holy); }
.person-demon a { border-left: 2px solid var(--blood-glow); }
.person-pic { position: relative; flex: none; }
.person-pic img { width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--line-strong); }
.person-pic .ol-dot { position: absolute; right: -3px; bottom: -3px; border: 2px solid var(--bg); width: 12px; height: 12px; }
.person-text { min-width: 0; }
.person-text b { display: block; font: 700 1rem/1.2 var(--f-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person-text small { display: block; margin-top: .2rem; font-size: .92rem; color: var(--ink-soft); }
.person-text em { display: block; margin-top: .2rem; font-size: .85rem; color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }

/* ---------------------------------------------------------------- Profile */
.profile-body { margin-top: 30px; }
.profile-stats { padding: 0 !important; margin: 0 0 34px; grid-template-columns: repeat(4, 1fr); }
.stat-name { font-size: 1.05rem !important; }
.skill-list-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; margin-bottom: 40px; }
.profile-gallery-title { display: flex; justify-content: space-between; align-items: baseline; }
.profile-gallery-title a { font: 600 .72rem/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; }

/* ---------------------------------------------------------------- Gallery */
.gallery-tab-bar { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: -34px 0 30px; }
.gallery-upload-note { margin: 0 0 24px; text-align: center; color: var(--muted); font-style: italic; }
.gallery-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery-grid-sm { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.gcard a { display: block; border: 1px solid var(--line); background: rgba(9, 7, 10, .92); color: var(--ink); transition: border-color .25s, transform .3s var(--ease); }
.gcard a:hover { border-color: var(--line-strong); transform: translateY(-4px); color: var(--ink); }
.gcard-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.gcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .4s; filter: saturate(.9); }
.gcard a:hover .gcard-img img { transform: scale(1.05); filter: saturate(1.05); }
.gcard-vis, .gcard-contest { position: absolute; top: 8px; padding: .35em .6em; font: 700 .56rem/1 var(--f-head); letter-spacing: .18em; text-transform: uppercase; background: rgba(0, 0, 0, .75); border: 1px solid var(--line-strong); color: var(--ink-soft); }
.gcard-vis { left: 8px; }
.gcard-contest { right: 8px; color: var(--ember-2); border-color: var(--ember-2); }
.gcard-meta { display: block; padding: 12px 14px; }
.gcard-meta b { display: block; font: 600 .98rem/1.25 var(--f-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gcard-meta small { display: block; margin-top: .2rem; font-size: .9rem; color: var(--muted); }
.gcard-counts { display: flex; gap: 14px; margin-top: .5rem; font: 600 .8rem/1 var(--f-head); color: var(--ember); }

/* ---------------------------------------------------------------- Picture page */
.picture-page { padding: 110px var(--gutter) 110px; }
.picture-layout { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; align-items: start; }
.picture-stage { margin: 0; }
.picture-stage img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; border: 1px solid var(--line-strong); box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.picture-nav { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.picture-side { padding: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(21, 16, 21, .95), rgba(9, 7, 10, .97)); position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow-y: auto; }
.picture-side h1 { font-size: 1.5rem; color: #f1e2c4; margin-bottom: .3rem; }
.picture-by { color: var(--muted); }
.like-form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 1rem 0 1.6rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.like-btn { padding: .55em 1.1em; font: 700 .9rem/1 var(--f-head); color: var(--ink); background: rgba(122, 12, 12, .2); border: 1px solid var(--line-strong); cursor: pointer; }
.like-btn.is-liked { color: #fff; background: var(--blood-2); border-color: var(--blood-glow); }
.like-btn:disabled { opacity: .6; cursor: default; }
.likers { font-size: .9rem; color: var(--muted); font-style: italic; }
.comment-list { list-style: none; margin: 0 0 16px; padding: 0; }
.comment { padding: 12px 0; border-bottom: 1px solid var(--line); }
.comment-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: .3rem; }
.comment-head a { font: 700 .9rem/1.2 var(--f-head); }
.comment-head time { font-size: .82rem; color: var(--muted); }
.comment p { margin: 0; font-size: 1rem; color: var(--ink-soft); word-wrap: break-word; }
.comment-likes { font: 600 .78rem/1 var(--f-head); color: var(--ember); }
.comment-empty { font-style: italic; color: var(--muted); }
.comment-form textarea { width: 100%; padding: .7em .9em; margin-bottom: 10px; font: 400 1rem/1.4 var(--f-body); color: var(--ink); background: #09070a; border: 1px solid var(--line-strong); resize: vertical; }
.comment-form textarea:disabled { opacity: .6; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1000px) {
	.picture-layout { grid-template-columns: 1fr; }
	.picture-side { position: static; max-height: none; }
	.profile-stats { grid-template-columns: 1fr 1fr; }
	.skill-list-wide { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
	.online-panel { top: auto; bottom: 16px; }
	.online-body { max-height: 60vh; }
}
.person-sigil { display: grid; place-items: center; width: 64px; height: 64px; font: 900 1.6rem/1 var(--f-display); color: var(--ember-2); background: radial-gradient(circle, #241a1e, #0c0809); border: 1px solid var(--line-strong); }
.person-angel .person-sigil { color: var(--holy-2); box-shadow: inset 0 0 20px rgba(156, 195, 230, .2); }
.person-demon .person-sigil { color: #ffc4b4; box-shadow: inset 0 0 20px rgba(224, 38, 44, .25); }

/* ---------------------------------------------------------------- Achievements, seasons, feeds */
.ach-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.ach { padding: 16px 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(21, 16, 21, .92), rgba(9, 7, 10, .96)); }
.ach-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: .6rem; }
.ach-top h3 { font-size: 1rem; color: var(--ink); }
.ach-tier { font: 700 .6rem/1 var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tier-1 .ach-tier { color: #e0a878; } .tier-2 .ach-tier { color: #d8d8e2; } .tier-3 .ach-tier { color: var(--ember-2); }
.ach-tiers { display: flex; gap: 6px; margin-bottom: .6rem; }
.ach-tiers span { flex: 1; height: 4px; background: rgba(255, 255, 255, .07); }
.ach-tiers span.is-done { background: linear-gradient(90deg, var(--ember), var(--ember-2)); box-shadow: 0 0 8px rgba(233, 183, 101, .5); }
.ach-when { margin: .5rem 0 0; font-size: .85rem; color: var(--muted); font-style: italic; }
.lineage-summary a { color: var(--ember-2); }

.season { max-width: var(--wrap); margin: 0 auto; padding: 30px var(--gutter) 110px !important; }
.season-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.season-card { padding: 20px 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(21, 16, 21, .92), rgba(9, 7, 10, .96)); }
.season-card h2 { font-size: 1.15rem; color: var(--ember-2); }
.season-sub { margin: .2rem 0 .9rem; font-size: .9rem; color: var(--muted); font-style: italic; }
.season-card ol { list-style: none; margin: 0; padding: 0; }
.season-card li { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); }
.season-card li.is-me { background: rgba(233, 183, 101, .08); }
.season-card .sr { font: 900 .9rem/1 var(--f-display); color: var(--ember); text-align: center; }
.season-card li:first-child .sr { color: var(--ember-2); text-shadow: 0 0 10px var(--ember); }
.season-card .sn { font: 600 .92rem/1.2 var(--f-head); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.season-card b { font: 700 .92rem/1 var(--f-head); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.season-you { margin: .9rem 0 0; font-size: .95rem; color: var(--ink-soft); }
.season-you b { color: var(--ember-2); }

.feed { max-width: 900px; margin: 0 auto; padding: 30px var(--gutter) 110px !important; display: grid; gap: 12px; }
.feed-grid { max-width: var(--wrap); grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.feed-grid .pager { grid-column: 1 / -1; }
.feed-item { display: block; padding: 20px 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(21, 16, 21, .92), rgba(9, 7, 10, .96)); color: var(--ink); transition: border-color .25s, transform .25s var(--ease); }
.feed-item:hover { border-color: var(--line-strong); transform: translateY(-3px); color: var(--ink); }
.feed-item h2 { font-size: 1.2rem; margin: .4rem 0 .5rem; }
.feed-item p { margin: 0 0 .5rem; color: var(--ink-soft); font-size: 1.02rem; }
.feed-item small { color: var(--muted); font-style: italic; }
.feed-date { font: 700 .62rem/1 var(--f-head); letter-spacing: .25em; text-transform: uppercase; color: var(--blood-glow); }
.story-angel { border-top: 2px solid var(--holy); } .story-demon { border-top: 2px solid var(--blood-glow); }
.notice-body a, .lore-body a { text-decoration: underline; }

/* ---------------------------------------------------------------- Friends & notifications */
.friend-form { margin-top: 1rem; }
.btn:disabled { opacity: .55; cursor: default; transform: none; filter: none; }
.request-list, .notif-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.request { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); background: rgba(13, 10, 14, .85); }
.request a { color: var(--ink); } .request small { color: var(--muted); }
.request form { display: flex; gap: 8px; }
.notif a { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); background: rgba(13, 10, 14, .85); color: var(--ink-soft); }
.notif a:hover { border-color: var(--line-strong); color: var(--ink); }
.notif.is-new a { border-left: 3px solid var(--blood-glow); background: linear-gradient(90deg, rgba(122, 12, 12, .18), rgba(13, 10, 14, .85)); }
.notif img { width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--line); }
.notif b { font-family: var(--f-head); color: var(--ink); }
.notif i { color: var(--ember-2); font-style: normal; }
.notif q { display: block; margin-top: .3rem; font-style: italic; color: var(--muted); }
.notif time { font: 600 .8rem/1 var(--f-head); color: var(--muted); }

/* ===================================================== Numbered pager */
.pager { flex-wrap: wrap; align-items: center; gap: 10px; }
.pager-pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.pager-step, .pager-num {
	display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
	font: 700 .8rem/1 var(--f-head); letter-spacing: .12em; text-transform: uppercase;
	color: var(--ink-soft); border: 1px solid var(--line); background: rgba(9, 7, 10, .85);
	transition: color .2s, border-color .2s, background .2s;
}
.pager-num { letter-spacing: 0; font-size: .9rem; padding: 0 8px; }
a.pager-step:hover, a.pager-num:hover { color: var(--ink); border-color: var(--line-strong); background: rgba(122, 12, 12, .25); }
.pager-num.is-current { color: #f4e6c8; border-color: var(--ember); background: linear-gradient(180deg, rgba(168, 20, 26, .55), rgba(122, 12, 12, .35)); box-shadow: 0 0 14px rgba(224, 38, 44, .25); }
.pager-step.is-off { opacity: .35; }
.pager-gap { color: var(--muted); padding: 0 2px; }
@media (max-width: 560px) {
	.pager-step { order: 2; }
	.pager-pages { order: 1; flex-basis: 100%; }
}

/* ===================================================== Notice Archive, expandable seals */
.notices { max-width: 980px; margin: 0 auto; padding: 40px var(--gutter) 110px; display: grid; gap: 14px; position: relative; }
.notices::before { content: ""; position: absolute; top: 40px; bottom: 140px; left: calc(var(--gutter) + 41px); width: 1px; background: linear-gradient(180deg, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent); }
.notice {
	position: relative;
	border: 1px solid var(--line);
	background: linear-gradient(180deg, rgba(21, 16, 21, .94), rgba(9, 7, 10, .97));
	transition: border-color .25s, box-shadow .25s;
}
.notice:hover { border-color: var(--line-strong); }
.notice[open] { border-color: var(--ember); box-shadow: 0 0 0 1px rgba(200, 147, 74, .12), 0 24px 60px rgba(0, 0, 0, .55); }
.notice.is-pinned { border-left: 2px solid var(--blood-glow); }
.notice summary {
	list-style: none; cursor: pointer;
	display: grid; grid-template-columns: 84px 1fr 28px; gap: 22px; align-items: center;
	padding: 18px 22px 18px 0;
}
.notice summary::-webkit-details-marker { display: none; }
.notice summary:focus-visible { outline: 1px solid var(--ember-2); outline-offset: -1px; }

.notice-seal {
	position: relative; z-index: 1; justify-self: center;
	display: grid; place-items: center; align-content: center; gap: 2px;
	width: 66px; height: 66px; border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #b3262c, #6d0a0f 62%, #3d0507);
	box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .25), inset 0 0 0 5px rgba(233, 183, 101, .25), 0 4px 14px rgba(0, 0, 0, .6);
	color: #f4e2c0; text-align: center;
}
.notice-seal b { font: 900 1.35rem/1 var(--f-head); }
.notice-seal small { font: 700 .58rem/1 var(--f-head); letter-spacing: .2em; text-transform: uppercase; }
.notice-seal em { font: 600 .55rem/1 var(--f-head); letter-spacing: .12em; font-style: normal; opacity: .75; }
.notice:not(.is-pinned) .notice-seal { background: radial-gradient(circle at 35% 30%, #4a3a2a, #2a1f16 62%, #17110c); color: var(--ember-2); }

.notice-head { display: grid; gap: 6px; min-width: 0; }
.notice-tag { justify-self: start; padding: 3px 9px; font: 700 .58rem/1 var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: #fff0d8; background: rgba(168, 20, 26, .6); border: 1px solid var(--blood-glow); }
.notice-title { font: 700 1.25rem/1.25 var(--f-head); color: #f1e2c4; letter-spacing: .02em; }
.notice-excerpt { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.notice[open] .notice-excerpt { display: none; }

.notice-chevron { width: 12px; height: 12px; justify-self: center; border-right: 2px solid var(--ember); border-bottom: 2px solid var(--ember); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.notice[open] .notice-chevron { transform: rotate(225deg) translateY(-3px); }

.notice .notice-body.lore-body {
	max-width: none; margin: 0; padding: 6px clamp(22px, 5vw, 64px) 34px calc(84px + 22px);
	font-size: 1.14rem; line-height: 1.75;
	border-top: 1px solid var(--line);
	padding-top: 26px;
	animation: notice-open .35s var(--ease);
}
.notice-body h3, .notice-body h4 { color: var(--ember-2); margin: 1.4em 0 .5em; font-size: 1.1rem; }
.notice-body ul, .notice-body ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.notice-body li { margin-bottom: .35em; }
.notice-body img { max-width: 100%; height: auto; margin: .6em 0; border: 1px solid var(--line); }
.notice-body hr { border: 0; border-top: 1px solid var(--line); margin: 1.6em 0; }
.notice-body > p:first-of-type::first-letter { font-size: 2.6em; }
@keyframes notice-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.notices .pager { margin-top: 24px; }

@media (max-width: 640px) {
	.notices::before { display: none; }
	.notice summary { grid-template-columns: 58px 1fr 20px; gap: 12px; padding: 14px 14px 14px 0; }
	.notice-seal { width: 50px; height: 50px; }
	.notice-seal b { font-size: 1.05rem; }
	.notice-seal em { display: none; }
	.notice-title { font-size: 1.08rem; }
	.notice .notice-body.lore-body { padding: 20px 18px 26px; font-size: 1.05rem; }
}

/* RP stories & notices: readable paragraphs and breaks */
.lore-body h3, .lore-body h4 { color: var(--ember-2); margin: 1.5em 0 .5em; }
.lore-body ul, .lore-body ol { padding-left: 1.4em; margin: 0 0 1.25em; }
.lore-body img { max-width: 100%; height: auto; }
/* Two pictures in a row (notices, stories): stacked with a small gap, not an empty line between them (2026-10-08) */
.lore-body img:has(+ br + img), .lore-body img:has(+ br + img) + br + img { display: block; margin-top: 8px; margin-bottom: 8px; }
.lore-body img:has(+ br + img) + br { display: none; }
.lore-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* My Achievements: filters, search, mastered */
.records-summary { grid-template-columns: repeat(5, 1fr); max-width: 1180px; }
.stat-mastered strong { color: var(--ember-2); text-shadow: 0 0 18px rgba(233, 183, 101, .35); }
.ach-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ach-tools .filter-chips { margin: 0; }
.ach-tools .chip small { margin-left: .35em; opacity: .65; font-size: .85em; }
.chip-tier-1.is-on { border-color: #b0794a; color: #f0c8a0; }
.chip-tier-2.is-on { border-color: #c9ccd2; color: #eef0f4; }
.chip-tier-3.is-on { border-color: var(--ember-2); color: var(--ember-2); }
.chip-tier-4.is-on { border-color: var(--blood-glow); color: #ffd8c8; box-shadow: 0 0 12px rgba(224, 38, 44, .3); }
.ach-search { flex: 0 1 280px; min-width: 200px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: rgba(9, 7, 10, .9); border: 1px solid var(--line); }
.ach-search:focus { outline: none; border-color: var(--ember); }
.tier-4 .ach-tier { color: var(--blood-glow); }
.ach.is-mastered { border-color: rgba(224, 38, 44, .45); background: linear-gradient(180deg, rgba(122, 12, 12, .22), rgba(9, 7, 10, .96)); }
.ach.is-mastered .ach-tiers span.is-done { background: linear-gradient(90deg, var(--blood-2), var(--blood-glow)); box-shadow: 0 0 8px rgba(224, 38, 44, .5); }
.quest-progress.is-complete i { background: linear-gradient(90deg, var(--blood), var(--blood-glow)); }
@media (max-width: 900px) { .records-summary { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .records-summary { grid-template-columns: repeat(2, 1fr); } .ach-search { flex-basis: 100%; } }

/* Notice categories: filter chips above the archive and a coloured tag on each notice */
.notice-filters { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding: 34px var(--gutter) 0; }
.notice-filters + .notices { padding-top: 6px; }
.notice-filters + .notices::before { top: 6px; }
.notice-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.notice-tags .notice-tag { justify-self: auto; }
.notice-cat { --cat: var(--ember-2); padding: 3px 9px; font: 700 .58rem/1 var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: var(--cat); background: color-mix(in srgb, var(--cat) 12%, transparent); border: 1px solid color-mix(in srgb, var(--cat) 55%, transparent); }
.cat-new { --cat: #8fd98a; }
.cat-update { --cat: #8fc3ee; }
.cat-upcoming { --cat: #c9a6f2; }
.cat-announcement { --cat: #f2cf73; }
.cat-change { --cat: #f0a06a; }
.chip.notice-chip.is-on { color: var(--bg); background: var(--cat); border-color: var(--cat); }
.chip.notice-chip:not(.is-on):hover { color: var(--cat); border-color: color-mix(in srgb, var(--cat) 55%, transparent); }
/* Social: notifications without a picture get their kind's icon in the picture's place */
.notif-ico { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--line); background: rgba(0, 0, 0, .35); }
.notif-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--ember-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.notif.is-like .notif-ico svg { stroke: #ff8a80; }
.notif.is-notice .notif-ico svg, .notif.is-devlog .notif-ico svg { stroke: var(--holy); }
.notif a > span { min-width: 0; overflow-wrap: anywhere; }

/* Share button under a notice or developer log */
.notice-share { display: flex; justify-content: flex-end; padding: 0 clamp(22px, 5vw, 64px) 20px; margin-top: -14px; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; background: rgba(13, 10, 14, .8); border: 1px solid var(--line-strong); color: var(--ink-soft); cursor: pointer; font: 700 .66rem/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; transition: border-color .2s, color .2s; }
.share-btn:hover, .share-btn:focus-visible { border-color: var(--ember-2); color: var(--ember-2); outline: none; }
.share-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notice-share { flex-wrap: wrap; gap: 8px; }
.share-url { flex: 1 1 260px; max-width: 420px; padding: 6px 10px; font: 400 .9rem var(--f-body); color: var(--ink); background: rgba(0, 0, 0, .45); border: 1px solid var(--line-strong); }
.share-btn.is-copied { border-color: rgba(95, 191, 119, .6); color: #b9e6c4; }
@media (max-width: 640px) { .notice-share { padding: 0 16px 18px; margin-top: -8px; } }

/* Earned Titles on someone else's profile: full width like the stats above, room around each title, space before Seasons */
.profile-body .profile-titles-wrap { max-width: none; margin: 0 0 34px; padding: 0; }
.profile-titles-wrap .char-earned-titles { padding: 24px 26px 18px !important; }
.profile-titles-wrap .title-head { margin-bottom: 16px; }
.profile-titles-wrap .title-grid { gap: 16px; padding-bottom: 12px; }
.profile-titles-wrap .title-grid li { flex-basis: 350px; min-height: 150px; gap: 12px; padding: 22px 14px; }
.profile-titles-wrap .title-note { margin-top: 2px; }
@media (max-width: 640px) { .profile-titles-wrap .char-earned-titles { padding: 18px 16px 12px !important; } .profile-titles-wrap .title-grid li { flex-basis: 280px; min-height: 0; } }

/* A banned member's profile: their name and BANNED, nothing else */
.member section.profile-banned { max-width: 760px; min-height: 62vh; align-content: center; margin: 0 auto; padding: clamp(130px, 16vw, 180px) var(--gutter) 120px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.profile-banned-name { margin: 0; font: 700 clamp(1.3rem, 3vw, 1.8rem)/1.2 var(--f-head); letter-spacing: .08em; color: var(--muted); }
.profile-banned-stamp { margin: 6px 0; padding: .12em .5em .06em; font: 900 clamp(3.4rem, 13vw, 7.5rem)/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: #ff4b42; border: 6px double rgba(224, 38, 44, .85); transform: rotate(-4deg); text-shadow: 0 0 28px rgba(224, 38, 44, .45); box-shadow: 0 0 40px rgba(168, 20, 26, .25), inset 0 0 30px rgba(168, 20, 26, .2); }
.profile-banned-note { margin: 8px 0 0; color: var(--ink-soft); font-style: italic; }

/* The Sators' signature at the end of a notice or developer log */
.sator-sig { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 2.2em 0 .4em; padding-top: 18px; text-align: left; }
.sator-sig::before { content: ''; position: absolute; top: 0; left: 0; width: min(320px, 70%); height: 1px; background: linear-gradient(90deg, rgba(233, 183, 101, .7), transparent); }
.sator-sig::after { content: ''; position: absolute; top: -4px; left: 0; width: 8px; height: 8px; transform: rotate(45deg); background: var(--ember-2); box-shadow: 0 0 10px rgba(233, 183, 101, .6); }
.sig-title { font: 700 .7rem/1.2 var(--f-head); letter-spacing: .32em; text-transform: uppercase; color: var(--ember); }
.sig-names { font: italic 400 clamp(1.25rem, 2.4vw, 1.55rem)/1.2 var(--f-body); color: var(--ember-2); text-shadow: 0 0 18px rgba(233, 183, 101, .25); }

/* List bullets in red, as in the Admin Panel editor (Notice Archive, Developer Logs, RP Tales) */
.notice-body li::marker, .lore-body li::marker, .devlog-body li::marker { color: var(--blood-glow); }

/* Thumbs-up like next to Share (notices, developer logs) */
.react-btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; background: rgba(13, 10, 14, .8); border: 1px solid var(--line-strong); color: var(--ink-soft); cursor: pointer; font: 700 .72rem/1 var(--f-head); letter-spacing: .08em; transition: border-color .2s, color .2s, background .2s; }
.react-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.react-btn:hover, .react-btn:focus-visible { border-color: var(--ember-2); color: var(--ember-2); outline: none; }
.react-btn.is-liked { color: #f2cf73; border-color: rgba(242, 207, 115, .7); background: rgba(200, 147, 74, .14); }
.react-btn.is-liked svg { fill: rgba(242, 207, 115, .35); transform: rotate(-8deg); }
@media (prefers-reduced-motion: reduce) { .react-btn svg { transition: none; } }
.react-btn .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
