/* ═══════════════════════════════════════════════════════════════════
   Discord Community — members page, profiles and account page.
   Same design language as Multi Aggregator (tokens, shells, tabs, cards);
   the theme follows Multi Aggregator's setting when it's installed.
   ═══════════════════════════════════════════════════════════════════ */

.dcom-ui {
	--dc-bg: #f7f7f7; --dc-surface: #ffffff; --dc-surface2: #f0f0f0;
	--dc-border: #e8e8e8; --dc-border-strong: #dddddd;
	--dc-text1: #111111; --dc-text2: #444444; --dc-muted: #8a8a8a; --dc-faint: #bbbbbb;
	--dc-shadow: rgba(0, 0, 0, .08); --dc-live: #dc2626; --dc-blurple: #5865f2; --dc-danger: #da373c;
	--dc-accent: var(--dc-blurple);
	--dc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-family: var(--dc-font); color: var(--dc-text1); line-height: 1.45; padding: 1.5rem 0;
}
.dcom-ui[data-theme="dark"] {
	--dc-bg: #111111; --dc-surface: #1c1c1c; --dc-surface2: #252525;
	--dc-border: #2e2e2e; --dc-border-strong: #3a3a3a;
	--dc-text1: #f0ede8; --dc-text2: #cccccc; --dc-muted: #8a8a8a; --dc-faint: #555555; --dc-shadow: rgba(0, 0, 0, .4);
}
@media (prefers-color-scheme: dark) {
	.dcom-ui[data-theme="auto"] {
		--dc-bg: #111111; --dc-surface: #1c1c1c; --dc-surface2: #252525;
		--dc-border: #2e2e2e; --dc-border-strong: #3a3a3a;
		--dc-text1: #f0ede8; --dc-text2: #cccccc; --dc-muted: #8a8a8a; --dc-faint: #555555; --dc-shadow: rgba(0, 0, 0, .4);
	}
}
.dcom-ui *, .dcom-ui *::before, .dcom-ui *::after { box-sizing: border-box; }
.dcom-ui a, .dcom-ui a:hover, .dcom-ui a:focus { text-decoration: none !important; }
.dcom-ui a { color: inherit; }
.dcom-ui img { max-width: 100%; }
.dcom-ui h2, .dcom-ui h3 { margin: 0; padding: 0; border: 0; color: var(--dc-text1); }
.dcom-ui p { margin: 0; }
.dcom-ui .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dcom-ui .dc-shell { background: var(--dc-bg); border-radius: 16px; padding: 1.5rem; }

.dcom-ui .dc-title { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.dcom-ui .dc-sub { margin-top: 4px; font-size: 12px; color: var(--dc-muted); }
.dcom-ui .dc-h { margin: 0 0 .75rem; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dc-muted); }
.dcom-ui .dc-empty { padding: 3rem 0; text-align: center; color: var(--dc-muted); }

/* Buttons */
.dcom-ui .dc-btn {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
	border: 1.5px solid var(--dc-border); background: var(--dc-surface); color: var(--dc-text2) !important;
	font: 700 11px/1.3 var(--dc-font); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; white-space: nowrap;
	transition: border-color .15s, color .15s, background .15s;
}
.dcom-ui .dc-btn:hover { border-color: var(--dc-border-strong); color: var(--dc-text1) !important; }
.dcom-ui .dc-btn-primary, .dcom-ui .dc-btn-accent { background: var(--dc-blurple); border-color: var(--dc-blurple); color: #fff !important; }
.dcom-ui .dc-btn-accent { background: var(--dc-accent); border-color: var(--dc-accent); }
.dcom-ui .dc-btn-primary:hover, .dcom-ui .dc-btn-accent:hover { filter: brightness(1.08); color: #fff !important; }
.dcom-ui .dc-btn-sm { padding: 5px 12px; font-size: 10px; }
.dcom-ui .dc-danger { color: var(--dc-danger) !important; }

/* Chips */
.dcom-ui .dc-role { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; background: var(--dc-surface2); color: var(--dc-text2); font-size: 10px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.dcom-ui .dc-role::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dc-role, var(--dc-faint)); }
.dcom-ui .dc-verified { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: 5px; border-radius: 50%; background: var(--dc-blurple); color: #fff; vertical-align: -2px; flex-shrink: 0; }
.dcom-ui .dc-verified svg { width: 11px; height: 11px; }
.dcom-ui .dc-live { padding: 1px 7px; border-radius: 4px; background: var(--dc-live); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dcom-ui .dc-plat { display: inline-flex; color: var(--dc-muted); }
.dcom-ui .dc-plat svg { width: 14px; height: 14px; }
.dcom-ui .dc-plat-youtube { color: #cc2222; }
.dcom-ui .dc-plat-twitch { color: #7c3aed; }
.dcom-ui .dc-plat-xbox { color: #107c10; }

/* ── Members page ── */
.dcom-ui .dc-dir-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 1.25rem; }
.dcom-ui .dc-search input { width: 240px; max-width: 100%; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--dc-border); background: var(--dc-surface); color: var(--dc-text1); font: 13px var(--dc-font); }
.dcom-ui .dc-search input:focus { outline: none; border-color: var(--dc-blurple); }
.dcom-ui .dc-tabs { display: flex; flex-wrap: wrap; margin-bottom: 1.25rem; border-bottom: 1.5px solid var(--dc-border); }
.dcom-ui .dc-tab { display: inline-flex; align-items: center; gap: 6px; margin-bottom: -1.5px; padding: 8px 14px; border: 0; border-bottom: 2.5px solid transparent; background: transparent; color: var(--dc-muted); font: 700 12px var(--dc-font); cursor: pointer; }
.dcom-ui .dc-tab::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dc-role, transparent); }
.dcom-ui .dc-tab:not([style])::before { display: none; }
.dcom-ui .dc-tab span { font-weight: 600; color: var(--dc-faint); }
.dcom-ui .dc-tab:hover { color: var(--dc-text2); }
.dcom-ui .dc-tab.is-active { color: var(--dc-text1); border-bottom-color: var(--dc-text1); }

.dcom-ui .dc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .75rem; }
.dcom-ui .dc-card { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 12px 14px; overflow: hidden; text-align: center; background: var(--dc-surface); border: 1px solid var(--dc-border); border-radius: 14px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.dcom-ui .dc-card[hidden] { display: none; }
.dcom-ui .dc-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px var(--dc-shadow); border-color: var(--dc-border-strong); }
.dcom-ui .dc-card-banner { align-self: stretch; height: 64px; margin: 0 -12px; background: linear-gradient(135deg, var(--dc-accent), color-mix(in srgb, var(--dc-accent) 40%, var(--dc-surface))) center / cover; }
.dcom-ui .dc-card-avatar { margin-top: -36px; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--dc-surface2); box-shadow: 0 0 0 4px var(--dc-surface); }
.dcom-ui .dc-card.is-live .dc-card-avatar { box-shadow: 0 0 0 3px var(--dc-surface), 0 0 0 5px var(--dc-live); }
.dcom-ui .dc-card-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dcom-ui .dc-card-name { display: inline-flex; align-items: center; max-width: 100%; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--dc-text1); }
.dcom-ui .dc-card-handle { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: var(--dc-muted); }
.dcom-ui .dc-card-roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 8px; }
.dcom-ui .dc-card-foot { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 18px; margin-top: auto; padding-top: 10px; }
.dcom-ui .dc-since { font-size: 10px; color: var(--dc-faint); }

/* ── Profile (public) and account header ── */
.dcom-ui .dc-back { margin-bottom: 1rem; font-size: 12px; font-weight: 700; color: var(--dc-muted); }
.dcom-ui .dc-back a:hover { color: var(--dc-text1); }
.dcom-ui .dc-profile { overflow: hidden; background: var(--dc-surface); border: 1px solid var(--dc-border); border-radius: 16px; padding: 0 1.5rem 1.5rem; }
.dcom-ui .dc-hero { height: 180px; margin: 0 -1.5rem; background: linear-gradient(135deg, var(--dc-accent), color-mix(in srgb, var(--dc-accent) 35%, var(--dc-surface))) center / cover; }
.dcom-ui .dc-profile-head { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin-top: -48px; }
.dcom-ui .dc-profile-avatar { width: 112px; height: 112px; flex-shrink: 0; overflow: hidden; border-radius: 50%; background: var(--dc-surface2); box-shadow: 0 0 0 6px var(--dc-surface); }
.dcom-ui .dc-profile-avatar.is-live { box-shadow: 0 0 0 4px var(--dc-surface), 0 0 0 7px var(--dc-live); }
.dcom-ui .dc-profile-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dcom-ui .dc-profile-id { flex: 1; min-width: 200px; padding-bottom: 4px; }
.dcom-ui .dc-profile-name { display: flex; align-items: center; font-size: 24px; font-weight: 800; }
.dcom-ui .dc-profile-name .dc-verified { width: 20px; height: 20px; margin-left: 8px; }
.dcom-ui .dc-profile-name .dc-verified svg { width: 13px; height: 13px; }
.dcom-ui .dc-profile-id .dc-card-roles { justify-content: flex-start; }
.dcom-ui .dc-profile-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 6px; }
.dcom-ui .dc-bio { margin-top: 1.25rem; max-width: 70ch; color: var(--dc-text2); font-size: 14px; }
.dcom-ui .dc-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1rem; }
.dcom-ui .dc-not-linked { margin-top: 1.25rem; }
.dcom-ui .dc-profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .75rem; margin: 1.5rem 0; }
.dcom-ui .dc-panel { padding: 1rem 1.1rem; border: 1px solid var(--dc-border); border-radius: 12px; background: var(--dc-bg); }
.dcom-ui .dc-rows { list-style: none; margin: 0; padding: 0; }
.dcom-ui .dc-rows li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--dc-border); font-size: 13px; color: var(--dc-text2); }
.dcom-ui .dc-rows li:first-child { border-top: 0; }
.dcom-ui .dc-rows strong { margin-left: auto; color: var(--dc-text1); font-variant-numeric: tabular-nums; }
.dcom-ui .dc-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.dcom-ui .dc-post { display: flex; flex-direction: column; overflow: hidden; background: var(--dc-bg); border: 1px solid var(--dc-border); border-radius: 12px; transition: box-shadow .15s; }
.dcom-ui .dc-post:hover { box-shadow: 0 6px 18px var(--dc-shadow); }
.dcom-ui .dc-post-img { aspect-ratio: 16 / 9; background: var(--dc-surface2) center / cover; }
.dcom-ui .dc-post-body { display: flex; flex-direction: column; gap: 4px; padding: .8rem .95rem; }
.dcom-ui .dc-post-date { font-size: 10px; color: var(--dc-faint); }
.dcom-ui .dc-post-title { font-size: 13px; font-weight: 700; color: var(--dc-text1); }

/* ── Member profile extras ── */
.dcom-ui .dc-user .dc-hero { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; }
.dcom-ui .dc-live-banner { display: inline-flex; align-items: center; gap: 8px; margin: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff !important; font-size: 12px; font-weight: 700; backdrop-filter: blur(4px); }
.dcom-ui .dc-profile-tabs { margin: 1.5rem 0 1.25rem; }
.dcom-ui .dc-section[hidden] { display: none; }
.dcom-ui .dc-section > .mag-root { padding: 0; }
.dcom-ui .dc-stats { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.dcom-ui .dc-stat { display: flex; flex-direction: column; min-width: 110px; padding: .7rem 1rem; border: 1px solid var(--dc-border); border-radius: 12px; background: var(--dc-bg); }
.dcom-ui .dc-stat strong { font-size: 20px; font-weight: 800; color: var(--dc-text1); line-height: 1.1; }
.dcom-ui .dc-stat span { margin-top: 2px; font-size: 11px; color: var(--dc-muted); }
.dcom-ui .dc-account-link { display: flex; align-items: center; gap: 10px; width: 100%; color: var(--dc-text2) !important; }
.dcom-ui .dc-account-link:hover .dc-account-label { color: var(--dc-text1); }
.dcom-ui .dc-account-link small { margin-left: auto; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--dc-faint); }
.dcom-ui .dc-account-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.dcom-ui .dc-plat-discord { color: var(--dc-blurple); }
.dcom-ui .dc-plat-steam { color: var(--dc-text1); }
.dcom-ui .dc-plat-psn { color: #0070d1; }
.dcom-ui .dc-plat-nintendo { color: #e60012; }
.dcom-ui .dc-plat-kick { color: #3cd417; }
.dcom-ui .dc-plat-facebook { color: #1877f2; }
.dcom-ui .dc-plat-instagram { color: #e1306c; }
.dcom-ui .dc-plat-x { color: var(--dc-text1); }
.dcom-ui span.dc-account-link { cursor: default; }
.dcom-ui .dc-plat-link { color: var(--dc-muted); }
.dcom-ui .dc-rank { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--dc-muted); }
.dcom-ui .dc-rank + strong { margin-left: 10px; }
.dcom-ui .dc-post-excerpt { font-size: 12px; color: var(--dc-text2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Account page ── */
.dcom-ui .dc-account-head { margin-bottom: 1rem; }
.dcom-ui .dc-account-head .dc-hero { height: 130px; }
.dcom-ui .dc-account { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 1rem; align-items: start; }
.dcom-ui .dc-side { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 1rem; }
.dcom-ui .dc-side-link { padding: 9px 12px; border-radius: 10px; color: var(--dc-muted) !important; font-size: 13px; font-weight: 700; transition: background .15s, color .15s; }
.dcom-ui .dc-side-link:hover { background: var(--dc-surface); color: var(--dc-text1) !important; }
.dcom-ui .dc-side-link.is-active { background: var(--dc-surface); color: var(--dc-text1) !important; box-shadow: inset 3px 0 0 var(--dc-blurple); }
.dcom-ui .dc-main { min-width: 0; padding: 1.25rem 1.5rem; background: var(--dc-surface); border: 1px solid var(--dc-border); border-radius: 14px; }
.dcom-ui .dc-main-title { margin-bottom: 1rem; font-size: 16px; font-weight: 800; }
.dcom-ui .dc-fieldset { min-width: 0; margin: 0 0 1.25rem; padding: 0; border: 0; } /* fieldsets default to min-content width */
.dcom-ui .dc-fieldset legend { margin-bottom: .6rem; padding: 0; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dc-muted); }
.dcom-ui .dc-fieldset .dc-sub { margin-bottom: .75rem; }
.dcom-ui .dc-signin { max-width: 440px; margin: 2rem auto; padding: 2rem; text-align: center; background: var(--dc-surface); border: 1px solid var(--dc-border); border-radius: 16px; }
.dcom-ui .dc-signin .dc-sub { margin: .5rem 0 1.25rem; font-size: 13px; }
.dcom-ui .dc-signin-icon { display: inline-flex; padding: 14px; margin-bottom: .75rem; border-radius: 16px; background: var(--dc-blurple); color: #fff; }
.dcom-ui .dc-signin-icon svg { width: 34px; height: 34px; }
.dcom-ui .dc-notice { margin-bottom: 1rem; padding: 10px 14px; border-radius: 10px; font-size: 13px; background: rgba(35, 165, 89, .12); border: 1px solid rgba(35, 165, 89, .4); }
.dcom-ui .dc-notice.is-error { background: rgba(218, 55, 60, .1); border-color: rgba(218, 55, 60, .45); }

/* Forms inside the account page */
.dcom-ui .dcom-form label { display: block; margin: 0 0 1rem; font-size: 12px; font-weight: 700; color: var(--dc-text2); }
.dcom-ui .dcom-form label small { font-weight: 400; color: var(--dc-muted); }
.dcom-ui .dcom-form input[type="text"], .dcom-ui .dcom-form input[type="url"], .dcom-ui .dcom-form textarea, .dcom-ui .dcom-form select {
	display: block; width: 100%; margin-top: 5px; padding: 9px 12px; border-radius: 10px; border: 1.5px solid var(--dc-border);
	background: var(--dc-bg); color: var(--dc-text1); font: 400 14px var(--dc-font);
}
.dcom-ui .dcom-form input:focus, .dcom-ui .dcom-form textarea:focus, .dcom-ui .dcom-form select:focus { outline: none; border-color: var(--dc-blurple); }
.dcom-ui .dcom-form input[type="file"] { margin-top: 6px; font-size: 13px; color: var(--dc-text2); }
.dcom-ui .dcom-code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.dcom-ui .dcom-check, .dcom-ui .dcom-inline { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; font-size: 13px !important; margin: 0 0 .6rem !important; }
.dcom-ui .dcom-inline input[type="color"] { width: 44px; height: 30px; padding: 2px; border: 1.5px solid var(--dc-border); border-radius: 8px; background: var(--dc-bg); }
.dcom-ui .dcom-editor { margin-bottom: 1rem; }
.dcom-ui .dcom-editor .wp-editor-container { border-radius: 10px; overflow: hidden; border-color: var(--dc-border); }
.dcom-ui .dcom-channels { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1rem; }
.dcom-ui .dcom-channel { display: grid; grid-template-columns: 130px minmax(0, 2fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px; border-radius: 12px; background: var(--dc-bg); }
.dcom-ui .dcom-channel select, .dcom-ui .dcom-channel input[type="text"] { margin: 0 !important; }
.dcom-ui .dcom-channel .dcom-check { margin: 0 !important; white-space: nowrap; }
.dcom-ui .dcom-list { list-style: none; margin: 0; padding: 0; }
.dcom-ui .dcom-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding: 11px 0; border-top: 1px solid var(--dc-border); }
.dcom-ui .dcom-list li:first-child { border-top: 0; }
.dcom-ui .dcom-list-title { font-weight: 700; }
.dcom-ui .dcom-list-actions { margin-left: auto; font-size: 13px; }
.dcom-ui .dcom-list-actions a { color: var(--dc-blurple); font-weight: 600; }
.dcom-ui .dcom-thumb img { max-width: 240px; height: auto; border-radius: 10px; margin-bottom: .75rem; }
.dcom-ui .dcom-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dcom-ui form + form { margin-top: .75rem; }

.dcom-ui .dc-avatar-pick { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 1rem; }
.dcom-ui .dc-avatar-pick img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--dc-surface2); }
.dcom-ui .dc-avatar-pick > div { min-width: 0; }
.dcom-ui .dc-avatar-pick .dcom-check span { flex: 1; min-width: 0; }
.dcom-ui .dc-avatar-pick .dc-upload { flex-wrap: wrap; }
.dcom-ui .dc-avatar-pick input[type="file"] { flex-basis: 100%; margin: 4px 0 0 24px; font-size: 12px; }

.dcom-ui .dc-look-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--dc-border); }
.dcom-ui .dc-look-row:first-of-type { border-top: 0; }
.dcom-ui .dc-look-label { padding-top: 2px; font-size: 12px; font-weight: 700; color: var(--dc-text2); }
.dcom-ui .dc-look-row small { color: var(--dc-muted); }
.dcom-ui .dc-look-row .dcom-check span { flex: 1; min-width: 0; }
.dcom-ui .dc-look-row .dc-upload { flex-wrap: wrap; }
.dcom-ui .dc-look-row .dc-upload input[type="file"] { flex-basis: 100%; margin: 4px 0 0 24px; font-size: 12px; }
.dcom-ui .dc-look-row input[type="color"] { width: 40px; height: 26px; padding: 2px; border: 1.5px solid var(--dc-border); border-radius: 6px; background: var(--dc-bg); }
.dcom-ui .dc-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; box-shadow: 0 0 0 1px var(--dc-border); }
@media (max-width: 640px) { .dcom-ui .dc-look-row { grid-template-columns: 1fr; } }

.dcom-ui .dc-handle-input { display: flex; align-items: center; margin-top: 5px; border: 1.5px solid var(--dc-border); border-radius: 10px; background: var(--dc-bg); }
.dcom-ui .dc-handle-input span { padding: 0 2px 0 12px; color: var(--dc-muted); font-weight: 700; }
.dcom-ui .dcom-form .dc-handle-input input[type="text"] { margin: 0; border: 0; background: transparent; padding-left: 2px; }
.dcom-ui .dc-handle-input:focus-within { border-color: var(--dc-blurple); }
.dcom-ui .dc-requests { margin-bottom: 1rem; }
.dcom-ui .dc-requests li { align-items: center; }
.dcom-ui .dc-req { padding: 1px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--dc-surface2); color: var(--dc-muted); }
.dcom-ui .dc-req-approved { background: rgba(35, 165, 89, .15); color: #23a559; }
.dcom-ui .dc-req-declined { background: rgba(218, 55, 60, .12); color: var(--dc-danger); }
.dcom-ui .dcom-inline-form { display: inline; margin: 0 0 0 auto !important; }

/* Connected accounts editor */
.dcom-ui .dc-social.is-discord { background: color-mix(in srgb, var(--dc-blurple) 6%, var(--dc-bg)); }
.dcom-ui .dc-social.is-discord input[type="text"] { color: var(--dc-text1); cursor: default; }
.dcom-ui .dcom-form label.dc-switch, .dcom-ui .dc-switch { display: inline-flex; line-height: 1; flex: none; align-items: center; gap: 6px; margin: 0 4px 0 2px !important; font-size: 12px; font-weight: 700; color: var(--dc-muted); cursor: pointer; }
.dcom-ui .dc-switch { position: relative; }
.dcom-ui .dc-switch input { position: absolute; margin: 0; opacity: 0; width: 1px; height: 1px; }
.dcom-ui .dc-switch-track { display: inline-block; flex: none; position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--dc-border); transition: background .15s; }
.dcom-ui .dc-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; }
.dcom-ui .dc-switch input:checked + .dc-switch-track { background: #23a559; }
.dcom-ui .dc-switch input:checked + .dc-switch-track::after { transform: translateX(14px); }
.dcom-ui .dc-switch input:focus-visible + .dc-switch-track { outline: 2px solid var(--dc-blurple); outline-offset: 2px; }
.dcom-ui .dc-connections-note { margin: 2px 0 6px; font-size: 12px; }
.dcom-ui .dc-account-verified { display: inline-flex; flex: none; color: #23a559; }
.dcom-ui .dc-account-verified svg { width: 13px; height: 13px; }
.dcom-ui .dc-plat-tiktok, .dcom-ui .dc-plat-github { color: var(--dc-text1); }
.dcom-ui .dc-plat-reddit { color: #ff4500; }
.dcom-ui .dc-plat-spotify { color: #1db954; }
.dcom-ui .dc-plat-bluesky { color: #1185fe; }
.dcom-ui .dc-plat-battlenet { color: #148eff; }
.dcom-ui .dc-plat-epicgames, .dcom-ui .dc-plat-roblox { color: var(--dc-text1); }
.dcom-ui .dc-plat-riotgames { color: #eb0029; }
.dcom-ui .dc-plat-crunchyroll { color: #f47521; }
.dcom-ui .dc-social .dc-chip-content { background: color-mix(in srgb, #23a559 16%, transparent); color: #23a559; }
.dcom-ui .dcom-channel.dc-channel-pick { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; }
.dcom-ui .dc-channel-on { gap: 8px; min-width: 0; }
.dcom-ui .dc-channel-on strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcom-ui .dc-channel-on .dc-plat svg { width: 16px; height: 16px; }
.dcom-ui .dcom-channel.dc-custom-row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.dcom-ui .dcom-channel.dc-custom-album { display: flex; gap: 8px; }
.dcom-ui .dc-custom-album small { margin-left: auto; color: var(--dc-faint); }
.dcom-ui .dc-custom-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 1rem 0 8px; }
.dcom-ui .dc-custom-head small { color: var(--dc-faint); }
.dcom-ui .dc-plat-custom { color: var(--dc-text2); }
.dcom-ui a.dc-tab-link { text-decoration: none; }
.dcom-ui a.dc-tab-link span { color: inherit; font-weight: 700; transition: transform .15s; }
.dcom-ui a.dc-tab-link:hover span { transform: translateX(2px); }
.dcom-ui .dc-link-picks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; }
.dcom-ui .dc-link-picks .dcom-check { gap: 7px; margin: 0; }
.dcom-ui .dc-empty-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--dc-muted); }
.dcom-ui .dc-social-list { display: grid; gap: 8px; margin-bottom: 12px; }
.dcom-ui .dc-social { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; border: 1.5px solid var(--dc-border); border-radius: 12px; background: var(--dc-bg); }
.dcom-ui .dc-social:focus-within { border-color: var(--dc-blurple); }
.dcom-ui .dc-social .dc-plat svg { width: 18px; height: 18px; }
.dcom-ui .dc-social-name { flex: 0 0 92px; font-size: 13px; font-weight: 700; color: var(--dc-text1); }
.dcom-ui .dcom-form .dc-social input[type="text"] { flex: 1 1 auto; min-width: 0; margin: 0; padding: 7px 4px; border: 0; background: transparent; box-shadow: none; }
.dcom-ui .dcom-form .dc-social input.dc-social-label { flex: 0 1 130px; border-right: 1px solid var(--dc-border); border-radius: 0; }
.dcom-ui .dc-social.is-locked { background: var(--dc-surface2); border-style: dashed; }
.dcom-ui .dc-social.is-locked input { color: var(--dc-muted); cursor: not-allowed; }
.dcom-ui .dc-social .dc-chip { flex: none; padding: 2px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: color-mix(in srgb, var(--dc-blurple) 18%, transparent); color: var(--dc-blurple); }
.dcom-ui .dc-social-x { flex: none; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--dc-muted); font-size: 20px; line-height: 1; cursor: pointer; }
.dcom-ui .dc-social-x:hover { background: color-mix(in srgb, var(--dc-danger) 14%, transparent); color: var(--dc-danger); }
.dcom-ui .dc-social-add { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.dcom-ui .dc-social-add > .dc-sub { margin: 0 4px 0 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.dcom-ui .dc-social-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1.5px solid var(--dc-border); border-radius: 999px; background: var(--dc-surface); color: var(--dc-text1); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.dcom-ui .dc-social-btn:hover { border-color: var(--dc-blurple); }
.dcom-ui .dc-social-btn:disabled { opacity: .45; cursor: not-allowed; }
.dcom-ui .dc-social-btn svg { width: 15px; height: 15px; }
@media (max-width: 560px) {
	.dcom-ui .dc-social { flex-wrap: wrap; }
	.dcom-ui .dc-social-name { flex-basis: auto; margin-right: auto; }
	.dcom-ui .dcom-form .dc-social input[type="text"] { flex-basis: 100%; order: 5; }
	.dcom-ui .dcom-form .dc-social input.dc-social-label { border-right: 0; border-bottom: 1px solid var(--dc-border); }
}

/* Game library */
.dcom-ui .dc-play-stats {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 1.75rem; padding: .7rem 1rem;
	border: 1px solid var(--dc-border); border-radius: 12px; background: var(--dc-bg); font-size: 14px; color: var(--dc-muted);
}
.dcom-ui .dc-play-stats strong { color: var(--dc-text1); font-weight: 800; }
.dcom-ui .dc-play-sep { color: var(--dc-border); }
.dcom-ui .dc-library-section { margin-bottom: 2rem; }
.dcom-ui .dc-game-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.dcom-ui .dc-sort select { padding: 9px 30px 9px 14px; border-radius: 999px; border: 1.5px solid var(--dc-border); background: var(--dc-surface); color: var(--dc-text1); font: 13px var(--dc-font); }
.dcom-ui .dc-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.dcom-ui .dc-games-small { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 12px; }
.dcom-ui .dc-game { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--dc-border); border-radius: 12px; background: var(--dc-surface); color: inherit; text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
.dcom-ui .dc-game:has(a.dc-game-link:hover) { transform: translateY(-3px); border-color: var(--dc-role); box-shadow: 0 8px 24px -12px var(--dc-role); }
.dcom-ui .dc-game-link { display: flex; flex: 1; flex-direction: column; color: inherit; text-decoration: none; }
.dcom-ui .dc-game .dc-join-form { padding: 0 11px 11px; }
.dcom-ui .dc-game .dc-join { width: 100%; justify-content: center; }
.dcom-ui .dc-game[hidden] { display: none; }
.dcom-ui .dc-game-cover { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; overflow: hidden; background: linear-gradient(150deg, var(--dc-role), color-mix(in srgb, var(--dc-role) 30%, var(--dc-surface2))); }
.dcom-ui .dc-game-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dcom-ui .dc-game-cover .dc-game-icon { width: 48px; height: 48px; object-fit: contain; }
.dcom-ui .dc-game-initials { font-size: 34px; font-weight: 800; letter-spacing: .02em; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.dcom-ui .dc-game-emoji { font-size: 40px; }
.dcom-ui .dc-game-body { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px 11px; border-top: 3px solid var(--dc-role); }
.dcom-ui .dc-game-name { font-size: 13px; font-weight: 700; color: var(--dc-text1); line-height: 1.25; }
.dcom-ui .dc-game-meta { font-size: 11px; color: var(--dc-muted); }
.dcom-ui .dc-games-small .dc-game-name { font-size: 12px; }
.dcom-ui .dc-retired { margin-top: 1rem; padding: .8rem 1rem; border: 1px dashed var(--dc-border); border-radius: 12px; }
.dcom-ui .dc-retired summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--dc-text2); }
.dcom-ui .dc-retired summary span { margin-left: 4px; color: var(--dc-faint); font-weight: 600; }
.dcom-ui .dc-retired .dc-game { opacity: .75; filter: grayscale(.4); }
.dcom-ui .dc-game-view { display: grid; gap: 1rem; padding-top: 1.25rem; }
.dcom-ui .dc-game-id .dc-card-roles, .dcom-ui .dc-member-games .dc-card-roles { justify-content: flex-start; }
.dcom-ui .dc-game-head { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.dcom-ui .dc-game-head .dc-game-cover { border-radius: 14px; box-shadow: 0 12px 30px -16px var(--dc-role); }
.dcom-ui .dc-game-kind { margin: 0 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dc-role); }
.dcom-ui .dc-game-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0 0; }
.dcom-ui .dc-affiliate { margin-top: 6px; font-size: 11px; }
.dcom-ui a.dc-role { text-decoration: none; }
.dcom-ui a.dc-role:hover { color: var(--dc-text1); }
.dcom-ui .dc-role img { width: 14px; height: 14px; }
.dcom-ui .dc-member-games .dc-game-kind { margin-top: 10px; color: var(--dc-muted); }
.dcom-ui .dc-people { display: flex; flex-wrap: wrap; gap: 8px; }
.dcom-ui .dc-person { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; color: var(--dc-text2); font-size: 10px; text-align: center; text-decoration: none; }
.dcom-ui .dc-person img, .dcom-ui .dc-person-more b { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.dcom-ui .dc-person span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcom-ui .dc-person-more b { display: flex; align-items: center; justify-content: center; background: var(--dc-surface2); color: var(--dc-muted); font-size: 12px; }
/* Now playing */
.dcom-ui .dc-live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #23a559; box-shadow: 0 0 0 0 rgba(35, 165, 89, .6); animation: dc-pulse 2s infinite; vertical-align: middle; }
@keyframes dc-pulse { 70% { box-shadow: 0 0 0 7px rgba(35, 165, 89, 0); } 100% { box-shadow: 0 0 0 0 rgba(35, 165, 89, 0); } }
.dcom-ui .dc-stat strong .dc-live-dot { width: 10px; height: 10px; }
.dcom-ui .dc-game-now { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .72); color: #fff; font-size: 11px; font-weight: 700; }
.dcom-ui .dc-now { color: #23a559; font-weight: 700; }
.dcom-ui .dc-now-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.dcom-ui .dc-now-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--dc-border); border-radius: 12px; background: var(--dc-surface); color: inherit; text-decoration: none; transition: border-color .15s; }
.dcom-ui a.dc-now-item:hover { border-color: var(--dc-role); }
.dcom-ui .dc-now-item .dc-mp-id small { color: #23a559; font-weight: 700; }
.dcom-ui .dc-most-played { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dcom-ui .dc-mp { display: grid; grid-template-columns: 26px 40px minmax(0, 1fr) 120px; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--dc-border); border-radius: 12px; background: var(--dc-surface); color: inherit; text-decoration: none; transition: border-color .15s; }
.dcom-ui a.dc-mp:hover { border-color: var(--dc-role); }
.dcom-ui .dc-mp-rank { font-size: 18px; font-weight: 800; color: var(--dc-faint); text-align: center; }
.dcom-ui .dc-most-played li:first-child .dc-mp-rank { color: var(--dc-role); }
.dcom-ui .dc-mp-cover { display: flex; align-items: center; justify-content: center; width: 40px; height: 53px; overflow: hidden; border-radius: 6px; background: linear-gradient(150deg, var(--dc-role), color-mix(in srgb, var(--dc-role) 30%, var(--dc-surface2))); }
.dcom-ui .dc-mp-cover img { width: 100%; height: 100%; object-fit: cover; }
.dcom-ui .dc-mp-cover .dc-game-initials { font-size: 14px; }
.dcom-ui .dc-mp-cover .dc-game-emoji { font-size: 20px; }
.dcom-ui .dc-mp-cover .dc-game-icon { width: 24px; height: 24px; }
.dcom-ui .dc-mp-id { display: flex; flex-direction: column; min-width: 0; }
.dcom-ui .dc-mp-id strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dc-text1); font-size: 14px; }
.dcom-ui .dc-mp-id small { font-size: 12px; color: var(--dc-muted); }
.dcom-ui .dc-spark { width: 100%; height: 30px; color: var(--dc-role); overflow: visible; }
.dcom-ui .dc-game-activity { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 8px; font-size: 13px; }
.dcom-ui .dc-game-week { display: inline-flex; align-items: center; gap: 10px; color: var(--dc-muted); }
.dcom-ui .dc-game-week .dc-spark { width: 110px; }
@media (max-width: 560px) { .dcom-ui .dc-mp { grid-template-columns: 22px 40px minmax(0, 1fr); } .dcom-ui .dc-mp .dc-spark { display: none; } }
@media (prefers-reduced-motion: reduce) { .dcom-ui .dc-live-dot { animation: none; } }

/* Servers */
.dcom-ui .dc-servers { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.dcom-ui .dc-servers-one { grid-template-columns: 1fr; margin-top: 8px; }
.dcom-ui .dc-server { display: flex; gap: 12px; padding: 12px 14px; border: 1px solid var(--dc-border); border-left: 4px solid var(--dc-faint); border-radius: 12px; background: var(--dc-surface); }
.dcom-ui .dc-server.is-online { border-left-color: #23a559; }
.dcom-ui .dc-server.is-offline { border-left-color: var(--dc-danger); }
.dcom-ui .dc-servers-one .dc-server { background: var(--dc-surface); }
.dcom-ui .dc-server-body { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; }
.dcom-ui .dc-server-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; }
.dcom-ui .dc-server-top strong { color: var(--dc-text1); font-size: 14px; }
.dcom-ui .dc-server-state { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--dc-muted); }
.dcom-ui .dc-server-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dc-faint); }
.dcom-ui .dc-server.is-online .dc-server-state { color: #23a559; }
.dcom-ui .dc-server.is-online .dc-server-dot { background: #23a559; box-shadow: 0 0 0 3px rgba(35, 165, 89, .2); }
.dcom-ui .dc-server.is-offline .dc-server-state { color: var(--dc-danger); }
.dcom-ui .dc-server.is-offline .dc-server-dot { background: var(--dc-danger); }
.dcom-ui .dc-server p { margin: 0; font-size: 12px; color: var(--dc-muted); }
.dcom-ui .dc-server-meta a { color: inherit; }
.dcom-ui .dc-server-addr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dcom-ui .dc-server-addr code { padding: 3px 8px; border-radius: 6px; background: var(--dc-bg); color: var(--dc-text1); font-size: 12px; word-break: break-all; }
.dcom-ui .dc-server-mods { display: flex; align-items: center; gap: 4px; }
.dcom-ui .dc-server-mods span { margin-right: 4px; }
.dcom-ui .dc-server-mods img { width: 22px; height: 22px; border-radius: 50%; display: block; }
.dcom-ui .dc-server-links { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.dcom-ui .dc-server-links a { color: var(--dc-text2); font-weight: 600; }
@media (max-width: 560px) { .dcom-ui .dc-servers { grid-template-columns: 1fr; } }

/* Live now, arcade, news, store */
.dcom-ui .dc-live-dot.is-red { background: #e03b3b; box-shadow: 0 0 0 0 rgba(224, 59, 59, .6); animation-name: dc-pulse-red; }
@keyframes dc-pulse-red { 70% { box-shadow: 0 0 0 7px rgba(224, 59, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 59, 59, 0); } }
.dcom-ui .dc-live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.dcom-ui .dc-live-card { overflow: hidden; border: 1px solid var(--dc-border); border-radius: 12px; background: var(--dc-surface); }
.dcom-ui .dc-live-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(150deg, var(--dc-role), #111); }
.dcom-ui .dc-live-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dcom-ui .dc-live-thumb .dc-live { position: absolute; top: 8px; left: 8px; }
.dcom-ui .dc-live-viewers { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .72); color: #fff; font-size: 11px; font-weight: 700; }
.dcom-ui .dc-live-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; }
.dcom-ui .dc-live-who { display: flex; align-items: center; gap: 8px; color: var(--dc-text1); text-decoration: none; font-size: 13px; }
.dcom-ui .dc-live-who img { width: 24px; height: 24px; border-radius: 50%; }
.dcom-ui .dc-live-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; font-size: 12px; color: var(--dc-text2); }
.dcom-ui .dc-live-game { margin: 0; font-size: 12px; color: var(--dc-muted); }
.dcom-ui .dc-live-game a { color: var(--dc-role); font-weight: 700; }
.dcom-ui .dc-arcades { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.dcom-ui .dc-arcades-one { grid-template-columns: 1fr; }
.dcom-ui .dc-arcade { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--dc-border); border-radius: 12px; background: var(--dc-surface); }
.dcom-ui .dc-arcade-top { display: flex; gap: 12px; }
.dcom-ui .dc-arcade-top strong { color: var(--dc-text1); font-size: 14px; }
.dcom-ui .dc-arcade-top p { margin: 2px 0 0; font-size: 12px; color: var(--dc-muted); }
.dcom-ui .dc-arcade-mark { display: flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(150deg, var(--dc-blurple), #2b2d6e); color: #fff; font-size: 14px; }
.dcom-ui .dc-arcade-board { margin: 0; padding: 0; list-style: none; counter-reset: dc-rank; }
.dcom-ui .dc-arcade-board li { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px solid var(--dc-border); font-size: 12px; counter-increment: dc-rank; }
.dcom-ui .dc-arcade-board li::before { content: counter(dc-rank); width: 16px; color: var(--dc-faint); font-weight: 800; }
.dcom-ui .dc-arcade-board li > span { display: inline-flex; flex: 1; align-items: center; gap: 4px; min-width: 0; overflow: hidden; color: var(--dc-text2); }
.dcom-ui .dc-arcade-board b { color: var(--dc-text1); }
.dcom-ui .dc-arcade-mine { margin: 0; font-size: 12px; color: #23a559; }
.dcom-ui .dc-arcade-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; }
.dcom-ui .dc-news li { flex-wrap: wrap; }
.dcom-ui .dc-news a { flex: 1; min-width: 0; color: var(--dc-text1); font-weight: 600; text-decoration: none; }
.dcom-ui .dc-news a:hover { text-decoration: underline; }
.dcom-ui .dc-news small { color: var(--dc-faint); }
.dcom-ui .dc-store .dc-game-meta { color: var(--dc-role); font-weight: 700; }

/* Includes & clans */
.dcom-ui .dc-includes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.dcom-ui .dc-includes li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--dc-border); border-radius: 10px; background: var(--dc-surface); font-size: 13px; font-weight: 600; color: var(--dc-text1); }
.dcom-ui .dc-includes img { width: 28px; height: 28px; border-radius: 6px; }
.dcom-ui .dc-includes span { flex: 1; min-width: 0; }
.dcom-ui .dc-includes a { font-size: 11px; color: var(--dc-muted); white-space: nowrap; }
.dcom-ui .dc-clans { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.dcom-ui .dc-clans-h { margin: 1.25rem 0 .6rem; }
.dcom-ui .dc-clan { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 1px solid var(--dc-border); border-top: 3px solid var(--dc-role); border-radius: 12px; background: var(--dc-surface); }
.dcom-ui .dc-clan-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.dcom-ui .dc-clan-top strong { color: var(--dc-text1); font-size: 14px; }
.dcom-ui .dc-clan-tag { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--dc-role); }
.dcom-ui .dc-clan p { margin: 0; font-size: 12px; color: var(--dc-muted); }
.dcom-ui .dc-clan-meta a { color: var(--dc-text2); font-weight: 600; }

/* Get the role */
.dcom-ui .dc-join-form { margin: 0; }
.dcom-ui .dc-join { gap: 6px; }
.dcom-ui .dc-join .dc-join-on, .dcom-ui .dc-join .dc-join-off, .dcom-ui .dc-join.is-joined .dc-join-get { display: none; }
.dcom-ui .dc-join.is-joined .dc-join-on { display: inline; }
.dcom-ui .dc-join.is-joined { border-color: color-mix(in srgb, #23a559 50%, var(--dc-border)); color: #23a559; }
.dcom-ui .dc-join.is-joined:hover .dc-join-on, .dcom-ui .dc-join.is-joined:focus-visible .dc-join-on { display: none; }
.dcom-ui .dc-join.is-joined:hover .dc-join-off, .dcom-ui .dc-join.is-joined:focus-visible .dc-join-off { display: inline; }
.dcom-ui .dc-join.is-joined:hover { border-color: var(--dc-danger); color: var(--dc-danger); }
.dcom-ui .dc-join:not(.is-joined) { border-color: var(--dc-role, var(--dc-blurple)); }
.dcom-ui .dc-join[disabled] { opacity: .6; cursor: wait; }
.dcom-ui .dc-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.dcom-ui .dc-group { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--dc-border); border-left: 4px solid var(--dc-role); border-radius: 12px; background: var(--dc-surface); }
.dcom-ui .dc-group-mark { display: flex; flex: none; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(150deg, var(--dc-role), color-mix(in srgb, var(--dc-role) 30%, var(--dc-surface2))); }
.dcom-ui .dc-group-mark .dc-game-initials { font-size: 14px; }
.dcom-ui .dc-group-mark .dc-game-emoji { font-size: 20px; }
.dcom-ui .dc-group-mark .dc-game-icon { width: 24px; height: 24px; }
.dcom-ui .dc-group-id { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.dcom-ui .dc-group-id strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--dc-text1); }
.dcom-ui .dc-group-id a { color: inherit; text-decoration: none; }
.dcom-ui .dc-group-id small { font-size: 11px; color: var(--dc-muted); }
.dcom-ui .dc-role-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 16px; }
.dcom-ui .dcom-form label.dc-role-switch { justify-content: flex-start; margin: 0 !important; color: var(--dc-text1); font-size: 13px; font-weight: 600; }
.dcom-ui .dc-role-switch[hidden] { display: none !important; }
.dcom-ui .dc-role-switch input:checked + .dc-switch-track { background: var(--dc-role); }
.dcom-ui .dc-role-switches legend span { margin-left: 6px; color: var(--dc-faint); font-weight: 600; }
.dcom-ui .dc-games-filter { display: block; margin: 0 0 1rem; }
@media (max-width: 560px) {
	.dcom-ui .dc-games { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.dcom-ui .dc-game-head { grid-template-columns: 110px minmax(0, 1fr); gap: 1rem; }
	.dcom-ui .dc-search input { width: 100%; }
}

/* Sign-in button (also used by [discord_login] anywhere on the site) */
.dcom-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 22px; border-radius: 999px;
	border: 0; background: #5865f2; color: #fff !important; text-decoration: none !important; cursor: pointer;
	font: 700 14px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; transition: filter .15s, transform .15s;
}
.dcom-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.dcom-icon { width: 20px; height: 20px; }
.dcom-btn-avatar {
	display: inline-flex; width: 40px; height: 40px; padding: 2px; border-radius: 50%; background: #5865f2;
	vertical-align: middle; transition: filter .15s, transform .15s;
}
.dcom-btn-avatar:hover { filter: brightness(1.08); transform: translateY(-1px); }
.dcom-btn-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: #2b2d31; }

@media (max-width: 760px) {
	.dcom-ui .dc-shell { padding: 1rem; }
	.dcom-ui .dc-account { grid-template-columns: 1fr; }
	.dcom-ui .dc-side { position: static; flex-direction: row; overflow-x: auto; gap: 4px; }
	.dcom-ui .dc-side-link { white-space: nowrap; }
	.dcom-ui .dc-side-link.is-active { box-shadow: inset 0 -3px 0 var(--dc-blurple); }
	.dcom-ui .dc-main { padding: 1rem; }
	.dcom-ui .dc-hero { height: 120px; }
	.dcom-ui .dc-profile { padding: 0 1rem 1rem; }
	.dcom-ui .dc-hero { margin: 0 -1rem; }
	.dcom-ui .dc-profile-avatar { width: 88px; height: 88px; }
	.dcom-ui .dc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dcom-ui .dcom-channel { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.dcom-ui *, .dcom-btn { transition: none !important; }
}

.dcom-ui .dc-settings-h { margin: 1.75rem 0 .25rem; font-size: 15px; color: var(--dc-text1); }
