/* Server profiles: a stone-and-slate presentation layer, never shared app state. */
.server-detail-body {
  --profile-bg: #10141a;
  --profile-panel: #1b2028;
  --profile-border: #b8c4d42b;
  --profile-text: #f3f2eb;
  --profile-muted: #aab1bd;
  --profile-accent: #c6ec86;
  --profile-width: 1160px;
  margin: 0;
  position: relative;
  isolation: isolate;
  background: var(--profile-bg);
  color: var(--profile-text);
  color-scheme: dark;
  overflow-wrap: anywhere;
}
.server-detail-body::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 520px;
  pointer-events: none;
  background: linear-gradient(#10141a2e, #10141a), url('/voxel-twilight-hero-v1.webp?v=minecraft-stone-2') center top / cover no-repeat;
  opacity: .5;
}
.server-detail-body *, .server-detail-body *::before, .server-detail-body *::after { box-sizing: border-box; }
.server-detail-body a, .server-detail-body button { -webkit-tap-highlight-color: transparent; }
.server-detail-body a:focus-visible, .server-detail-body button:focus-visible, .server-detail-body input:focus-visible, .server-detail-body textarea:focus-visible {
  outline: 3px solid var(--profile-accent);
  outline-offset: 4px;
}
.profile-skip-link { position: fixed; top: -120px; left: 16px; z-index: 20; padding: 12px 18px; background: var(--profile-accent); color: #172112; border-radius: 5px; }
.profile-skip-link:focus { top: 12px; }
.server-detail-body .server-detail-header { width: min(calc(100% - 64px), var(--profile-width)); min-height: 88px; padding: 24px 0; gap: 24px; border-bottom: 1px solid var(--profile-border); }
.server-detail-body .brand { flex-shrink: 0; color: var(--profile-text); font-size: 19px; letter-spacing: -.045em; }
.server-detail-body .brand > span:not(.brand-mark) { color: var(--profile-accent); }
.server-detail-body .brand-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; border: 1px solid #c6ec863d; background: #c6ec8612; color: var(--profile-accent); }
.server-detail-body .server-detail-header .profile-back-link { display: inline-flex; align-items: center; gap: 9px; color: #c4cad3; font-size: 13px; font-weight: 600; line-height: 1.4; text-transform: none; text-decoration: none; }
.server-detail-body .profile-back-link:hover { color: var(--profile-accent); }
.server-detail-body .server-detail-main { width: min(calc(100% - 64px), var(--profile-width)); gap: 22px; margin: 24px auto 64px; }
.server-detail-body .server-profile-content { display: grid; gap: 22px; min-width: 0; scroll-margin-top: 20px; outline: none; }
.server-detail-body .server-breadcrumbs { margin: 0; font-size: 13px; color: #adb5c1; }
.server-detail-body .server-breadcrumbs a { color: #c7d0dc; text-decoration: none; }
.server-detail-body .server-breadcrumbs a:hover { color: var(--profile-accent); }
.server-detail-body .server-breadcrumbs li + li::before { color: #596373; }
.server-detail-body .server-detail-hero { display: block; min-width: 0; border: 1px solid #b8c4d43b; border-radius: 12px; background: #1b2028; box-shadow: 0 18px 54px #0003; }
.profile-banner-frame { position: relative; overflow: hidden; width: 100%; background: #11161d; border-bottom: 1px solid #ffffff14; }
.server-detail-body .server-detail-banner { width: 100%; height: auto; aspect-ratio: 468 / 60; object-fit: contain; display: block; background: #11161d; }
.server-detail-body .server-detail-banner.server-banner-placeholder { max-width: 100%; padding: 16px; min-height: 90px; background: repeating-linear-gradient(0deg, #ffffff03 0 1px, transparent 1px 24px), repeating-linear-gradient(90deg, #ffffff03 0 1px, transparent 1px 24px), linear-gradient(110deg, #2a3542, #1c242e); text-shadow: none; }
.server-detail-body .server-banner-placeholder b { max-width: 100%; font-size: clamp(18px, 3vw, 36px); color: #e8eadf; }
.server-detail-body .server-banner-placeholder small { color: #a6b6c5; font-size: 9px; letter-spacing: .22em; }
.server-detail-body .server-detail-titlebar { padding: 30px 32px 26px; gap: 30px; align-items: center; background: none; }
.profile-title-group { min-width: 0; flex: 1; }
.profile-name-line { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; min-width: 0; }
.profile-name-line .premium-badge { margin-left: 0; transform: translateY(1px); }
.server-detail-body .server-detail-rank { display: inline-flex; align-items: center; gap: 8px; color: #afb7c4; font: 700 10px/1.4 ui-monospace, monospace; letter-spacing: .15em; }
.server-detail-body .server-detail-rank::before { content: ""; width: 7px; height: 7px; background: var(--profile-accent); box-shadow: 2px 2px 0 #c6ec8625; }
.server-detail-body .server-detail-titlebar h1 { margin: 12px 0 14px; font-size: clamp(32px, 4.5vw, 56px); line-height: 1.05; font-weight: 850; letter-spacing: -.045em; color: var(--profile-text); }
.profile-identity { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.server-detail-body .server-detail-titlebar .server-edition-strip { display: flex; gap: 6px; margin: 0; padding: 0; border: 0; background: none; min-height: 0; flex-wrap: wrap; }
.server-detail-body .server-detail-titlebar .server-edition-strip span { padding: 6px 9px; border: 1px solid #a8b7ce35; border-radius: 4px; background: #abbdda0a; color: #d6deea; font: 700 10px/1.2 ui-monospace, monospace; letter-spacing: .06em; }
.profile-community-label { margin: 0; color: var(--profile-muted); font-size: 13px; line-height: 1.5; }
.server-detail-body .server-detail-status { flex: 0 0 auto; min-width: 265px; grid-template-columns: 1fr 1fr; border: 1px solid #a8b7ce2a; border-radius: 8px; background: #11161d; }
.server-detail-body .server-detail-status > span { padding: 17px 18px; gap: 8px; min-width: 0; }
.server-detail-body .server-detail-status > span + span { border-left: 1px solid #ffffff14; }
.server-detail-body .server-detail-status small { font: 600 10px/1.2 ui-monospace, monospace; letter-spacing: .08em; color: #9da9ba; }
.server-detail-body .server-detail-status b { font: 800 19px/1.2 ui-monospace, monospace; color: #edf0e8; overflow-wrap: anywhere; }
.server-detail-body .server-detail-status b[data-profile-availability] { font-size: 13px; }
.server-detail-body .server-detail-status .is-online { color: #c6ec86; }
.server-detail-body .server-detail-status .is-unavailable { color: #f2a094; }
.server-detail-body .server-detail-status .is-unknown { color: #ecc48a; }
.profile-snapshot-note { margin: 0 32px 25px; color: #9ca8b9; font-size: 12px; line-height: 1.6; }
.profile-snapshot-note time { color: #c4ccd8; }
.server-detail-body .server-detail-vote-bar { padding: 22px 32px; gap: 24px; border-top: 1px solid #c6ec862b; background: linear-gradient(110deg, #c6ec860b, #c6ec8603); }
.server-detail-body .server-detail-vote-bar > div { gap: 6px; }
.server-detail-body .server-detail-vote-bar strong { color: var(--profile-text); font-size: 18px; letter-spacing: -.02em; }
.server-detail-body .server-detail-vote-bar span { color: #adb7c4; font-size: 13px; }
.server-detail-body .server-detail-vote-button { min-width: 244px; min-height: 54px; padding: 15px 20px; gap: 14px; border: 1px solid #d5f3a6; border-radius: 6px; background: var(--profile-accent); color: #1a2413; box-shadow: 0 3px 0 #788e4e, 0 9px 18px #0002; }
.server-detail-body .server-detail-vote-button span { color: #1a2413; font: 800 12px/1.3 ui-monospace, monospace; letter-spacing: .015em; }
.server-detail-body .server-detail-vote-button b { color: #233218; font-size: 20px; }
.server-detail-body .server-detail-vote-button:hover { background: #d5f3a6; box-shadow: 0 4px 0 #788e4e, 0 12px 20px #0003; }
.profile-section-nav { display: flex; align-items: center; gap: 8px; padding: 0 1px; flex-wrap: wrap; }
.profile-section-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; color: #bfc8d5; border: 1px solid #b8c4d421; border-radius: 5px; text-decoration: none; font-size: 13px; font-weight: 650; background: #1b202866; }
.profile-section-nav a:first-child { background: #c6ec8612; border-color: #c6ec8640; color: #d1ecae; }
.profile-section-nav a:hover { color: var(--profile-text); border-color: #b8c4d45c; }
.server-detail-body .server-detail-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-areas: "about overview" "join overview" "status status"; align-items: start; gap: 22px; }
.server-detail-body .server-detail-about { grid-area: about; }
.server-detail-body .server-detail-overview { grid-area: overview; }
.server-detail-body .server-detail-join { grid-area: join; }
.server-detail-body .server-detail-live { grid-area: status; }
.server-detail-body .server-detail-panel { min-width: 0; padding: 28px; border: 1px solid var(--profile-border); border-radius: 10px; background: var(--profile-panel); box-shadow: none; scroll-margin-top: 22px; }
.server-detail-body .server-detail-panel h2 { margin: 0 0 21px; color: var(--profile-text); font-size: 24px; font-weight: 750; letter-spacing: -.035em; line-height: 1.15; }
.profile-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.profile-panel-symbol { display: inline-grid; place-items: center; flex: 0 0 30px; height: 30px; border: 1px solid #b8c4d433; background: #abbdda08; color: #a4b3c5; font: 700 17px/1 ui-monospace, monospace; }
.server-detail-body .server-detail-description { max-width: 72ch; margin: 0; color: #c2cad6; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; word-break: break-word; white-space: pre-line; }
.server-detail-body .server-detail-tags { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.server-detail-body .server-detail-tags span { padding: 7px 10px; background: #a8b7ce0a; border: 1px solid #a8b7ce2b; border-radius: 4px; color: #c5d4e4; font-size: 11px; font-weight: 600; line-height: 1.4; }
.server-detail-body .server-detail-overview .server-detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.server-detail-body .server-detail-live .server-detail-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.server-detail-body .server-detail-facts { display: grid; gap: 0; margin: 0; border: 0; background: none; }
.server-detail-body .server-detail-facts > div { padding: 14px 0; gap: 8px; border-top: 1px solid #b8c4d421; background: transparent; min-width: 0; }
.server-detail-body .server-detail-facts > div:nth-child(odd) { padding-right: 16px; }
.server-detail-body .server-detail-facts dt { color: #94a1b4; font: 600 10px/1.4 ui-monospace, monospace; letter-spacing: .055em; }
.server-detail-body .server-detail-facts dd { overflow: visible; color: #d5dce7; font-size: 14px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; text-overflow: clip; }
.server-detail-body .server-detail-facts [data-detail-fact] dd { font-weight: 600; }
.server-detail-body .server-detail-facts [data-detail-fact] a { color: #c6ec86; text-decoration: none; }
.server-detail-body .server-detail-facts a:hover { text-decoration: underline; }
.server-detail-body .server-detail-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.server-detail-body .server-detail-meta span { min-width: 0; gap: 7px; padding: 13px 11px; border: 1px solid #b8c4d424; border-radius: 5px; background: #11161d; }
.server-detail-body .server-detail-meta b { color: #f0f0e8; font: 800 21px/1.3 ui-monospace, monospace; overflow-wrap: anywhere; }
.server-detail-body .server-detail-meta small { color: #95a3b6; font: 600 9px/1.4 ui-monospace, monospace; letter-spacing: .04em; }
.server-detail-body .server-detail-owner { margin: 21px 0 0; padding-top: 18px; border-top: 1px solid #b8c4d424; gap: 7px; }
.server-detail-body .server-detail-owner strong { color: #b9d69a; font: 600 10px/1.4 ui-monospace, monospace; letter-spacing: .06em; }
.server-detail-body .server-detail-owner span { font-size: 14px; color: #c1cad8; overflow-wrap: anywhere; }
.server-detail-body .server-detail-join { background: linear-gradient(130deg, #c6ec8607, transparent 75%), var(--profile-panel); border-color: #c6ec8640; }
.profile-panel-intro { margin: -5px 0 22px; color: #a8b4c5; font-size: 13px; line-height: 1.65; }
.server-detail-body .server-detail-addresses { gap: 12px; }
.server-detail-body .server-detail-address { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 16px; background: #11161d; border: 1px solid #a8b7ce2b; border-radius: 6px; }
.server-detail-body .server-detail-address > span { grid-column: 1; grid-row: 1; font: 700 10px/1.3 ui-monospace, monospace; color: #9eafc4; }
.server-detail-body .server-detail-address code { grid-column: 1 / -1; grid-row: 2; margin-top: 2px; color: #d9edbf; font: 700 15px/1.5 ui-monospace, monospace; white-space: normal; text-overflow: clip; overflow: visible; overflow-wrap: anywhere; user-select: all; }
.server-detail-body .server-detail-address .copy-server-ip { grid-column: 2; grid-row: 1; min-height: 42px; padding: 10px 13px; border: 1px solid #c6ec8640; border-radius: 4px; background: #c6ec8612; color: #d1ecae; font: 700 10px/1.4 ui-monospace, monospace; cursor: pointer; }
.server-detail-body .server-detail-address .copy-server-ip:hover { background: #c6ec8624; border-color: #c6ec8680; }
.server-detail-body .server-detail-address .copy-server-ip:disabled { cursor: default; color: #85947b; background: #c6ec8606; border-color: #c6ec8625; }
.server-detail-body .server-profile-guides { margin: 20px 0 0; font-size: 13px; line-height: 1.7; }
.server-detail-body .server-profile-guides a { color: #c6ec86; text-decoration: none; }
.server-detail-body .server-profile-guides a:hover { text-decoration: underline; }
.profile-copy-feedback { min-height: 20px; margin: 12px 0 0; color: #c6ec86; font-size: 12px; line-height: 1.5; }
.profile-status-caveat { margin: 19px 0 0; padding: 12px 14px; border-left: 2px solid #a8b7ce40; background: #a8b7ce08; color: #9eabbc; font-size: 12px; line-height: 1.75; }
.server-detail-body .server-promotion-host { min-width: 0; scroll-margin-top: 22px; }
.profile-share-fallback > p { color: #a8b4c5; font-size: 14px; line-height: 1.7; }
.profile-share-fallback label { display: grid; gap: 9px; margin-top: 18px; color: #b7c1ce; font-size: 13px; }
.profile-share-fallback input, .profile-share-fallback textarea { width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid #a8b7ce3d; border-radius: 5px; background: #11161d; color: #d3deed; font: 13px/1.6 ui-monospace, monospace; resize: vertical; }
.profile-share-fallback textarea { min-height: 110px; }
.profile-share-fallback small { display: block; margin-top: 13px; color: #919fb2; line-height: 1.65; }
.profile-share-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.profile-share-links a { color: #c6ec86; font-size: 13px; }
.server-detail-body .server-related-links a, .server-detail-body .seo-category-links a { color: #c5dcaa; }
.server-detail-body .server-related-grid { gap: 14px; margin: 18px 0 22px; }
.server-detail-body .server-related-grid article { padding: 20px; border-color: #b8c4d42b; background: #11161d; border-radius: 6px; }
.server-detail-body .server-related-grid h3 { font-size: 19px; }
.server-detail-body .server-related-grid h3 a { color: #e5e9df; text-decoration: none; }
.server-detail-body .server-related-grid h3 a:hover { color: #c6ec86; }
.server-detail-body .server-related-grid p { color: #94a3b6; line-height: 1.6; }
.server-detail-body .server-related-links > p { color: #99a7ba; font-size: 13px; line-height: 1.8; }
.server-detail-body .server-detail-refresh-notice { margin: 0; padding: 14px 18px; border: 1px solid #ecc48a3b; border-radius: 6px; background: #ecc48a08; color: #d9c8a7; font-size: 13px; line-height: 1.6; }
.server-detail-body .server-detail-error { padding: 35px 24px; background: #1b2028; }
.server-detail-body .server-detail-footer { display: flex; width: min(calc(100% - 64px), var(--profile-width)); margin: 0 auto; gap: 22px; padding: 25px 0 34px; justify-content: flex-start; flex-wrap: wrap; border-top: 1px solid var(--profile-border); color: #8290a3; font-size: 12px; }
.server-detail-body .server-detail-footer a { color: #a1adbe; }
.server-detail-body .server-detail-footer span { margin-left: auto; }
@media (max-width: 980px) {
  .server-detail-body .server-detail-titlebar { gap: 24px; }
  .server-detail-body .server-detail-status { min-width: 238px; }
  .server-detail-body .server-detail-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "about" "overview" "join" "status"; }
  .server-detail-body .server-detail-overview .server-detail-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .server-detail-body .server-detail-live .server-detail-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
  .server-detail-body .server-detail-header, .server-detail-body .server-detail-main, .server-detail-body .server-detail-footer { width: calc(100% - 36px); }
  .server-detail-body .server-detail-header { gap: 12px; min-height: 76px; padding: 20px 0; flex-wrap: wrap; }
  .server-detail-body .server-detail-header .brand { font-size: 17px; }
  .server-detail-body .server-detail-header .profile-back-link { font-size: 12px; }
  .server-detail-body .server-detail-main { margin-top: 20px; gap: 19px; }
  .server-detail-body .server-detail-titlebar { flex-direction: column; align-items: stretch; padding: 24px; }
  .server-detail-body .server-detail-titlebar h1 { font-size: clamp(32px, 7vw, 44px); }
  .server-detail-body .server-detail-status { min-width: 0; width: 100%; }
  .server-detail-body .server-detail-status > span { padding: 15px 18px; }
  .profile-snapshot-note { margin: 0 24px 22px; }
  .server-detail-body .server-detail-vote-bar { padding: 22px 24px; gap: 17px; flex-direction: column; align-items: stretch; }
  .server-detail-body .server-detail-vote-button { width: 100%; min-width: 0; }
  .server-detail-body .server-detail-panel { padding: 24px; }
  .server-detail-body .server-detail-overview .server-detail-facts, .server-detail-body .server-detail-live .server-detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .server-detail-body .server-related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .server-detail-body .server-detail-header, .server-detail-body .server-detail-main, .server-detail-body .server-detail-footer { width: calc(100% - 28px); }
  .server-detail-body .server-detail-header { align-items: flex-start; gap: 13px; }
  .server-detail-body .server-detail-header .profile-back-link { flex-basis: 100%; }
  .server-detail-body .brand-mark { width: 26px; height: 26px; }
  .server-detail-body .server-profile-content { gap: 18px; }
  .server-detail-body .server-detail-titlebar { padding: 22px 20px; gap: 23px; }
  .server-detail-body .server-detail-titlebar h1 { font-size: 34px; }
  .server-detail-body .server-detail-status > span { padding: 14px 12px; }
  .profile-snapshot-note { margin: 0 20px 20px; }
  .server-detail-body .server-detail-vote-bar { padding: 20px; }
  .server-detail-body .server-detail-panel { padding: 22px 20px; }
  .server-detail-body .server-detail-panel h2 { font-size: 23px; }
  .profile-section-nav { gap: 6px; }
  .profile-section-nav a { flex: 1 1 auto; padding: 10px 12px; font-size: 12px; }
  .server-detail-body .server-detail-address { padding: 14px 12px; gap: 9px; }
  .server-detail-body .server-detail-address code { font-size: 14px; }
  .server-detail-body .server-detail-facts dd { font-size: 13px; }
  .server-detail-body .server-detail-meta span { padding: 12px 8px; }
  .server-detail-body .server-detail-meta b { font-size: 18px; }
  .server-detail-body .server-detail-meta small { font-size: 8px; }
  .server-detail-body .server-detail-footer { gap: 18px; }
  .server-detail-body .server-detail-footer span { flex-basis: 100%; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .server-detail-body *, .server-detail-body *::before, .server-detail-body *::after { scroll-behavior: auto; transition: none; }
  .server-detail-body .server-detail-vote-button:hover { transform: none; }
}

/* Compact actions stay on the profile; recorded history opens on demand. */
.profile-quick-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 32px 22px; }
.profile-quick-actions > button { min-height: 38px; padding: 9px 13px; border: 1px solid #a8b7ce3d; border-radius: 5px; background: #11161d; color: #c5ceda; font: 600 12px/1.4 ui-monospace, monospace; cursor: pointer; }
.profile-quick-actions > button:hover { color: #edf0e8; border-color: #a8b7ce70; background: #26303c; }
.profile-quick-actions > button:disabled { color: #718095; cursor: default; }
.player-activity-dialog { width: min(720px, calc(100% - 32px)); max-width: calc(100% - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 24px; border: 1px solid #a8b7ce50; border-radius: 12px; background: #1b2028; color: #f3f2eb; box-shadow: 0 24px 80px #0008; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; color-scheme: dark; }
.player-activity-dialog:not([open]) { display: none; }
.player-activity-dialog::backdrop { background: #080c12bd; }
.player-activity-dialog *, .player-activity-dialog *::before, .player-activity-dialog *::after { box-sizing: border-box; }
.player-activity-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.player-activity-header > div { min-width: 0; }
.player-activity-header h2 { margin: 0; font: 750 25px/1.25 system-ui, sans-serif; letter-spacing: -.025em; }
.player-activity-server { margin: 7px 0 0; color: #aebacf; font-size: 13px; overflow-wrap: anywhere; }
.player-activity-dialog button { min-height: 38px; padding: 8px 12px; border: 1px solid #a8b7ce45; border-radius: 5px; background: #11161d; color: #d3dbe7; font: 600 12px/1.4 system-ui, sans-serif; cursor: pointer; }
.player-activity-dialog button:hover { border-color: #a8b7ce80; background: #26303c; }
.player-activity-dialog button:focus-visible, .player-activity-dialog summary:focus-visible { outline: 3px solid #c6ec86; outline-offset: 3px; }
.player-activity-close { flex-shrink: 0; }
.player-activity-note, .player-activity-status, .player-activity-coverage { color: #a9b5c7; font: 12px/1.65 system-ui, sans-serif; }
.player-activity-note { margin: 18px 0; }
.player-activity-periods { display: flex; flex-wrap: wrap; gap: 8px; }
.player-activity-periods button[aria-pressed="true"] { border-color: #c6ec8660; background: #c6ec8610; color: #d5ecb9; }
.player-activity-status { margin: 15px 0 12px; min-height: 20px; }
.player-activity-summary,.player-availability-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.player-activity-summary p,.player-availability-summary p { display: grid; gap: 5px; margin: 0; padding: 12px; border: 1px solid #a8b7ce25; border-radius: 5px; background: #11161d; min-width: 0; }
.player-activity-summary strong,.player-availability-summary strong { font: 750 23px/1.25 ui-monospace, monospace; overflow-wrap: anywhere; }
.player-activity-summary span,.player-availability-summary span { font: 11px/1.5 system-ui, sans-serif; color: #99a9bd; }
.player-activity-chart,.player-availability-chart { width: 100%; border: 1px solid #a8b7ce20; border-radius: 6px; background: #11161d; }
.player-activity-chart svg,.player-availability-chart svg { display: block; width: 100%; height: auto; overflow: hidden; }
.player-activity-grid { stroke: #a8b7ce22; stroke-width: 1; }
.player-activity-tick { fill: #9cabbe; font: 11px system-ui, sans-serif; }
.player-activity-line { stroke: #bed78c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.player-activity-point { fill: #d3e5ab; stroke: #11161d; stroke-width: 1; }
.player-activity-point-batch { fill: none; stroke: #d3e5ab; stroke-width: 4; stroke-linecap: round; }
.player-activity-unknown { fill: none; stroke: #94a2b8; stroke-width: 1.5; }
.player-activity-empty { padding: 25px 18px; border: 1px dashed #a8b7ce35; border-radius: 6px; text-align: center; background: #11161d; }
.player-activity-empty h3,.player-activity-empty h4 { margin: 0 0 10px; font: 650 17px/1.4 system-ui, sans-serif; }
.player-activity-empty p { margin: 0; color: #99a9bd; font: 12px/1.7 system-ui, sans-serif; }
.player-activity-coverage { margin: 12px 0; }
.player-activity-recordings,.player-availability-recordings { margin-top: 16px; border-top: 1px solid #a8b7ce25; padding-top: 14px; color: #aab8ca; font: 12px/1.7 system-ui, sans-serif; }
.player-activity-recordings summary,.player-availability-recordings summary { cursor: pointer; }
.player-activity-recordings ol,.player-availability-recordings ol { margin: 12px 0 0; padding-left: 20px; max-height: 180px; overflow-y: auto; }
.player-activity-section-title { margin: 0 0 14px; font: 650 17px/1.4 system-ui,sans-serif; }
.player-availability-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid #a8b7ce35; }
.player-availability-success { fill: #bed78c; }
.player-availability-failure { fill: #ed9e8e; }
.player-availability-legend { display:flex; flex-wrap:wrap; gap:8px 16px; color:#a9b5c7; font:11px/1.6 system-ui,sans-serif; }
.player-availability-success-label { color:#cce4a6; }
.player-availability-failure-label { color:#f2b4a7; }
.player-availability-legend span::before { content:'· '; }
.player-activity-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; margin-top:12px; }
@media (max-width: 740px) { .profile-quick-actions { margin: -5px 24px 22px; } }
@media (max-width: 420px) {
  .profile-quick-actions { margin: -4px 20px 20px; }
  .player-activity-dialog { padding: 16px; }
  .player-activity-header { gap: 12px; }
  .player-activity-header h2 { font-size: 21px; }
  .player-activity-summary strong,.player-availability-summary strong { font-size: 20px; }
}

.country-flag { display: inline-block; width: 20px; height: 15px; flex: 0 0 20px; margin-right: 3px; vertical-align: -.1em; border-radius: 2px; }
.server-reviews-dialog { width: min(720px, calc(100% - 32px)); max-width: calc(100% - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 24px; border: 1px solid #a8b7ce50; border-radius: 12px; background: #1b2028; color: #f3f2eb; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; color-scheme: dark; box-shadow: 0 24px 80px #0008; }
.server-reviews-dialog:not([open]), .server-reviews-dialog [hidden] { display: none!important; }
.server-reviews-dialog::backdrop { background: #080c12bd; }
.server-reviews-dialog *, .server-reviews-dialog *::before, .server-reviews-dialog *::after { box-sizing: border-box; min-width: 0; }
.server-reviews-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.server-reviews-header h2 { margin: 0; font: 750 25px/1.3 system-ui, sans-serif; letter-spacing: -.025em; }
.server-reviews-server { margin: 7px 0 0; color: #aebacf; font-size: 13px; overflow-wrap: anywhere; }
.server-reviews-close { flex-shrink: 0; }
.server-reviews-dialog button { min-height: 38px; padding: 8px 12px; border: 1px solid #a8b7ce45; border-radius: 5px; background: #11161d; color: #d3dbe7; font: 600 12px/1.4 system-ui, sans-serif; cursor: pointer; }
.server-reviews-dialog button:hover:not(:disabled) { border-color: #a8b7ce80; background: #26303c; }
.server-reviews-dialog button:disabled { opacity: .5; cursor: default; }
.server-reviews-dialog button:focus-visible, .server-reviews-dialog a:focus-visible, .server-reviews-dialog textarea:focus-visible, .server-review-stars label:focus-within { outline: 3px solid #e6c17a; outline-offset: 3px; }
.server-reviews-policy, .server-reviews-notice, .server-review-help { color: #a9b5c7; font: 12px/1.65 system-ui, sans-serif; overflow-wrap: anywhere; }
.server-reviews-policy { margin: 18px 0; }
.server-reviews-notice { margin: 14px 0; min-height: 20px; }
.server-reviews-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 9px 14px; }
.server-reviews-summary strong { color: #ead29a; font: 750 22px/1.3 system-ui, sans-serif; }
.server-reviews-summary span { color: #99a9bd; font: 12px/1.5 system-ui, sans-serif; }
.server-review-editor { padding: 16px; border: 1px solid #a8b7ce28; border-radius: 7px; background: #11161d; }
.server-review-editor > p { margin: 0 0 12px; color: #bac7d8; font: 13px/1.7 system-ui, sans-serif; }
.server-review-editor form { display: grid; gap: 13px; }
.server-review-editor h3 { margin: 0; font: 650 16px/1.5 system-ui, sans-serif; }
.server-review-signin { display: inline-block; color: #ecd497; font: 600 13px/1.5 system-ui, sans-serif; }
.server-review-rating { margin: 0; padding: 0; border: 0; }
.server-review-rating legend { margin-bottom: 9px; color: #b9c6d8; font: 12px/1.5 system-ui, sans-serif; }
.server-review-stars { display: flex; gap: 7px; }
.server-review-stars label { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #a8b7ce35; border-radius: 5px; background: #1b2028; color: #66778c; font-size: 24px; cursor: pointer; }
.server-review-stars label.is-filled { color: #e6c17a; border-color: #e6c17a50; background: #e6c17a08; }
.server-review-rating-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.server-review-text-label { display: grid; gap: 8px; color: #b9c6d8; font: 12px/1.5 system-ui, sans-serif; }
.server-review-text-label textarea { width: 100%; min-height: 104px; padding: 11px 12px; border: 1px solid #a8b7ce40; border-radius: 5px; background: #1b2028; color: #e3e9e0; -webkit-text-fill-color: #e3e9e0; caret-color: #e3e9e0; resize: vertical; font: 13px/1.7 system-ui, sans-serif; }
.server-review-text-label textarea::placeholder { color: #99a9bd; -webkit-text-fill-color: #99a9bd; opacity: 1; }
.server-review-help { margin: 0; font-size: 11px; }
.server-review-form-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.server-review-form-actions .server-review-submit { border-color: #e6c17a50; background: #e6c17a10; color: #ead39e; }
.server-reviews-dialog .server-review-delete { color: #d9b9b2; }
.server-review-list { display: grid; gap: 12px; margin-top: 18px; }
.server-review-card { padding: 16px; border: 1px solid #a8b7ce25; border-radius: 6px; background: #11161d; }
.server-review-card-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; font: 13px/1.5 system-ui, sans-serif; }
.server-review-card-header strong { overflow-wrap: anywhere; }
.server-review-score { color: #ead29a; white-space: nowrap; }
.server-review-gold-star { color: #e6c17a!important; font-size: .95em; }
.server-review-date { margin: 6px 0 10px; color: #8699b2; font: 11px/1.5 system-ui, sans-serif; }
.server-review-content { margin: 0; color: #c4cede; font: 13px/1.8 system-ui, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; }
.server-review-empty { margin: 0; padding: 21px 16px; border: 1px dashed #a8b7ce30; border-radius: 6px; color: #aab7c8; font: 13px/1.7 system-ui, sans-serif; }
.server-reviews-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #a8b7ce25; }
@media (max-width: 420px) { .server-reviews-dialog { padding: 16px; } .server-reviews-header h2 { font-size: 21px; } .server-review-editor, .server-review-card { padding: 13px; } }
