/* Penny Stonks 1.2.3 — Social Tokens + Royalties premium presentation.
 * Theme-only layer: data, trading and withdrawals remain in Penny Core.
 */

/* ============================================================
   Shared canvas
   ============================================================ */
body.ps-market-page-premium,
body.ps-royalties-page-premium {
  --pm-violet:#5144f5;
  --pm-purple:#6d4aff;
  --pm-indigo:#3730a3;
  --pm-navy:#0d1632;
  --pm-text:#0d1537;
  --pm-muted:#71809f;
  --pm-line:#e2e7f2;
  --pm-soft:#f6f8ff;
  --pm-green:#12b76a;
  --pm-green-soft:#dcfce7;
  --pm-gold:#f2a30b;
  background:
    radial-gradient(circle at 90% 8%,rgba(99,102,241,.09),transparent 25rem),
    radial-gradient(circle at 5% 28%,rgba(59,130,246,.055),transparent 22rem),
    linear-gradient(180deg,#fbfcff 0%,#f8faff 60%,#f7f9fd 100%);
}
body.ps-market-page-premium .ps-main,
body.ps-royalties-page-premium .ps-main { overflow:clip; }

/* ============================================================
   SOCIAL TOKENS MARKETPLACE
   ============================================================ */
body.ps-market-page-premium .ps-market-screen { position:relative; min-height:70vh; }
body.ps-market-page-premium .ps-market-screen::before {
  content:""; position:absolute; inset:0 0 auto; height:560px; pointer-events:none; opacity:.7;
  background:
    radial-gradient(circle at 75% 9%,rgba(125,111,255,.11),transparent 22rem),
    linear-gradient(140deg,rgba(255,255,255,0) 50%,rgba(91,75,255,.03) 100%);
}
body.ps-market-page-premium .ps-market-container {
  max-width:1280px; position:relative; z-index:1; padding-top:34px; padding-bottom:58px;
}
body.ps-market-page-premium .ps-marketplace-intro {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(400px,.94fr); gap:38px; align-items:center;
  margin-bottom:26px; padding:4px 8px 4px;
}
body.ps-market-page-premium .ps-market-kicker,
body.ps-royalties-page-premium .ps-royalties-kicker {
  display:inline-flex; align-items:center; gap:8px; color:#5246ed; font-size:.72rem; line-height:1;
  font-weight:900; letter-spacing:.14em; text-transform:uppercase; margin-bottom:13px;
}
body.ps-market-page-premium .ps-market-kicker i,
body.ps-royalties-page-premium .ps-royalties-kicker i {
  width:9px; height:9px; border-radius:50%; background:#6557ff; box-shadow:0 0 0 5px rgba(101,87,255,.11);
}
body.ps-market-page-premium .ps-marketplace-intro h1 {
  margin:0; max-width:660px; color:var(--pm-text); font-size:clamp(2.2rem,4.2vw,3.7rem);
  line-height:.98; letter-spacing:-.052em; font-weight:950;
}
body.ps-market-page-premium .ps-marketplace-intro h1 span {
  display:block; color:#584df5; background:linear-gradient(90deg,#5d4df6,#6954ed 54%,#4e7cf7);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
body.ps-market-page-premium .ps-marketplace-intro__copy p {
  margin:14px 0 0; max-width:620px; color:#6d7b99; font-size:1rem; line-height:1.45;
}
body.ps-market-page-premium .ps-market-overview {
  position:relative; min-height:168px; overflow:hidden; padding:25px 28px 22px;
  border:1px solid #e3e4fb; border-radius:20px;
  background:
    radial-gradient(circle at 79% 35%,rgba(117,95,255,.18),transparent 43%),
    linear-gradient(135deg,rgba(255,255,255,.97),rgba(244,242,255,.92));
  box-shadow:0 18px 50px rgba(67,55,162,.07),inset 0 1px 0 #fff;
}
body.ps-market-page-premium .ps-market-overview__title { display:flex; align-items:center; gap:11px; color:#161c45; margin-bottom:20px; }
body.ps-market-page-premium .ps-market-overview__title strong { font-size:1rem; font-weight:900; letter-spacing:-.02em; }
body.ps-market-page-premium .ps-market-overview__icon {
  width:34px;height:34px;border-radius:11px;display:grid;place-items:center;color:#fff;
  background:linear-gradient(145deg,#705dff,#4c3ee8); box-shadow:0 8px 18px rgba(79,70,229,.25);
}
body.ps-market-page-premium .ps-market-overview__icon svg { width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
body.ps-market-page-premium .ps-market-overview__grid { display:grid; grid-template-columns:repeat(4,1fr); position:relative; z-index:2; }
body.ps-market-page-premium .ps-market-overview__stat { min-width:0; padding:0 20px; border-left:1px solid rgba(129,140,173,.19); }
body.ps-market-page-premium .ps-market-overview__stat:first-child { border-left:0; padding-left:0; }
body.ps-market-page-premium .ps-market-overview__stat strong { display:block; color:#101633; font-size:1.13rem; font-weight:950; letter-spacing:-.035em; white-space:nowrap; }
body.ps-market-page-premium .ps-market-overview__stat span { display:block; margin-top:4px; color:#7885a1; font-size:.68rem; line-height:1.25; font-weight:600; }
body.ps-market-page-premium .ps-market-overview__stat.is-up strong { color:#15995b; }
body.ps-market-page-premium .ps-market-overview__stat.is-down strong { color:#dc374d; }
body.ps-market-page-premium .ps-market-overview__bars { position:absolute; right:16px; bottom:22px; display:flex; gap:8px; align-items:end; opacity:.34; }
body.ps-market-page-premium .ps-market-overview__bars i { width:16px;border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,#73ddf4,#7667ff); }
body.ps-market-page-premium .ps-market-overview__bars i:nth-child(1){height:28px}.ps-market-overview__bars i:nth-child(2){height:43px}.ps-market-overview__bars i:nth-child(3){height:65px}.ps-market-overview__bars i:nth-child(4){height:86px}

/* Core marketplace filter/cards, restyled to reference */
body.ps-market-page-premium .ps-market-shortcode-shell .penny-market { max-width:none; margin:0; }
body.ps-market-page-premium .penny-featured-strip { margin:0 0 14px; border-radius:16px; border-color:#e3e7f4; box-shadow:0 10px 28px rgba(15,23,42,.04); }
body.ps-market-page-premium .penny-market--business-first .penny-market__filters {
  display:block; margin:0 0 28px; position:relative; z-index:3;
}
body.ps-market-page-premium .penny-market--business-first .penny-search-input {
  width:100%; min-height:54px; padding:0 22px 0 46px; border:1px solid #dfe5f0; border-radius:17px;
  background:#fff; box-shadow:0 9px 24px rgba(15,23,42,.045); color:#1d2647; font-size:.9rem;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23695cf4' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-size:20px; background-position:18px center;
}
body.ps-market-page-premium .penny-market--business-first .penny-filter-tabs {
  display:flex; flex-wrap:wrap; gap:8px; margin-top:13px;
}
body.ps-market-page-premium .penny-market--business-first .penny-filter-tab {
  position:relative; min-height:39px; padding:0 14px; border:1px solid #dfe5ef; border-radius:999px;
  background:#fff; color:#202945; font-size:.74rem; font-weight:850; box-shadow:0 5px 14px rgba(15,23,42,.035);
}
body.ps-market-page-premium .penny-market--business-first .penny-filter-tab::before { margin-right:6px; font-size:.82rem; }
body.ps-market-page-premium .penny-filter-tab[data-order="newest"]::before { content:"✦"; }
body.ps-market-page-premium .penny-filter-tab[data-order="featured"]::before { content:"★"; color:#f5b70b; }
body.ps-market-page-premium .penny-filter-tab[data-order="trending"]::before { content:"●"; color:#f05f54; }
body.ps-market-page-premium .penny-filter-tab[data-order="volume"]::before,
body.ps-market-page-premium .penny-filter-tab[data-order="24h_volume"]::before { content:"▥"; color:#6358f4; }
body.ps-market-page-premium .penny-filter-tab[data-order="verified"]::before { content:"●"; color:#13ad67; }
body.ps-market-page-premium .penny-filter-tab[data-order="local"]::before { content:"▣"; color:#3988f5; }
body.ps-market-page-premium .penny-filter-tab[data-order="startups"]::before { content:"◆"; color:#5b60f4; }
body.ps-market-page-premium .penny-filter-tab[data-order="digital"]::before { content:"▰"; color:#3b82f6; }
body.ps-market-page-premium .penny-filter-tab[data-order="holders"]::before { content:"●●"; color:#4d7fe9; letter-spacing:-4px; margin-right:9px; }
body.ps-market-page-premium .penny-market--business-first .penny-filter-tab.active {
  color:#fff; border-color:#6255f4; background:linear-gradient(135deg,#6559f5,#503cf0); box-shadow:0 9px 18px rgba(79,70,229,.22);
}
body.ps-market-page-premium .penny-market--business-first .penny-filter-tab.active::before { color:#fff; }

body.ps-market-page-premium .penny-market--business-first .penny-stonks-grid {
  grid-template-columns:repeat(4,minmax(0,1fr)); gap:17px;
}
body.ps-market-page-premium .penny-market--business-first .penny-stonk-card--v3 {
  border:1px solid #e1e6f0; border-radius:19px; background:#fff; box-shadow:0 13px 36px rgba(27,39,73,.055);
}
body.ps-market-page-premium .penny-market--business-first .penny-stonk-card--v3::before { height:0; }
body.ps-market-page-premium .penny-market--business-first .penny-stonk-card:hover { transform:translateY(-4px); border-color:#b8b5ff; box-shadow:0 21px 48px rgba(52,48,137,.11); }
body.ps-market-page-premium .penny-market--business-first .penny-stonk-card--v3 .penny-stonk-card__link { padding:17px; gap:12px; }
body.ps-market-page-premium .penny-market--business-first .penny-stonk-card--v3 .penny-stonk-card__avatar {
  width:57px;height:57px;flex-basis:57px;border-radius:16px;border:1px solid #e6e8f2;box-shadow:0 9px 18px rgba(26,34,68,.08);
}
body.ps-market-page-premium .penny-market--business-first .penny-stonk-name { font-size:.96rem; color:#151b3b; }
body.ps-market-page-premium .penny-market--business-first .penny-stonk-symbol { color:#5144f5;background:#efefff;border-color:#e4e3ff;font-size:.64rem; }
body.ps-market-page-premium .penny-market--business-first .penny-stonk-card__meta span { color:#7885a1; font-size:.69rem; }
body.ps-market-page-premium .penny-market--business-first .penny-market-badges { gap:6px; margin:0; }
body.ps-market-page-premium .penny-market--business-first .penny-market-badges span {
  border:0; padding:5px 8px; background:#f0efff; color:#5448e8; font-size:.63rem; font-weight:900;
}
body.ps-market-page-premium .penny-market--business-first .penny-market-badges span:first-child { background:#dcfce7; color:#128452; }
body.ps-market-page-premium .penny-market--business-first .penny-market-price-row {
  padding:0; border:0; border-radius:0; background:transparent; align-items:end;
}
body.ps-market-page-premium .penny-market--business-first .penny-market-price-label { color:#76829f; font-size:.7rem; margin-bottom:2px; }
body.ps-market-page-premium .penny-market--business-first .penny-market-price-row strong { font-size:1.2rem; color:#101633; }
body.ps-market-page-premium .penny-market--business-first .penny-market-change-pill {
  padding:6px 9px; font-size:.66rem; background:#e1fbed; color:#128452; border:0;
}
body.ps-market-page-premium .penny-market--business-first .penny-market-change-pill.penny-down { background:#fee7e9; color:#c93146!important; }
body.ps-market-page-premium .penny-market--business-first .penny-mini-chart {
  height:53px; margin:0; border:0; border-radius:0; padding:4px 0; background:linear-gradient(180deg,transparent,#f1fff7 100%);
}
body.ps-market-page-premium .penny-market--business-first .penny-mini-chart polyline { stroke:#10aa5c; stroke-width:2.1; }
body.ps-market-page-premium .penny-market--business-first .penny-stonk-card__stats { gap:7px; margin:0; }
body.ps-market-page-premium .penny-market--business-first .ps-stat {
  min-height:61px; padding:9px 10px; border:0; border-radius:12px; background:#f7f8fc;
}
body.ps-market-page-premium .penny-market--business-first .ps-stat-l { font-size:.62rem; color:#7b87a0; }
body.ps-market-page-premium .penny-market--business-first .ps-stat-v { font-size:.78rem; color:#17203f; }
body.ps-market-page-premium .penny-market--business-first .penny-stonk-card__foot { display:none; }
body.ps-market-page-premium .penny-market--business-first .penny-stonk-card__cta .penny-btn {
  min-height:42px; border:0; color:#fff; background:linear-gradient(135deg,#5545f5,#6337f1); border-radius:10px;
  box-shadow:0 8px 18px rgba(79,70,229,.18); font-size:.78rem;
}
body.ps-market-page-premium .penny-market-load { margin-top:24px; }

body.ps-market-page-premium .ps-market-community {
  max-width:760px; margin:48px auto 0; padding:10px 20px 6px; text-align:center; color:#17203f;
}
body.ps-market-page-premium .ps-market-community__art { width:260px;height:145px;margin:0 auto 8px;position:relative; }
body.ps-market-page-premium .ps-market-community__coin {
  position:absolute; left:50%; top:47%; transform:translate(-50%,-50%); width:92px;height:92px;border-radius:50%;
  display:grid;place-items:center; background:linear-gradient(145deg,#ffd954,#f5a50b);border:5px solid #f7bb22;
  box-shadow:inset 0 0 0 5px rgba(255,244,177,.55),0 19px 35px rgba(218,145,7,.20);
}
body.ps-market-page-premium .ps-market-community__coin svg { width:58px;height:58px;fill:none;stroke:#fff8d8;stroke-width:3;stroke-linecap:round;stroke-linejoin:round; }
body.ps-market-page-premium .ps-market-community__bubble {
  position:absolute;width:43px;height:43px;border-radius:50%;display:grid;place-items:center;font-weight:950;color:#fff;
  border:4px solid rgba(255,255,255,.85);box-shadow:0 9px 22px rgba(45,49,109,.12);
}
body.ps-market-page-premium .ps-market-community__bubble--a{left:33px;top:68px;background:#22c777}.ps-market-community__bubble--b{left:69px;top:15px;background:#ff6d3b}.ps-market-community__bubble--c{right:68px;top:18px;background:#5d4df4}.ps-market-community__bubble--d{right:33px;top:72px;background:#d58d28}
body.ps-market-page-premium .ps-market-community h2 { margin:0 0 7px; font-size:1.28rem; font-weight:950; letter-spacing:-.03em; }
body.ps-market-page-premium .ps-market-community p { margin:0; color:#71809f; font-size:.88rem; line-height:1.45; }

/* ============================================================
   ROYALTIES CENTER
   ============================================================ */
body.ps-royalties-page-premium .ps-royalties-container { max-width:1280px; padding-top:34px; padding-bottom:60px; }
body.ps-royalties-page-premium .ps-royalties-heading {
  display:flex; justify-content:space-between; align-items:flex-start; gap:30px; margin:0 0 22px; padding:0 4px;
}
body.ps-royalties-page-premium .ps-royalties-heading h1 {
  margin:0; color:var(--pm-text); font-size:clamp(2.15rem,4vw,3.5rem); line-height:.98; letter-spacing:-.052em; font-weight:950;
}
body.ps-royalties-page-premium .ps-royalties-heading p { margin:12px 0 0; max-width:700px; color:#6f7e9d; font-size:1rem; line-height:1.42; }
body.ps-royalties-page-premium .ps-royalties-back {
  display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 19px;border:2px solid #5b4af2;border-radius:10px;
  color:#5144ed;text-decoration:none;font-size:.8rem;font-weight:900;background:#fff;box-shadow:0 8px 18px rgba(79,70,229,.05);
}
body.ps-royalties-page-premium .ps-royalties-shell .penny-royalties { max-width:none; margin:0; }
body.ps-royalties-page-premium .ps-royalties-shell .penny-royalties__head { display:none; }
body.ps-royalties-page-premium .penny-royalties__summary {
  grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin:0 0 27px;
}
body.ps-royalties-page-premium .penny-royalties__metric {
  position:relative; min-height:124px; overflow:hidden; padding:62px 20px 17px 77px; border:1px solid #e1e6f0; border-radius:17px;
  background:rgba(255,255,255,.95); box-shadow:0 10px 30px rgba(15,23,42,.045);
}
body.ps-royalties-page-premium .penny-royalties__metric::before {
  content:"";position:absolute;left:19px;top:19px;width:43px;height:43px;border-radius:50%;background:linear-gradient(145deg,#eeedff,#dcd9ff);
  box-shadow:inset 0 1px 0 #fff;
}
body.ps-royalties-page-premium .penny-royalties__metric::after {
  position:absolute;left:31px;top:28px;font-size:20px;line-height:1;color:#5144e9;font-weight:950;
}
body.ps-royalties-page-premium .penny-royalties__metric:nth-child(1)::after{content:"▣"}
body.ps-royalties-page-premium .penny-royalties__metric:nth-child(2)::before{background:linear-gradient(145deg,#fff3de,#ffe4bd)}
body.ps-royalties-page-premium .penny-royalties__metric:nth-child(2)::after{content:"◷";color:#e39316}
body.ps-royalties-page-premium .penny-royalties__metric:nth-child(3)::before{background:linear-gradient(145deg,#e7fff1,#ccf7dc)}
body.ps-royalties-page-premium .penny-royalties__metric:nth-child(3)::after{content:"↗";color:#10a85c}
body.ps-royalties-page-premium .penny-royalties__metric:nth-child(4)::before{background:linear-gradient(145deg,#e7f6ff,#d3edff)}
body.ps-royalties-page-premium .penny-royalties__metric:nth-child(4)::after{content:"▥";color:#2586e9}
body.ps-royalties-page-premium .penny-royalties__metric span { margin:0 0 4px; color:#66738e; font-size:.7rem; font-weight:800; }
body.ps-royalties-page-premium .penny-royalties__metric strong { color:#111936; font-size:1.42rem; font-weight:950; letter-spacing:-.035em; }
body.ps-royalties-page-premium .penny-royalties__metric small { display:block;margin-top:4px;color:#8590a7;font-size:.65rem;font-weight:600; }
body.ps-royalties-page-premium .penny-royalties__metric-bars { position:absolute;right:13px;bottom:17px;display:flex;align-items:end;gap:4px;opacity:.62; }
body.ps-royalties-page-premium .penny-royalties__metric-bars i { display:block;width:7px;border-radius:5px 5px 2px 2px;background:#9d91ff; }
body.ps-royalties-page-premium .penny-royalties__metric-bars i:nth-child(1){height:12px}.penny-royalties__metric-bars i:nth-child(2){height:20px}.penny-royalties__metric-bars i:nth-child(3){height:30px}.penny-royalties__metric-bars i:nth-child(4){height:43px}
body.ps-royalties-page-premium .ps-royalties-payout-banner {
  display:grid;grid-template-columns:1.4fr repeat(3,.62fr);gap:0;align-items:center;margin:0 0 30px;padding:16px 20px;
  border:1px solid #e4e2fa;border-radius:17px;background:linear-gradient(105deg,#f2f0ff,#fbfbff 55%,#f6f5ff);box-shadow:inset 0 1px 0 #fff;
}
body.ps-royalties-page-premium .ps-royalties-payout-banner__lead { display:flex;align-items:center;gap:14px;padding-right:20px; }
body.ps-royalties-page-premium .ps-royalties-payout-banner__icon { width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:#5e50f4;background:#e5e1ff;font-size:1.25rem;font-weight:950; }
body.ps-royalties-page-premium .ps-royalties-payout-banner strong { display:block;color:#1a2143;font-size:.88rem;font-weight:950; }
body.ps-royalties-page-premium .ps-royalties-payout-banner small { display:block;margin-top:2px;color:#7b87a2;font-size:.68rem;line-height:1.25; }
body.ps-royalties-page-premium .ps-royalties-payout-banner__feature { padding:2px 16px;border-left:1px solid #e5e6f1; }
body.ps-royalties-page-premium .ps-royalties-payout-banner__feature span { display:inline-grid;place-items:center;width:26px;height:26px;margin-right:7px;border-radius:50%;background:#e6fff0;color:#0ba15a;font-weight:950;vertical-align:middle; }
body.ps-royalties-page-premium .ps-royalties-section-title { display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 15px; }
body.ps-royalties-page-premium .ps-royalties-section-title h2 { margin:0;color:#131a3b;font-size:1.18rem;font-weight:950;letter-spacing:-.025em; }
body.ps-royalties-page-premium .ps-royalties-sort { display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #e1e5ee;border-radius:10px;background:#fff;color:#58647f;font-size:.7rem;font-weight:800; }

body.ps-royalties-page-premium .penny-royalties__grid { gap:13px; }
body.ps-royalties-page-premium .penny-royalty-card {
  position:relative;display:grid;
  grid-template-columns:minmax(260px,1.45fr) minmax(310px,1.2fr) minmax(155px,.68fr) minmax(205px,.78fr);
  grid-template-areas:"identity stats available actions";
  gap:17px;align-items:center;padding:16px 18px;border:1px solid #e2e7f1;border-radius:16px;background:#fff;
  box-shadow:0 8px 24px rgba(23,32,68,.035);transition:border-color .18s,box-shadow .18s,transform .18s;
}
body.ps-royalties-page-premium .penny-royalty-card:hover { transform:translateY(-1px);border-color:#cbc7ff;box-shadow:0 14px 31px rgba(47,44,120,.075); }
body.ps-royalties-page-premium .penny-royalty-card.is-target { border-color:#6657f4;box-shadow:0 0 0 3px rgba(91,75,245,.08),0 14px 31px rgba(47,44,120,.075); }
body.ps-royalties-page-premium .penny-royalty-card__top { display:contents; }
body.ps-royalties-page-premium .penny-royalty-card__identity { grid-area:identity; min-width:0; }
body.ps-royalties-page-premium .ps-royalty-business-id { display:flex;align-items:center;gap:13px;min-width:0; }
body.ps-royalties-page-premium .ps-royalty-business-logo {
  width:58px;height:58px;flex:0 0 58px;border-radius:17px;overflow:hidden;display:grid;place-items:center;color:#fff;font-weight:950;
  background:linear-gradient(145deg,#4f46e5,#6d4aff);box-shadow:0 8px 18px rgba(31,40,87,.09);border:1px solid #e4e7ef;
}
body.ps-royalties-page-premium .ps-royalty-business-logo img { width:100%;height:100%;object-fit:cover;display:block; }
body.ps-royalties-page-premium .ps-royalty-business-copy { min-width:0; }
body.ps-royalties-page-premium .ps-royalty-business-title { display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap; }
body.ps-royalties-page-premium .ps-royalty-business-title h3 { margin:0;color:#171e3c;font-size:.93rem;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
body.ps-royalties-page-premium .ps-royalty-verified { display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:999px;background:#dffbea;color:#0f8a51;font-size:.61rem;font-weight:900; }
body.ps-royalties-page-premium .ps-royalty-symbol { display:inline-block;margin-top:5px;padding:4px 7px;border-radius:7px;background:#efefff;color:#5449ea;font-size:.62rem;font-weight:950; }
body.ps-royalties-page-premium .ps-royalty-meta { margin-top:5px;color:#7d89a1;font-size:.67rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
body.ps-royalties-page-premium .ps-royalty-change { display:inline-flex;margin-top:8px;padding:5px 8px;border-radius:999px;background:#e3faec;color:#109458;font-size:.62rem;font-weight:900; }
body.ps-royalties-page-premium .ps-royalty-change.is-down { background:#fee7ea;color:#c73348; }
body.ps-royalties-page-premium .penny-royalty-card__identity > h3,
body.ps-royalties-page-premium .penny-royalty-card__identity > p { display:none; }
body.ps-royalties-page-premium .penny-royalty-card__stats { grid-area:stats; display:grid;grid-template-columns:repeat(3,minmax(86px,1fr));gap:7px;margin:0;min-width:0; }
body.ps-royalties-page-premium .penny-royalty-card__stat { min-height:58px;padding:9px 10px;border-radius:11px;background:#f7f8fc; }
body.ps-royalties-page-premium .penny-royalty-card__stat span { font-size:.62rem;color:#77839e; }
body.ps-royalties-page-premium .penny-royalty-card__stat strong { display:block;font-size:.82rem;color:#171e3c;font-weight:950;white-space:nowrap; }
body.ps-royalties-page-premium .penny-royalty-card__available { grid-area:available; min-width:0;padding:11px 12px;text-align:left;border-radius:12px;background:linear-gradient(135deg,#effff5,#e6fbef); }
body.ps-royalties-page-premium .penny-royalty-card__available span { color:#6f7e94;font-size:.62rem; }
body.ps-royalties-page-premium .penny-royalty-card__available strong { display:block;margin-top:3px;color:#111936;font-size:1.15rem;font-weight:950;letter-spacing:-.035em;white-space:nowrap; }
body.ps-royalties-page-premium .penny-royalty-card__actions { grid-area:actions; display:grid;gap:7px;align-items:stretch; }
body.ps-royalties-page-premium .penny-royalty-card__actions .penny-btn { width:100%;min-height:38px;justify-content:center;border-radius:9px;font-size:.68rem;font-weight:900; }
body.ps-royalties-page-premium .penny-royalty-card__actions .penny-btn--primary { border-color:#5b4af4;background:linear-gradient(135deg,#5b4af4,#5638f0);box-shadow:0 8px 16px rgba(79,70,229,.16); }
body.ps-royalties-page-premium .penny-royalty-card__actions .penny-btn--outline { border:2px solid #5848f0;background:#fff;color:#5043e5; }
body.ps-royalties-page-premium .penny-royalty-card__actions > .penny-text-muted { font-size:.68rem;line-height:1.35; }
body.ps-royalties-page-premium .penny-royalty-withdraw { grid-column:1/-1;margin:1px 0 0;padding:17px;border:1px solid #e4e4fa;border-radius:13px;background:#fafaff; }
body.ps-royalties-page-premium .penny-royalty-withdraw__grid { grid-template-columns:minmax(180px,.75fr) minmax(280px,1.25fr); }
body.ps-royalties-page-premium .penny-royalty-withdraw .penny-royalty-card__actions { display:flex; }
body.ps-royalties-page-premium .penny-royalty-withdraw .penny-royalty-card__actions .penny-btn { width:auto; }
body.ps-royalties-page-premium .penny-royalties__history { margin-top:31px; }
body.ps-royalties-page-premium .penny-royalties__history h3 { margin:0 0 14px;color:#151c3d;font-size:1.18rem;font-weight:950;letter-spacing:-.025em; }
body.ps-royalties-page-premium .penny-royalties__history .penny-empty-state {
  min-height:190px;display:grid;place-items:center;text-align:center;border:1px solid #e2e6ef;border-radius:16px;background:#fff;color:#687590;
  box-shadow:0 8px 24px rgba(23,32,68,.03);
}
body.ps-royalties-page-premium .ps-royalty-empty-enhanced { display:grid;place-items:center;gap:5px;max-width:440px;padding:25px; }
body.ps-royalties-page-premium .ps-royalty-empty-enhanced__icon { width:61px;height:61px;border-radius:50%;display:grid;place-items:center;background:#efefff;color:#5d50f3;font-size:1.8rem;box-shadow:0 8px 20px rgba(79,70,229,.09); }
body.ps-royalties-page-premium .ps-royalty-empty-enhanced strong { color:#1b2242;font-size:.9rem;font-weight:950; }
body.ps-royalties-page-premium .ps-royalty-empty-enhanced span { color:#7a86a0;font-size:.75rem;line-height:1.45; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:920px) {
  body.ps-market-page-premium .ps-marketplace-intro { grid-template-columns:1fr;gap:24px; }
  body.ps-market-page-premium .ps-market-overview { max-width:720px; }
  body.ps-market-page-premium .penny-market--business-first .penny-stonks-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:1120px) {
  body.ps-market-page-premium .penny-market--business-first .penny-stonks-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  body.ps-royalties-page-premium .penny-royalty-card {
    grid-template-columns:minmax(240px,1.45fr) minmax(285px,1.15fr) minmax(150px,.65fr);
    grid-template-areas:
      "identity stats available"
      "actions actions actions";
  }
  body.ps-royalties-page-premium .penny-royalty-card__actions { grid-template-columns:repeat(2,minmax(0,220px));justify-content:end; }
}
@media (max-width:900px) {
  body.ps-market-page-premium .penny-market--business-first .penny-stonks-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.ps-royalties-page-premium .penny-royalties__summary { grid-template-columns:repeat(2,1fr); }
  body.ps-royalties-page-premium .ps-royalties-payout-banner { grid-template-columns:1fr;gap:11px; }
  body.ps-royalties-page-premium .ps-royalties-payout-banner__feature { border-left:0;border-top:1px solid #e5e6f1;padding:11px 0 0; }
  body.ps-royalties-page-premium .penny-royalty-card {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-areas:
      "identity stats"
      "available actions";
  }
  body.ps-royalties-page-premium .penny-royalty-card__stats { grid-template-columns:repeat(3,minmax(78px,1fr)); }
  body.ps-royalties-page-premium .penny-royalty-card__actions { grid-template-columns:1fr; }
}
@media (max-width:700px) {
  body.ps-market-page-premium .ps-market-container,
  body.ps-royalties-page-premium .ps-royalties-container { padding:22px 14px 42px; }
  body.ps-market-page-premium .ps-marketplace-intro { padding:0; }
  body.ps-market-page-premium .ps-marketplace-intro h1 { font-size:2.3rem; }
  body.ps-market-page-premium .ps-market-overview { min-height:0;padding:18px; }
  body.ps-market-page-premium .ps-market-overview__grid { grid-template-columns:1fr 1fr;gap:14px; }
  body.ps-market-page-premium .ps-market-overview__stat { border-left:0;padding:0; }
  body.ps-market-page-premium .ps-market-overview__bars { display:none; }
  body.ps-market-page-premium .penny-market--business-first .penny-filter-tabs { overflow-x:auto;flex-wrap:nowrap;padding:2px 1px 8px;scrollbar-width:none; }
  body.ps-market-page-premium .penny-market--business-first .penny-filter-tabs::-webkit-scrollbar { display:none; }
  body.ps-market-page-premium .penny-market--business-first .penny-filter-tab { white-space:nowrap;flex:0 0 auto; }
  body.ps-market-page-premium .penny-market--business-first .penny-stonks-grid { grid-template-columns:1fr 1fr;gap:9px; }
  body.ps-market-page-premium .penny-market--business-first .penny-stonk-card--v3 .penny-stonk-card__link { padding:11px;gap:9px; }
  body.ps-market-page-premium .penny-market--business-first .penny-stonk-card--v3 .penny-stonk-card__avatar { width:44px;height:44px;flex-basis:44px;border-radius:13px; }
  body.ps-market-page-premium .penny-market--business-first .penny-stonk-name { font-size:.82rem; }
  body.ps-market-page-premium .penny-market--business-first .penny-market-badges { display:none; }
  body.ps-market-page-premium .penny-market--business-first .penny-market-price-row { align-items:flex-start;flex-direction:column;gap:6px; }
  body.ps-market-page-premium .penny-market--business-first .penny-market-price-row strong { font-size:.95rem; }
  body.ps-market-page-premium .penny-market--business-first .penny-stonk-card__stats .ps-stat--volume-24h,
  body.ps-market-page-premium .penny-market--business-first .penny-stonk-card__stats .ps-stat--activity { display:none; }
  body.ps-market-page-premium .penny-market--business-first .ps-stat { min-height:50px;padding:7px; }
  body.ps-market-page-premium .penny-market--business-first .ps-stat-v { font-size:.7rem; }
  body.ps-market-page-premium .ps-market-community { margin-top:35px; }

  body.ps-royalties-page-premium .ps-royalties-heading { flex-direction:column;gap:16px; }
  body.ps-royalties-page-premium .ps-royalties-heading h1 { font-size:2.35rem; }
  body.ps-royalties-page-premium .penny-royalties__summary { grid-template-columns:1fr 1fr;gap:9px; }
  body.ps-royalties-page-premium .penny-royalties__metric { min-height:112px;padding:56px 13px 13px 15px; }
  body.ps-royalties-page-premium .penny-royalties__metric::before { left:14px;top:13px;width:37px;height:37px; }
  body.ps-royalties-page-premium .penny-royalties__metric::after { left:24px;top:21px;font-size:17px; }
  body.ps-royalties-page-premium .penny-royalties__metric strong { font-size:1.05rem; }
  body.ps-royalties-page-premium .penny-royalties__metric-bars { display:none; }
  body.ps-royalties-page-premium .penny-royalty-card { display:block;padding:14px; }
  body.ps-royalties-page-premium .penny-royalty-card__identity,
  body.ps-royalties-page-premium .penny-royalty-card__stats,
  body.ps-royalties-page-premium .penny-royalty-card__available,
  body.ps-royalties-page-premium .penny-royalty-card__actions { margin-bottom:11px; }
  body.ps-royalties-page-premium .penny-royalty-card__stats { grid-template-columns:repeat(3,minmax(0,1fr)); }
  body.ps-royalties-page-premium .penny-royalty-card__actions { display:grid;grid-template-columns:1fr 1fr; }
  body.ps-royalties-page-premium .penny-royalty-withdraw { margin-top:10px; }
  body.ps-royalties-page-premium .penny-royalty-withdraw__grid { grid-template-columns:1fr; }
  body.ps-royalties-page-premium .penny-royalty-withdraw .penny-royalty-card__actions { display:flex; }
}
@media (max-width:430px) {
  body.ps-market-page-premium .penny-market--business-first .penny-stonks-grid { grid-template-columns:1fr; }
  body.ps-royalties-page-premium .penny-royalties__summary { grid-template-columns:1fr 1fr; }
  body.ps-royalties-page-premium .penny-royalty-card__actions { grid-template-columns:1fr; }
}

/* 1.3.2 — structured marketplace search filters */
body.ps-market-page-premium .penny-market-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.ps-market-page-premium .penny-market-search-box>span{display:none}.ps-market-page-premium .penny-market-filter-toggle{min-height:54px;border-radius:15px;border:1px solid #dfe5f0;background:#fff;color:#343d5b;box-shadow:0 9px 24px rgba(15,23,42,.04);font-size:.76rem;font-weight:900;padding:0 17px}.ps-market-page-premium .penny-market-advanced{margin-top:11px;padding:12px;border-radius:16px;border:1px solid #e3e7f2;background:rgba(255,255,255,.8);box-shadow:0 8px 24px rgba(15,23,42,.03)}.ps-market-page-premium .penny-market-advanced label>span{color:#707d98}.ps-market-page-premium .penny-market-advanced select{border-color:#e0e5ef;border-radius:11px;background:#fff;color:#222b48}.ps-market-page-premium .penny-market-reset{border-radius:11px;background:#f5f5ff;color:#574ee6;border-color:#e1defe}.ps-market-page-premium .penny-market--business-first .penny-filter-tabs{margin-top:0!important}@media(max-width:700px){body.ps-market-page-premium .penny-market-search-row{grid-template-columns:1fr}.ps-market-page-premium .penny-market-filter-toggle{width:100%}}


/* 1.3.3 — marketplace compact/mobile typography */
body.ps-market-page-premium .ps-marketplace-intro h1{overflow-wrap:normal;word-break:normal;text-wrap:balance}
body.ps-market-page-premium .ps-nowrap{white-space:nowrap}
body.ps-market-page-premium .ps-market-title-accent{color:#5c50ee}
body.ps-market-page-premium .penny-market-filter-toggle[aria-expanded="false"]{background:#fff}
body.ps-market-page-premium .penny-market-filter-toggle[aria-expanded="true"]{border-color:#d5d0ff;color:#5148df;background:#f8f7ff}
@media(max-width:700px){
  body.ps-market-page-premium .ps-marketplace-intro h1{font-size:clamp(1.72rem,8vw,2.08rem);line-height:1.05;letter-spacing:-.045em;max-width:100%;text-wrap:balance}
  body.ps-market-page-premium .ps-marketplace-intro__copy p{font-size:.88rem;line-height:1.55}
  body.ps-market-page-premium .penny-market-filter-toggle{min-height:48px}
}
@media(max-width:380px){body.ps-market-page-premium .ps-marketplace-intro h1{font-size:1.62rem}}
