/* Scoped rules keep the common footer independent of each page's older styles. */
html body #site-footer.bull-footer{--bf-bg:#f0f3f2;--bf-ink:#303c36;--bf-muted:#54635b;--bf-line:#d1dcd5;display:block;position:relative;clear:both;float:none;box-sizing:border-box;width:100%;max-width:none;margin:34px 0 0;border:0;border-top:1px solid var(--bf-line);border-radius:0;padding:0;background:var(--bf-bg);color:var(--bf-ink);font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif;font-size:14px;line-height:1.7;text-align:left;letter-spacing:normal;isolation:isolate}
html[data-theme="dark"] body #site-footer.bull-footer{--bf-bg:#111b19;--bf-ink:#e3ece7;--bf-muted:#b0c0b7;--bf-line:#33453b}
#site-footer *,#site-footer *::before,#site-footer *::after{box-sizing:border-box}
#site-footer .bull-footer-inner{width:min(100%,1320px);margin:0 auto;padding:20px clamp(20px,4vw,52px) 16px}
#site-footer .bull-footer-top{display:grid;grid-template-columns:minmax(170px,.85fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.6fr);gap:12px;padding:0 0 14px}
#site-footer .bull-footer-logos{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
#site-footer a{display:inline-flex;align-items:center;min-height:30px;max-width:100%;margin:0;padding:3px 0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--bf-ink);font-size:14px;font-weight:550;line-height:1.6;text-decoration:none;white-space:normal;overflow-wrap:anywhere;transition:color .15s}
#site-footer a:hover{color:#14723f;text-decoration:underline;text-underline-offset:4px}
html[data-theme="dark"] #site-footer a:hover{color:#70dda0}
#site-footer a:focus-visible{outline:3px solid #209858;outline-offset:4px;border-radius:3px}
#site-footer .bull-footer-logos a{padding:0;min-height:0}
#site-footer .bull-footer-logos img{display:block;width:156px;height:48px;object-fit:contain;object-position:left center;max-width:100%;filter:none}
#site-footer .bull-footer-logos .bull-footer-stock-dark{display:none}
html[data-theme="dark"] #site-footer .bull-footer-stock-light{display:none}
html[data-theme="dark"] #site-footer .bull-footer-logos .bull-footer-stock-dark{display:block}
#site-footer .bull-footer-tagline{margin:18px 0 14px;color:var(--bf-muted);font-size:14px;font-weight:650;line-height:1.8}
#site-footer .bull-footer-social{display:flex;flex-wrap:wrap;gap:12px}
#site-footer .bull-footer-social a{justify-content:center;width:44px;height:44px;min-height:44px;padding:0;flex:0 0 44px}
#site-footer .bull-footer-social svg{display:block;width:24px;height:24px;fill:currentColor;flex:none}
#site-footer .bull-footer-x-icon,#site-footer .bull-footer-youtube-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none;border-radius:8px}
#site-footer .bull-footer-x-icon{background:#000;color:#fff}
#site-footer .bull-footer-youtube-icon{background:#fff}
#site-footer .bull-footer-youtube-icon svg{width:24px;height:18px}
#site-footer .bull-footer-social .bull-footer-line-icon{display:block;width:40px;height:40px;max-width:none;object-fit:contain;flex:none;filter:none}
#site-footer .bull-footer-column{display:block;margin:0;padding:0;min-width:0}
#site-footer .bull-footer-column h2{display:block;margin:0 0 4px;padding:0 0 4px;border:0;border-bottom:2px solid #25925a;background:none;color:var(--bf-ink);font-size:18px;font-weight:900;line-height:1.6;cursor:default;letter-spacing:0;text-align:left}
#site-footer .bull-footer-column h2 span{display:block;color:var(--bf-muted);font-size:11px;font-weight:600;line-height:1.8}
#site-footer .bull-footer-column ul{display:block;list-style:none;margin:0;padding:0}
#site-footer .bull-footer-column li{display:block;margin:0;padding:0;border:0}
/* Block-level flex links avoid the extra inline baseline space between rows. */
#site-footer .bull-footer-column li>a{display:flex;width:100%}
#site-footer .bull-footer-bottom{display:block;border-top:1px solid var(--bf-line);padding:10px 0 0}
#site-footer .bull-footer-legal{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:2px 24px;margin:0 0 8px;padding:0}
#site-footer .bull-footer-legal a{font-size:13px;font-weight:650}
#site-footer .bull-footer-source{margin:10px 0;color:var(--bf-muted);font-size:12px}
#site-footer .bull-footer-source .source-note{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px}
#site-footer .bull-footer-source a{color:var(--bf-muted);font-size:12px;min-height:32px}
#site-footer .bull-footer-source .coingecko-credit{color:#347a31;font-weight:750}
html[data-theme="dark"] #site-footer .bull-footer-source .coingecko-credit{color:#95d881}
#site-footer .bull-footer-disclaimer{margin:8px 0 0;color:var(--bf-muted);font-size:12px;line-height:1.9}
#site-footer .bull-footer-copyright{margin:16px 0 0;color:var(--bf-muted);font-size:12px;letter-spacing:.04em}
/* Shared row tracks align the two brands even when link text wraps. */
#site-footer .bull-footer-support-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--bf-support-rows,7),auto);column-gap:18px}
#site-footer .bull-footer-support-grid .bull-footer-support-group{display:grid;grid-template-rows:subgrid;grid-row:1/span var(--bf-support-rows,7);min-width:0;margin:0;padding:0;border:0;background:none}
#site-footer .bull-footer-support-group:first-child{grid-column:1}
#site-footer .bull-footer-support-group:last-child{grid-column:2}
#site-footer .bull-footer-support-group li{display:flex;align-items:stretch;min-width:0}
#site-footer .bull-footer-support-group a{width:100%;overflow-wrap:normal;word-break:normal}
#site-footer a.bull-footer-transfer{display:flex;width:100%;margin-top:12px;padding:10px 0;border-top:1px solid var(--bf-line);font-weight:750}
/* On the two-column phone layout the support heading stays on one line. */
@media(max-width:600px){#site-footer .bull-footer-support-heading span{display:inline;color:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}#site-footer .bull-footer-support-heading span::before{content:"・"}}
/* Each pane owns its footer; the outer shell stays at viewport height. */
html[data-split-fallback] body #site-footer.bull-footer{display:none}
html body #site-footer.bull-footer[hidden]{display:none}
@media(max-width:1050px){#site-footer .bull-footer-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.6fr);gap:12px}#site-footer .bull-footer-brand{grid-column:1/-1}#site-footer .bull-footer-logos{flex-direction:row;flex-wrap:wrap;gap:18px 26px}#site-footer .bull-footer-tagline{margin:12px 0 4px}}
@media(min-width:601px) and (max-width:800px){#site-footer .bull-footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}#site-footer .bull-footer-support{grid-column:1/-1}}
@media(max-width:600px){html body #site-footer.bull-footer{margin-top:24px}#site-footer .bull-footer-inner{padding:16px 20px max(16px,env(safe-area-inset-bottom))}#site-footer .bull-footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;padding-bottom:12px}#site-footer .bull-footer-column:last-child{grid-column:1/-1}#site-footer .bull-footer-logos{gap:12px 20px}#site-footer .bull-footer-logos img{width:136px;height:42px}#site-footer a{min-height:30px;font-size:13px}#site-footer .bull-footer-column h2{font-size:16px}#site-footer .bull-footer-legal{gap:0 20px}#site-footer .bull-footer-legal a{font-size:12px}#site-footer .bull-footer-disclaimer{font-size:12px}}

/* Match split-board.js: wide screens, or landscape at least 760px wide. */
#site-footer li.bull-footer-split-entry{display:none}
@media(min-width:1000px),(orientation:landscape) and (min-width:760px){#site-footer li.bull-footer-split-entry{display:block}}

/* Compact explanatory prose; inline source links must not enlarge line boxes. */
#site-footer .bull-footer-source p{margin:8px 0;line-height:1.65}
#site-footer .bull-footer-source a{display:inline;min-height:0;padding:0;line-height:inherit}
#site-footer .bull-footer-disclaimer{line-height:1.65}
