/* Homepage showcases use the shared site identity and existing directory data. */
.landing-page .frame { width: min(1280px, calc(100% - 64px)); }
.landing-page main.lp { padding: 0; }
.landing-page .bar { min-height: 72px; }
.landing-page .search, .landing-page .search-toggle { display: none; }
.landing-page .account { margin-left: auto; }
.lp-menu { display: none; }
.lp-hero { position: relative; isolation: isolate; min-height: 390px; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.lp-artwork { position: absolute; inset: 0; z-index: -2; background: var(--panel); }
.lp-artwork::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / .78), rgb(0 0 0 / .38) 53%, rgb(0 0 0 / .1)); pointer-events: none; }
.lp-artwork-open { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.lp-artwork-open:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.lp-artwork img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-artwork[hidden], .lp-artwork-controls[hidden] { display: none; }
.lp-panel { min-width: 0; padding: 96px 40px 40px; max-width: 760px; }
.lp-panel h1 { max-width: 610px; margin: 0; font-size: clamp(38px, 4vw, 58px); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; color: #f2f0e8; }
.lp-panel h1 span { color: var(--accent); }
.lp-tagline { margin: 12px 0 0; }
.lp-intro { margin: 18px 0 0; color: #eeeae2; font-size: 17px; line-height: 1.55; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lp-panel .btn:not(.primary) { background: rgb(23 23 23 / .9); }
.lp-notice { position: absolute; top: 24px; left: 40px; z-index: 2; display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px; border: 1px solid #55554d; background: rgb(23 23 23 / .94); color: #f2f0e8; font-size: 14px; }
.lp-artwork-controls { position: absolute; right: 20px; bottom: 18px; z-index: 3; display: flex; gap: 0; padding: 3px; border: 1px solid rgb(242 240 232 / .24); background: rgb(23 23 23 / .82); }
.lp-artwork-controls button { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: #f2f0e8; cursor: pointer; }
.lp-artwork-controls svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.lp-artwork-controls svg[hidden] { display: none; }
.lp-artwork-controls button:hover { background: rgb(242 240 232 / .12); }
.lp-artwork-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.lp-hero.without-artwork { min-height: 290px; }
.lp-hero.without-artwork .lp-panel { max-width: 900px; }
.lp .sec { margin: 0; padding: 24px 0; border-bottom: 1px solid var(--line); }
.lp .sec-head { padding: 0; margin: 0 0 18px; border: 0; }
.lp .sec-head::after { display: none; }
.lp .sec-head h2, .lp-tools h2 { font-size: 27px; margin: 0; font-weight: 600; color: var(--ink); text-transform: none; letter-spacing: -.02em; }
.lp .more { color: var(--accent); }
.lp .sec-head .btn { margin-left: auto; min-height: 44px; padding: 10px 14px; gap: 8px; font-size: 14px; }
.lp-server-cards, .lp-community-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.lp-server-card { min-width: 0; border: 1px solid var(--line); overflow: hidden; background: var(--panel); }
.lp-server-media { position: relative; }
.lp-server-players { position: absolute; right: 10px; bottom: 10px; max-width: calc(100% - 20px); margin: 0; padding: 6px 9px; border: 1px solid rgb(242 240 232 / .24); background: rgb(23 23 23 / .94); color: var(--ink); font-size: 13px; line-height: 1.4; pointer-events: none; }
.lp-server-players strong { margin-left: 4px; font-variant-numeric: tabular-nums; }
.lp-server-art { display: block; position: relative; width: 100%; height: 180px; padding: 0; border: 0; background: var(--raised); cursor: pointer; }
.lp-server-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp [data-showcase-image][hidden] { display: none; }
.lp-featured { position: absolute; top: 8px; right: 8px; display: flex; gap: 5px; align-items: center; padding: 4px 7px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 600; line-height: 1.3; }
.lp-server-info { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 14px 12px; }
.lp-server-info > div:first-child { min-width: 0; flex: 1; }
.lp-server-info h3, .lp-community-card h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.lp-server-info h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-server-info p { font-size: 13px; color: var(--mid); margin: 7px 0 0; line-height: 1.4; }
.lp-server-info .c-join { flex: none; }
.lp-server-info .btn { padding: 8px 10px; font-size: 12px; min-height: 44px; }
.lp-server-info .copy-feedback { max-width: 130px; }
.lp-server-info .copy-id { width: 130px; max-width: 100%; }
.lp-server-controls { display: none; }
.lp-community-card { min-width: 0; display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 14px 18px; padding: 20px 16px; background: var(--panel); border: 1px solid var(--line); }
.lp-community-image { display: flex; align-self: start; flex: none; padding: 0; border: 0; background: transparent; cursor: pointer; }
.lp-community-card > div { min-width: 0; display: flex; flex-direction: column; flex: 1; }
.lp-community-card .identity-media { width: 72px; height: 72px; flex: none; border: 1px solid #68685e; }
.lp-community-card .identity-signature { flex: none; }
.lp-community-meta { margin: 6px 0 0; font-size: 13px; color: var(--mid); }
.lp-community-intro { grid-column: 1 / -1; align-self: start; font-size: 14px; line-height: 1.5; color: var(--mid); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-community-card .lp-community-view { grid-column: 1 / -1; width: 100%; min-height: 44px; padding: 10px 14px; border-color: var(--accent); color: var(--accent); font-size: 14px; }
.lp-community-card .lp-community-view:hover { background: var(--accent); color: var(--accent-ink); }
.lp-tools { display: grid; grid-template-columns: 1.05fr 1fr; border-bottom: 1px solid var(--line); }
.lp-tools-single { grid-template-columns: minmax(0, 1fr); }
.lp-stats, .lp-owner { min-width: 0; padding: 24px 0; }
.lp-tools .lp-stats { padding-right: 30px; }
.lp-tools .lp-owner { padding-left: 30px; border-left: 1px solid var(--line); }
.lp-tools-single .lp-stats { padding-right: 0; max-width: 700px; }
.lp-stats > p, .lp-owner > p { margin: 10px 0 16px; color: var(--mid); font-size: 15px; line-height: 1.5; }
.lp-player-search { display: flex; gap: 10px; align-items: center; }
.lp-player-search .field { flex: 1; min-width: 0; margin: 0; position: relative; }
.lp-player-search input { width: 100%; min-height: 44px; }
.lp-player-search .suggest { left: 0; right: 0; }
.lp-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lp-player-status { min-height: 20px; margin: 8px 0; font-size: 13px; color: var(--mid); }
.lp-profile-preview { display: block; position: relative; isolation: isolate; overflow: hidden; height: 220px; background: var(--panel); border: 1px solid var(--line); color: var(--ink); }
.lp-profile-preview:hover { border-color: var(--accent); }
.lp-profile-heading { display: flex; justify-content: space-between; gap: 12px; padding: 18px 18px 0; }
.lp-profile-heading > div { min-width: 0; }
.lp-profile-heading strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font-size: 17px; line-height: 1.3; }
.lp-profile-heading small { display: block; color: var(--mid); margin-top: 5px; font-size: 12px; }
.lp-profile-heading > span { flex: none; color: var(--accent); font-size: 12px; }
.lp-profile-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.lp-profile-preview::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgb(17 17 17 / .74); }
.lp-profile-values { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 24px 12px 18px; font-size: 13px; }
.lp-profile-values > div + div { border-left: 1px solid #74736b; }
.lp-profile-values strong { display: block; font-size: clamp(17px, 2vw, 23px); margin-top: 8px; font-weight: 500; overflow-wrap: anywhere; }
.lp-profile-preview > span { display: block; text-align: center; font-size: 12px; }
.lp-feature-request { margin-top: 24px; padding: 20px; border: 1px solid var(--line); background: var(--panel); }
.lp-feature-request .lp-feature-request-label { margin: 0 0 10px; color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.lp-feature-request h3 { margin: 0; color: var(--ink); font-size: 21px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.lp-feature-request > p { margin: 12px 0 0; color: var(--mid); font-size: 14px; line-height: 1.6; }
.lp-feature-request .lp-actions { margin: 16px 0 0; }
.lp-feature-request .btn { min-height: 44px; }
.lp-feature-request .lp-feature-request-note { margin-top: 16px; font-size: 12.5px; line-height: 1.6; }
.lp-rcon-preview { display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); background: var(--panel); cursor: pointer; }
.lp-rcon-preview img { display: block; width: 100%; height: auto; }
.lp-rcon-preview:hover { border-color: var(--accent); }
.lp-rcon-features { margin: 0 0 20px; }
.lp-rcon-features > div + div { margin-top: 16px; }
.lp-rcon-features dt { color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.35; }
.lp-rcon-features > div:first-child dt { color: var(--accent); }
.lp-rcon-features dd { margin: 5px 0 0; color: var(--mid); font-size: 14px; line-height: 1.5; }
.lp-owner .lp-actions { margin-top: 12px; }
.lp .lp-news-strip { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; padding: 22px 0; }
.lp-news-strip h2 { font-size: 18px; margin: 0; font-weight: 500; }
.lp-news-strip article { display: flex; gap: 20px; align-items: center; min-width: 0; }
.lp-news-art { display: block; flex: none; padding: 0; border: 0; background: transparent; cursor: pointer; }
.lp-news-strip article img { width: 190px; height: 85px; object-fit: cover; }
.lp-news-strip h3 { margin: 0 0 6px; font-size: 18px; font-weight: 500; }
.lp-news-strip time { color: var(--dim); font-size: 13px; }
.lp-news-strip article .more { margin-left: auto; flex: none; font-size: 14px; }
.lp-activity { display: flex; flex-wrap: wrap; gap: 24px; padding: 24px 0; margin: 0; }
.lp-activity div { display: flex; gap: 10px; }
.lp-activity dd { margin: 0; }
.landing-page footer.site { background: var(--bg); }
.landing-page .foot-feed h2 { font-size: 16px; letter-spacing: 0; text-transform: none; }
.landing-page .foot-feed header a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: 14px; letter-spacing: 0; text-transform: none; }
.landing-page .foot-feed li span { white-space: normal; overflow-wrap: anywhere; }
.landing-page .foot-feed li:nth-child(n+3) { display: list-item; }
.landing-page .foot-strip { padding: 14px 0; border: 0; }
.landing-page .foot-bar { padding-top: 12px; }
.landing-page .sponsor { margin: 0; padding-top: 16px; }
@media (max-width: 1100px) {
  .lp-server-info { flex-wrap: wrap; }
  .lp-server-info .c-join { flex-basis: 100%; }
  .lp-community-card { grid-template-columns: 56px minmax(0, 1fr); gap: 14px 12px; padding: 16px 12px; }
  .lp-community-card .identity-media { width: 56px; height: 56px; }
}
@media (max-width: 1000px) {
  .landing-page .nav-phone { display: none; }
  .landing-page { padding-bottom: 0; }
  .lp-menu { display: block; order: 5; position: relative; margin-left: 12px; }
  .lp-menu summary { cursor: pointer; list-style: none; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .lp-menu summary::-webkit-details-marker { display: none; }
  .lp-menu nav { position: absolute; right: 0; top: 48px; width: 220px; padding: 10px; background: var(--panel); border: 1px solid var(--line); z-index: 30; }
  .lp-menu nav a { display: block; padding: 12px; min-height: 44px; }
  .lp-tools { grid-template-columns: 1fr; }
  .lp-tools .lp-stats { padding-right: 0; }
  .lp-tools .lp-owner { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .landing-page .frame { width: calc(100% - 32px); }
  .landing-page .bar { min-height: 64px; gap: 8px; }
  .landing-page .wd-logo { width: 190px; }
  .landing-page .account > .btn { display: none; }
  .lp-menu { margin-left: 0; }
  .lp-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; overflow: visible; }
  .lp-artwork { position: relative; inset: auto; height: 140px; flex: none; z-index: auto; }
  .lp-artwork::after { display: none; }
  .lp-artwork-controls { right: 8px; bottom: 8px; }
  .lp-notice { top: 10px; left: 10px; padding: 8px 10px; font-size: 12px; }
  .lp-panel { padding: 20px 0; max-width: none; }
  .lp-panel h1 { font-size: 34px; max-width: 360px; }
  .lp-intro { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--mid); }
  .lp-actions { margin-top: 18px; gap: 8px; }
  .lp-panel .btn { padding: 10px; font-size: 13px; }
  .lp-hero.without-artwork { min-height: 0; }
  .lp-hero.without-artwork .lp-notice { position: static; align-self: start; margin-top: 16px; }
  .lp .sec { padding: 20px 0; }
  .lp .sec-head { margin-bottom: 14px; gap: 8px; }
  .lp .sec-head h2 { font-size: 22px; }
  .lp .sec-head .more { font-size: 13px; }
  .lp-server-cards { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .lp-server-card { flex: 0 0 88%; scroll-snap-align: start; }
  .lp-server-controls:not([hidden]) { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 8px; }
  .lp-server-controls > button { width: 44px; height: 44px; border: 1px solid #77776e; background: var(--bg); color: var(--ink); font: 24px/1 var(--font-sans); cursor: pointer; }
  .lp-server-controls > button:disabled { opacity: .35; cursor: default; }
  .lp-server-controls > div { display: flex; }
  .lp-card-dot { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .lp-card-dot::after { content: ''; display: block; width: 7px; height: 7px; margin: auto; background: #8e8e82; }
  .lp-card-dot[aria-current="true"]::after { background: var(--accent); }
  .lp-server-art { height: 148px; }
  .lp-server-info { flex-wrap: nowrap; padding: 12px; gap: 10px; }
  .lp-server-info .c-join { flex-basis: auto; }
  .lp-server-info h3 { font-size: 16px; }
  .lp-server-info p { font-size: 12px; }
  .lp-server-info .btn { padding: 8px; font-size: 11px; }
  .lp-community-cards { grid-template-columns: 1fr; gap: 12px; }
  .lp-community-card { grid-template-columns: 64px minmax(0, 1fr); gap: 14px 18px; padding: 18px; }
  .lp-community-card .identity-media { width: 64px; height: 64px; }
  .lp-tools h2 { font-size: 25px; }
  .lp-player-search { gap: 8px; }
  .lp-player-search input { font-size: 14px; padding: 10px; }
  .lp-player-search .btn { padding: 10px; font-size: 13px; flex: none; }
  .lp .lp-news-strip { grid-template-columns: 1fr; gap: 12px; }
  .lp-news-strip article { flex-wrap: wrap; gap: 12px; }
  .lp-news-strip article img { width: 100px; height: 70px; }
  .lp-news-strip article > div { flex: 1; min-width: 140px; }
  .lp-news-strip h3 { font-size: 16px; }
  .lp-news-strip article .more { margin-left: 0; }
  .landing-page .foot-brand { display: block; }
  .landing-page .foot-brand p { margin-top: 10px; }
}
@media (max-width: 360px) {
  .lp-panel h1 { font-size: 30px; }
  .lp-panel .btn { font-size: 12px; padding: 9px; }
  .lp-server-card { flex-basis: 96%; }
  .lp-server-info { flex-wrap: wrap; }
  .lp-server-info .c-join { flex-basis: 100%; }
  .lp-player-search { flex-wrap: wrap; }
  .lp-player-search .field { flex-basis: 100%; }
}

.lp-routes { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; max-width: 520px; }
.lp-routes a { display: grid; gap: 2px; padding: 10px 14px; border: 1px solid rgb(242 240 232 / .2); background: rgb(17 17 17 / .72); color: #f2f0e8; }
.lp-routes a:hover { border-color: var(--accent); }
.lp-routes strong { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.lp-routes span { color: #c9c4b8; font-size: 14px; line-height: 1.4; }
#deploy-heading, #community-heading, #stats-heading, #owner-heading { scroll-margin-top: 84px; }

