:root {
  --ps-ink: #102b3b;
  --ps-ink-soft: #39515d;
  --ps-night: #071c29;
  --ps-cyan: #48c6d4;
  --ps-cyan-dark: #167b89;
  --ps-coral: #b64d5a;
  --ps-gold: #d4b77d;
  --ps-paper: #f4f1ea;
  --ps-card: #ffffff;
  --ps-line: #d8dedf;
  --ps-success: #20775a;
  --ps-shadow: 0 18px 55px rgba(7, 28, 41, .1);
  --ps-radius: 20px;
  --ps-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ps-paper);
  color: var(--ps-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

body.admin-bar .ps-site-header { top: 32px; }

a { color: var(--ps-cyan-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ps-coral); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.ps-width { width: min(calc(100% - 40px), var(--ps-width)); margin-inline: auto; }
.ps-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.ps-overline {
  margin: 0 0 8px;
  color: var(--ps-coral);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ps-site-header,
.ps-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(7, 28, 41, .96);
  box-shadow: 0 8px 26px rgba(7,28,41,.14);
  color: #fff;
  backdrop-filter: blur(14px);
}

.ps-header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.ps-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -.025em;
  text-decoration: none;
}

.ps-brand:hover { color: #fff; }
.ps-brand-logo {
  display: block;
  width: 38px;
  height: 58px;
  flex: 0 0 38px;
  object-fit: contain;
}
.ps-brand-text,
.ps-brand > span:last-child { display: grid; line-height: 1.05; }
.ps-brand-text small,
.ps-brand > span:last-child small { margin-top: 5px; color: #a9c0c9; font-size: .65rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }

.ps-nav,
.ps-header nav { display: flex; align-items: center; gap: 8px; }
.ps-nav a,
.ps-header nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #dbe6ea;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.ps-nav a:hover, .ps-nav a[aria-current="page"], .ps-header nav a:hover { background: rgba(255,255,255,.09); color: #fff; }
.ps-nav .ps-nav-cta, .ps-header nav .is-cta { border: 1px solid rgba(72,198,212,.62); color: #fff; }

.ps-hero {
  overflow: hidden;
  padding: 68px 0 52px;
  background:
    radial-gradient(circle at 82% 12%, rgba(72,198,212,.25), transparent 27%),
    radial-gradient(circle at 69% 90%, rgba(182,77,90,.17), transparent 27%),
    linear-gradient(135deg, #0a2535 0%, #102f3f 58%, #09202e 100%);
  color: #fff;
}

.ps-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: center; gap: 54px; }
.ps-hero h1, .ps-auth h1, .ps-rules h1, .ps-story h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .98;
}
.ps-hero h1 { max-width: 800px; font-size: clamp(3rem, 7vw, 6.5rem); }
.ps-hero h1 em, .ps-hero h1 span { color: var(--ps-cyan); font-style: normal; }
.ps-hero-copy > p:not(.ps-overline) { max-width: 690px; margin: 24px 0 0; color: #d1e0e5; font-size: clamp(1rem, 1.5vw, 1.22rem); }
.ps-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.ps-orbit {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
}
.ps-orbit::before, .ps-orbit::after { position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; content: ""; }
.ps-orbit::before { inset: 13%; }
.ps-orbit::after { inset: 29%; background: radial-gradient(circle at 34% 31%, #54ceda, #167b89 42%, #092332 73%); box-shadow: 0 0 75px rgba(72,198,212,.28); }
.ps-orbit span {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.1);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(10px);
}
.ps-orbit span:nth-child(1) { top: 0; left: 39%; }
.ps-orbit span:nth-child(2) { top: 22%; right: 0; }
.ps-orbit span:nth-child(3) { right: 11%; bottom: 5%; }
.ps-orbit span:nth-child(4) { bottom: 0; left: 24%; }
.ps-orbit span:nth-child(5) { top: 34%; left: -2%; }

.ps-button, .ps-source-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--ps-ink);
  border-radius: 10px;
  background: var(--ps-ink);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.ps-button:hover, .ps-source-button:hover { border-color: var(--ps-cyan-dark); background: var(--ps-cyan-dark); color: #fff; }
.ps-button-light { border-color: #fff; background: #fff; color: var(--ps-ink); }
.ps-button-light:hover { border-color: var(--ps-cyan); background: var(--ps-cyan); color: var(--ps-night); }
.ps-button-ghost { border-color: rgba(255,255,255,.35); background: transparent; }
.ps-button-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.ps-hero .ps-button { margin-top: 27px; border-color: var(--ps-cyan); background: var(--ps-cyan); color: var(--ps-night); }
.ps-hero .ps-button:hover { border-color: #fff; background: #fff; color: var(--ps-night); }

.ps-stream-main, .ps-stream-section { padding: 44px 0 82px; }
.ps-stream-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(250px, 1fr); align-items: start; gap: 42px; }
.ps-stream-head, .ps-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.ps-stream-head h2, .ps-section-head h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.ps-stream-head > p, .ps-section-head > p { margin: 0; color: var(--ps-ink-soft); font-size: .85rem; }

.ps-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ps-filter a {
  padding: 8px 12px;
  border: 1px solid var(--ps-line);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  color: var(--ps-ink-soft);
  font-size: .77rem;
  font-weight: 750;
  text-decoration: none;
}
.ps-filter a:hover, .ps-filter a[aria-current="page"] { border-color: var(--ps-ink); background: var(--ps-ink); color: #fff; }

.ps-stream { display: grid; gap: 18px; }
.ps-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  background: var(--ps-card);
  box-shadow: 0 10px 32px rgba(7,28,41,.055);
}
.ps-card-link { display: grid; grid-template-columns: minmax(0, 1fr) 220px; color: inherit; text-decoration: none; }
.ps-card-body { padding: 26px 28px 18px; }
.ps-card-image { display: block; width: 100%; height: 100%; min-height: 245px; overflow: hidden; background: #dce7e9; }
.ps-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ps-card:hover .ps-card-image img { transform: scale(1.025); }
.ps-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; margin-bottom: 12px; color: #657982; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ps-meta span:first-child { color: var(--ps-coral); }
.ps-card h3, .ps-card h2 { margin: 0; color: var(--ps-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.7vw, 2.05rem); font-weight: 600; letter-spacing: -.028em; line-height: 1.08; overflow-wrap: anywhere; }
.ps-card h2 a { color: inherit; text-decoration: none; }
.ps-card-summary, .ps-card-body > p { display: -webkit-box; overflow: hidden; margin: 14px 0 0; color: var(--ps-ink-soft); font-size: .96rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.ps-card-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 17px; }
.ps-card-links a { color: var(--ps-ink-soft); font-size: .75rem; font-weight: 800; text-decoration: none; }
.ps-card-links .ps-read { color: var(--ps-cyan-dark); }
.ps-card .ps-reactions { margin-top: 16px; padding-top: 13px; }
.ps-card .ps-reactions button, .ps-card .ps-reactions a { display: inline-flex; min-height: 32px; align-items: center; padding: 5px 9px; border: 0; border-radius: 8px; background: transparent; color: var(--ps-ink-soft); font-size: .72rem; font-weight: 750; text-decoration: none; cursor: pointer; }
.ps-card .ps-reactions .is-active, .ps-card .ps-reactions button:hover, .ps-card .ps-reactions a:hover { background: #eaf4f5; color: var(--ps-cyan-dark); }
.ps-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 12px; color: #667a83; font-size: .72rem; }
.ps-share { display: flex; flex-wrap: wrap; gap: 6px; }
.ps-card-foot .ps-share { margin-left: auto; }
.ps-card-foot .ps-share a, .ps-card-foot .ps-share button { padding: 4px 7px; border: 0; border-radius: 6px; background: transparent; color: #667a83; font-size: .68rem; font-weight: 750; text-decoration: none; cursor: pointer; }
.ps-card-foot .ps-share a:hover, .ps-card-foot .ps-share button:hover { background: #eaf4f5; color: var(--ps-cyan-dark); }
.ps-card-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 13px 20px; border-top: 1px solid #edf0f1; background: #fbfcfc; }
.ps-card-tools form { margin: 0; }
.ps-tool, .ps-share-menu summary, .ps-share-menu a, .ps-share-menu button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #4d626c;
  font-size: .75rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.ps-tool:hover, .ps-tool.is-active, .ps-share-menu summary:hover { background: #eaf4f5; color: var(--ps-cyan-dark); }
.ps-share-menu { position: relative; margin-left: auto; }
.ps-share-menu summary { list-style: none; }
.ps-share-menu summary::-webkit-details-marker { display: none; }
.ps-share-menu[open] > div { position: absolute; z-index: 5; right: 0; bottom: calc(100% + 8px); display: grid; width: 190px; padding: 8px; border: 1px solid var(--ps-line); border-radius: 12px; background: #fff; box-shadow: var(--ps-shadow); }
.ps-share-menu[open] a, .ps-share-menu[open] button { width: 100%; justify-content: flex-start; }

.ps-sidebar { position: sticky; top: 108px; display: grid; gap: 18px; }
.ps-side-card { padding: 24px; border: 1px solid var(--ps-line); border-radius: var(--ps-radius); background: rgba(255,255,255,.7); }
.ps-side-card-dark { border-color: var(--ps-night); background: var(--ps-night); color: #fff; box-shadow: var(--ps-shadow); }
.ps-side-card h3 { margin: 0 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 500; line-height: 1.1; }
.ps-side-card p { margin: 0 0 17px; color: var(--ps-ink-soft); font-size: .9rem; }
.ps-side-card-dark p { color: #c8d8de; }
.ps-side-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ps-side-list li { display: flex; gap: 10px; color: var(--ps-ink-soft); font-size: .86rem; }
.ps-side-list li::before { flex: 0 0 8px; width: 8px; height: 8px; margin-top: .5em; border-radius: 50%; background: var(--ps-cyan-dark); content: ""; }

.ps-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.ps-pagination .page-numbers { display: grid; min-width: 40px; min-height: 40px; padding: 8px; place-items: center; border: 1px solid var(--ps-line); border-radius: 8px; background: #fff; color: var(--ps-ink); font-size: .8rem; font-weight: 800; text-decoration: none; }
.ps-pagination .current, .ps-pagination a:hover { border-color: var(--ps-ink); background: var(--ps-ink); color: #fff; }

.ps-single { padding: 42px 0 84px; }
.ps-back { display: inline-block; margin-bottom: 20px; color: var(--ps-ink-soft); font-size: .83rem; font-weight: 750; text-decoration: none; }
.ps-story, .ps-discussion, .ps-report { width: min(100%, 850px); margin-inline: auto; }
.ps-story { padding: clamp(25px, 5vw, 56px); border: 1px solid var(--ps-line); border-radius: 24px; background: #fff; box-shadow: var(--ps-shadow); }
.ps-story h1 { margin-bottom: 25px; font-size: clamp(2.25rem, 6.4vw, 4.8rem); overflow-wrap: anywhere; }
.ps-story-image { width: calc(100% + clamp(50px, 10vw, 112px)); max-width: none; max-height: 540px; margin: 8px calc(clamp(25px, 5vw, 56px) * -1) 28px; object-fit: cover; }
.ps-story-summary { margin: 0 0 28px; color: #263f4b; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.15rem, 2vw, 1.38rem); line-height: 1.66; }
.ps-source-button { margin-bottom: 26px; }
.ps-reactions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; border-top: 1px solid var(--ps-line); }
.ps-reactions form { margin: 0; }
.ps-reactions .ps-tool { border: 1px solid var(--ps-line); }
.ps-story .ps-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.ps-story .ps-share > span { margin-right: 6px; color: var(--ps-ink-soft); font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.ps-story .ps-share a, .ps-story .ps-share button { padding: 8px 11px; border: 1px solid var(--ps-line); border-radius: 8px; background: #fff; color: var(--ps-ink); font-size: .76rem; font-weight: 750; text-decoration: none; cursor: pointer; }

.ps-discussion { margin-top: 32px; padding: clamp(22px, 4vw, 40px); border: 1px solid var(--ps-line); border-radius: 20px; background: #fff; }
.ps-comments { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.ps-comments li { padding: 18px; border: 1px solid #e1e6e7; border-radius: 14px; background: #fbfcfc; }
.ps-comments li > div { display: flex; justify-content: space-between; gap: 12px; }
.ps-comments time { color: #74868e; font-size: .72rem; }
.ps-comments p { margin: 9px 0 0; }
.ps-empty-discussion { padding: 18px; border-radius: 12px; background: #f1f5f5; color: var(--ps-ink-soft); }
.ps-comment-form { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--ps-line); }
.ps-comment-form > p { margin: 0; color: var(--ps-ink-soft); font-size: .78rem; }
.ps-login-prompt { display: grid; gap: 10px; padding: 24px; border-radius: 16px; background: #edf6f6; }
.ps-login-prompt strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; }
.ps-login-prompt p { margin: 0; }
.ps-login-prompt .ps-button { justify-self: start; }

.ps-report { margin-top: 18px; padding: 16px 20px; border: 1px solid var(--ps-line); border-radius: 12px; background: rgba(255,255,255,.55); }
.ps-report summary { color: var(--ps-ink-soft); font-size: .78rem; font-weight: 750; cursor: pointer; }
.ps-report form { display: grid; gap: 12px; margin-top: 18px; }

.ps-auth, .ps-rules { min-height: calc(100vh - 76px); padding: 70px 0 90px; }
.ps-auth { background: radial-gradient(circle at 8% 10%, rgba(72,198,212,.16), transparent 25%), var(--ps-paper); }
.ps-auth-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(380px, .65fr); align-items: start; gap: 80px; }
.ps-auth h1, .ps-rules h1 { font-size: clamp(3rem, 7vw, 5.7rem); }
.ps-auth section:first-child > p:last-child { max-width: 600px; color: var(--ps-ink-soft); font-size: 1.12rem; }
.ps-form-card { padding: clamp(22px, 4vw, 38px); border: 1px solid var(--ps-line); border-radius: var(--ps-radius); background: #fff; box-shadow: var(--ps-shadow); }
.ps-form-card form { display: grid; gap: 15px; }
.ps-form-card > p { margin: 18px 0 0; color: var(--ps-ink-soft); font-size: .8rem; }

label { display: grid; gap: 6px; color: var(--ps-ink); font-size: .78rem; font-weight: 800; }
label small { color: var(--ps-ink-soft); font-weight: 500; }
input:not([type="checkbox"]), textarea, select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #bac6ca;
  border-radius: 9px;
  background: #fff;
  color: var(--ps-ink);
  outline: 0;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--ps-cyan-dark); box-shadow: 0 0 0 3px rgba(72,198,212,.2); }
.ps-check { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 9px; font-weight: 500; }
.ps-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ps-cyan-dark); }

.ps-rules .ps-width { width: min(calc(100% - 40px), 850px); }
.ps-rules section { margin-top: 22px; padding: 24px 26px; border: 1px solid var(--ps-line); border-radius: 16px; background: #fff; }
.ps-rules h2 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 500; }
.ps-rules section p { margin: 0; color: var(--ps-ink-soft); }
.ps-rules > .ps-width > .ps-button { margin-top: 25px; }

.ps-notice { width: min(calc(100% - 40px), var(--ps-width)); margin: 20px auto; padding: 13px 16px; border-left: 4px solid var(--ps-cyan-dark); border-radius: 8px; background: #eaf6f6; color: var(--ps-ink); font-size: .88rem; }
.ps-notice-error, .ps-notice.is-error { border-color: var(--ps-coral); background: #faecee; }
.ps-notice.is-success { border-color: var(--ps-success); background: #e8f5ef; }
.ps-form-card .ps-notice, .ps-single .ps-notice { width: 100%; margin: 0 0 18px; }

.ps-empty { padding: 40px; border: 1px dashed #aebdc2; border-radius: var(--ps-radius); text-align: center; }

.ps-site-footer, .ps-footer { padding: 32px 0; border-top: 1px solid #d6dddf; background: #e9e7e1; }
.ps-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--ps-ink-soft); font-size: .78rem; }
.ps-footer-inner p { margin: 0; }
.ps-footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px; }
.ps-footer-inner a { color: var(--ps-ink-soft); font-weight: 700; text-decoration: none; }
.ps-footer > .ps-width { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--ps-ink-soft); font-size: .78rem; }
.ps-footer > .ps-width p, .ps-copyright { margin: 0; }
.ps-footer > .ps-width nav { display: flex; flex-wrap: wrap; gap: 12px; }
.ps-footer > .ps-width a { color: var(--ps-ink-soft); font-weight: 700; text-decoration: none; }
.ps-copyright { width: min(calc(100% - 40px), var(--ps-width)); margin: 12px auto 0; color: #6d7c82; font-size: .72rem; }

/* Public invitation page */
.ps-landing { background: #f7f6f2; }
.ps-landing-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 128px) 0 clamp(78px, 9vw, 124px);
  background:
    radial-gradient(circle at 82% 15%, rgba(72,198,212,.19), transparent 25%),
    radial-gradient(circle at 68% 90%, rgba(182,77,90,.13), transparent 28%),
    linear-gradient(143deg, #071c29 0%, #102f3f 62%, #0d2735 100%);
  color: #fff;
}
.ps-landing-hero::after {
  position: absolute;
  right: -10vw;
  bottom: -31vw;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8vw rgba(255,255,255,.018), inset 0 0 0 16vw rgba(255,255,255,.014);
  content: "";
  pointer-events: none;
}
.ps-landing-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(360px, .72fr); align-items: center; gap: clamp(48px, 7vw, 92px); }
.ps-landing-copy h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 6.1vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .98;
}
.ps-landing-copy h1 span { color: var(--ps-cyan); }
.ps-landing-lead { max-width: 720px; margin: 28px 0 0; color: #cedde3; font-size: clamp(1.03rem, 1.55vw, 1.21rem); line-height: 1.7; }
.ps-landing-lead a { color: #fff; font-weight: 750; text-decoration-color: var(--ps-cyan); }
.ps-landing-lead a:hover { color: var(--ps-cyan); }
.ps-landing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 31px; }
.ps-button-accent { border-color: var(--ps-cyan); background: var(--ps-cyan); color: var(--ps-night); box-shadow: 0 12px 30px rgba(72,198,212,.16); }
.ps-button-accent:hover { border-color: #fff; background: #fff; color: var(--ps-night); }
.ps-text-link { color: #eaf2f4; font-size: .86rem; font-weight: 800; text-decoration: none; }
.ps-text-link:hover { color: var(--ps-cyan); }
.ps-trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; color: #a9c0c9; font-size: .74rem; font-weight: 700; list-style: none; }
.ps-trust-row li { position: relative; padding-left: 16px; }
.ps-trust-row li::before { position: absolute; top: .47em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--ps-cyan); content: ""; }

.ps-access-card { overflow: hidden; border: 1px solid rgba(255,255,255,.21); border-radius: 25px; background: rgba(255,255,255,.08); box-shadow: 0 35px 90px rgba(0,0,0,.27); backdrop-filter: blur(18px); }
.ps-access-top { display: flex; align-items: center; gap: 9px; padding: 17px 19px; border-bottom: 1px solid rgba(255,255,255,.12); color: #e7f0f2; font-size: .74rem; }
.ps-access-top strong { letter-spacing: .045em; text-transform: uppercase; }
.ps-access-top > span:last-child { margin-left: auto; color: #a7bec7; }
.ps-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ps-cyan); box-shadow: 0 0 0 5px rgba(72,198,212,.12); }
.ps-access-preview { display: grid; gap: 10px; padding: 19px; }
.ps-access-preview article { display: grid; gap: 9px; padding: 15px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(3,19,28,.24); }
.ps-access-preview article:nth-child(2) { width: 87%; margin-left: auto; }
.ps-access-preview span { color: var(--ps-gold); font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.ps-access-preview i { display: block; height: 7px; border-radius: 999px; background: rgba(224,236,239,.22); }
.ps-access-preview i:nth-of-type(1) { width: 92%; }
.ps-access-preview i:nth-of-type(2) { width: 69%; }
.ps-access-preview i:nth-of-type(3) { width: 45%; }
.ps-access-lock { display: grid; grid-template-columns: 38px 1fr; align-items: start; gap: 13px; padding: 19px; background: #f6f3ec; color: var(--ps-ink); }
.ps-access-lock > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #dceff0; color: var(--ps-cyan-dark); font-size: .55rem; }
.ps-access-lock strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; font-weight: 600; line-height: 1.2; }
.ps-access-lock p { margin: 5px 0 0; color: var(--ps-ink-soft); font-size: .77rem; line-height: 1.45; }

.ps-verified-band { border-bottom: 1px solid #bed1d4; background: #dff1f2; }
.ps-verified-inner { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: clamp(22px, 4vw, 46px); padding-top: 34px; padding-bottom: 34px; }
.ps-verified-seal { display: grid; width: 68px; height: 68px; place-items: center; border: 1px solid #6daeb7; border-radius: 50%; background: #fff; color: #0b7481; box-shadow: 0 10px 26px rgba(10,85,96,.09); font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.ps-verified-inner .ps-overline { margin-bottom: 7px; color: #8f3645; }
.ps-verified-inner h2 { margin: 0; color: var(--ps-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.ps-verified-inner div > p:last-child { max-width: 980px; margin: 10px 0 0; color: #35535e; font-size: .9rem; line-height: 1.65; }
.ps-verified-inner div > p:last-child strong { color: #8f3645; }

.ps-origin-section { padding: clamp(76px, 9vw, 118px) 0; background: #fff; }
.ps-origin-intro { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .65fr); align-items: end; gap: clamp(45px, 8vw, 110px); margin-bottom: 46px; }
.ps-origin-intro h2 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 400; letter-spacing: -.05em; line-height: .98; }
.ps-origin-intro > p { margin: 0 0 5px; color: #4b626c; font-size: .96rem; line-height: 1.7; }
.ps-origin-grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(310px, .84fr); gap: 14px; }
.ps-origin-grid > article { position: relative; overflow: hidden; padding: clamp(25px, 3.5vw, 39px); border: 1px solid #d7e1e3; border-radius: 20px; background: #f8faf9; }
.ps-origin-grid > article:not(.ps-origin-main) { min-height: 235px; }
.ps-origin-grid > article::after { position: absolute; right: -40px; bottom: -50px; width: 120px; height: 120px; border: 1px solid rgba(17,112,125,.1); border-radius: 50%; content: ""; }
.ps-origin-main { grid-row: span 2; background: linear-gradient(145deg, #eaf2f1, #f7f5ef) !important; }
.ps-origin-number { display: inline-grid; width: 34px; height: 34px; place-items: center; border: 1px solid #abc3c8; border-radius: 50%; color: #176f7c; font-size: .68rem; font-weight: 850; }
.ps-origin-label { margin: 28px 0 8px; color: var(--ps-coral); font-size: .68rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.ps-origin-grid h3 { max-width: 640px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 2.65vw, 2.35rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
.ps-origin-grid article > p:not(.ps-origin-label) { max-width: 670px; margin: 17px 0 0; color: #4c626c; font-size: .87rem; line-height: 1.65; }
.ps-origin-main > a { display: inline-block; margin-top: 25px; color: #0e6e7b; font-size: .77rem; font-weight: 850; text-decoration: none; }
.ps-origin-main > a:hover { color: var(--ps-coral); }
.ps-origin-countries { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.ps-origin-countries span { padding: 7px 10px; border: 1px solid #c2d2d5; border-radius: 999px; background: rgba(255,255,255,.7); color: #34505b; font-size: .66rem; font-weight: 800; }
.ps-origin-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 24px; padding: 22px 27px; border: 1px solid #d8e2e4; border-radius: 17px; background: #0c2635; color: #fff; }
.ps-origin-flow div { display: grid; }
.ps-origin-flow strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.03rem; font-weight: 500; }
.ps-origin-flow span { color: #a9bec7; font-size: .67rem; }
.ps-origin-flow i { color: var(--ps-cyan); font-size: 1.05rem; font-style: normal; }

.ps-landing-principles { padding: clamp(75px, 9vw, 120px) 0; }
.ps-landing-section-head { display: grid; grid-template-columns: .42fr 1fr; align-items: end; gap: 45px; margin-bottom: 43px; }
.ps-landing-section-head h2, .ps-network-band h2, .ps-final-cta h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.ps-principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #cbd4d6; border-bottom: 1px solid #cbd4d6; }
.ps-principle-grid article { min-height: 290px; padding: 30px 30px 34px 0; }
.ps-principle-grid article + article { padding-left: 30px; border-left: 1px solid #cbd4d6; }
.ps-principle-grid span { color: var(--ps-coral); font-size: .72rem; font-weight: 850; letter-spacing: .12em; }
.ps-principle-grid h3 { margin: 48px 0 13px; font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.05; }
.ps-principle-grid p { margin: 0; color: var(--ps-ink-soft); font-size: .9rem; }

.ps-network-band { padding: clamp(65px, 8vw, 96px) 0; background: #e9eeee; }
.ps-network-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(320px, .65fr); align-items: center; gap: clamp(50px, 8vw, 110px); }
.ps-network-grid > div:first-child > p:last-child { max-width: 620px; margin: 22px 0 0; color: var(--ps-ink-soft); }
.ps-country-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ps-country-cloud span { padding: 10px 14px; border: 1px solid #c5d1d4; border-radius: 999px; background: rgba(255,255,255,.6); color: var(--ps-ink); font-size: .77rem; font-weight: 800; }
.ps-country-cloud span:nth-child(2n) { transform: translateY(8px); }

.ps-final-cta { padding: clamp(80px, 9vw, 122px) 0; background: #fff; text-align: center; }
.ps-final-cta .ps-width { width: min(calc(100% - 40px), 820px); }
.ps-final-cta p:not(.ps-overline) { max-width: 630px; margin: 22px auto 28px; color: var(--ps-ink-soft); }

/* The large introduction is only used inside the protected member stream. */
.ps-hero { padding: 38px 0 34px; }
.ps-hero h1 { font-size: clamp(2.35rem, 4.6vw, 4.15rem); }
.ps-hero > .ps-width > p:not(.ps-overline) { max-width: 920px; margin-top: 15px; font-size: 1rem; }
.ps-hero .ps-button { display: none; }

/* Bluesky-inspired protected application shell */
body:has(.ps-app-shell) { background: #fff; }
body:has(.ps-app-shell) > .ps-header,
body:has(.ps-app-shell) > .ps-footer { display: none; }
.ps-app-shell { display: grid; grid-template-columns: 246px minmax(0, 690px) minmax(275px, 330px); width: min(100%, 1280px); min-height: 100vh; margin-inline: auto; background: #fff; }
.ps-app-left { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 22px 20px 18px 10px; }
.ps-app-brand { display: inline-flex; align-items: center; gap: 11px; align-self: flex-start; margin: 0 10px 28px; color: var(--ps-ink); font-size: 1.05rem; letter-spacing: -.02em; text-decoration: none; }
.ps-app-brand .ps-brand-logo { width: 34px; height: 58px; flex-basis: 34px; }
.ps-app-menu { display: grid; gap: 6px; }
.ps-app-menu a { display: flex; min-height: 50px; align-items: center; gap: 14px; padding: 10px 13px; border-radius: 999px; color: #28414d; font-size: .96rem; text-decoration: none; }
.ps-app-menu a > span { display: grid; width: 28px; height: 28px; place-items: center; color: #48636f; font-size: 1.35rem; font-weight: 400; }
.ps-app-menu a strong { font-weight: 650; }
.ps-app-menu a:hover { background: #eef7f8; color: #0f7482; }
.ps-app-menu a[aria-current="page"] { background: #e5f5f7; color: #096f7c; }
.ps-app-menu a[aria-current="page"] strong { font-weight: 800; }
.ps-app-user { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 11px; margin-top: auto; padding: 10px; border-radius: 15px; }
.ps-app-user:hover { background: #f1f6f7; }
.ps-app-user > div { display: grid; overflow: hidden; }
.ps-app-user strong { overflow: hidden; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.ps-app-user a { color: #6a7d85; font-size: .7rem; text-decoration: none; }
.ps-avatar { display: inline-grid; width: var(--avatar-size); height: var(--avatar-size); flex: 0 0 var(--avatar-size); overflow: hidden; place-items: center; border: 1px solid #d8e2e4; border-radius: 50%; background: linear-gradient(145deg, #d9f0f2, #c5dce1); color: #175c68; font-size: calc(var(--avatar-size) * .34); font-weight: 850; line-height: 1; }
.ps-avatar img { width: 100%; height: 100%; object-fit: cover; }

.ps-app-main { min-width: 0; min-height: 100vh; border-right: 1px solid #dde6e8; border-left: 1px solid #dde6e8; background: #fff; }
.ps-app-top { position: sticky; z-index: 20; top: 0; display: flex; min-height: 74px; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid #dde6e8; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.ps-app-top h1 { margin: 0; color: var(--ps-ink); font-size: 1.28rem; font-weight: 790; letter-spacing: -.025em; line-height: 1.2; }
.ps-app-top p { margin: 4px 0 0; color: #6c8088; font-size: .72rem; }
.ps-mobile-avatar { display: none; }
.ps-app-main > .ps-notice { width: calc(100% - 30px); margin: 14px auto; }
.ps-feed-tabs { display: flex; overflow-x: auto; border-bottom: 1px solid #dde6e8; scrollbar-width: none; }
.ps-feed-tabs::-webkit-scrollbar { display: none; }
.ps-feed-tabs a { position: relative; flex: 0 0 auto; padding: 15px 15px 13px; color: #60747d; font-size: .76rem; font-weight: 760; text-decoration: none; }
.ps-feed-tabs a:hover { background: #f6fafb; color: var(--ps-ink); }
.ps-feed-tabs a[aria-current="page"] { color: #0d6f7c; }
.ps-feed-tabs a[aria-current="page"]::after { position: absolute; right: 13px; bottom: -1px; left: 13px; height: 3px; border-radius: 999px; background: var(--ps-cyan-dark); content: ""; }
.ps-country-select { display: flex; align-items: center; gap: 10px; padding: 10px 15px; border-bottom: 1px solid #e4ebed; background: #fafcfc; }
.ps-country-select > span { flex: 0 0 auto; color: #7a8b92; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.ps-country-select .ps-filter { flex-wrap: nowrap; overflow-x: auto; margin: 0; scrollbar-width: none; }
.ps-country-select .ps-filter::-webkit-scrollbar { display: none; }
.ps-country-select .ps-filter a { flex: 0 0 auto; padding: 5px 9px; border: 0; background: transparent; font-size: .68rem; }
.ps-country-select .ps-filter a.is-active { background: #dff1f3; color: #126f7b; }

.ps-social-feed { display: grid; }
.ps-post { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 18px 18px 13px; border-bottom: 1px solid #dde6e8; background: #fff; transition: background .16s ease; }
.ps-post:hover { background: #fcfdfd; }
.ps-source-avatar { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #0b2b3d, #17576a); box-shadow: inset 0 0 0 3px rgba(255,255,255,.1); color: #fff; font-family: Georgia, serif; font-size: 1.08rem; font-weight: 700; }
.ps-post-content { min-width: 0; }
.ps-post-content > header { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.ps-post-content > header > div { display: grid; min-width: 0; }
.ps-post-content > header strong { overflow: hidden; color: #173441; font-size: .82rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.ps-post-content > header span, .ps-post-content > header time { color: #74878f; font-size: .68rem; }
.ps-post-content > header time { flex: 0 0 auto; }
.ps-post-link { display: block; margin-top: 8px; color: inherit; text-decoration: none; }
.ps-post-link h2 { margin: 0; color: #102d3b; font-family: inherit; font-size: 1.05rem; font-weight: 760; letter-spacing: -.018em; line-height: 1.28; overflow-wrap: anywhere; }
.ps-post-link p { display: -webkit-box; overflow: hidden; margin: 7px 0 0; color: #425963; font-size: .87rem; line-height: 1.48; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.ps-post-link img { width: 100%; max-height: 350px; margin-top: 12px; border: 1px solid #d9e3e5; border-radius: 14px; object-fit: cover; }
.ps-post-actions { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: 12px; color: #687c85; }
.ps-post-actions > a, .ps-post-actions summary { display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 999px; color: #687c85; font-size: .69rem; font-weight: 720; text-decoration: none; cursor: pointer; }
.ps-post-actions > a:hover, .ps-post-actions summary:hover { background: #eaf6f7; color: #127887; }
.ps-post-actions .ps-reactions { display: contents; padding: 0; border: 0; }
.ps-post-actions .ps-reactions form { display: inline-flex; }
.ps-post-actions .ps-reactions button { padding: 5px 7px; border: 0; border-radius: 999px; background: transparent; color: #687c85; font-size: .68rem; cursor: pointer; }
.ps-post-actions .ps-reactions button:hover, .ps-post-actions .ps-reactions .is-active { background: #eaf6f7; color: #127887; }
.ps-post-actions details { position: relative; }
.ps-post-actions details summary { list-style: none; }
.ps-post-actions details summary::-webkit-details-marker { display: none; }
.ps-post-actions details[open] .ps-share { position: absolute; z-index: 30; right: 0; bottom: calc(100% + 7px); display: grid; width: 170px; padding: 7px; border: 1px solid #d6e1e3; border-radius: 12px; background: #fff; box-shadow: 0 14px 40px rgba(7,28,41,.14); }
.ps-post-actions details[open] .ps-share a, .ps-post-actions details[open] .ps-share button { padding: 7px 8px; border: 0; border-radius: 7px; background: transparent; color: #39535e; font-size: .7rem; text-align: left; text-decoration: none; cursor: pointer; }
.ps-post-actions details[open] .ps-share a:hover, .ps-post-actions details[open] .ps-share button:hover { background: #edf6f7; }
.ps-post-actions .ps-source-jump { margin-left: auto; }
.ps-app-empty, .ps-search-start { margin: 34px 24px; padding: 46px 28px; border: 1px dashed #c7d4d7; border-radius: 17px; text-align: center; }
.ps-app-empty h2, .ps-search-start h2 { margin: 0 0 9px; font-size: 1.2rem; }
.ps-app-empty p, .ps-search-start p { margin: 0 auto 14px; color: #667b84; font-size: .85rem; }
.ps-search-start > span { display: grid; width: 58px; height: 58px; margin: 0 auto 17px; place-items: center; border-radius: 50%; background: #e8f5f6; color: #187786; font-size: 1.65rem; }

.ps-app-side { position: sticky; top: 0; display: grid; align-content: start; gap: 16px; height: 100vh; overflow-y: auto; padding: 18px 12px 30px 22px; }
.ps-my-card, .ps-discover-card, .ps-side-note { border: 1px solid #dce5e7; border-radius: 18px; background: #f7fafb; }
.ps-my-card { display: grid; grid-template-columns: 58px 1fr; gap: 12px; padding: 17px; }
.ps-my-card > div { display: grid; align-content: center; min-width: 0; }
.ps-my-card > div a { overflow: hidden; color: #173441; font-size: .83rem; font-weight: 800; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.ps-my-card > div span { overflow: hidden; color: #75878e; font-size: .64rem; text-overflow: ellipsis; white-space: nowrap; }
.ps-my-card dl { grid-column: 1 / -1; display: flex; gap: 20px; margin: 5px 0 0; }
.ps-my-card dl div { display: flex; align-items: baseline; gap: 4px; }
.ps-my-card dt { font-size: .8rem; font-weight: 850; }
.ps-my-card dd { margin: 0; color: #697e87; font-size: .65rem; }
.ps-discover-card { padding: 18px; }
.ps-discover-card h2 { margin: 0 0 14px; font-size: 1.05rem; }
.ps-discover-card ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ps-discover-card li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.ps-discover-card li > div { display: grid; min-width: 0; }
.ps-discover-card li > div a { overflow: hidden; color: #183744; font-size: .74rem; font-weight: 800; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.ps-discover-card li > div span { color: #788a91; font-size: .61rem; }
.ps-follow-form { margin: 0; }
.ps-follow-form button { padding: 6px 10px; border: 1px solid #0c7180; border-radius: 999px; background: #0c7180; color: #fff; font-size: .63rem; font-weight: 800; cursor: pointer; }
.ps-follow-form button.is-following { background: transparent; color: #0c7180; }
.ps-side-note { padding: 18px; }
.ps-side-note strong { font-family: Georgia, serif; font-size: 1rem; }
.ps-side-note p { margin: 8px 0; color: #647982; font-size: .72rem; }
.ps-side-note a { font-size: .7rem; font-weight: 800; text-decoration: none; }
.ps-mobile-nav { display: none; }

.ps-app-search { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 14px 16px; border-bottom: 1px solid #dde6e8; }
.ps-app-search label { display: block; }
.ps-app-search input { height: 44px; border: 0; border-radius: 999px; background: #edf3f4; padding-inline: 17px; font-size: .83rem; }
.ps-app-search button { padding: 0 17px; border: 0; border-radius: 999px; background: var(--ps-ink); color: #fff; font-size: .74rem; font-weight: 800; cursor: pointer; }
.ps-search-hint { margin: 12px 18px; color: var(--ps-coral); font-size: .76rem; }
.ps-people-results { padding: 18px; border-bottom: 1px solid #dde6e8; }
.ps-people-results h2, .ps-result-title h2 { margin: 0 0 12px; font-size: .92rem; }
.ps-people-results > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.ps-people-results article { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 9px; border: 1px solid #e0e7e9; border-radius: 12px; }
.ps-people-results article > a { overflow: hidden; color: var(--ps-ink); font-size: .72rem; font-weight: 800; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.ps-result-title { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px 8px; }
.ps-result-title h2 { margin: 0; }
.ps-result-title span { color: #778990; font-size: .67rem; }

.ps-settings-form { display: grid; gap: 16px; padding: 18px; }
.ps-settings-form > section { display: grid; gap: 17px; padding: 22px; border: 1px solid #dce5e7; border-radius: 16px; }
.ps-settings-title h2 { margin: 0; font-size: 1.15rem; }
.ps-avatar-editor { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 20px; }
.ps-avatar-editor > div { display: grid; gap: 7px; }
.ps-avatar-editor small { color: #74868e; font-size: .67rem; }
.ps-setting-toggle { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid #e2e9ea; }
.ps-setting-toggle span { display: grid; }
.ps-setting-toggle strong { font-size: .8rem; }
.ps-setting-toggle small { color: #72858d; font-size: .68rem; font-weight: 500; }
.ps-setting-toggle input { width: 20px; height: 20px; accent-color: var(--ps-cyan-dark); }
.ps-settings-form > .ps-button { justify-self: start; }

.ps-profile-hero { display: grid; grid-template-columns: 112px 1fr; gap: 22px; padding: 28px 22px; border-bottom: 1px solid #dde6e8; }
.ps-profile-main > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.ps-profile-main h2 { margin: 0; font-size: 1.45rem; letter-spacing: -.03em; }
.ps-profile-main > div:first-child > a { padding: 7px 12px; border: 1px solid #bfcdd1; border-radius: 999px; color: var(--ps-ink); font-size: .68rem; font-weight: 800; text-decoration: none; }
.ps-profile-main > p { margin: 12px 0; color: #435a64; font-size: .84rem; }
.ps-profile-main dl { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; }
.ps-profile-main dl div { display: flex; align-items: baseline; gap: 4px; }
.ps-profile-main dt { font-size: .8rem; font-weight: 850; }
.ps-profile-main dd { margin: 0; color: #6f828a; font-size: .67rem; }
.ps-profile-activity { padding: 20px; }
.ps-profile-activity > h2 { margin: 0 0 14px; font-size: 1rem; }
.ps-profile-activity ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ps-profile-activity li { padding: 15px; border: 1px solid #e0e7e9; border-radius: 12px; }
.ps-profile-activity li > a { color: var(--ps-ink); font-size: .78rem; font-weight: 800; text-decoration: none; }
.ps-profile-activity li p { margin: 6px 0; color: #50656e; font-size: .76rem; }
.ps-profile-activity time { color: #7a8c93; font-size: .63rem; }
.screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px,1px,1px,1px) !important; }

.ps-thread-story { padding: 22px 22px 17px; border-bottom: 1px solid #dbe5e7; }
.ps-thread-story > header { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 11px; }
.ps-thread-story > header > div:last-child { display: grid; }
.ps-thread-story > header strong { font-size: .83rem; }
.ps-thread-story > header span { color: #72858d; font-size: .68rem; }
.ps-thread-story > h1 { margin: 19px 0 0; font-family: inherit; font-size: clamp(1.45rem, 3vw, 2.05rem); font-weight: 780; letter-spacing: -.035em; line-height: 1.18; overflow-wrap: anywhere; }
.ps-thread-summary { margin: 13px 0 0; color: #344e5a; font-size: .96rem; line-height: 1.58; }
.ps-thread-image { width: 100%; max-height: 460px; margin-top: 17px; border: 1px solid #d6e1e3; border-radius: 16px; object-fit: cover; }
.ps-thread-source { margin-top: 17px; }
.ps-thread-source a { display: inline-flex; padding: 9px 13px; border-radius: 999px; background: #e9f5f6; color: #0d7180; font-size: .72rem; font-weight: 800; text-decoration: none; }
.ps-thread-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 17px; padding-top: 13px; border-top: 1px solid #e1e8ea; }
.ps-thread-tools .ps-reactions { padding: 0; border: 0; }
.ps-thread-tools .ps-reactions button { padding: 6px 9px; border: 0; border-radius: 999px; background: transparent; color: #637880; font-size: .7rem; cursor: pointer; }
.ps-thread-tools .ps-reactions button:hover, .ps-thread-tools .ps-reactions .is-active { background: #e8f5f6; color: #117582; }
.ps-thread-tools .ps-share a, .ps-thread-tools .ps-share button { padding: 6px 7px; border: 0; border-radius: 7px; background: transparent; color: #647981; font-size: .67rem; font-weight: 750; text-decoration: none; cursor: pointer; }
.ps-thread-tools .ps-share a:hover, .ps-thread-tools .ps-share button:hover { background: #edf6f7; color: #117582; }
.ps-thread-discussion > header { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; border-bottom: 1px solid #dfe7e9; }
.ps-thread-discussion > header h2 { margin: 0; font-size: .96rem; }
.ps-thread-discussion > header span { color: #73868e; font-size: .67rem; }
.ps-thread-comments { margin: 0; padding: 0; list-style: none; }
.ps-thread-comments li { display: grid; grid-template-columns: 40px 1fr; gap: 11px; padding: 16px 20px; border-bottom: 1px solid #e2e9ea; }
.ps-thread-comments li > div > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ps-thread-comments li > div > header a { color: #173744; font-size: .75rem; font-weight: 800; text-decoration: none; }
.ps-thread-comments time { color: #7b8d94; font-size: .62rem; }
.ps-thread-comments p { margin: 6px 0 0; color: #3e5661; font-size: .82rem; }
.ps-thread-empty { margin: 0; padding: 22px; border-bottom: 1px solid #e2e9ea; color: #6b7f87; font-size: .8rem; }
.ps-thread-reply { display: grid; grid-template-columns: 42px 1fr; gap: 11px; padding: 18px 20px; border-bottom: 1px solid #dbe5e7; }
.ps-thread-reply label { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.ps-thread-reply textarea { grid-column: 1 / -1; border: 0; border-radius: 0; padding: 5px 0; box-shadow: none; font-size: .86rem; }
.ps-thread-reply small { align-self: center; color: #7a8c93; font-size: .62rem; font-weight: 500; }
.ps-thread-reply button { padding: 7px 13px; border: 0; border-radius: 999px; background: #0d7482; color: #fff; font-size: .68rem; font-weight: 800; cursor: pointer; }
.ps-thread-report { margin: 17px 20px 40px; padding: 12px 14px; border: 1px solid #dfe7e9; border-radius: 11px; color: #71848c; font-size: .68rem; }
.ps-thread-report form { display: grid; gap: 11px; margin-top: 14px; }
.ps-thread-report button { justify-self: start; padding: 7px 11px; border: 0; border-radius: 8px; background: var(--ps-ink); color: #fff; font-size: .68rem; font-weight: 800; }

@media (max-width: 900px) {
  body.admin-bar .ps-site-header { top: 46px; }
  .ps-header-inner { min-height: 68px; }
  .ps-brand-text small, .ps-brand > span:last-child small { display: none; }
  .ps-nav a:not(.ps-nav-cta):not([aria-current="page"]), .ps-header nav a:not(.is-cta):not(:first-child) { display: none; }
  .ps-hero { padding: 48px 0 42px; }
  .ps-hero-grid { grid-template-columns: 1fr; }
  .ps-orbit { width: min(82vw, 360px); }
  .ps-stream-layout { grid-template-columns: 1fr; }
  .ps-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-auth-grid { grid-template-columns: 1fr; gap: 36px; }
  .ps-landing-grid, .ps-network-grid { grid-template-columns: 1fr; }
  .ps-origin-intro { grid-template-columns: 1fr; gap: 20px; }
  .ps-access-card { width: min(100%, 560px); }
  .ps-landing-section-head { grid-template-columns: 1fr; gap: 10px; }
  .ps-header nav:has(.is-cta) a:first-child { display: none; }
  .ps-header nav:has(.is-cta) a:not(.is-cta):not(:first-child) { display: inline-flex; }
  .ps-app-shell { grid-template-columns: 78px minmax(0, 690px); width: min(100%, 768px); }
  .ps-app-left { align-items: center; padding: 18px 10px; }
  .ps-app-brand { margin-inline: 0; }
  .ps-app-brand > strong, .ps-app-menu a strong, .ps-app-user > div { display: none; }
  .ps-app-menu a { justify-content: center; padding-inline: 10px; }
  .ps-app-user { display: block; padding: 6px; }
  .ps-app-side { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .ps-width { width: min(calc(100% - 24px), var(--ps-width)); }
  .ps-header-inner { gap: 10px; }
  .ps-brand { gap: 8px; font-size: .94rem; }
  .ps-brand-logo { width: 30px; height: 50px; flex-basis: 30px; }
  .ps-nav, .ps-header nav { gap: 3px; }
  .ps-nav a, .ps-header nav a { padding: 8px 9px; font-size: .72rem; }
  .ps-hero h1 { font-size: clamp(2.65rem, 15vw, 4.3rem); }
  .ps-hero-grid { gap: 42px; }
  .ps-orbit span { width: 58px; height: 58px; border-radius: 15px; font-size: .62rem; }
  .ps-stream-main { padding-top: 28px; }
  .ps-stream-head, .ps-section-head { align-items: start; flex-direction: column; gap: 7px; }
  .ps-card, .ps-card-link { grid-template-columns: 1fr; }
  .ps-card-image { grid-row: 1; height: 190px; min-height: 0; }
  .ps-card-body { padding: 21px 20px 15px; }
  .ps-card h3 { font-size: clamp(1.4rem, 7.2vw, 1.85rem); }
  .ps-card-tools { padding-inline: 12px; }
  .ps-share-menu { margin-left: 0; }
  .ps-share-menu[open] > div { right: auto; left: 0; }
  .ps-sidebar { grid-template-columns: 1fr; }
  .ps-single { padding-top: 22px; }
  .ps-story { border-radius: 17px; }
  .ps-story h1 { font-size: clamp(2rem, 11.5vw, 3.25rem); line-height: 1.02; }
  .ps-story-image { max-height: 340px; }
  .ps-source-button { width: 100%; }
  .ps-comments li > div { flex-direction: column; gap: 2px; }
  .ps-auth, .ps-rules { padding-top: 42px; }
  .ps-auth h1, .ps-rules h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .ps-footer-inner, .ps-footer > .ps-width { align-items: flex-start; flex-direction: column; }
  .ps-landing-hero { padding: 54px 0 62px; }
  .ps-landing-copy h1 { font-size: clamp(2.7rem, 13.2vw, 4rem); }
  .ps-landing-lead { margin-top: 21px; font-size: .98rem; }
  .ps-landing-actions { align-items: stretch; flex-direction: column; }
  .ps-landing-actions .ps-button { width: 100%; }
  .ps-trust-row { align-items: flex-start; flex-direction: column; gap: 7px; }
  .ps-access-card { border-radius: 18px; }
  .ps-verified-inner { grid-template-columns: 48px minmax(0, 1fr); gap: 15px; padding-top: 25px; padding-bottom: 27px; }
  .ps-verified-seal { width: 46px; height: 46px; font-size: 1.4rem; }
  .ps-verified-inner h2 { font-size: 1.55rem; }
  .ps-verified-inner div > p:last-child { font-size: .8rem; line-height: 1.55; }
  .ps-landing-principles { padding: 64px 0; }
  .ps-origin-section { padding: 64px 0; }
  .ps-origin-intro { margin-bottom: 30px; }
  .ps-origin-intro h2 { font-size: clamp(2.55rem, 12vw, 3.6rem); }
  .ps-origin-grid { grid-template-columns: 1fr; }
  .ps-origin-main { grid-row: auto; }
  .ps-origin-grid > article:not(.ps-origin-main) { min-height: 0; }
  .ps-origin-flow { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
  .ps-origin-flow i { transform: rotate(90deg); justify-self: start; margin-left: 8px; }
  .ps-principle-grid { grid-template-columns: 1fr; }
  .ps-principle-grid article { min-height: 0; padding: 24px 4px 27px; }
  .ps-principle-grid article + article { padding-left: 4px; border-top: 1px solid #cbd4d6; border-left: 0; }
  .ps-principle-grid h3 { margin-top: 24px; }
  .ps-country-cloud { justify-content: flex-start; }
  .ps-country-cloud span:nth-child(2n) { transform: none; }
  .ps-hero h1 { font-size: clamp(2.15rem, 10vw, 3.1rem); }
  body:has(.ps-app-shell) { padding-bottom: 65px; }
  .ps-app-shell { display: block; width: 100%; }
  .ps-app-left { display: none; }
  .ps-app-main { min-height: calc(100vh - 65px); border: 0; }
  .ps-app-top { min-height: 61px; padding: 10px 13px; }
  .ps-app-top h1 { font-size: 1.12rem; }
  .ps-app-top p { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ps-mobile-avatar { display: inline-grid; }
  .ps-mobile-nav { position: fixed; z-index: 100; right: 0; bottom: 0; left: 0; display: block; border-top: 1px solid #d7e1e3; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
  .ps-mobile-nav .ps-app-menu { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
  .ps-mobile-nav .ps-app-menu a { min-height: 61px; justify-content: center; padding: 7px 3px; border-radius: 0; }
  .ps-mobile-nav .ps-app-menu a > span { width: 28px; height: 28px; font-size: 1.25rem; }
  .ps-mobile-nav .ps-app-menu a strong { display: none; }
  .ps-feed-tabs a { padding-inline: 13px; }
  .ps-country-select { align-items: flex-start; flex-direction: column; gap: 3px; }
  .ps-country-select .ps-filter { width: 100%; }
  .ps-post { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 14px 12px 11px; }
  .ps-source-avatar { width: 40px; height: 40px; font-size: .95rem; }
  .ps-post-link h2 { font-size: 1rem; }
  .ps-post-link img { max-height: 280px; border-radius: 12px; }
  .ps-post-actions { gap: 2px; }
  .ps-post-actions .ps-reactions button { max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ps-post-actions .ps-source-jump { display: none; }
  .ps-app-search { grid-template-columns: 1fr; }
  .ps-app-search button { height: 41px; }
  .ps-people-results > div { grid-template-columns: 1fr; }
  .ps-settings-form { padding: 12px; }
  .ps-settings-form > section { padding: 17px; }
  .ps-avatar-editor { grid-template-columns: 72px 1fr; }
  .ps-avatar-editor .ps-avatar { --avatar-size: 72px !important; }
  .ps-profile-hero { grid-template-columns: 76px 1fr; gap: 14px; padding: 21px 15px; }
  .ps-profile-hero > .ps-avatar { --avatar-size: 76px !important; }
  .ps-profile-main > div:first-child { align-items: flex-start; flex-direction: column; gap: 8px; }
  .ps-profile-main h2 { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
