/* ScholarSnap app layer — sits on top of the public theme (ss-public.css). */
:root { --dot: radial-gradient(rgba(109,40,255,.14) 1.6px, transparent 1.7px), radial-gradient(rgba(255,46,136,.12) 1.6px, transparent 1.7px); }
@media (prefers-color-scheme: dark) { :root { --dot: radial-gradient(rgba(62,230,255,.16) 1.6px, transparent 1.7px), radial-gradient(rgba(198,255,31,.10) 1.6px, transparent 1.7px); } }
.ss-dots { background-color: var(--bg); background-image: var(--dot); background-size: 26px 26px, 34px 34px; background-position: 0 0, 13px 17px; min-height: 100vh; }
.topbar { background: #17122e; color: #fff; border-bottom: 3px solid var(--pink); position: sticky; top: 0; z-index: 20; }
.topbar .wrap { display: flex; align-items: center; gap: 10px; padding: 10px 20px; flex-wrap: wrap; }
.topbar .logo { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; background: var(--lime); color: #17122e; border: 2.5px solid #fff; padding: 4px 12px; border-radius: 999px; text-decoration: none; }
.topbar nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.topbar nav a { color: #e9e4ff; text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 6px 10px; border-radius: 999px; }
.topbar nav a.on, .topbar nav a:hover { background: var(--violet); color: #fff; }
.topbar .who { font-size: 13.5px; color: var(--lime); font-weight: 700; }
.vhead { background: var(--violet-deep); color: #fff; border: 2.5px solid #17122e; border-radius: 22px; box-shadow: 6px 6px 0 var(--lime); padding: 26px 24px; margin: 26px 0 0; display: grid; grid-template-columns: 1.3fr .7fr; gap: 22px; position: relative; overflow: hidden; }
.vhead::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 9px; background: linear-gradient(90deg, var(--lime) 0 25%, var(--cyan-bright) 25% 50%, var(--yellow) 50% 75%, var(--pink) 75% 100%); }
@media (max-width: 820px) { .vhead { grid-template-columns: 1fr; } }
.vhead h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; margin: 8px 0 6px; }
.vhead .goal { font-weight: 600; color: var(--yellow); margin: 0 0 14px; }
.vhead .goal small { color: #d9d2ff; font-weight: 500; }
.counts { display: flex; gap: 12px; flex-wrap: wrap; margin: 6px 0 14px; }
.count { background: #fff; color: #17122e; border: 2.5px solid #17122e; border-radius: 16px; padding: 8px 14px; box-shadow: 3px 3px 0 #17122e; min-width: 110px; }
.count b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 30px; line-height: 1; }
.count span { font-size: 13px; font-weight: 700; }
.vhead .seg button:not([aria-pressed="true"]) { background: #fff; }
.vhead .bondnote { font-size: 14px; margin: 8px 0 0; color: #fff; }
.vhead .bondnote button { margin-left: 6px; }
.slot-photo { border: 3px dashed #fff; border-radius: 18px; min-height: 220px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font-weight: 700; font-size: 14px; color: #fff; background: rgba(255,255,255,.06); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 22px; }
@media (max-width: 820px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.box { background: var(--surface); border: 2.5px solid var(--border); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.box h3 { font-size: 21px; margin: 0 0 10px; }
.box ul { margin: 0; padding-left: 18px; }
.list-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 2px dashed var(--surface-soft); align-items: center; flex-wrap: wrap; }
.list-row:last-child { border-bottom: 0; }
.muted { color: var(--dim); font-size: 14px; }
.pill { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; border: 2px solid #17122e; background: var(--yellow); color: #17122e; }
.pill.lime { background: var(--lime); } .pill.cyan { background: var(--cyan-bright); } .pill.pink { background: #ff8ac2; } .pill.off { background: #ddd; opacity: .6; }
.hunter { display: flex; gap: 8px; flex-wrap: wrap; }
.hunter span { font-size: 26px; filter: grayscale(1); opacity: .35; border: 2px solid var(--border); border-radius: 14px; padding: 4px 8px; background: var(--surface); }
.hunter span.lit { filter: none; opacity: 1; box-shadow: 3px 3px 0 var(--lime); }
.btn-sm { font-size: 14px; padding: 7px 14px; min-height: 36px; }
input.in, select.in, textarea.in { width: 100%; font: inherit; font-weight: 500; font-size: 15px; padding: 9px 11px; border: 2.5px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--ink); }
textarea.in { min-height: 90px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.form-grid label { font-size: 13px; font-weight: 800; display: block; margin-bottom: 4px; }
.post { background: var(--surface); border: 2.5px solid var(--border); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.post h4 { font-size: 20px; margin: 8px 0 6px; }
.post .body { white-space: pre-wrap; margin: 0 0 8px; }
.reply { border-left: 4px solid var(--violet); padding: 8px 12px; margin: 8px 0; background: var(--surface-soft); border-radius: 0 12px 12px 0; }
.reply .by, .post .by { font-size: 13px; font-weight: 800; color: var(--dim); }
.stage-col { margin-bottom: 18px; }
.flash { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background: #17122e; color: #fff; border: 2.5px solid var(--lime); border-radius: 14px; padding: 10px 16px; font-weight: 700; z-index: 50; }
table.adm { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--surface); }
table.adm th, table.adm td { border: 1.5px solid var(--border); padding: 5px 7px; vertical-align: top; text-align: left; }
.print-only { display: none; }
@media print { .topbar, .no-print, .ticker, footer { display: none !important; } .ss-dots { background: #fff; } .print-only { display: block; } .box, .card { box-shadow: none; } }
.vhead .private-hero { align-self: center; }
.vhead .private-hero img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
