/* Rokkitt, SIL Open Font License 1.1 (license text in /fonts/rokkitt-LICENSE.txt) */
@font-face{font-family:"Rokkitt";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/rokkitt-700.woff2) format("woff2")}
/* BaseballGuru site look, 2026. One stylesheet for every inner page.
   The page's own content is untouched; this file restyles it and makes it fit a phone. */
:root{--ink:#111;--paper:#fff;--card:#fff;--line:#d0d0dc;--blue:#1a2bd8;--green:#00e69a;--gold:#ffb500;--lav:#dfe2fa;--muted:#4b4b4b;
  --slab:"Rokkitt",Rockwell,"American Typewriter",Georgia,"Times New Roman",serif}
html{-webkit-text-size-adjust:100%}
body{margin:0!important;padding:0!important;color:var(--ink);
  font:17px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
/* the site's scanned papers stay: a page keeps the paper it names, and a page that names none gets the white one.
   26 Nov 2026, Craig: "Keep original paper3 color." No softening; the white paper is the site default. */
body:not([background]){background:#fcfcfc url(/paper3.gif)}
a{color:var(--blue)}
a:focus-visible{outline:3px solid var(--blue);outline-offset:2px}

/* header */
.gsite{background:var(--card);border-bottom:3px double var(--ink);font:16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.gsite .gwrap{max-width:1080px;margin:0 auto;padding:10px 16px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}
.gsite .glogo{display:block;flex:0 0 auto}
.gsite .glogo img{display:block;width:220px;max-width:60vw;height:auto}
.gsite form{display:flex;gap:6px;flex:1 1 260px;min-width:0;max-width:420px;margin:0}
.gsite input{flex:1 1 0;width:0;min-width:0;font:inherit;padding:8px 10px;border:2px solid var(--ink);border-radius:6px;background:var(--paper)}
.gsite button{font:inherit;font-weight:700;padding:8px 12px;border:2px solid var(--ink);border-radius:6px;background:var(--paper);color:var(--ink);cursor:pointer}
.gsite nav{flex:1 0 100%;display:flex;flex-wrap:wrap;gap:2px 20px;font-family:var(--slab);font-size:20px}
.gsite nav a{color:var(--ink);font-weight:700;text-decoration:none;padding:4px 0;border-bottom:3px solid transparent}
.gsite nav a:hover{border-bottom-color:var(--green)}

/* page body */
.gmain{display:block;max-width:860px;margin:0 auto;padding:16px 16px 8px;overflow-wrap:break-word}
.gmain img{max-width:100%;height:auto}
.gmain hr{border:0;border-top:1px solid var(--line);margin:14px 0}
.gmain h1,.gmain h2,.gmain h3{font-family:var(--slab);line-height:1.2}
.gmain table[width],.gmain td[width],.gmain th[width]{width:auto!important}
.gmain table{max-width:100%}
.gmain pre{white-space:pre-wrap;overflow-x:auto}
.gmain iframe,.gmain embed,.gmain object,.gmain video{max-width:100%}
.gmain [style*="width"]{max-width:100%!important}
.gmain div[class^="WordSection"],.gmain div[class^="Section"]{width:auto!important;margin:0!important}

/* the old header logo and bottom button bar are replaced by the new header and footer */
.gmain img[src$="/titlea.webp"],.gmain img[src$="/titlea.gif"],
.gmain img[src$="/bar1s.webp"],.gmain img[src$="/bar2s.webp"],.gmain img[src$="/bar3s.webp"],.gmain img[src$="/bar4s.webp"],
.gmain img[src$="/bar5s.webp"],.gmain img[src$="/bar6s.webp"],.gmain img[src$="/bar7s.webp"],
.gmain a[href="/page1.html"]>img[src$="/hut2.webp"]{display:none!important}

/* old two-column topic pages: the glove column is retired, topics live in the header */
.glayout,.glayout>tbody,.glayout>tbody>tr,.glayout>tbody>tr>td,.glayout>tr,.glayout>tr>td{display:block!important;width:auto!important}
.gside,.glayout>tbody>tr>td.gside,.glayout>tr>td.gside{display:none!important}

/* Google's feed service closed in 2016, so its box only ever says "Loading..." */
.gmain #feedControl{display:none!important}

/* teasers: the game, the forecasts and Unfooled, matched to the page */
.gtease{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:14px 0 20px;text-align:left;
  font:normal 400 15px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink)}
.gtease>div{display:flex;flex-direction:column;border:3px double var(--ink);border-radius:8px;padding:12px 14px;min-width:0}
.gshelf{margin:-8px 0 18px;text-align:left;font:normal 400 15px/1.45 system-ui,sans-serif}
.gshelf img{vertical-align:-2px}
.gtease h2{font-family:var(--slab);font-size:21px;font-weight:700;line-height:1.2;margin:0 0 6px;text-align:left}
.gtease p{margin:0 0 10px;text-align:left}
.gtease .gsub{font-size:13px;color:var(--muted);margin-top:auto}
.gtease .gbtn{align-self:flex-start;margin-top:auto;font-family:var(--slab);font-weight:700;font-size:19px;line-height:1.1;text-decoration:none;color:#000;
  background:var(--green);border:2px solid var(--ink);border-radius:8px;padding:8px 18px;box-shadow:3px 3px 0 var(--ink)}
.gtease .gmore{align-self:flex-start;margin-top:auto;font-weight:700}
.gtease .gsub+.gmore{margin-top:0}
.gt-play{background:#e6e6fd url(/paper3p2.gif)}
.gt-fc{background:#f8f2df url(/paper-tex.png)}
.gt-unf{background:#e6e6fd url(/paper-tex.png)}
@media (max-width:700px){
  /* on a phone the cards sit side by side and slide, so the page below stays close */
  .gtease{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:0 0 8px}
  .gtease>div{flex:0 0 84%;scroll-snap-align:start}
  .gt-unf .gset{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
}

/* footer */
.gsite-foot{margin-top:24px;border-top:3px double var(--ink);background:var(--card);text-align:center;
  font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.gsite-foot .gwrap{max-width:1080px;margin:0 auto;padding:16px 16px 24px}
.gsite-foot nav a{display:inline-block;margin:4px 8px;font-weight:600}
.gsite-foot .gcoffee a{display:inline-block;margin-top:10px;padding:8px 14px;border:2px solid var(--ink);border-radius:6px;background:var(--gold);color:#000;font-weight:700;text-decoration:none}
.gsite-foot .gsmall{margin:10px 0 0;font-size:13px;color:var(--muted)}

/* phones: wide tables scroll inside their own box instead of pushing the page sideways */
@media (max-width:700px){
  body{font-size:16px}
  .gmain{padding:12px 12px 8px}
  .gmain table:not(.gflow){display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .gmain table.gflow,.gmain table.gflow>tbody,.gmain table.gflow>thead,.gmain table.gflow>tbody>tr,.gmain table.gflow>tr,
  .gmain table.gflow>tbody>tr>td,.gmain table.gflow>tbody>tr>th,.gmain table.gflow>tr>td{display:block!important;width:auto!important;max-width:100%!important;box-sizing:border-box}
  .glayout{overflow:visible!important}
  /* Word exports: negative margins and floated pictures push past the edge of a phone */
  .gmain [class^="Mso"],.gmain [style*="margin-right"]{margin-right:0!important}
  .gmain [style*="position:absolute"],.gmain [style*="position: absolute"]{position:static!important;margin-left:0!important;margin-top:0!important}
  .gmain big big{font-size:1.25em}
  .gmain font[size="6"],.gmain font[size="7"]{font-size:1.6em}
  .gsite .glogo img{width:180px}
}
@media print{.gsite,.gsite-foot{display:none}}
/* the retired glove column stays hidden whatever table rules apply around it */
html body .gmain .gside,html body .gmain table>tbody>tr>td.gside,html body .gmain table>tr>td.gside{display:none!important}
