:root {
  --ink: #25233a;
  --muted: #77748a;
  --pink: #e43f8e;
  --pink-dark: #c92978;
  --pink-soft: #fff0f7;
  --blue: #5367d8;
  --lavender: #f0efff;
  --paper: #fff;
  --canvas: #f7f6fb;
  --line: #e9e7ef;
  --shadow: 0 8px 30px rgba(50, 41, 87, .07);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: "DM Sans", sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand { font-family: Manrope, sans-serif; }

.topbar { position: sticky; top: 0; z-index: 20; height: 72px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.nav-shell { width: min(1180px, calc(100% - 40px)); height: 100%; margin: auto; display: flex; align-items: center; gap: 34px; }
.brand { color: var(--pink); font-size: 26px; font-weight: 800; letter-spacing: -.9px; display: inline-flex; align-items: center; gap: 8px; }
.main-nav { display: flex; align-self: stretch; gap: 24px; }
.main-nav a { color: #6c697a; font-weight: 600; font-size: 14px; display: flex; align-items: center; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--pink); border-color: var(--pink); }
.header-search { margin-left: auto; height: 40px; width: 236px; background: #f4f3f8; border: 1px solid transparent; border-radius: 12px; display: flex; align-items: center; padding: 0 12px; gap: 8px; color: #9996a6; }
.header-search:focus-within { border-color: #d8d3e5; background: white; }
.header-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.user-chip { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; }
.user-chip b { color: #aaa5b6; font-weight: 400; }

.page-shell { min-height: calc(100vh - 148px); width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 40px 0 70px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.padded { padding: 26px; }
.eyebrow { font: 700 11px/1.2 Manrope, sans-serif; letter-spacing: 1.8px; color: var(--pink); margin-bottom: 9px; }
.muted { color: var(--muted); }
.button { min-height: 42px; border-radius: 11px; padding: 0 18px; border: 1px solid transparent; display: inline-flex; justify-content: center; align-items: center; font-weight: 700; font-size: 14px; transition: .2s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(48,38,75,.12); }
.button.primary { color: #fff; background: var(--pink); border-color: var(--pink); }
.button.primary:hover { background: var(--pink-dark); }
.button.secondary { background: #fff; border-color: #ddd9e7; color: #4b475c; }
.button.dark { background: var(--ink); color: #fff; }
.button.full { width: 100%; }
.toast { position: fixed; top: 88px; right: 30px; z-index: 30; padding: 13px 18px; display: flex; gap: 9px; border-radius: 12px; background: #28243c; color: white; box-shadow: 0 12px 35px rgba(25,20,44,.25); animation: slide-in .35s ease; }
.toast span { color: #74d6a4; }
@keyframes slide-in { from { opacity: 0; transform: translateY(-10px); } }

.avatar { flex: 0 0 auto; width: 40px; height: 40px; color: #fff; border-radius: 50%; display: inline-flex; justify-content: center; align-items: center; font: 800 13px Manrope, sans-serif; background: linear-gradient(145deg, color-mix(in srgb, var(--avatar), white 20%), var(--avatar)); box-shadow: inset 0 -7px 14px rgba(56,25,78,.16); }
.avatar.small { width: 34px; height: 34px; font-size: 10px; }
.avatar.medium { width: 44px; height: 44px; font-size: 12px; }
.avatar.large { width: 58px; height: 58px; font-size: 15px; }
.avatar.xlarge { width: 92px; height: 92px; font-size: 24px; }
.avatar.bordered { border: 5px solid white; }

.welcome-row { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.welcome-row h1 { font-size: 30px; margin: 0 0 6px; letter-spacing: -.8px; }
.welcome-row h1 span { color: var(--pink); }
.welcome-row > div > p:last-child { margin: 0; color: var(--muted); }
.date-pill { border: 1px solid var(--line); border-radius: 100px; padding: 9px 15px; background: white; font-size: 13px; color: var(--muted); }
.home-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr) 270px; gap: 22px; align-items: start; }
.profile-summary { overflow: hidden; text-align: center; }
.cover-pattern { height: 86px; background: radial-gradient(circle at 20% 110%, #f59ac2 0 28%, transparent 29%), radial-gradient(circle at 75% 0%, #a79eea 0 26%, transparent 27%), linear-gradient(135deg, #ffdeed, #e5e1ff); }
.summary-body { padding: 0 20px 22px; }
.summary-body .xlarge { margin-top: -48px; }
.summary-body h2 { font-size: 18px; margin: 10px 0 0; }
.summary-body .muted { font-size: 13px; margin: 1px 0 15px; }
.location { font-size: 12px; color: var(--muted); }
.mini-stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin: 17px 0; display: grid; grid-template-columns: repeat(3,1fr); }
.mini-stats strong, .mini-stats span { display: block; }
.mini-stats strong { font-size: 16px; }
.mini-stats span { color: var(--muted); font-size: 10px; }
.feed-column, .right-column, .profile-main, .profile-side, .community-main, .community-side { display: grid; gap: 20px; }
.hello-card { position: relative; overflow: hidden; padding: 24px; display: flex; align-items: center; gap: 15px; background: linear-gradient(120deg, #fff5fa, #f2f0ff); }
.hello-card::after { content: ""; position: absolute; width: 100px; height: 100px; background: #ffd5e8; border-radius: 50%; right: 40px; top: -70px; opacity: .7; }
.hello-card .sparkle { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; background: white; color: var(--pink); font-size: 21px; box-shadow: var(--shadow); }
.hello-card h2 { font-size: 16px; margin: 0 0 2px; }
.hello-card p { font-size: 13px; color: var(--muted); margin: 0; }
.hello-card .button { margin-left: auto; }
.section-heading, .card-title-row, .results-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.section-heading { margin-top: 7px; }
.section-heading h2, .card-title-row h2 { margin: 0; font-size: 18px; }
.section-heading a, .card-title-row a { color: var(--pink); font-size: 12px; font-weight: 700; }
.feed-item { padding: 22px; }
.feed-meta { display: flex; gap: 12px; align-items: center; }
.feed-meta strong, .feed-meta span { display: block; }
.feed-meta strong { font-size: 13px; }
.feed-meta span { font-size: 11px; color: var(--muted); }
.feed-meta a { color: var(--blue); font-weight: 600; }
.feed-item h3 { font-size: 16px; margin: 17px 0 5px; }
.feed-item > p { font-size: 13px; color: #625f70; margin-bottom: 15px; }
.feed-actions { border-top: 1px solid var(--line); padding-top: 13px; display: flex; gap: 22px; font-size: 12px; color: var(--muted); }
.compact-card { padding: 20px; }
.friend-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px 9px; margin-top: 19px; }
.friend-grid a { display: grid; justify-items: center; gap: 6px; font-size: 11px; font-weight: 600; }
.community-mini-list { display: grid; margin-top: 12px; }
.community-mini-list > a { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.community-mini-list > a:last-child { border-bottom: 0; padding-bottom: 0; }
.community-mini-list strong, .community-mini-list small { display: block; }
.community-mini-list strong { font-size: 12px; }
.community-mini-list small { color: var(--muted); font-size: 10px; }
.mini-art { width: 39px; height: 39px; display: grid; place-items: center; color: white; border-radius: 10px; font-size: 17px; }

.art-1 { background: linear-gradient(135deg,#ae6c3c,#f1bc6f); }
.art-2 { background: linear-gradient(135deg,#3f8dce,#91d6df); }
.art-3 { background: linear-gradient(135deg,#6a5bc8,#d281bd); }
.art-4 { background: linear-gradient(135deg,#e57a6d,#f5b58b); }
.art-5 { background: linear-gradient(135deg,#db4d91,#846bc4); }
.art-6 { background: linear-gradient(135deg,#178a7a,#7ecf92); }

.profile-hero { overflow: hidden; margin-bottom: 24px; }
.profile-cover { height: 180px; position: relative; overflow: hidden; background: linear-gradient(120deg, #f8cae2, #dddcff 47%, #b7e3ed); }
.shape { position: absolute; border-radius: 50%; border: 25px solid rgba(255,255,255,.26); }
.shape.s1 { width: 220px; height: 220px; left: -40px; top: 35px; }
.shape.s2 { width: 130px; height: 130px; right: 14%; top: -62px; }
.shape.s3 { width: 70px; height: 70px; right: 3%; bottom: 10px; border-width: 14px; }
.profile-hero-content { height: 104px; padding: 0 30px; display: flex; gap: 18px; align-items: center; position: relative; }
.hero-avatar { width: 124px; height: 124px; font-size: 30px; margin-top: -56px; }
.profile-title { align-self: flex-start; padding-top: 16px; }
.profile-title h1 { margin: 0; font-size: 26px; }
.profile-title p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.profile-hero-content > .button { margin-left: auto; }
.profile-tabs { display: flex; padding: 0 30px; gap: 30px; border-top: 1px solid var(--line); }
.profile-tabs a { padding: 15px 2px; font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; }
.profile-tabs a.active { color: var(--pink); border-color: var(--pink); }
.profile-tabs span { padding: 2px 6px; border-radius: 10px; background: #f0eef5; font-size: 9px; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.padded > h2 { font-size: 21px; margin-bottom: 10px; }
.bio { color: #5f5b6e; line-height: 1.7; }
.details-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); margin-top: 23px; padding-top: 20px; gap: 20px; }
.details-grid > div { display: grid; grid-template-columns: 34px 1fr; align-items: center; }
.details-grid > div > span { grid-row: span 2; width: 25px; height: 25px; color: var(--pink); border-radius: 8px; background: var(--pink-soft); display: grid; place-items: center; }
.details-grid small { color: var(--muted); font-size: 10px; }
.details-grid strong { font-size: 12px; }
.count-badge, .soft-count { background: var(--pink-soft); color: var(--pink); font-size: 10px; font-weight: 700; padding: 5px 9px; border-radius: 20px; }
.scrap-form { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 11px; margin: 20px 0 5px; }
textarea, input, select { border: 1px solid #ddd9e7; outline: 0; border-radius: 11px; background: #fbfafd; color: var(--ink); padding: 11px 13px; }
textarea:focus, input:focus, select:focus { background: white; border-color: #bcb4d3; box-shadow: 0 0 0 3px rgba(121,99,183,.08); }
.scrap-form textarea { resize: vertical; min-height: 70px; }
.scrap-list article { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.scrap-head { display: flex; justify-content: space-between; }
.scrap-head a { font-weight: 700; font-size: 13px; }
.scrap-head span { font-size: 10px; color: var(--muted); }
.scrap-list p { margin: 5px 0; font-size: 13px; color: #5d5969; }
.scrap-list button { padding: 0; border: 0; background: transparent; color: var(--pink); font-size: 11px; font-weight: 700; }
.profile-friends { gap: 18px; }

.community-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 28px; }
.community-heading h1 { font-size: 36px; letter-spacing: -1.2px; margin-bottom: 7px; }
.community-heading p:last-child { color: var(--muted); margin: 0; }
.community-search { display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 11px 12px 11px 20px; box-shadow: none; }
.community-search > span { color: var(--pink); font-size: 21px; }
.community-search input { border: 0; background: transparent; box-shadow: none; }
.category-chips { display: flex; gap: 8px; overflow-x: auto; padding: 17px 1px; }
.category-chips a { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 100px; background: white; padding: 8px 13px; font-size: 11px; font-weight: 600; color: var(--muted); }
.category-chips a.active { color: #fff; background: var(--pink); border-color: var(--pink); }
.category-chips span { opacity: .7; margin-left: 4px; }
.results-heading { margin: 18px 0; }
.results-heading h2 { font-size: 20px; margin: 0; }
.results-heading > span { color: var(--muted); font-size: 12px; }
.community-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.community-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: .25s ease; }
.community-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(50,41,87,.12); }
.community-art { height: 140px; display: grid; place-items: center; position: relative; overflow: hidden; }
.community-art::before, .community-art::after { content: ""; position: absolute; border: 18px solid rgba(255,255,255,.18); border-radius: 50%; }
.community-art::before { width: 100px; height: 100px; top: -50px; left: -25px; }
.community-art::after { width: 65px; height: 65px; bottom: -30px; right: -10px; }
.community-art span { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: rgba(255,255,255,.9); color: #554e69; font-size: 30px; box-shadow: 0 10px 25px rgba(50,30,60,.15); }
.community-card-body { padding: 17px 19px; }
.community-card-body h3 { font-size: 15px; margin: 0 0 3px; }
.community-card-body p { font-size: 11px; color: var(--muted); margin: 0; }
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state > span { font-size: 40px; color: var(--pink); }
.empty-state h2 { margin: 10px 0 5px; }

.community-hero { display: grid; grid-template-columns: 220px 1fr auto; gap: 28px; align-items: center; padding: 28px; margin-bottom: 26px; }
.community-hero-art { height: 160px; border-radius: 16px; display: grid; place-items: center; position: relative; overflow: hidden; }
.community-hero-art > span { font-size: 55px; color: white; text-shadow: 0 8px 20px rgba(40,20,60,.2); }
.bubble { position: absolute; border: 12px solid rgba(255,255,255,.17); border-radius: 50%; }
.bubble.b1 { width: 75px; height: 75px; left: -25px; top: -20px; }
.bubble.b2 { width: 50px; height: 50px; right: -10px; bottom: -15px; }
.category-label { display: inline-flex; background: var(--pink-soft); color: var(--pink); border-radius: 20px; padding: 5px 10px; font-size: 10px; font-weight: 700; }
.community-info h1 { font-size: 30px; margin: 10px 0 7px; }
.community-info > p { color: #625e70; margin-bottom: 15px; max-width: 600px; }
.community-byline { color: var(--muted); font-size: 11px; }
.community-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 22px; align-items: start; }
.topic-composer { overflow: hidden; }
.topic-composer summary { padding: 16px 20px; color: var(--pink); font-weight: 700; font-size: 13px; cursor: pointer; list-style: none; }
.topic-composer form, .create-form { padding: 5px 20px 20px; display: grid; gap: 15px; }
label { display: grid; gap: 6px; color: #504c5e; font-size: 12px; font-weight: 700; }
label textarea { min-height: 100px; resize: vertical; }
.topic { padding: 19px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; }
.topic-content h3 { font-size: 15px; margin: 0 0 5px; }
.topic-content p { color: #666273; font-size: 13px; margin: 0 0 8px; }
.topic-content > span { color: var(--muted); font-size: 10px; }
.topic-content a { color: var(--pink); font-weight: 600; }
.reply-count { min-width: 52px; text-align: center; border-left: 1px solid var(--line); display: grid; align-content: center; }
.reply-count strong, .reply-count span { display: block; }
.reply-count span { color: var(--muted); font-size: 9px; }
.member-list { margin-top: 12px; display: grid; }
.member-list a { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.member-list a:last-child { border: 0; }
.member-list strong, .member-list small { display: block; }
.member-list strong { font-size: 12px; }
.member-list small { font-size: 10px; color: var(--muted); }
.guidelines > p { font-size: 12px; color: var(--muted); }
.guidelines > div { font-size: 11px; margin-top: 12px; }
.guidelines > div span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lavender); color: var(--blue); margin-right: 7px; font-weight: 700; }
.join-note { background: var(--pink-soft); color: #9b2c65; border-radius: 12px; padding: 12px 16px; font-size: 12px; }

.create-wrap { max-width: 950px; margin: auto; }
.back-link { color: var(--muted); font-size: 12px; }
.create-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; margin-top: 35px; align-items: start; }
.create-grid > section h1 { font-size: 39px; line-height: 1.12; letter-spacing: -1.4px; margin-bottom: 15px; }
.create-grid > section > p:last-of-type { color: var(--muted); }
.create-preview { margin-top: 35px; min-height: 170px; padding: 25px; border-radius: 20px; color: white; display: grid; align-content: center; background: linear-gradient(135deg,#725dce,#df5797); position: relative; overflow: hidden; }
.create-preview::after { content: ""; position: absolute; border: 25px solid rgba(255,255,255,.12); width: 130px; height: 130px; border-radius: 50%; right: -40px; top: -50px; }
.create-preview > span { font-size: 28px; }
.create-preview strong { font: 700 17px Manrope; margin-top: 8px; }
.create-preview small { opacity: .8; margin-top: 3px; }
.create-form { padding: 28px; gap: 19px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }

footer { border-top: 1px solid var(--line); background: white; min-height: 76px; padding: 20px max(20px,calc((100vw - 1180px)/2)); display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 11px; }
footer > div { display: flex; align-items: center; gap: 20px; }
.small-brand { font-size: 20px; }
footer nav { display: flex; gap: 18px; }

@media (max-width: 980px) {
  .home-grid { grid-template-columns: 220px 1fr; }
  .home-grid .right-column { grid-column: 1 / -1; grid-template-columns: repeat(2,1fr); }
  .profile-layout, .community-layout { grid-template-columns: 1fr; }
  .profile-side, .community-side { grid-template-columns: repeat(2,1fr); }
  .community-grid { grid-template-columns: repeat(2,1fr); }
  .community-hero { grid-template-columns: 170px 1fr; }
  .community-hero > form { grid-column: 2; }
  .header-search { width: 180px; }
}

@media (max-width: 700px) {
  .topbar { height: auto; }
  .nav-shell { width: calc(100% - 24px); height: 64px; gap: 14px; }
  .main-nav { position: fixed; bottom: 0; z-index: 40; left: 0; right: 0; height: 58px; justify-content: space-around; background: white; border-top: 1px solid var(--line); }
  .main-nav a { border-top: 3px solid transparent; border-bottom: 0; }
  .header-search { display: none; }
  .user-chip { margin-left: auto; }
  .user-chip span, .user-chip b { display: none; }
  .page-shell { width: calc(100% - 24px); padding: 26px 0 90px; }
  .welcome-row { align-items: start; }
  .welcome-row h1 { font-size: 25px; }
  .date-pill { display: none; }
  .home-grid { grid-template-columns: 1fr; }
  .profile-summary { display: none; }
  .home-grid .right-column { grid-column: auto; grid-template-columns: 1fr; }
  .hello-card .button { display: none; }
  .profile-cover { height: 120px; }
  .profile-hero-content { height: 135px; display: grid; grid-template-columns: auto 1fr; padding: 0 18px; gap: 11px; }
  .hero-avatar { width: 95px; height: 95px; font-size: 23px; margin-top: -42px; }
  .profile-title { align-self: center; padding: 0; }
  .profile-title h1 { font-size: 20px; }
  .profile-hero-content > .button { grid-column: 1 / -1; width: 100%; margin: -12px 0 12px; }
  .profile-tabs { padding: 0 15px; gap: 20px; overflow-x: auto; }
  .profile-side, .community-side { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; }
  .scrap-form { grid-template-columns: auto 1fr; }
  .scrap-form .button { grid-column: 2; }
  .community-heading { display: grid; gap: 20px; }
  .community-heading h1 { font-size: 29px; }
  .community-grid { grid-template-columns: 1fr; }
  .community-search { grid-template-columns: auto 1fr; }
  .community-search .button { grid-column: 1 / -1; margin-top: 5px; }
  .community-hero { grid-template-columns: 1fr; padding: 18px; }
  .community-hero-art { height: 125px; }
  .community-hero > form { grid-column: auto; }
  .community-hero .button { width: 100%; }
  .topic { grid-template-columns: auto 1fr; }
  .reply-count { display: none; }
  .create-grid { grid-template-columns: 1fr; gap: 25px; }
  .create-grid > section h1 { font-size: 31px; }
  .create-preview { display: none; }
  footer { margin-bottom: 58px; justify-content: center; text-align: center; }
  footer nav { display: none; }
  footer > div { display: grid; justify-items: center; gap: 5px; }
}

/* Classic Orkut skin ----------------------------------------------------- */
:root {
  --ink: #333;
  --muted: #6f6f6f;
  --pink: #d32185;
  --pink-dark: #b41871;
  --pink-soft: #fce6f3;
  --blue: #336699;
  --lavender: #e8eef7;
  --paper: #fff;
  --canvas: #d9e6f5;
  --line: #b7cce2;
  --shadow: none;
  --radius: 8px;
}

body {
  background: #d9e6f5;
  color: #333;
  font: 12px Arial, Helvetica, sans-serif;
}

h1, h2, h3, .brand { font-family: Arial, Helvetica, sans-serif; }
a { color: #31679b; }
a:hover { text-decoration: underline; }

.topbar {
  height: 54px;
  position: relative;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #9db6d0;
  backdrop-filter: none;
}

.nav-shell {
  width: min(1060px, calc(100% - 24px));
  gap: 18px;
}

.brand {
  color: #d32185;
  font-size: 31px;
  font-weight: bold;
  letter-spacing: -2.5px;
  line-height: 1;
  text-shadow: 0 1px #fff;
}

.main-nav {
  gap: 0;
  height: 30px;
  align-self: center;
  border: 1px solid #aebfd3;
  border-radius: 4px;
  overflow: hidden;
}

.main-nav a {
  border: 0;
  border-right: 1px solid #aebfd3;
  padding: 0 14px;
  color: #245785;
  font-size: 11px;
  font-weight: normal;
  background: linear-gradient(#fff, #e4edf7);
}

.main-nav a:last-child { border-right: 0; }
.main-nav a:hover, .main-nav a.active {
  color: #fff;
  border-color: #aebfd3;
  background: linear-gradient(#7da5ca, #4d7da9);
  text-decoration: none;
}

.header-search {
  height: 28px;
  width: 220px;
  border: 1px solid #aabed2;
  border-radius: 3px;
  background: #fff;
  padding: 0 7px;
}

.header-search input { font-size: 11px; }
.user-chip { font-size: 11px; color: #31679b; }
.user-chip .avatar { width: 28px; height: 28px; }

.page-shell {
  width: min(1060px, calc(100% - 24px));
  min-height: calc(100vh - 112px);
  padding: 14px 0 32px;
}

.card {
  border: 1px solid #b7cce2;
  border-radius: 8px;
  box-shadow: none;
  background: #fff;
}

.padded, .compact-card { padding: 12px; }
.eyebrow { color: #7b7b7b; font: bold 9px Arial, sans-serif; letter-spacing: .6px; }
.button {
  min-height: 28px;
  border-radius: 3px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: bold;
  box-shadow: inset 0 1px rgba(255,255,255,.75);
}
.button:hover { transform: none; box-shadow: inset 0 1px rgba(255,255,255,.75); text-decoration: none; }
.button.primary, .button.dark {
  color: #fff;
  border-color: #315f8a;
  background: linear-gradient(#6f9bc2, #3f709e);
}
.button.primary:hover, .button.dark:hover { background: #3f709e; }
.button.secondary { color: #2b5e8c; border-color: #aabfd4; background: linear-gradient(#fff, #e5eef7); }

.avatar {
  border-radius: 3px;
  border: 1px solid #fff;
  outline: 1px solid #b9c7d5;
  box-shadow: none;
  background: var(--avatar);
}
.avatar.bordered { border: 4px solid #fff; outline: 1px solid #9eb5cb; }

.welcome-row { margin-bottom: 12px; align-items: center; }
.welcome-row h1 { color: #245785; font-size: 18px; letter-spacing: 0; margin-bottom: 2px; }
.welcome-row h1 span { color: #d32185; }
.welcome-row > div > p:last-child { font-size: 11px; }
.date-pill { border-color: #b7cce2; border-radius: 4px; padding: 5px 9px; font-size: 10px; }

.home-grid { grid-template-columns: 190px minmax(0, 1fr) 250px; gap: 10px; }
.cover-pattern { height: 55px; background: linear-gradient(135deg, #ccdff1, #e6eff8); }
.summary-body { padding: 0 10px 12px; }
.summary-body .xlarge { width: 110px; height: 110px; margin-top: -28px; }
.summary-body h2 { color: #245785; font-size: 16px; margin-top: 8px; }
.summary-body .muted { color: #666; }
.mini-stats { padding: 9px 0; margin: 10px 0; background: #f1f6fb; border-color: #d4e1ed; }
.mini-stats strong { color: #245785; font-size: 13px; }
.mini-stats span { font-size: 9px; }
.feed-column, .right-column, .profile-main, .profile-side, .community-main, .community-side { gap: 10px; }

.hello-card {
  padding: 13px;
  gap: 10px;
  border-color: #c5b7dd;
  background: #f0eaf8;
}
.hello-card::after { display: none; }
.hello-card .sparkle { width: 30px; height: 30px; border-radius: 3px; color: #d32185; box-shadow: none; }
.hello-card h2 { color: #5c3c81; font-size: 14px; }
.hello-card p { font-size: 11px; }
.section-heading { margin: 2px 0 0; padding: 6px 8px; border-radius: 6px 6px 0 0; background: #cfe0f1; }
.section-heading .eyebrow { display: none; }
.section-heading h2, .card-title-row h2 { color: #245785; font-size: 13px; }
.section-heading a, .card-title-row a { color: #31679b; font-size: 10px; }

.feed-item { padding: 11px; border-radius: 0 0 6px 6px; }
.feed-meta { gap: 8px; }
.feed-meta strong { color: #245785; font-size: 11px; }
.feed-meta span { font-size: 10px; }
.feed-item h3 { color: #245785; font-size: 13px; margin: 10px 0 3px; }
.feed-item > p { font-size: 11px; margin-bottom: 9px; }
.feed-actions { padding-top: 7px; font-size: 10px; }

.compact-card .card-title-row, .padded > .card-title-row {
  margin: -12px -12px 10px;
  padding: 7px 9px;
  background: #d4e5f5;
  border-radius: 7px 7px 0 0;
  border-bottom: 1px solid #bed2e5;
}
.friend-grid { gap: 11px 5px; margin-top: 10px; }
.friend-grid a { color: #31679b; font-size: 10px; }
.friend-grid .avatar.large { width: 52px; height: 52px; }
.community-mini-list { margin-top: 4px; }
.community-mini-list > a { padding: 7px 0; }
.community-mini-list strong { color: #31679b; font-size: 11px; }
.mini-art { width: 34px; height: 34px; border-radius: 3px; }

.profile-hero { margin-bottom: 10px; }
.profile-cover { height: 75px; background: linear-gradient(90deg, #b9d4ed, #e3eef8); }
.shape { border-color: rgba(255,255,255,.3); }
.profile-hero-content { height: 82px; padding: 0 14px; gap: 12px; }
.hero-avatar { width: 92px; height: 92px; margin-top: -36px; font-size: 23px; }
.profile-title { padding-top: 12px; }
.profile-title h1 { color: #245785; font-size: 20px; }
.profile-title p { font-size: 10px; }
.profile-tabs { padding: 0 14px; gap: 8px; border-top-color: #c3d5e6; background: #edf4fa; }
.profile-tabs a { padding: 7px 12px; color: #31679b; border: 0; border-right: 1px solid #c3d5e6; font-size: 10px; }
.profile-tabs a.active { color: #fff; background: #668fb6; }
.profile-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 10px; }
.padded > h2 { color: #245785; font-size: 15px; }
.bio { font-size: 11px; }
.details-grid { margin-top: 12px; padding-top: 10px; gap: 8px; }
.details-grid > div > span { border-radius: 3px; background: #e7eff7; color: #31679b; }
.details-grid small { color: #777; }
.count-badge, .soft-count { color: #31679b; background: #fff; border: 1px solid #b9cee2; }
.scrap-form { margin-top: 10px; }
textarea, input, select { border-color: #9eb7ce; border-radius: 3px; background: #fff; padding: 7px; font-size: 11px; }
.scrap-list article { padding: 10px 0; }
.scrap-head a { color: #31679b; font-size: 11px; }
.scrap-list p { font-size: 11px; }

.community-heading { margin-bottom: 12px; padding: 12px 14px; border: 1px solid #b7cce2; border-radius: 8px; background: #fff; }
.community-heading h1 { color: #245785; font-size: 20px; letter-spacing: 0; margin-bottom: 3px; }
.community-heading p:last-child { font-size: 11px; }
.community-search { padding: 6px 7px 6px 10px; }
.category-chips { padding: 8px 1px; }
.category-chips a { border-radius: 3px; padding: 5px 9px; font-size: 10px; background: linear-gradient(#fff,#e7eff7); }
.category-chips a.active { border-color: #4e779e; background: #628db4; }
.results-heading { margin: 8px 0; padding: 6px 9px; border-radius: 6px; background: #cfe0f1; }
.results-heading h2 { color: #245785; font-size: 13px; }
.community-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.community-card { display: grid; grid-template-columns: 95px 1fr; min-height: 95px; border-radius: 6px; transition: none; }
.community-card:hover { transform: none; box-shadow: none; background: #f4f8fc; text-decoration: none; }
.community-art { height: 95px; border-radius: 5px 0 0 5px; }
.community-art span { width: 45px; height: 45px; border-radius: 4px; font-size: 23px; }
.community-card-body { padding: 12px; align-self: center; }
.community-card-body h3 { color: #245785; font-size: 13px; }

.community-hero { grid-template-columns: 145px 1fr auto; gap: 16px; padding: 12px; margin-bottom: 10px; }
.community-hero-art { height: 115px; border-radius: 5px; }
.community-hero-art > span { font-size: 40px; }
.category-label { border-radius: 3px; padding: 3px 6px; }
.community-info h1 { color: #245785; font-size: 20px; margin: 6px 0 4px; }
.community-info > p { font-size: 11px; margin-bottom: 8px; }
.community-layout { grid-template-columns: minmax(0,1fr) 250px; gap: 10px; }
.topic-composer summary { padding: 9px 11px; color: #31679b; font-size: 11px; }
.topic { padding: 9px; gap: 10px; border-radius: 5px; }
.topic-content h3 { color: #245785; font-size: 12px; }
.topic-content p { font-size: 11px; }
.member-list a { padding: 6px 0; }
.member-list strong { color: #31679b; font-size: 11px; }
.guidelines > div span { color: #fff; background: #668fb6; }

.create-wrap { max-width: 820px; }
.create-grid { gap: 20px; margin-top: 15px; }
.create-grid > section h1 { color: #245785; font-size: 24px; letter-spacing: 0; }
.create-preview { min-height: 130px; margin-top: 18px; border-radius: 7px; background: linear-gradient(135deg, #628fba, #d32185); }
.create-form { padding: 14px; }

footer {
  min-height: 48px;
  padding: 10px max(12px,calc((100vw - 1060px)/2));
  border-top-color: #a9c0d7;
  font-size: 10px;
}
.small-brand { font-size: 20px; }

@media (max-width: 980px) {
  .home-grid { grid-template-columns: 180px 1fr; }
  .profile-layout, .community-layout { grid-template-columns: 1fr; }
  .community-hero { grid-template-columns: 130px 1fr; }
}

@media (max-width: 700px) {
  .topbar { height: 52px; }
  .nav-shell { height: 52px; }
  .main-nav { height: 46px; border-radius: 0; }
  .main-nav a { border-top: 0; border-right: 0; }
  .page-shell { padding-top: 10px; }
  .home-grid { grid-template-columns: 1fr; }
  .profile-cover { height: 58px; }
  .profile-hero-content { height: 125px; }
  .profile-tabs { gap: 0; }
  .community-grid { grid-template-columns: 1fr; }
  .community-heading { display: grid; }
  .community-hero { grid-template-columns: 1fr; }
  .community-hero > form { grid-column: auto; }
  .profile-side, .community-side { grid-template-columns: 1fr; }
}
