/* Community (Tagboard) styles, moved as-is from Tagboard v2026.10.24.4.
   Site-global rules were stripped: MusicStream's own layout, fonts and
   link colours win outside the community pages. The corkboard and pastel
   notes are unchanged. */
/* Design brought over from goodgodheisreal.com / MusicStream (design only):
   near-black page, black header, white headings, muted grey secondary text,
   dark navy accent (#0a1f3d / #2563eb). The corkboard and pastel notes below
   are unchanged — they are Tagboard's own look, kept as the warm contrast
   on the dark page. No features or links were changed. */
:root{--ink:#ffffff;--paper:#111214;--teal:#2563eb;--coral:#e85d75;--amber:#f59e0b}
.tb-btn{display:inline-block;padding:10px 16px;border-radius:999px;font-weight:800}
.tb-btn-light{background:transparent;border:1.5px solid #4b5563;color:#fff}
.tb-btn-dark{background:#fff;color:#111}
.tb-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center;margin:20px 0 30px}
.tb-hero h1{font-size:52px;line-height:1.02;letter-spacing:-1.5px;margin:0 0 14px;color:#fff}
.tb-hero p{font-size:18px;line-height:1.6;color:rgba(255,255,255,.75)}
.tb-hero-cta{display:flex;gap:12px;margin-top:18px;flex-wrap:wrap}
.tb-card{background:#1f2937;border:1px solid #374151;border-radius:18px;padding:18px;box-shadow:0 6px 24px rgba(0,0,0,.35)}
.tb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.tb-field{width:100%;padding:11px 12px;border:1.5px solid #374151;border-radius:10px;font:inherit;background:#111827;color:#fff}
.tb-field:focus{outline:2px solid #2563eb;border-color:#2563eb}
.tb-label{font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.5px;color:#9ca3af;display:block;margin:12px 0 6px}
.tb-btn-primary{background:var(--teal);color:#fff;border:0;padding:11px 18px;border-radius:999px;font-weight:800;cursor:pointer}
.tb-btn-primary:hover{filter:brightness(1.08)}
.tb-btn-ghost{background:#1f2937;border:1.5px solid #374151;color:#fff;padding:9px 14px;border-radius:999px;font-weight:700;cursor:pointer}
.tb-muted{color:#9ca3af}
.tb-badge{display:inline-block;padding:3px 9px;border-radius:999px;background:#374151;color:#fff;font-size:12px;font-weight:800}
.tb-badge.fresh{background:#dcfce7;color:#166534}
.tb-badge.pending{background:#fee2e2;color:#991b1b}
.tb-avatar{width:52px;height:52px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:900;color:#2b2118;border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.18);flex:none}
.tb-avatar.color-yellow{background:#fff475}.tb-avatar.color-pink{background:#ffb3c7}.tb-avatar.color-blue{background:#a8d8ff}.tb-avatar.color-green{background:#b7e4a8}.tb-avatar.color-orange{background:#ffcf8a}.tb-avatar.color-purple{background:#d8b4fe}.tb-avatar.color-mint{background:#a7f3d0}.tb-avatar.color-white{background:#fff}
/* Corkboard */
.corkboard{position:relative;min-height:720px;border:14px solid #8b5a2b;border-radius:10px;overflow:hidden;
 background-color:#c89b6a;
 background-image:radial-gradient(rgba(90,55,20,.35) 1px,transparent 1.5px),radial-gradient(rgba(255,240,200,.35) 1px,transparent 1.5px),radial-gradient(rgba(60,35,10,.25) 1px,transparent 1.5px);
 background-size:22px 22px,34px 34px,18px 18px;box-shadow:inset 0 0 60px rgba(0,0,0,.25),0 12px 30px rgba(0,0,0,.2)}
.tag-note{position:absolute;width:210px;min-height:150px;padding:26px 14px 12px;box-shadow:0 10px 22px rgba(0,0,0,.28);cursor:pointer;transition:transform .15s,box-shadow .15s;color:#2b2118}
.tag-note:hover{transform:scale(1.03) rotate(0deg)!important;box-shadow:0 16px 30px rgba(0,0,0,.32);z-index:20}
.tag-note.user-tag-locked{cursor:default}
.tag-note.user-tag-locked:hover{transform:none!important;box-shadow:0 10px 22px rgba(0,0,0,.28)}
.tag-note.draggable{cursor:grab}
.tag-note.dragging{cursor:grabbing;z-index:30;box-shadow:0 20px 36px rgba(0,0,0,.4)}
.tag-note .pin{position:absolute;top:6px;left:50%;transform:translateX(-50%);width:14px;height:14px;border-radius:50%;background:#e11d48;box-shadow:0 2px 4px rgba(0,0,0,.4);border:2px solid #fff}
.tag-note .tape{position:absolute;top:-9px;left:50%;transform:translateX(-50%) rotate(-2deg);width:84px;height:22px;background:rgba(255,255,255,.55);border-left:1px dashed #ccc;border-right:1px dashed #ccc}
.tag-note h4{margin:0 0 6px;font-size:16px;line-height:1.25;color:#2b2118}
.tag-note p{margin:0;font-size:14px;line-height:1.45;white-space:pre-wrap;color:#2b2118}
.tag-note a{color:#065f46}
.tag-note .tb-btn-ghost{background:#fff;color:#111;border-color:#ddd}
.tag-note .note-meta{margin-top:10px;font-size:12px;opacity:.75;display:flex;gap:8px;flex-wrap:wrap}
.tag-note.color-yellow{background:#fff475}.tag-note.color-pink{background:#ffb3c7}.tag-note.color-blue{background:#a8d8ff}.tag-note.color-green{background:#b7e4a8}.tag-note.color-orange{background:#ffcf8a}.tag-note.color-purple{background:#d8b4fe}.tag-note.color-mint{background:#a7f3d0}.tag-note.color-white{background:#fffef5}
.tag-note.style-sticky{font-family:"Segoe Print","Bradley Hand","Comic Sans MS",cursive}
.tag-note.style-paper{background-color:#fdf6e3!important;font-family:Georgia,serif;background-image:repeating-linear-gradient(transparent,transparent 23px,rgba(15,118,110,.18) 24px)}
.tag-note.style-taped{font-family:"Segoe Print","Bradley Hand",cursive}
.tag-note.style-card{background:#fff!important;border-left:6px solid var(--teal);border-radius:6px;font-family:system-ui,sans-serif}
.tag-note.style-card .pin{display:none}
.tag-note .note-actions{margin-top:10px;display:flex;gap:6px;flex-wrap:wrap}
.tag-note button{border:0;background:rgba(255,255,255,.65);border-radius:999px;padding:4px 9px;font-weight:700;cursor:pointer}
.feed-card{background:#1f2937;border:1px solid #374151;border-radius:16px;padding:16px}
.feed-card h3{margin:4px 0 6px}
.feed-card h3 a{color:var(--ink)}
.swatch-row{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0}
.swatch{width:36px;height:36px;border-radius:50%;border:3px solid transparent;cursor:pointer}
.swatch.selected{border-color:var(--ink);transform:scale(1.1)}
.swatch.style{width:auto;height:36px;border-radius:999px;padding:0 12px;font-weight:700;background:#1f2937;border:2px solid #4b5563;color:#fff}
.swatch.style.selected{border-color:#fde68a;background:#fef3c7;color:#111}
.validation-message{color:#b91c1c;font-size:13px}
.blazor-error-boundary{background:#b32121;color:#fff;padding:1rem}
#blazor-error-ui{background:#fff3cd;border:1px solid #f59e0b;padding:10px;position:fixed;bottom:0;left:0;right:0;display:none;z-index:100}
#blazor-error-ui .dismiss{cursor:pointer;float:right}
@media(max-width:760px){.tb-hero{grid-template-columns:1fr}.tb-hero h1{font-size:38px}
 /* Mobile board (v2.4): keep the corkboard. Notes shrink to mini tags at
    their grid positions (30% wide, 3 columns) instead of stacking as a
    list, so the board keeps its charm. Title only, clamped to 2 lines;
    body text, image, votes/comments and buttons are hidden. Tap a note
    to open it in the detail panel. Drag stays off on mobile. The desktop
    corkboard above this breakpoint is unchanged. */
 .corkboard{min-height:560px;padding:8px;border-width:10px}
 .corkboard .tag-note{position:absolute!important;width:30%!important;min-height:0;padding:20px 8px 8px;margin:0}
 .corkboard .tag-note h4{font-size:13px;line-height:1.2;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
 .corkboard .tag-note.user-tag-locked > div{flex-direction:column;align-items:flex-start}
 .corkboard .tag-note.user-tag-locked > div > div{min-width:0}
 .corkboard .tag-note p,.corkboard .tag-note .note-meta,.corkboard .tag-note .note-actions,.corkboard .tag-note img{display:none!important}
 .corkboard .tag-note .pin{width:10px;height:10px;top:4px}
 .corkboard .tag-note .tape{width:56px;height:16px;top:-7px}
 .corkboard .tag-note.user-tag-locked .tb-avatar{width:28px!important;height:28px!important;font-size:11px!important}
 .corkboard .tag-note.user-tag-locked .tb-muted{display:none}
 .board-sidebar{width:100%!important}}

/* Community links inside cards/hero/feed use Tagboard's light-blue. */
.tb-card a, .tb-hero a, .feed-card a { color:#60a5fa; }

.tb-panel{position:fixed;top:0;right:0;height:100%;width:min(440px,94vw);background:#111827;border-left:1px solid #374151;padding:18px;overflow-y:auto;z-index:100;box-shadow:-12px 0 32px rgba(0,0,0,.5)}
@media(max-width:760px){.tb-panel{width:100vw;border-left:0}}
