/* GambleFi Graveyard: overview cards + per-project history pages (build_graveyard.py) */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.graveyard > .breadcrumb { margin-bottom: 18px; }
.graveyard-status--shutdown { border-color: #5e4a6e; background: #2a2236; color: #d6c4ea; }
.graveyard-status--rebranded { border-color: #4b5d7a; background: #1f2a3d; color: #bcd0ef; }
.graveyard-status--active { border-color: #4f6b55; background: #1f2d25; color: #bfe0c6; }
.graveyard-status--exploit { border-color: #7a5a3a; background: #33261b; color: #ecd0ae; }
.graveyard-lifespan { grid-column: 1 / -1; color: #d7dbe5; font-size: .875rem; font-variant-numeric: tabular-nums; }
.graveyard-lifespan span, .gy-life span { color: #9aa3b5; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; margin-right: 4px; }
.graveyard-more { grid-column: 1 / -1; justify-self: start; color: #c9b3e6; font-size: .875rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid #6d5888; }
.graveyard-more:hover, .graveyard-more:focus-visible { color: #fff; border-bottom-color: #c9b3e6; }
.graveyard-card { scroll-margin-top: 90px; }
.gy-updated { color: #9aa3b5; font-size: .85rem; }
.graveyard-intro .gy-updated { display: inline-block; margin-left: 4px; }
.gy-method { margin-top: 36px; max-width: 820px; color: #b9bcc6; font-size: .9rem; }
.gy-method h2 { font-size: 1.15rem; color: #e6e8ef; margin-bottom: 8px; }
.gy-method p + p { margin-top: 10px; }
/* history pages */
.gy-page { max-width: 860px; }
.gy-page .gy-updated { margin-top: 6px; }
.gy-lead { margin-top: 16px; font-size: 1.08rem; color: #dfe3ec; }
.gy-statusline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.gy-statusline .graveyard-status { grid-column: auto; }
.gy-life { color: #d7dbe5; font-variant-numeric: tabular-nums; }
.gy-life-notes { margin-top: 6px; color: #9aa3b5; font-size: .85rem; }
.gy-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 20px 0 8px; border: 1px solid #ffffff16; border-radius: 14px; overflow: hidden; background: #ffffff10; }
.gy-facts div { background: #19222f; padding: 12px 14px; min-width: 0; }
.gy-facts dt { color: #9aa3b5; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.gy-facts dd { margin: 3px 0 0; color: #edf0f7; font-size: .92rem; overflow-wrap: anywhere; }
.gy-facts code, .gy-section code { font-size: .82rem; background: #0f1724; padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; }
.gy-section { margin-top: 34px; }
.gy-section h2 { font-size: 1.35rem; margin-bottom: 12px; }
.gy-section p { color: #c9cdd8; line-height: 1.65; }
.gy-section p + p { margin-top: 12px; }
.gy-timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid #4a3d5c; }
.gy-timeline li { position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 4px 16px; padding: 0 0 14px 18px; color: #c9cdd8; line-height: 1.55; }
.gy-timeline li::before { content: ""; position: absolute; left: -6px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: #8f73b3; }
.gy-timeline time { color: #e6e8ef; font-weight: 600; font-size: .9rem; font-variant-numeric: tabular-nums; }
.gy-ref { color: #b49ad5; font-size: .78rem; text-decoration: none; vertical-align: super; }
.gy-note { font-size: .85rem; color: #9aa3b5 !important; }
.gy-faq details { border: 1px solid #ffffff16; border-radius: 12px; background: #19222f; padding: 12px 16px; }
.gy-faq details + details { margin-top: 10px; }
.gy-faq summary { cursor: pointer; font-weight: 600; color: #edf0f7; }
.gy-faq details p { margin-top: 8px; }
.gy-sources ol { padding-left: 22px; color: #c9cdd8; }
.gy-sources li { margin-bottom: 8px; overflow-wrap: anywhere; scroll-margin-top: 90px; }
.gy-sources li:target { background: #2a2236; border-radius: 6px; }
.gy-sources a { color: #c9b3e6; }
.gy-src-meta { color: #8f98aa; font-size: .82rem; }
.gy-back { margin-top: 30px; }
.gy-back a { color: #c9b3e6; font-weight: 600; }
@media (max-width: 550px) {
    .gy-facts { grid-template-columns: minmax(0, 1fr); }
    .gy-timeline li { grid-template-columns: minmax(0, 1fr); padding-left: 14px; }
    .gy-section h2 { font-size: 1.2rem; }
}
/* Overview: BC.GAME banner in the right column, same markup/classes/CSS as blog.html (.blog-layout + .blog-sidebar from style.css,
   desktop >=1001px only, hidden on mobile like the blog). The two columns sit inside the existing min(92%, 1120px) .graveyard box. */
@media (min-width: 1001px) {
    .graveyard > .blog-layout { width: 100%; margin: 0; }
    .graveyard > .blog-layout > .gy-main { min-width: 0; }
}
/* Subpages /graveyard/<slug>/: same BC.GAME right column (.blog-layout > .article.gy-page + .blog-sidebar), box aligned to the overview/header width */
@media (min-width: 1001px) {
    .blog-layout { width: min(92%, 1120px); }
}
