.ideas-shell { --idea-card:#132e47; --idea-soft:#a8c5d9; --idea-ink:#ecf6ff; color:var(--idea-ink); max-width:1280px }
.ideas-shell [hidden] { display:none!important }
.ideas-shell .account-heading p,.ideas-board small,.board-heading span,.idea-meta,.idea-empty p,.ideas-library p { color:var(--idea-soft) }
.ideas-shell .account-heading p { margin:.35rem 0 0 }
.ideas-shell .button,.ideas-shell button,.ideas-shell input { font-family:inherit }
.ideas-shell :is(button,input,a):focus-visible,.ideas-shell .uf-writing:focus-visible { outline:0!important; box-shadow:inset 0 0 0 100vmax #80c3eb24!important }
.ideas-shell button { cursor:pointer }
.idea-actions,.board-heading,.idea-card-foot,.idea-detail-actions,#idea-dialog header,#idea-dialog footer { display:flex; align-items:center; gap:.7rem; flex-wrap:wrap }
.ideas-workspace { display:grid; grid-template-columns:minmax(225px,29%) minmax(0,1fr); gap:16px; align-items:start }
.idea-surface,#idea-dialog { background:linear-gradient(146deg,#1a3954,#10283e 75%); border:0; border-radius:20px; box-shadow:0 14px 36px #06132033 }
.idea-surface { padding:22px; min-width:0 }
.ideas-shell :is(h2,h3,h4) { color:var(--idea-ink); margin:0; line-height:1.25 }
.ideas-shell h2 { font-size:1.35rem }
.ideas-library { position:sticky; top:82px }
.ideas-library .ideas-search { margin:15px 0 10px!important; background:#092238; border-radius:12px; min-height:44px }
.ideas-library .ideas-search input,#idea-dialog input[type=text] { color:var(--idea-ink); background:transparent; border:0; padding:10px; min-width:0; width:100%; font-size:1rem }
#plugins { display:grid; gap:5px; overflow:auto; max-height:60vh; scrollbar-width:thin }
.ideas-plugin,.idea-tab,.idea-icon,.idea-link { border:0; color:#cae2f1; background:transparent; border-radius:10px; font:inherit }
.ideas-plugin { display:flex; align-items:center; gap:11px; width:100%; text-align:left; padding:7px; min-height:52px; line-height:1.25 }
.ideas-plugin img,.idea-cover-fallback { width:53px; height:40px; border-radius:7px; object-fit:cover; flex:none; background:#203d58 }
.idea-cover-fallback { display:grid; place-items:center }
.ideas-plugin:hover,.idea-tab:hover,.idea-icon:hover,.idea-link:hover { background:#294c66 }
.ideas-plugin[aria-pressed=true],.idea-tab[aria-pressed=true] { background:#305877; color:white }
.board-heading { justify-content:space-between; margin-bottom:18px; align-items:flex-start }
.board-heading h2 { overflow-wrap:anywhere }
.board-heading span { display:block; font-size:.9rem; margin-top:3px }
#packs { display:flex; flex-wrap:wrap; gap:5px; padding:6px; background:#0c263b; border-radius:13px; margin-bottom:15px }
.idea-tab { min-height:40px; padding:6px 12px; font-size:.9rem }
#cards { display:grid; gap:12px }
.idea-envelope { border-radius:15px; overflow:hidden; isolation:isolate; background:linear-gradient(118deg,#23445f,#183750 66%,#203950); position:relative }
.idea-envelope::before { content:''; position:absolute; right:0; top:0; width:min(37%,170px); height:60px; pointer-events:none; border-radius:0 0 0 90%; background:linear-gradient(145deg,transparent,#8cbdd41a); transform-origin:center top; transition:transform .28s,opacity .28s }
.idea-envelope.open::before { transform:perspective(200px) rotateX(155deg); opacity:0 }
.idea-summary { width:100%; text-align:left; border:0; border-radius:15px; background:transparent; color:inherit; display:grid; gap:9px; padding:18px 20px; position:relative }
.idea-summary:hover { background:#a1d4f309 }
.idea-summary h3 { font-size:1.13rem; padding-right:24px; overflow-wrap:anywhere }
.idea-summary > .idea-meta { padding-right:28px }
.idea-summary .idea-chevron { position:absolute; top:22px; right:18px; color:#aacadd; transition:transform .25s }
.open .idea-chevron { transform:rotate(180deg) }
.idea-meta { display:flex; align-items:center; flex-wrap:wrap; gap:6px; font-size:.84rem; overflow-wrap:anywhere }
.idea-meta img { width:23px; height:23px; border-radius:50%; object-fit:cover }
.idea-preview { margin:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; color:#d1e0eb; line-height:1.5 }
.open .idea-preview { display:none }
.idea-card-foot { justify-content:space-between; gap:9px; font-size:.84rem }
.idea-envelope { --card-inset:20px }
.idea-envelope .idea-summary { padding-bottom:8px }
.idea-card-foot { padding:0 var(--card-inset) 14px }
.idea-author-actions { display:flex; align-items:center; gap:6px; margin-left:auto }
.idea-card-foot:has(.idea-author-actions) { padding-block:6px 16px }
.idea-comment-count { justify-content:flex-end; padding:0 var(--card-inset) 12px }
.idea-envelope:has(>.idea-comment-count) .idea-detail { padding-bottom:12px }
.idea-card-foot + .idea-inline { margin:0 var(--card-inset) 14px }
.idea-envelope:has(> .idea-inline[data-editing-idea]) > :is(.idea-card-foot,.idea-detail,.idea-comment-count) { display:none }
.ideas-frame .idea-author-actions .idea-icon { width:44px; min-width:44px; height:44px; min-height:44px; flex-basis:44px; border-radius:11px }
.ideas-frame .idea-icon > i,.idea-rules-button > i { display:grid; place-items:center; line-height:1 }
.idea-author-actions .idea-icon > i { width:18px; height:18px; font-size:16px }
.ideas-frame .idea-icon > i::before,.idea-rules-button > i::before { display:block; line-height:1 }
.idea-posting-as { margin-right:auto; color:var(--idea-soft); overflow-wrap:anywhere }
.ideas-frame .idea-author-actions [data-action="trash-can"]:hover { background:#62404d; color:#ffe1e3 }
.idea-rules-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; margin-left:auto; padding:8px 13px; min-height:42px; background:#23445f; color:#cce7f6; border:0; border-radius:13px; font:inherit }
.idea-rules-button:hover { background:#305571 }
#community-rules { width:min(510px,calc(100% - 28px)); box-sizing:border-box; padding:clamp(18px,3vw,26px); max-height:85dvh; overflow:auto; background:#17354c; color:var(--idea-ink); border:0; border-radius:20px; box-shadow:0 18px 50px #06132066 }
#community-rules::backdrop { background:#061324ba; backdrop-filter:blur(4px) }
#community-rules header { display:flex; align-items:center; justify-content:space-between; gap:10px }
#community-rules ul { padding-left:1.25rem; margin:14px 0 }
#community-rules li + li { margin-top:9px }
#community-rules :is(li,p) { line-height:1.5 }
#community-rules a { color:#bddef5 }
@media(max-width:760px){.idea-envelope{--card-inset:15px}}
.interest-meter { display:flex; align-items:center; gap:8px; min-width:0; color:#d9e9fa }
.interest-track { display:block; width:clamp(52px,12vw,120px); height:7px; flex:none; border-radius:9px; background:#0c263c; overflow:hidden }
.interest-fill { display:block; position:relative; height:100%; width:var(--fill); border-radius:inherit; background:linear-gradient(90deg,#4479c2,#aab3ff 62%,#b0f3ff); transition:width .48s ease; overflow:hidden }
.interest-fill::after { content:''; position:absolute; inset:0; opacity:var(--spark); background:radial-gradient(circle at 4px 3px,#fff 0 1px,transparent 2px),radial-gradient(circle at 16px 5px,#f2feff 0 1px,transparent 2px); background-size:23px 7px; animation:idea-sparks var(--speed) linear infinite }
@keyframes idea-sparks { to { background-position:46px 0,46px 0 } }
.idea-detail { padding:0 20px 20px; overflow:hidden; overflow-wrap:anywhere }
.idea-detail-actions { justify-content:space-between; margin:12px 0 18px }
.idea-react { margin-left:auto; background:#305479!important; color:#e9f6ff!important; box-shadow:0 5px 16px #081b3155 }
.idea-react[aria-pressed=true] { background:#514f82!important; color:#f5efff!important }
.idea-detail .uf-formatted,.idea-comment .uf-formatted { color:#e6eff7; white-space:pre-wrap; line-height:1.6 }
.idea-detail .uf-formatted p { margin:0 0 .45em }
.idea-comments { margin-top:16px; display:grid; gap:9px }
.idea-comment { border-radius:12px; padding:12px 14px; background:#102e45 }
.idea-comment .idea-meta { margin-bottom:6px }
.idea-link,.idea-icon { min-height:42px; padding:8px 11px; font-size:.9rem }
.idea-icon { min-width:42px }
.idea-empty { text-align:center; padding:clamp(24px,6vw,76px) 16px; border-radius:14px; background:radial-gradient(ellipse at 50% 25%,#38658638,transparent 66%),#102a40 }
.idea-empty>i { font-size:1.8rem; color:#9fbddd; margin-bottom:14px }
.idea-empty p { line-height:1.5; margin:7px 0 }
main.umx-page.ideas-shell > .idea-surface + .idea-surface { margin-top:14px }
main.umx-page.ideas-shell .idea-actions { margin-block:8px }
main.umx-page.ideas-shell .idea-actions label { display:flex; align-items:center; flex-wrap:wrap; gap:8px }
main.umx-page.ideas-shell summary { cursor:pointer; padding-block:6px }
main.umx-page.ideas-shell details+details { margin-top:7px }
.ideas-status:empty,#dialog-status:empty { display:none }
.ideas-status,#dialog-status { color:#d9eaf8; margin:.6rem 0 }
.ideas-placeholder { height:135px; border-radius:12px; background:linear-gradient(105deg,#1a3a52 25%,#31536b 47%,#1a3a52 65%); background-size:250% 100%; animation:idea-sweep 1.55s ease infinite }
.ideas-placeholder.large { height:200px }
.library-placeholder { display:grid; gap:5px }
.skeleton-plugin { min-height:54px; display:flex; align-items:center; gap:11px; padding:7px }
.skeleton-cover,.skeleton-title,.plugin-art.loading-art,.ideas-board button[aria-busy=true] {
  background:linear-gradient(104deg,#1d3a51 20%,#305773 44%,#436883 52%,#264963 63%,#1d3a51 80%);
  background-size:250% 100%; animation:idea-sweep 1.55s ease infinite;
}
.skeleton-cover,.plugin-art { display:grid; place-items:center; flex:none; width:53px; height:40px; border-radius:7px; overflow:hidden }
.skeleton-title { height:11px; width:52%; border-radius:9px }
.skeleton-plugin:nth-child(3n+2) .skeleton-title { width:64% }
.skeleton-plugin:nth-child(3n) .skeleton-title { width:43% }
.loading-art img { opacity:0 }
.idea-empty .button { margin:6px }
.ideas-placeholder.opening { height:58px; margin:0 18px 16px }
@keyframes idea-sweep { from{background-position:100%} to{background-position:-60%} }
#idea-dialog { color:var(--idea-ink); width:min(520px,calc(100% - 24px)); max-height:85dvh; padding:22px; overflow:auto; box-sizing:border-box }
#idea-dialog::backdrop { background:#061324ba; backdrop-filter:blur(4px) }
#idea-dialog header { justify-content:space-between; margin-bottom:14px }
#idea-dialog footer { justify-content:flex-end; margin-top:15px }
#dialog-content { display:grid; gap:14px }
#dialog-content label { display:grid; gap:6px; margin:0 }
#idea-dialog input[type=text] { background:#0c273d; border-radius:11px; min-height:44px }
.idea-switch { display:flex; align-items:center; justify-content:space-between; gap:12px; background:#102c42; padding:12px 14px; border-radius:12px; border:0; font:inherit; color:inherit; text-align:left; min-height:48px }
.idea-switch::after { content:''; flex:none; width:36px; height:22px; border-radius:20px; background:radial-gradient(circle at 11px 50%,#abc5d6 0 7px,transparent 8px),#26445a }
.idea-switch[aria-checked=true]::after { background:radial-gradient(circle at 25px 50%,#e3faff 0 7px,transparent 8px),#437d9e }
#idea-dialog .uf-writing { min-height:92px }
@media(max-width:760px){.ideas-workspace{grid-template-columns:minmax(0,1fr)}.ideas-library{position:static}.idea-surface{padding:15px}#plugins{max-height:170px}.ideas-shell .account-heading{align-items:flex-start;gap:14px;flex-wrap:wrap}.ideas-shell .account-heading h1{font-size:1.8rem}.idea-summary{padding:15px}.idea-detail{padding:0 15px 15px}.idea-tab{min-height:44px}.ideas-library .ideas-search{margin:10px 0 6px!important}}

.ideas-frame {
  padding:clamp(15px,2.1vw,28px);
  border-radius:26px;
  background:radial-gradient(ellipse at 0 0,#28537470,transparent 49%),linear-gradient(125deg,#173750,#102a41 75%);
  box-shadow:0 18px 52px #06172b42;
}
.ideas-heading,.ideas-library-heading,.inline-heading { display:flex; align-items:center; gap:12px }
.ideas-heading { padding:0 2px 20px }
.ideas-heading h1 { margin:0; font-size:clamp(1.6rem,2.4vw,2.1rem); line-height:1.15; color:var(--idea-ink) }
.ideas-frame .idea-icon,.inline-heading .idea-icon {
  display:inline-grid; place-items:center; flex:0 0 42px; width:42px; height:42px; padding:0;
  text-decoration:none; border-radius:13px; color:#cce7f6; background:#23445f;
}
.ideas-frame .ideas-library { align-self:start; background:#102b40; box-shadow:none; border-radius:16px; padding:16px }
.ideas-frame .ideas-library-heading h2 { font-size:1.06rem }
.ideas-frame .ideas-board { padding:4px 0 0; background:transparent; box-shadow:none; min-width:0 }
.ideas-frame .board-heading { min-height:42px; align-items:center; margin-bottom:10px }
.ideas-frame .board-heading h2 { font-size:clamp(1.15rem,1.7vw,1.45rem) }
.idea-entry:not(:empty) { margin-bottom:13px }
.idea-entry:has(>#new-idea[hidden]:only-child) { display:none }
.idea-invite {
  display:flex; align-items:center; width:100%; min-height:76px; gap:15px; padding:15px 18px; border:0; border-radius:16px;
  background:radial-gradient(ellipse at 95% 0,#477f993d,transparent 65%),linear-gradient(110deg,#244e68,#21435c);
  text-align:left; color:#eef9ff; font-family:inherit; font-size:1.05rem; line-height:1.4; font-weight:600;
}
.idea-plus {
  flex:none; display:grid; place-items:center; width:43px; height:43px; border-radius:14px;
  color:#d2f6ff; background:linear-gradient(140deg,#3982a0,#28617e); box-shadow:0 4px 15px #082a393d;
}
.idea-invite-chevron { margin-left:auto; color:#b0d8e9; font-size:.85rem }
.invite-copy { display:grid; gap:2px }
.invite-copy strong { font:inherit }
.invite-copy small { font-size:.87rem; font-weight:400; color:#b5d2e4 }
.idea-inline {
  display:grid; gap:15px; min-width:0; box-sizing:border-box; padding:clamp(15px,2vw,22px); overflow:hidden; scroll-margin-block:110px 24px;
  border-radius:16px; background:radial-gradient(ellipse at 100% 0,#37617d44,transparent 60%),#1a3a53;
}
.idea-detail .idea-inline { margin:10px 0 }
.inline-heading h3 { margin:0; font-size:1.1rem }
.inline-fields { display:grid; gap:14px; min-width:0 }
.inline-fields label { display:grid; gap:7px; margin:0; font-size:.92rem; font-weight:600; color:#e6f1f7 }
.inline-fields input[type=text] { background:#0d2a3e; border:0; border-radius:11px; color:#eff8fc; min-width:0; min-height:44px; padding:10px 13px; width:100%; box-sizing:border-box; font:inherit }
.inline-fields .uf-writing { min-height:100px }
.inline-fields .uf-editor { background:var(--ui-field,#102c41) }
.inline-fields p,.inline-status { margin:0; line-height:1.5 }
.inline-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px }
.inline-actions:empty,.inline-status:empty { display:none }
.ideas-shell .idea-inline:focus-within { box-shadow:0 5px 22px #071c301d }
@keyframes idea-field-appear { from { opacity:0; transform:translateY(5px) } to { opacity:1; transform:translateY(0) } }
@media(prefers-reduced-motion:no-preference) {
  .idea-inline:not(.closing) .inline-fields>* { animation:idea-field-appear .23s ease both }
  .idea-inline:not(.closing) .inline-fields>:nth-child(2) { animation-delay:45ms }
  .idea-inline:not(.closing) .inline-actions:not(:empty) { animation:idea-field-appear .25s 75ms ease both }
}
@media(hover:hover) {
  .ideas-frame :is(.idea-invite,.idea-icon,.ideas-plugin,.idea-tab,.idea-summary,.idea-link,.button),#idea-dialog .idea-switch {
    transition:background-color .18s ease,color .18s ease,box-shadow .2s ease,transform .2s ease;
  }
  .idea-invite:is(:hover,:focus-visible) { box-shadow:0 5px 20px #071b3255,inset 0 0 0 100vmax #9bd8ef0d }
  .ideas-frame .idea-icon:hover,#idea-dialog .idea-switch:hover { background-color:#305571 }
  .idea-plus,.idea-invite-chevron,.idea-back i,.ideas-plugin img { transition:transform .22s ease }
  .idea-invite:hover .idea-plus { transform:translateY(-2px) scale(1.05) }
  .idea-invite:hover .idea-invite-chevron { transform:translateY(2px) }
  .idea-back:hover i { transform:translateX(-2px) }
  .ideas-plugin:hover img { transform:scale(1.04) }
}
@media(max-width:760px) {
  .ideas-frame { border-radius:20px }
  .ideas-heading { padding-bottom:14px }
  .ideas-frame .ideas-library { padding:12px }
  .ideas-frame .board-heading { margin-bottom:5px }
  .idea-invite { min-height:64px; gap:12px; padding:10px 13px }
}

@media(prefers-reduced-motion:reduce){.ideas-shell *, .ideas-shell *::before,.ideas-shell *::after{animation:none!important;transition:none!important;transform:none!important;scroll-behavior:auto!important}}
