@font-face { font-family: "Big Shoulders Display"; font-weight: 900; font-style: normal; font-display: swap;
  src: url("../fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --void: #030504; --pit: #08100a; --panel: #0d170f;
  --line: rgba(104, 200, 62, 0.24); --green: #5ccf2a;
  --silver: #e8eae5; --ash: #b4baaf; --brass: #c9aa5c;
  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--void); color: var(--ash); font-family: var(--font-body);
  font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; min-height: 100vh; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.app-head { border-bottom: 1px solid var(--line); background: var(--pit); }
.app-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand span { font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: 1.6rem; letter-spacing: .01em; color: var(--silver); }
.wrap { width: min(100% - 2 * var(--gutter), 960px); margin-inline: auto; }
main.wrap { padding-block: clamp(32px, 7vw, 72px); }

h1 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  color: var(--silver); font-size: clamp(2.4rem, 7vw, 4rem); line-height: .95; margin: 0 0 18px; }
.lede { max-width: 56ch; }
.card { border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 22px 24px; margin-top: 28px; }
.card h2 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  color: var(--green); font-size: 1.3rem; margin: 0 0 8px; letter-spacing: .02em; }
.card p { margin: 0; }
.tag { display: inline-block; border: 1px solid var(--brass); color: var(--brass); border-radius: 999px;
  padding: 2px 12px; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.btn { display: inline-block; background: var(--green); color: var(--void); font-weight: 600;
  padding: 10px 18px; border-radius: 8px; text-decoration: none; }

/* ---------- forms, badges, messages ---------- */
.form .field { margin-bottom: 18px; }
.form label { display: block; color: var(--silver); font-weight: 600; margin-bottom: 6px; }
.form input[type=text], .form input[type=email] {
  width: 100%; max-width: 420px; background: var(--void); color: var(--silver);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit;
}
.form input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(92, 207, 42, .25); }
.fine { font-size: .9rem; color: #8d9489; margin: 6px 0 0; }
.error { color: #ff8d7a; margin: 6px 0 0; font-size: .95rem; }
button.btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.badge { display: inline-block; border-radius: 999px; padding: 2px 12px; font-size: .8rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; margin-right: 8px; }
.badge-premium { background: rgba(92, 207, 42, .18); color: var(--green); border: 1px solid var(--green); }
.badge-free { background: rgba(232, 234, 229, .08); color: var(--silver); border: 1px solid rgba(232, 234, 229, .35); }
.badge-lapsed { background: rgba(201, 170, 92, .14); color: var(--brass); border: 1px solid var(--brass); }
.flash { list-style: none; margin: 0 0 20px; padding: 0; }
.flash li { background: rgba(92, 207, 42, .14); border: 1px solid var(--green); color: var(--silver);
  padding: 10px 14px; border-radius: 8px; }
.flash li.error { background: rgba(255, 141, 122, .12); border-color: #ff8d7a; }
.head-actions { display: flex; align-items: center; gap: 14px; margin: 0; }
.who { font-weight: 600; color: var(--silver); text-decoration: none; overflow-wrap: anywhere; max-width: 16ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who:hover { color: var(--green); }
.head-user { display: flex; align-items: center; gap: 14px; flex: none; white-space: nowrap; }
.linkbtn { background: none; border: 0; color: var(--green); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }

/* ---------- navigation, courses ---------- */
.app-nav { display: flex; gap: 18px; margin-left: auto; margin-right: 6px; flex-wrap: nowrap; white-space: nowrap; }
.app-nav a { color: var(--silver); text-decoration: none; font-weight: 600; }
.app-nav a:hover, .app-nav a.on, .who.on { color: var(--green); }
.app-nav a.on { border-bottom: 2px solid var(--green); padding-bottom: 2px; }
.crumbs { margin: 0 0 14px; font-size: .95rem; color: #8d9489; }
.crumbs a { color: var(--green); }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 8px; }
.course-card { display: block; text-decoration: none; margin-top: 0; }
.course-card:hover { border-color: var(--green); }
.course-card.is-locked { opacity: .8; }
.course-card .badge { margin-bottom: 10px; }
.bar { height: 8px; background: var(--void); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-top: 10px; }
.bar span { display: block; height: 100%; background: var(--green); }
.lesson-list { list-style: none; margin: 0; padding: 0; }
.lesson-list li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.lesson-list li:first-child { border-top: 0; }
.lesson-list .mark { width: 1.2em; color: var(--green); }
.lesson-list li.is-locked { color: #8d9489; }
.lesson-list a { color: var(--silver); }
.lesson-list li.is-done a { color: var(--ash); }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lesson-text { max-width: 68ch; margin-top: 22px; }
.lesson-text a { color: var(--green); overflow-wrap: anywhere; }
.inline-form { margin-top: 22px; }
.done-line { margin-top: 22px; }
.quiz fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.quiz legend { color: var(--silver); font-weight: 600; margin-bottom: 8px; padding: 0; }
.quiz .opt { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; cursor: pointer; }
.quiz .opt input { margin-top: .45em; accent-color: var(--green); }
.res-title { font-family: var(--font-display); text-transform: uppercase; color: var(--silver); margin: 26px 0 8px; font-size: 1.1rem; }
.results { list-style: none; margin: 0; padding: 0; }
.results li { padding: 8px 0; border-top: 1px solid var(--line); }
.results li.ok strong { color: var(--green); }
.results li.no strong { color: #ff8d7a; }
.lesson-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 34px; }
.lesson-nav a { color: var(--green); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 560px) { .app-nav { margin-right: 0; gap: 12px; } .brand span { font-size: 1.25rem; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field.check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; line-height: 1.5; }
.field.check input { margin-top: 5px; flex: none; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.quote { margin-left: 0; margin-right: 0; }
.quote footer { margin-top: 10px; color: #8d9489; }
.form textarea { width: 100%; box-sizing: border-box; background: #0b100d; color: inherit; border: 1px solid #26312a; border-radius: 10px; padding: 12px; font: inherit; line-height: 1.5; }
.post-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 12px; }
.post-images img { width: 100%; height: auto; border-radius: 8px; display: block; }
.post-meta form.inline { display: inline; }
.pager { display: flex; align-items: center; gap: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid #26312a; border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--silver); }
.chip.on { border-color: var(--green); color: var(--green); }
@media (max-width: 1000px) {
  .app-head .wrap { flex-wrap: wrap; row-gap: 8px; }
  .app-nav { order: 3; width: 100%; margin: 0; gap: 8px 16px; flex-wrap: wrap; }
  .head-user { margin-left: auto; }
}

/* ---------- feed layout ---------- */
.form input[type=url], .form input[type=date], .form select { width: 100%; max-width: 420px; background: var(--void); color: var(--silver);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; }
.form textarea { max-width: 560px; }
.wrap.wide { width: min(100% - 2 * var(--gutter), 1240px); padding-block: clamp(20px, 3vw, 36px); }
.home-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.home-left, .home-right { position: sticky; top: 16px; display: grid; gap: 16px; align-content: start;
  max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.home-feed { min-width: 0; display: grid; gap: 16px; }
.feed-title { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 4px; }
.card-lite { border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 16px 18px; }
.mini-h { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; color: var(--green); font-size: 1.15rem; margin: 0 0 8px; letter-spacing: .02em; }
.btn-small { padding: 7px 14px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--silver); border: 1px solid var(--line); }
.side { display: grid; gap: 2px; padding: 12px; }
.side-link { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--silver); font-weight: 600; }
.side-link:hover, .side-link.on { background: rgba(92, 207, 42, .12); color: var(--green); }
.side-h { margin: 12px 12px 2px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #8d9489; }
.notice { border-color: var(--brass); }
.notice a { color: var(--green); }
.post-card { border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 18px 20px; display: grid; gap: 12px; }
.post-head { display: flex; gap: 12px; align-items: center; }
.post-head p { margin: 0; }
.post-chan { font-weight: 600; color: var(--silver); text-decoration: none; }
.post-chan:hover { color: var(--green); }
.post-text.clamp { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.post-hero img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 10px; }
.post-foot a { color: var(--green); font-weight: 600; text-decoration: none; }
.av { border-radius: 50%; object-fit: cover; flex: none; background: var(--void); border: 1px solid var(--line); }
.av-md { width: 44px; height: 44px; } .av-lg { width: 88px; height: 88px; } .av-xl { width: 120px; height: 120px; }
.av-initial { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; color: var(--green); font-size: 1.4rem; }
.av-lg.av-initial { font-size: 2.4rem; } .av-xl.av-initial { font-size: 3.2rem; }
.profile-mini { text-align: center; display: grid; gap: 10px; justify-items: center; }
.pm-top { display: grid; gap: 8px; justify-items: center; text-decoration: none; }
.pm-name { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; color: var(--silver); font-size: 1.4rem; }
.pm-bio { font-size: .95rem; margin: 0; }
.pm-status { margin: 0; } .pm-status .badge { margin: 0; }
.pm-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0; }
.pm-out { margin: 0; }
.level-pill { display: inline-flex; margin: 0; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: .85rem; font-weight: 600; }
.level-pill span { padding: 3px 12px; color: var(--silver); } .level-pill span:first-child { background: rgba(92, 207, 42, .18); color: var(--green); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; width: 100%; }
.stats-4 { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); margin-bottom: 10px; }
.stats div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 6px; }
.stats dt { font-size: .7rem; color: #8d9489; line-height: 1.2; } .stats dd { margin: 2px 0 0; font-size: 1.4rem; font-weight: 600; color: var(--silver); }
.meter { height: 8px; width: 100%; border-radius: 99px; background: var(--void); border: 1px solid var(--line); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--green); }
.profile-head { display: flex; gap: 22px; align-items: center; }
.facts { margin: 0; display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; }
.facts dt { color: #8d9489; } .facts dd { margin: 0; color: var(--silver); overflow-wrap: anywhere; }
.facts a { color: var(--green); }
.avatar-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.avatar-row .field { margin: 0; }
.inline-check { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 400 !important; margin-top: 8px; }
.checks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.checks label { display: inline-flex; gap: 8px; font-weight: 400; align-items: center; }
.lab { display: block; color: var(--silver); font-weight: 600; margin-bottom: 6px; }
.card-lite .form .field:last-child { margin-bottom: 0; }
@media (max-width: 1020px) {
  .home-grid { grid-template-columns: minmax(0, 1fr) 280px; }
  .home-left { display: none; }
}
@media (max-width: 700px) {
  .home-grid { grid-template-columns: minmax(0, 1fr); }
  .home-right { position: static; max-height: none; overflow: visible; }
  .profile-head { flex-direction: column; text-align: center; }
  .facts div { grid-template-columns: 1fr; gap: 0; }
}
.app-head .wrap { width: min(100% - 2 * var(--gutter), 1240px); }
.chan-card { text-align: center; display: grid; gap: 8px; justify-items: center; align-content: start; }
.chan-card h2 { margin: 6px 0 0; font-size: 1.5rem; color: var(--silver); }
.chan-card:hover h2 { color: var(--green); }
.chan-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.chan-info { text-align: center; display: grid; gap: 10px; justify-items: center; }
.chan-info .pm-name { margin: 0; }
.post-foot { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.post-foot:empty { display: none; }
.post-foot form.inline { display: inline; margin: 0; }
.when { color: inherit; }
.av-lg { object-fit: cover; }

/* ---------- likes, comments, link cards ---------- */
.post-foot .linkbtn.like { color: var(--silver); font-weight: 600; text-decoration: none; }
.post-foot .linkbtn.like.on, .post-foot .linkbtn.like:hover { color: var(--green); }
.link-card { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--void); }
.link-card img { width: 100%; height: auto; display: block; max-height: 420px; object-fit: cover; }
.lc { text-decoration: none; color: inherit; }
.lc:hover { border-color: var(--green); }
.lc-body { display: grid; gap: 4px; padding: 12px 14px; }
.lc-body strong { color: var(--silver); }
.lc-desc { font-size: .95rem; color: #b8bfb4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.yt-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; cursor: pointer; }
.yt-play img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; }
.yt-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 48px; border-radius: 12px; background: rgba(0,0,0,.72); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; border: 2px solid var(--green); }
.yt-play:hover .yt-btn, .yt-play:focus-visible .yt-btn { background: var(--green); color: #000; }
.yt iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.link-meta { margin: 0; padding: 10px 14px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.link-meta a { color: var(--silver); font-weight: 600; text-decoration: none; }
.comments { display: grid; gap: 14px; }
.comment { display: flex; gap: 12px; align-items: flex-start; }
.comment-main { min-width: 0; }
.comment-head, .comment-body { margin: 0; }
.comment-body { overflow-wrap: anywhere; margin-top: 2px; }
.comment-form textarea { max-width: none; }

.post-title { font-family: var(--font-display); text-transform: uppercase; color: var(--silver); font-size: 1.6rem; margin: 0; }
.head-actions .linkbtn { white-space: nowrap; }
@media (max-width: 560px) {
  .app-nav { flex-wrap: nowrap; gap: 6px 11px; font-size: .9rem; }
  .app-nav a.on { padding-bottom: 1px; }
}

.start-solo { max-width: 760px; margin: 0 auto; display: grid; gap: 16px; }
.accept-card { border-color: var(--green); }

/* Lesson feedback box */
.feedback summary { cursor: pointer; font-weight: 600; }
.feedback form { margin-top: 14px; }
.feedback select, .feedback textarea { width: 100%; max-width: 520px; background: var(--void); color: var(--silver);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; }
.feedback p { margin: 0 0 12px; }

/* Donate */
.support-link { color: var(--green); font-weight: 600; text-decoration: none; }
.support-link:hover { text-decoration: underline; }
.dialog { border: 1px solid var(--line); background: var(--panel); color: var(--silver); border-radius: 14px;
  padding: 24px; width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; }
.dialog::backdrop { background: rgba(0, 0, 0, .7); }
.dialog-x { position: absolute; top: 8px; right: 12px; background: none; border: 0; color: var(--silver);
  font-size: 1.8rem; line-height: 1; cursor: pointer; }
.donate h2 { margin-top: 0; }
.donate-warn { border-left: 3px solid #d9a21b; padding: 8px 12px; background: rgba(217, 162, 27, .08); margin: 14px 0; }
.wallets { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 14px; }
.wallet { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.wallet p { margin: 0 0 8px; }
.wallet-net { color: #9aa; }
.wallet-addr code { word-break: break-all; font-size: .85rem; }
.wallet-addr b { color: var(--green); }

.side-link.donate-link { color: var(--green); }
.app-foot { text-align: center; padding: 28px 16px 40px; }

.backrow { margin: 0 0 16px; }

/* New post box: attachments */
.compose.dragging { outline: 2px dashed var(--green); outline-offset: 2px; }
.drop-hint { margin: 0 0 10px; color: var(--silver); }
.drop-hint .fine { display: block; margin-top: 4px; }
.attach-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.attach-list li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.attach-list img { border-radius: 6px; object-fit: cover; }
.attach-list li > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pdf-ic { flex: none; font-size: .7rem; font-weight: 800; letter-spacing: .04em; color: var(--void); background: var(--green); border-radius: 4px; padding: 4px 6px; }
.post-files { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.post-files li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.pdf-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.post-inline { margin: 16px 0; }
.post-inline img { max-width: 100%; height: auto; border-radius: 10px; display: block; }

.weex-btn { flex: none; margin-left: 6px; color: var(--void); background: var(--green); padding: 6px 14px; border-radius: 8px;
  font-size: .92rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.weex-btn:hover { filter: brightness(1.1); }

/* Sentiment bar and trading journal */
.sentiment .sent-row { padding: 10px 0; border-top: 1px solid var(--line); }
.sentiment .sent-row:first-of-type { border-top: 0; }
.sent-head { display: flex; justify-content: space-between; margin: 0 0 6px; }
.sent-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: #26312a; }
.sent-bar .bull { background: #3fb950; } .sent-bar .bear { background: #e5534b; }
.sent-nums { display: flex; justify-content: space-between; margin: 4px 0; font-size: .88rem; }
.up { color: #5ccf2a; } .down { color: #ff8d7a; }
.sent-trend { display: flex; align-items: center; gap: 3px; margin: 2px 0 8px; }
.sent-trend .tick { width: 14px; height: 8px; border-radius: 2px; background: #26312a; }
.sent-trend .tick.up { background: #3fb950; } .sent-trend .tick.down { background: #e5534b; }
.sent-trend small { margin-left: 6px; }
.sent-btns { display: flex; gap: 8px; margin: 8px 0 4px; }
.sent-btns .btn.on { outline: 2px solid var(--green); outline-offset: 1px; }
.sent-why textarea { width: 100%; box-sizing: border-box; margin-top: 6px; background: #0b100d; color: inherit; border: 1px solid #26312a; border-radius: 8px; padding: 8px; font: inherit; }
.table-wrap { overflow-x: auto; }
table.trades { width: 100%; border-collapse: collapse; font-size: .92rem; white-space: nowrap; }
table.trades th { text-align: left; color: #8d9489; font-weight: 600; padding: 6px 10px; border-bottom: 1px solid var(--line); }
table.trades td { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.form .error, .errorlist { color: #ff8d7a; font-size: .9rem; margin: 4px 0 0; padding: 0; list-style: none; }
.form input[type=number], .form input[type=text] { max-width: 420px; }
.pager { display: flex; gap: 12px; align-items: center; }

.btn.sent-down { background: #e5534b; border-color: #e5534b; color: #fff; }
.btn.sent-down:hover { filter: brightness(1.1); }
.stop-hint { color: #5ccf2a; font-weight: 600; border: 1px solid #2f6b19; background: rgba(92, 207, 42, .08); border-radius: 8px; padding: 8px 12px; margin: 6px 0 0; }
.stop-hint[hidden] { display: none; }
.badge-profit { color: #5ccf2a; border: 1px solid #2f6b19; border-radius: 999px; padding: 0 8px; font-size: .75rem; font-weight: 600; }
.jtabs { display: flex; gap: 18px; margin: 4px 0 14px; }
.jtabs a { color: var(--silver); text-decoration: none; font-weight: 600; padding-bottom: 3px; }
.jtabs a.on { color: var(--green); border-bottom: 2px solid var(--green); }
.trade-list { padding: 4px 16px; }
.trade-row { display: grid; grid-template-columns: 1fr auto auto; gap: 4px 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.trade-row:first-child { border-top: 0; }
.trade-row:hover .tr-main strong { color: var(--green); }
.tr-date { text-align: right; } .tr-res { min-width: 56px; text-align: right; font-weight: 700; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; }
table.cal { width: 100%; border-collapse: collapse; table-layout: fixed; }
table.cal th { color: #8d9489; font-weight: 600; font-size: .8rem; padding: 4px; }
table.cal td { border: 1px solid var(--line); height: 74px; padding: 0; vertical-align: top; }
table.cal td a { display: flex; flex-direction: column; height: 100%; padding: 5px 6px; text-decoration: none; color: inherit; }
table.cal td a:hover { background: rgba(92, 207, 42, .08); }
table.cal td.other { opacity: .35; } table.cal td.today { outline: 2px solid var(--green); outline-offset: -2px; }
.cal-d { font-weight: 700; } .cal-t { font-size: .72rem; color: var(--green); margin-top: 2px; } .cal-n { font-size: .8rem; margin-top: auto; align-self: flex-end; }
@media (max-width: 560px) { table.cal td { height: 56px; } .cal-t { font-size: .62rem; } .trade-row { grid-template-columns: 1fr auto; } .tr-date { grid-column: 1 / -1; text-align: left; order: 3; } }

/* Verified things shown to members who are not verified: blurred placeholder, never the real text */
.blur-wrap { position: relative; padding: 6px 0 4px; }
.blur-bars { display: grid; gap: 10px; filter: blur(5px); user-select: none; }
.blur-bars span { display: block; height: 14px; border-radius: 7px; background: #3a463e; }
.blur-note { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; font-weight: 600; text-align: center; }
.post-locked .post-chan { color: var(--silver); }
.ev-ic { background: rgba(92, 207, 42, .15); color: var(--green); }
.ev-title { margin: 0; font-size: 1.4rem; }
.ev-title a { color: var(--silver); text-decoration: none; } .ev-title a:hover { color: var(--green); }
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ev-list a { color: var(--silver); font-weight: 600; text-decoration: none; } .ev-list a:hover { color: var(--green); }

/* Share pop-up */
.share-dialog { width: min(680px, 94vw); }
.share-canvas { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); margin: 6px 0 12px; }
.share-designs { display: flex; gap: 8px; margin-bottom: 12px; }
.share-designs .btn.on { border-color: var(--green); color: var(--green); }
.share-dialog textarea { width: 100%; box-sizing: border-box; background: #0b100d; color: inherit; border: 1px solid #26312a; border-radius: 10px; padding: 10px; font: inherit; line-height: 1.45; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 6px; }
.share-actions [hidden] { display: none; }
