/* Shares plaza: demo tokens and shared navigation surfaces. */
:root {
  --bg:#ffffff;--bg-soft:#f6f8ff;--card:#ffffff;--ink:#161f45;--ink-dim:#54618c;--ink-faint:#8d99bd;
  --brand:#5a6bff;--brand-2:#0ea5e9;--violet:#9061ff;--pink:#ff5fb3;
  --line:rgba(90,110,220,.16);--line-strong:rgba(90,110,220,.3);--glass:rgba(255,255,255,.72);
  --glass-2:rgba(90,110,220,.06);--nav-bg:rgba(255,255,255,.82);--menu-bg:rgba(255,255,255,.98);
  --shadow-rgb:70,90,190;--grid-line:rgba(90,110,220,.07);--blend:normal;
  --c1:rgba(14,165,233,.28);--c2:rgba(144,97,255,.24);--c3:rgba(255,95,179,.14);--c4:rgba(90,107,255,.18);
  --aurora-op:.55;--screen-a:#f2f5ff;--screen-b:#e7ecff;--db-bg:rgba(255,255,255,.75);--tick-c:#0d9f6e;
  --radius:18px;--shadow:0 24px 56px -28px rgba(70,90,190,.35);
  --grad:linear-gradient(100deg,#0ea5e9 0%,#5a6bff 45%,#9061ff 75%,#ff5fb3 100%);
  --font:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Source Han Sans SC",-apple-system,"Segoe UI",Roboto,sans-serif;
  --mono:"SF Mono","JetBrains Mono",Consolas,"Courier New",monospace;
}
html[data-theme="dark"] {
  --bg:#05070f;--bg-soft:#0a0f1f;--card:#0d1428;--ink:#eaf0ff;--ink-dim:#9aa7c7;--ink-faint:#66739a;
  --line:rgba(146,164,255,.16);--line-strong:rgba(146,164,255,.34);--glass:rgba(255,255,255,.045);
  --glass-2:rgba(146,164,255,.08);--nav-bg:rgba(6,9,20,.75);--menu-bg:rgba(6,9,20,.97);
  --shadow-rgb:0,0,0;--grid-line:rgba(126,148,255,.05);--blend:screen;
  --c1:rgba(79,166,255,.5);--c2:rgba(160,107,255,.5);--c3:rgba(255,110,199,.28);--c4:rgba(79,210,255,.3);
  --aurora-op:.5;--screen-a:#16204a;--screen-b:#0c1122;--db-bg:rgba(255,255,255,.06);--tick-c:#3ee6a0;
  --shadow:0 24px 60px -30px rgba(0,0,0,.7);
}
body.shares-demo { background:var(--bg);color:var(--ink);font-family:var(--font);line-height:1.7;overflow-x:clip;transition:background .45s,color .45s; }
body.shares-demo :is(a,button,input):focus-visible { outline:2px solid var(--brand);outline-offset:2px; }
body.shares-demo :is(input,textarea,select):focus { border-color:var(--brand) !important; }
body.shares-demo #bg-stage { position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden; }
body.shares-demo #stars { position:absolute;inset:0;width:100%;height:100%; }
body.shares-demo .aurora { position:absolute;border-radius:50%;filter:blur(90px);opacity:var(--aurora-op);mix-blend-mode:var(--blend);will-change:transform;transition:opacity .45s; }
body.shares-demo .aurora.a1 { width:52vw;height:52vw;left:-14vw;top:-16vw;background:radial-gradient(circle at 40% 40%,var(--c1),transparent 65%);animation:sharesDrift1 16s ease-in-out infinite alternate; }
body.shares-demo .aurora.a2 { width:46vw;height:46vw;right:-12vw;top:2vh;background:radial-gradient(circle at 55% 45%,var(--c2),transparent 65%);animation:sharesDrift2 20s ease-in-out infinite alternate; }
body.shares-demo .aurora.a3 { width:44vw;height:44vw;left:22vw;top:44vh;background:radial-gradient(circle at 50% 50%,var(--c3),transparent 62%);animation:sharesDrift3 24s ease-in-out infinite alternate; }
body.shares-demo .aurora.a4 { width:40vw;height:40vw;right:6vw;bottom:-16vw;background:radial-gradient(circle at 50% 50%,var(--c4),transparent 65%);animation:sharesDrift1 22s ease-in-out infinite alternate-reverse; }
@keyframes sharesDrift1 { to { transform:translate3d(6vw,4vh,0) scale(1.15); } }
@keyframes sharesDrift2 { to { transform:translate3d(-5vw,6vh,0) scale(1.1); } }
@keyframes sharesDrift3 { to { transform:translate3d(4vw,-5vh,0) scale(.9); } }
body.shares-demo .grid-veil { position:absolute;inset:0;background-image:linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);background-size:56px 56px;mask-image:radial-gradient(ellipse 90% 60% at 50% 0%,#000 30%,transparent 75%);-webkit-mask-image:radial-gradient(ellipse 90% 60% at 50% 0%,#000 30%,transparent 75%); }
body.shares-demo .home-nav { position:fixed;top:0;left:0;right:0;z-index:50;transition:background .35s,border-color .35s,box-shadow .35s;border-bottom:1px solid transparent; }
body.shares-demo .home-nav.scrolled { background:var(--nav-bg);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom-color:var(--line);box-shadow:0 6px 24px -18px rgba(var(--shadow-rgb),.3); }
body.shares-demo .nav-inner { width:min(1380px,94%);height:68px;margin:0 auto;display:flex;align-items:center;gap:24px; }
body.shares-demo .home-logo { display:flex;align-items:center;gap:10px;flex-shrink:0;color:var(--ink);font-size:18px;font-weight:800;line-height:1.7; }
body.shares-demo .logo-mark { width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:var(--grad);box-shadow:0 6px 16px -6px rgba(90,107,255,.55);color:#fff;font-size:17px;font-weight:900; }
body.shares-demo .home-logo small { display:block;color:var(--ink-faint);font-size:10px;font-weight:500;line-height:1; }
body.shares-demo .nav-links { display:flex;gap:6px;margin-left:auto;flex-wrap:wrap; }
body.shares-demo .nav-links a { padding:8px 12px;border-radius:24px;color:var(--ink-dim);font-size:14px;transition:color .25s,background .25s; }
body.shares-demo .nav-links a:hover { color:var(--ink);background:var(--glass-2); }
body.shares-demo .nav-links a.active { color:var(--brand);background:rgba(90,107,255,.1); }
body.shares-demo .nav-cta { display:flex;align-items:center;gap:10px;flex-shrink:0; }
body.shares-demo .theme-btn { width:40px;height:40px;border:1px solid var(--line-strong);border-radius:50%;display:grid;place-items:center;background:var(--glass);color:var(--ink-dim);cursor:pointer; }
body.shares-demo .theme-btn:hover { color:var(--brand);border-color:var(--brand); }
body.shares-demo .i-sun,html[data-theme=dark] body.shares-demo .i-moon { display:none; }
html[data-theme=dark] body.shares-demo .i-sun { display:block; }
body.shares-demo .home-btn { display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:24px;font-weight:600;white-space:nowrap;cursor:pointer;transition:transform .2s,box-shadow .2s,background .25s,border-color .25s,color .25s; }
body.shares-demo .home-btn:active { transform:scale(.96); }
body.shares-demo .btn-ghost { padding:8px 18px;border-color:var(--line-strong);background:var(--glass);color:var(--ink-dim);font-size:14px; }
body.shares-demo .btn-ghost:hover { color:var(--brand);border-color:var(--brand);background:var(--glass-2); }
body.shares-demo .btn-primary { padding:10px 24px;border:0;background:var(--grad);background-size:200% auto;box-shadow:0 10px 26px -10px rgba(90,107,255,.55);color:#fff;font-size:15px; }
body.shares-demo .btn-primary:hover { transform:translateY(-2px);box-shadow:0 16px 34px -12px rgba(90,107,255,.65);background-position:right center; }
body.shares-demo .menu-btn { display:none;width:44px;height:44px;margin-left:auto;border:1px solid var(--line-strong);border-radius:8px;place-items:center;background:var(--glass);cursor:pointer; }
body.shares-demo .menu-btn span { position:relative;display:block;width:18px;height:2px;border-radius:2px;background:var(--ink); }
body.shares-demo .menu-btn span::before,body.shares-demo .menu-btn span::after { content:"";position:absolute;left:0;width:18px;height:2px;border-radius:2px;background:var(--ink);transition:.3s; }
body.shares-demo .menu-btn span::before { top:-6px; }
body.shares-demo .menu-btn span::after { top:6px; }
body.shares-demo .menu-btn.open span { background:transparent; }
body.shares-demo .menu-btn.open span::before { top:0;transform:rotate(45deg); }
body.shares-demo .menu-btn.open span::after { top:0;transform:rotate(-45deg); }
body.shares-demo .mobile-account,body.shares-demo .mobile-upload { display:none; }
body.shares-demo .shares-main { position:relative;z-index:1;min-height:70vh;padding:142px 0 90px; }
body.shares-demo .shares-wrap { width:min(1380px,94%);margin:0 auto; }
body.shares-demo .shares-heading { display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px; }
body.shares-demo .shares-eyebrow { display:inline-flex;align-items:center;gap:8px;color:var(--brand);font-size:13px;font-weight:600;letter-spacing:.22em; }
body.shares-demo .shares-eyebrow::before,body.shares-demo .shares-eyebrow::after { content:"";width:22px;height:1px;background:var(--brand-2); }
body.shares-demo .shares-heading h1 { margin:10px 0;color:var(--ink);font-size:clamp(30px,4.2vw,42px);font-weight:800;line-height:1.3;letter-spacing:0; }
body.shares-demo .shares-heading h1 span { background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent; }
body.shares-demo .shares-description { color:var(--ink-dim);font-size:15px; }
body.shares-demo .shares-search { display:flex;align-items:center;width:min(440px,100%);height:44px;margin-bottom:26px;border:1px solid var(--line-strong);border-radius:8px;background:var(--glass);backdrop-filter:blur(14px); }
body.shares-demo .shares-search input { width:100%;min-width:0;padding:9px 14px;background:transparent;border:0;color:var(--ink);outline:0; }
body.shares-demo .shares-search input::placeholder { color:var(--ink-faint); }
body.shares-demo .shares-search button { flex:none;width:42px;height:42px;color:var(--brand); }
body.shares-demo .shares-toolbar { display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:36px; }
body.shares-demo .shares-filters { display:flex;flex-wrap:wrap;gap:9px;min-width:0; }
body.shares-demo .shares-filter { display:inline-flex;align-items:center;min-height:36px;padding:6px 14px;border:1px solid var(--line);border-radius:8px;background:var(--glass);color:var(--ink-dim);font-size:13px;font-weight:600;backdrop-filter:blur(14px);overflow-wrap:anywhere; }
body.shares-demo .shares-filter:hover { color:var(--brand);border-color:var(--brand); }
body.shares-demo .shares-filter.is-active { background:var(--grad);border-color:var(--brand);color:#fff; }
body.shares-demo .shares-sale-filter { display:inline-flex;align-items:center;gap:10px;flex:none;min-height:36px;color:var(--ink-dim);font-size:13px;cursor:pointer; }
body.shares-demo .shares-sale-filter input { position:absolute;width:1px;height:1px;opacity:0; }
body.shares-demo .shares-switch { position:relative;width:38px;height:22px;border-radius:20px;background:#b9c1d7;transition:background .2s; }
body.shares-demo .shares-switch::after { content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .2s; }
body.shares-demo .shares-sale-filter input:checked + .shares-switch { background:var(--brand); }
body.shares-demo .shares-sale-filter input:checked + .shares-switch::after { transform:translateX(16px); }
body.shares-demo .shares-sale-filter input:focus-visible + .shares-switch { outline:2px solid var(--brand);outline-offset:3px; }
body.shares-demo .shares-result-head { display:flex;align-items:baseline;gap:12px;margin-bottom:18px; }
body.shares-demo .shares-result-head h2 { color:var(--ink);font-size:20px;font-weight:750; }
body.shares-demo .shares-result-head span { color:var(--ink-faint);font-size:13px; }
body.shares-demo .shares-grid.works { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:20px;min-height:240px; }
body.shares-demo #share-grid > .shares-work.work { display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--card);box-shadow:0 12px 34px -24px rgba(var(--shadow-rgb),.4);transition:transform .35s,box-shadow .35s; }
body.shares-demo #share-grid > .shares-work.work:hover { transform:translateY(-6px) scale(1.01);box-shadow:0 28px 56px -26px rgba(var(--shadow-rgb),.5); }
body.shares-demo .work-thumb.shares-work-cover { position:relative;height:150px;overflow:hidden;background:var(--bg-soft); }
body.shares-demo #share-grid .work-thumb img { display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s; }
body.shares-demo .work:hover .work-thumb img { transform:scale(1.04); }
body.shares-demo .work-thumb .shine { position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.5) 50%,transparent 70%);transform:translateX(-120%);transition:transform .8s; }
body.shares-demo .work:hover .shine { transform:translateX(120%); }
body.shares-demo .shares-sale-badge { position:absolute;top:10px;right:10px;padding:4px 9px;border-radius:5px;background:#b45309;color:#fff;font-size:11px;font-weight:700; }
body.shares-demo .shares-preview { position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;background:rgba(13,22,48,.62);color:#fff;font-size:14px;font-weight:700;opacity:0;transition:opacity .2s; }
body.shares-demo .shares-preview:hover,body.shares-demo .shares-preview:focus-visible { opacity:1;color:#fff; }
body.shares-demo .work-body.shares-work-body { display:flex;flex:1;flex-direction:column;min-width:0;padding:15px 16px; }
body.shares-demo .shares-work-tags { display:flex;gap:5px;min-height:23px;overflow:hidden; }
body.shares-demo .shares-work-tags span { max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 8px;border-radius:4px;background:var(--glass-2);color:var(--brand);font-size:11px; }
body.shares-demo .work-body h3 { margin:10px 0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:700; }
body.shares-demo .work-body h3 a { color:var(--ink); }
body.shares-demo .work-body h3 a:hover { color:var(--brand); }
body.shares-demo .shares-work-intro { display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:42px;color:var(--ink-dim);font-size:12.5px;line-height:1.65; }
body.shares-demo .work-body .shares-work-meta { display:flex;justify-content:space-between;gap:8px;margin-top:auto;padding-top:12px;color:var(--ink-faint);font-size:11.5px; }
body.shares-demo .shares-author { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
body.shares-demo .shares-author i { margin-right:5px;color:var(--tick-c); }
body.shares-demo .shares-work-meta time { flex:none; }
body.shares-demo #share-grid > .shares-empty { grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:240px;border:1px dashed var(--line);border-radius:8px;background:var(--glass);color:var(--ink-dim);backdrop-filter:blur(14px); }
body.shares-demo .shares-empty i { font-size:32px;color:var(--ink-faint); }
body.shares-demo .shares-pagination { display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:40px; }
body.shares-demo .shares-pagination a,body.shares-demo .shares-pagination span { display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;padding:7px 12px;border:1px solid var(--line);border-radius:6px;background:var(--glass);color:var(--ink-dim);font-size:13px; }
body.shares-demo .shares-pagination a:hover { border-color:var(--brand);color:var(--brand); }
body.shares-demo .shares-pagination a.is-current { background:var(--grad);border-color:var(--brand);color:#fff; }
body.shares-demo .shares-pagination .is-disabled { opacity:.45; }
body.shares-demo .shares-pagination .shares-ellipsis { border-color:transparent;background:transparent; }
body.shares-demo .home-footer { position:relative;z-index:1;padding:56px 0 32px;border-top:1px solid var(--line);background:var(--bg-soft);color:var(--ink);transition:background .45s; }
body.shares-demo .home-footer .wrap { position:relative;z-index:2;width:min(1380px,94%);margin:0 auto; }
body.shares-demo .foot-grid { display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(140px,1fr));gap:36px; }
body.shares-demo .foot-brand p { max-width:320px;margin-top:14px;color:var(--ink-faint);font-size:13px; }
body.shares-demo .foot-col h4 { margin-bottom:14px;color:var(--ink);font-size:13px; }
body.shares-demo .foot-col a { display:block;padding:4px 0;color:var(--ink-faint);font-size:13px; }
body.shares-demo .foot-col a:hover { color:var(--brand); }
body.shares-demo .foot-bottom { display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-top:40px;padding-top:20px;border-top:1px solid var(--line);color:var(--ink-faint);font-size:12px; }
body.shares-demo .foot-bottom a { color:var(--ink-faint); }
body.shares-demo .foot-bottom a:hover { color:var(--brand); }
body.shares-demo #toTop { position:fixed;right:22px;bottom:26px;z-index:60;width:46px;height:46px;border:1px solid var(--line-strong);border-radius:8px;display:grid;place-items:center;background:var(--card);color:var(--brand);opacity:0;transform:translateY(16px);pointer-events:none;cursor:pointer;transition:opacity .35s,transform .35s;box-shadow:0 10px 26px -12px rgba(var(--shadow-rgb),.45); }
body.shares-demo #toTop.show { opacity:1;transform:none;pointer-events:auto; }
@media (max-width:1100px) {
  body.shares-demo .nav-inner { gap:10px; }
  body.shares-demo .nav-links a { padding:8px; }
  body.shares-demo .nav-cta { gap:5px; }
}
@media (max-width:1020px) {
  body.shares-demo .nav-links,body.shares-demo .nav-cta .btn-ghost { display:none; }
  body.shares-demo .nav-cta { margin-left:auto; }
  body.shares-demo .menu-btn { display:grid; }
  body.shares-demo .nav-links.mobile-open { position:fixed;top:68px;left:0;right:0;z-index:49;display:flex;flex-direction:column;gap:4px;max-height:calc(100vh - 68px);overflow-y:auto;padding:16px 6%;border-bottom:1px solid var(--line);background:var(--menu-bg);backdrop-filter:blur(20px);box-shadow:0 20px 40px -24px rgba(var(--shadow-rgb),.45); }
  body.shares-demo .nav-links.mobile-open a { display:block;padding:14px 16px;border-radius:8px;font-size:16px; }
  body.shares-demo .nav-links.mobile-open .mobile-account { display:block; }
  body.shares-demo .nav-links.mobile-open .mobile-upload { display:inline-flex;align-self:flex-start;margin:8px 16px; }
}
@media (max-width:760px) {
  body.shares-demo .shares-main { padding:110px 0 60px; }
  body.shares-demo .shares-wrap { width:calc(100% - 32px); }
  body.shares-demo .shares-toolbar { flex-direction:column;gap:12px; }
}
@media (max-width:560px) {
  body.shares-demo .nav-cta > .btn-primary { display:none; }
  body.shares-demo .foot-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:26px; }
  body.shares-demo .foot-brand { grid-column:1/-1; }
}
@media (max-width:520px) {
  body.shares-demo .shares-grid.works { grid-template-columns:1fr; }
  body.shares-demo .work-thumb.shares-work-cover { height:190px; }
  body.shares-demo .shares-preview { opacity:1;inset:auto 10px 10px auto;padding:7px 10px;border-radius:5px;background:rgba(13,22,48,.8);font-size:12px; }
}
@media (prefers-reduced-motion:reduce) {
  body.shares-demo .aurora { animation:none; }
  body.shares-demo .work:hover .work-thumb img,body.shares-demo #share-grid > .shares-work.work:hover { transform:none; }
}
