
:root {
	--bg: #262626;
	--header: #1c1c1c;
	--surface: #313131;
	--raised: #3b3b3b;
	--line: #444444;
	--text: #ffffff;
	--muted: #b3b3b3;
	--orange: #f26b3a;
	--orange-hover: #ff7d4f;
	--cheer: #ff7a8a;
	--notice: #b05454;
	--radius: 10px;
	--max: 1280px;
	color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font: 15px/1.45 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange-hover); }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: 'Jost', 'Noto Sans', sans-serif; line-height: 1.2; margin: 0; }
p { margin: 0; }
button { font: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.icon { width: 16px; height: 16px; flex: none; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--header); border-bottom: 1px solid #000; }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 21px/1 'Jost', sans-serif; }
.brand img { width: 40px; height: 40px; border-radius: 8px; }
.brand b { color: var(--orange); font-weight: 700; }
.nav { display: flex; gap: 18px; font: 600 15px/1 'Jost', sans-serif; }
.nav a { color: var(--text); }
.nav a:hover, .nav a.on { color: var(--orange); }
.search {
	position: relative; flex: 1; max-width: 420px; margin-left: auto; display: flex; align-items: center; gap: 8px;
	height: 36px; padding: 0 12px; background: #2a2a2a; border: 1px solid var(--line); border-radius: 18px; color: var(--muted);
}
.search:focus-within { border-color: var(--orange); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; }
.search input::placeholder { color: var(--muted); }
.actions { display: flex; align-items: center; gap: 10px; }
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 14px;
	border-radius: 6px; font: 600 14px/1.2 'Jost', 'Noto Sans', sans-serif; border: 1px solid var(--line);
	background: var(--surface); color: var(--text); white-space: nowrap; cursor: pointer;
}
.btn:hover { background: var(--raised); color: var(--text); }
.btn.outline { background: transparent; border-color: var(--orange); color: var(--orange); }
.btn.outline:hover { background: rgba(242, 107, 58, 0.12); color: var(--orange-hover); }
.btn.orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn.orange:hover { background: var(--orange-hover); color: #fff; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.gear { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--text); }
.gear:hover { background: var(--raised); color: var(--text); }
.gear .icon { width: 22px; height: 22px; }
.me .avatar.medium { width: 34px; height: 34px; }
@media (max-width: 860px) {
	.top .wrap { height: auto; flex-wrap: wrap; gap: 10px 16px; padding-top: 10px; padding-bottom: 10px; }
	.search { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; }
	.actions { margin-left: auto; }
	.actions .btn span { display: none; }
}

/* notice bar */
.notice { background: var(--notice); }
.notice .wrap { display: flex; align-items: flex-start; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.notice p { flex: 1; text-align: center; font-size: 14px; }
.notice a { text-decoration: underline; }
.notice button { background: none; border: 0; color: var(--text); cursor: pointer; padding: 2px; }
.notice .icon { width: 20px; height: 20px; }

/* home: promo cards and pills */
.promos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 24px 0 8px; }
.promo { display: flex; flex-direction: column; gap: 10px; }
.promo-pic { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.promo-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
.promo:hover .promo-pic img { transform: scale(1.03); }
.promo-label { font: 600 15px/1.2 'Jost', sans-serif; }
@media (max-width: 760px) { .promos { grid-template-columns: 1fr; } }
.pills { display: flex; justify-content: center; gap: 10px; padding: 18px 0 8px; border-top: 1px solid var(--line); margin-top: 18px; }
.pills a {
	display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 6px;
	border: 1px solid var(--orange); color: var(--orange); font: 600 14px/1.2 'Jost', sans-serif;
}
.pills a:hover { background: rgba(242, 107, 58, 0.12); }

/* home: Featured Rooms beside the feed */
.home-cols { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 20px; padding-top: 18px; align-items: start; }
@media (max-width: 860px) { .home-cols { grid-template-columns: 1fr; } .featured { order: 2; } }
.featured { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.featured h2 { font-size: 20px; padding: 2px 0 2px; }
.feat-room { display: flex; flex-direction: column; gap: 2px; background: #2a2a2a; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; padding-bottom: 8px; }
.feat-room b, .feat-room small { padding: 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feat-room b { font-weight: 600; margin-top: 6px; }
.feat-room small { color: var(--muted); }
.feat-pic { aspect-ratio: 16 / 10; background: var(--raised); overflow: hidden; }
.feat-pic img { width: 100%; height: 100%; object-fit: cover; }
.happening h1 { font-size: 26px; font-weight: 600; margin: 0 0 14px; }

/* page structure */
.page-h1 { font-size: 30px; font-weight: 600; margin: 28px 0 18px; }
.section-h2 { font-size: 22px; font-weight: 600; margin: 32px 0 14px; }
.empty { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }
.pager { display: flex; justify-content: center; gap: 10px; padding: 8px 0 24px; }

/* photo posts */
.feed { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.feed.narrow { max-width: 820px; margin: 0 auto; }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post header { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.post-who { flex: 1; min-width: 0; }
.post-who > div { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.post-name { font-weight: 700; }
.post-handle { color: var(--muted); font-size: 14px; }
.post-room { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.post .when { color: var(--muted); font-size: 13px; white-space: nowrap; }
.share {
	display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
	background: none; border: 0; color: var(--text); cursor: pointer; position: relative;
}
.share:hover { background: var(--raised); }
.share .icon { width: 20px; height: 20px; }
.share[data-done]::after {
	content: attr(data-done); position: absolute; top: 100%; right: 0; white-space: nowrap;
	background: #000; color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 4px;
}
.post-pic { display: block; background: #000; }
.post-pic img { width: 100%; max-height: 80vh; object-fit: contain; margin: 0 auto; }
.post footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 14px 14px; }
.post .cheers { margin-right: 6px; }
.post .cheers, .cheer-btn { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.post .cheers svg, .cheer-btn svg { width: 18px; height: 18px; }
.cheer-form { display: inline; margin: 0 6px 0 0; }
.cheer-btn { font: inherit; background: none; border: 1px solid currentColor; border-radius: 999px; padding: 4px 12px; cursor: pointer; opacity: .85; }
.cheer-btn:hover { opacity: 1; }
.cheer-btn.on { background: var(--cheer); border-color: var(--cheer); color: #fff; opacity: 1; }
.privacy { margin: 12px 0; }
.post .tagged { display: inline-flex; color: var(--muted); }
.post .tagged .icon { width: 20px; height: 20px; }
.chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px;
	background: var(--raised); color: var(--text); font-size: 13px; font-weight: 600; max-width: 100%;
}
.chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.chip:hover { color: var(--orange-hover); }

/* people */
.byline { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.byline b { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.byline small { display: block; color: var(--muted); font-size: 13px; }
.avatar {
	border-radius: 50%; flex: none; object-fit: cover; background: var(--raised);
	display: inline-grid; place-items: center; font-weight: 700; color: var(--orange);
}
.avatar.small { width: 20px; height: 20px; font-size: 11px; }
.avatar.medium { width: 40px; height: 40px; font-size: 16px; }
.avatar.big { width: 120px; height: 120px; font-size: 46px; border: 3px solid var(--orange); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.people .byline { background: var(--surface); border: 1px solid var(--line); padding: 12px; border-radius: var(--radius); }

/* boxes and side rows */
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.box h1 { font-size: 26px; font-weight: 700; overflow-wrap: anywhere; }
.box h2 { font-size: 20px; font-weight: 600; }
.box p { overflow-wrap: anywhere; }
.featured .box { padding: 10px; background: #2a2a2a; }
.side-row { display: flex; gap: 10px; align-items: center; min-width: 0; }
.side-row .thumb { flex: none; width: 64px; height: 36px; border-radius: 4px; overflow: hidden; background: var(--raised); }
.side-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-text { min-width: 0; display: flex; flex-direction: column; }
.side-text b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-text small { color: var(--muted); font-size: 12px; }
.live { color: var(--orange) !important; font-weight: 700; }
.label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; }

/* grids of cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .pic { aspect-ratio: 16 / 9; background: var(--raised); overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card h3 { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.stat { display: inline-flex; align-items: center; gap: 4px; }
.stat .icon { width: 14px; height: 14px; }
.stat.cheer .icon { color: var(--cheer); }
.card.event { flex-direction: row; gap: 14px; padding: 14px; }
.card.event .body { padding: 0; }
.date { flex: none; width: 60px; border-radius: 8px; background: var(--raised); text-align: center; padding: 8px 0; align-self: flex-start; }
.date b { display: block; font-size: 22px; color: var(--orange); }
.date span { font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.6px; }
.tiles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tile { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--raised); }
.tile-cheers {
	position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px;
	padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 13px; font-weight: 600;
}
.tile-cheers svg { width: 14px; height: 14px; }
.tile-cheers.on { background: var(--cheer); }
.tile img { width: 100%; height: 100%; object-fit: cover; }

/* detail pages */
.caption { color: var(--text); }
.detail { display: grid; gap: 24px; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); margin-top: 28px; align-items: start; }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } }
.main-pic { border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.main-pic img { width: 100%; }
.stats { display: flex; gap: 20px; flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column; }
.stats b { font-size: 20px; }
.stats span { color: var(--muted); font-size: 12px; }
.profile { display: flex; gap: 24px; align-items: center; margin-top: 32px; flex-wrap: wrap; }
.profile h1 { font-size: 34px; font-weight: 700; overflow-wrap: anywhere; }
.profile .bio { margin-top: 10px; max-width: 60ch; white-space: pre-line; overflow-wrap: anywhere; }

/* a player's page */
.pf { position: relative; margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.pf-banner {
	position: relative; height: 220px; overflow: hidden; background-color: #2b211d;
	background-image:
		radial-gradient(circle at 18% 120%, rgba(242, 107, 58, 0.55), transparent 55%),
		radial-gradient(circle at 85% -20%, rgba(255, 170, 90, 0.35), transparent 50%),
		radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.5px);
	background-size: auto, auto, 18px 18px;
}
.pf-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(49, 49, 49, 0.95) 100%); }
.pf-banner-pic { width: 100%; height: 100%; object-fit: cover; }
.pf-banner-blur { position: absolute; inset: -20%; width: 140%; height: 140%; max-width: none; object-fit: cover; filter: blur(48px) saturate(1.4); opacity: 0.45; }
.pf-head { position: relative; display: flex; gap: 24px; align-items: flex-end; padding: 0 28px; margin-top: -84px; z-index: 1; }
.pf-avatar { position: relative; flex: none; }
.pf-avatar .avatar.big {
	width: 168px; height: 168px; font-size: 64px; border: 5px solid var(--surface);
	box-shadow: 0 0 0 3px var(--orange), 0 12px 30px rgba(0, 0, 0, 0.45);
}
.pf-avatar.plus .avatar.big { box-shadow: 0 0 0 3px #ffc04d, 0 0 26px rgba(255, 176, 60, 0.45), 0 12px 30px rgba(0, 0, 0, 0.45); }
.pf-level {
	position: absolute; right: 6px; bottom: 6px; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 999px;
	display: grid; place-items: center; background: var(--orange); color: #fff; border: 4px solid var(--surface);
	font: 700 16px/1 'Jost', sans-serif;
}
.pf-id { flex: 1; min-width: 0; padding-bottom: 6px; }
.pf-id h1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 38px; font-weight: 700; }
.pf-id h1 > span:first-child { overflow-wrap: anywhere; }
.pf-badge {
	display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
	font: 700 13px/1 'Jost', sans-serif; letter-spacing: 0.5px; text-transform: uppercase;
}
.pf-badge.plus { background: linear-gradient(135deg, #ffcb5c, #f26b3a); color: #1c1c1c; box-shadow: 0 2px 10px rgba(242, 107, 58, 0.4); }
.pf-badge.owner { background: rgba(242, 107, 58, 0.16); color: var(--orange-hover); border: 1px solid rgba(242, 107, 58, 0.5); }
.pf-handle { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; color: var(--muted); font-size: 15px; }
.pf-handle span:first-child { color: var(--text); font-weight: 600; }
.pf-bio { margin-top: 12px; max-width: 64ch; white-space: pre-line; overflow-wrap: anywhere; color: #e6e6e6; }
.pf-actions { display: flex; gap: 10px; padding-bottom: 10px; }
.pf-actions .btn { padding: 9px 16px; border-radius: 999px; }
.pf-share[data-done] { position: relative; }
.pf-share[data-done]::after {
	content: attr(data-done); position: absolute; top: calc(100% + 6px); right: 0; white-space: nowrap;
	background: #000; color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 4px;
}
.pf-stats {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; margin: 24px 28px 28px;
	background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.pf-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; background: #2c2c2c; text-align: center; }
.pf-stat-icon { color: var(--orange); margin-bottom: 4px; }
.pf-stat-icon .icon { width: 18px; height: 18px; }
.pf-stat b { font: 700 24px/1.1 'Jost', sans-serif; }
.pf-stat > span:last-child { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; }
.pf-tabs {
	position: sticky; top: 64px; z-index: 10; display: flex; gap: 4px; margin: 20px 0 18px; padding: 6px;
	background: rgba(38, 38, 38, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
	overflow-x: auto; scrollbar-width: none;
}
.pf-tabs::-webkit-scrollbar { display: none; }
.pf-tabs a {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; white-space: nowrap;
	font: 600 15px/1 'Jost', sans-serif; color: var(--muted);
}
.pf-tabs a:hover { color: var(--text); background: var(--surface); }
.pf-tabs a.on { color: #fff; background: var(--orange); }
.pf-count { padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-size: 12px; }
.pf-tabs a.on .pf-count { background: rgba(0, 0, 0, 0.2); }
.pf-panel[hidden] { display: none; }
.pf-tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.pf-tile {
	position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--raised);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04); transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.pf-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.pf-tile:hover, .pf-tile:focus-visible { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--orange), 0 12px 26px rgba(0, 0, 0, 0.45); }
.pf-tile:hover img { transform: scale(1.06); }
.pf-tile-info {
	position: absolute; inset: auto 0 0 0; display: flex; justify-content: flex-end; gap: 8px; padding: 26px 10px 9px 80px;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75)); color: #fff; font-size: 12px; font-weight: 600;
	opacity: 0; transition: opacity 0.18s ease;
}
.pf-tile-where { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-tile-when { color: #ddd; white-space: nowrap; }
.pf-tile:hover .pf-tile-info, .pf-tile:focus-visible .pf-tile-info { opacity: 1; }
.pf-tile .tile-cheers { z-index: 1; }
@media (hover: none) { .pf-tile-info { opacity: 1; } }
.pf-empty {
	display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 48px 20px; text-align: center;
	border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); background: rgba(255, 255, 255, 0.015);
}
.pf-empty b { color: var(--text); font: 600 18px/1.3 'Jost', sans-serif; }
.pf-empty-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 50%; background: rgba(242, 107, 58, 0.12); color: var(--orange); }
.pf-empty-icon .icon { width: 26px; height: 26px; }
@media (max-width: 760px) {
	.pf { margin-top: 12px; border-radius: 14px; }
	.pf-banner { height: 140px; }
	.pf-head { flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 0 16px; margin-top: -70px; }
	.pf-avatar .avatar.big { width: 128px; height: 128px; font-size: 50px; }
	.pf-level { min-width: 34px; height: 34px; font-size: 14px; right: 2px; bottom: 2px; }
	.pf-id h1 { justify-content: center; font-size: 30px; }
	.pf-handle { justify-content: center; }
	.pf-bio { margin-left: auto; margin-right: auto; }
	.pf-actions { padding-bottom: 0; }
	.pf-stats { grid-template-columns: repeat(3, 1fr); margin: 18px 16px 18px; }
	.pf-stat { padding: 12px 4px; }
	.pf-stat b { font-size: 20px; }
	.pf-tabs { margin-left: -20px; margin-right: -20px; padding-left: 14px; padding-right: 14px; border-radius: 0; }
	.pf-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.pf-tile { border-radius: 8px; }
	.pf-tile-info { display: none; }
}
@media (max-width: 860px) { .pf-tabs { position: static; } }

/* the photo lightbox */
body.lb-on { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; background: rgba(10, 10, 10, 0.94); }
.lightbox[hidden] { display: none; }
.lb-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 56px 72px 12px; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.lb-btn {
	position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0;
	background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer;
}
.lb-btn:hover { background: var(--orange); }
.lb-btn .icon { width: 26px; height: 26px; }
.lb-close { top: 12px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox.lb-single .lb-prev, .lightbox.lb-single .lb-next, .lightbox.lb-single .lb-count { display: none; }
.lb-bar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 16px; padding: 14px 20px 20px; color: var(--muted); font-size: 14px; }
.lb-who { display: flex; gap: 6px; align-items: baseline; }
.lb-who b { color: #fff; }
.lb-room[hidden] { display: none; }
.lb-cheers { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.lb-cheers .icon { color: var(--cheer); }
.lb-open { border-radius: 999px; }
@media (max-width: 760px) {
	.lb-stage { padding: 56px 8px 8px; }
	.lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; width: 40px; height: 40px; }
}

/* search suggestions */
.suggest {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
	background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5); padding: 6px; color: var(--text);
}
.suggest[hidden] { display: none; }
.sg-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 6px; }
.sg-row:hover, .sg-row.on { background: var(--raised); color: var(--text); }
.sg-avatar {
	width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--raised);
	display: inline-grid; place-items: center; font-weight: 700; color: var(--orange);
}
.sg-thumb { width: 48px; height: 32px; border-radius: 4px; object-fit: cover; flex: none; background: var(--raised); }
.sg-text { display: flex; flex-direction: column; min-width: 0; }
.sg-text b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-text small { color: var(--muted); font-size: 13px; }
.sg-line { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.sg-in b { font-weight: 700; }
.sg-icon { width: 40px; display: inline-grid; place-items: center; color: var(--muted); flex: none; }
.sg-icon .icon { width: 18px; height: 18px; }

/* search kinds */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 8px; }
.tabs a { padding: 5px 14px; border-radius: 6px; border: 1px solid var(--orange); color: var(--orange); font: 600 14px/1.2 'Jost', sans-serif; }
.tabs a.on { background: var(--orange); color: #fff; }

/* forms: login and settings */
.auth-box { max-width: 420px; margin: 40px auto 0; gap: 14px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form textarea {
	padding: 10px 12px; border-radius: 6px; border: 1px solid var(--line);
	background: #222; color: var(--text); font: 15px/1.4 'Noto Sans', sans-serif; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--orange); }
.form input[disabled] { opacity: 0.5; }
.form .btn { align-self: flex-start; }
.auth-box .form .btn { align-self: stretch; padding: 10px; }
.error { background: rgba(255, 90, 90, 0.14); color: #ffb3b3; padding: 10px 12px; border-radius: 6px; }
.ok { background: rgba(80, 200, 120, 0.14); color: #a8f0c0; padding: 10px 12px; border-radius: 6px; }
.settings { max-width: 760px; margin: 28px auto 0; display: flex; flex-direction: column; gap: 18px; }
.settings-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.settings-head h1 { font-size: 30px; font-weight: 700; }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.pick-one { position: relative; cursor: pointer; }
.pick-one input { position: absolute; opacity: 0; }
.pick-one img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid transparent; }
.pick-one input:checked + img { border-color: var(--orange); }
.pick-one input:focus-visible + img { outline: 2px solid var(--text); }

.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--raised); color: var(--muted); font-size: 13px; font-weight: 600; }
.ok-badge { background: rgba(80, 200, 120, 0.16); color: #a8f0c0; align-self: flex-start; }
.link { color: var(--orange); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: 48px; padding: 24px 0 36px; color: var(--muted); font-size: 13px; background: var(--header); }
.foot .wrap { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
