@import url('https://fonts.googleapis.com/css2?family=Nosifer&display=swap');
body header{flex-wrap:wrap}body header>div:first-child{flex:1 1 100%;min-width:0}body[data-month] .site-title-text{font-family:Georgia,serif!important;font-weight:700!important;font-size:clamp(22px,3.3vw,42px)!important;letter-spacing:0!important;white-space:nowrap;line-height:1.35!important}body[data-month] .site-title{gap:8px}body[data-month] #headerBooks,body[data-month] #headerWheel{width:64px;height:64px;flex-shrink:0}body[data-month] .site-title-text span{text-shadow:0 1px 2px #0006}body[data-month="10"] .site-title-text{font-family:Nosifer,Georgia,serif!important;font-size:clamp(24px,3vw,40px)!important}body[data-month="1"] .site-title-text span{background:linear-gradient(#fff 10%,#a5adba 40%,#f4f7ff 55%,#8e99aa 90%);color:transparent!important;background-clip:text;-webkit-background-clip:text}.nrr-clover{font-size:.55em;vertical-align:middle;color:#63c57e!important}@media(max-width:600px){body[data-month] #headerBooks,body[data-month] #headerWheel{width:32px;height:32px}body[data-month] .site-title-text{font-size:clamp(16px,5.4vw,28px)!important}body[data-month="10"] .site-title-text{font-size:clamp(12px,3.9vw,23px)!important}body[data-month] .site-title{gap:4px}}

/* Desktop masthead: title, then two tagline lines alongside the controls. */
@media(min-width:901px){
 body header,body.nrr-halloween header{display:grid;grid-template-columns:minmax(0,1fr) max-content;column-gap:24px;row-gap:8px;align-items:start}
 body header>div:first-child,body.nrr-halloween header>div:first-child{display:contents}
 body header .site-title{grid-column:1/-1;grid-row:1;margin-bottom:0}
 body header .tagline{grid-column:1;grid-row:2;margin:0;line-height:40px;font-size:clamp(12px,1.05vw,16px)}
 body header .tagline>span{display:block}
 body header .authbar,body.nrr-halloween header .authbar{grid-column:2;grid-row:2;margin:0;row-gap:6px;grid-template-rows:40px 40px auto;align-items:center}
}
/* Distinct warm brown in light mode; softer brown against dark backgrounds. */
body:not(.dark-mode)[data-month="11"] .site-title-text>span:nth-child(even){color:#885331!important;text-shadow:none}
body.dark-mode[data-month="11"] .site-title-text>span:nth-child(even){color:#b58b73!important}
body[data-month="2"] .site-title-text{position:relative}
body[data-month="2"] .site-title-text::before,body[data-month="2"] .site-title-text::after{position:absolute;pointer-events:none;line-height:1;font-family:Georgia,serif;text-shadow:none}
body[data-month="2"] .site-title-text::before{content:'♥';color:#ffb7cf;font-size:.36em;left:17%;top:-.25em;transform:rotate(-18deg)}
body[data-month="2"] .site-title-text::after{content:'♥ ♡';color:#ec789d;font-size:.32em;right:3%;bottom:-.2em;transform:rotate(12deg)}
/* January: the supplied silver glitter texture clipped to the letters. */
body[data-month="1"] .site-title-text span{background-image:url('january-silver-glitter.png');background-size:161px 294px;background-repeat:repeat;background-clip:text;-webkit-background-clip:text;color:transparent!important;text-shadow:none;-webkit-text-stroke:.2px #c4c8ce;filter:drop-shadow(0 1px 1px #0008)}

/* Align primary controls with the title without stretching the tagline lines. */
@media(min-width:901px){
 body header,body.nrr-halloween header{position:relative;row-gap:4px}
 body header .site-title{grid-column:1;grid-row:1}
 body header .tagline{grid-column:1;grid-row:2;line-height:1.5}
 body header .authbar,body.nrr-halloween header .authbar{grid-column:2;grid-row:1/3;grid-template-rows:auto auto auto;row-gap:8px;align-self:start;padding-top:8px}
}
/* Small seasonal accents around the masthead. */
body[data-month="7"] .site-title-text,body[data-month="11"] .site-title-text,body[data-month="12"] .site-title-text{position:relative}
body[data-month="7"] .site-title-text::after,body[data-month="11"] .site-title-text::after{position:absolute;right:0;top:-.55em;font-size:.4em;line-height:1;pointer-events:none;text-shadow:none;font-family:system-ui}
body[data-month="7"] .site-title-text::after{content:'🇺🇸'}
body[data-month="11"] .site-title-text::after{content:'🦃'}
body[data-month="12"] .site-title-text::before,body[data-month="12"] .site-title-text::after{position:absolute;line-height:1;pointer-events:none;text-shadow:none;color:#88bdd9;font-family:Georgia,serif;font-size:.38em}
body[data-month="12"] .site-title-text::before{content:'❄';left:15%;top:-.3em;transform:rotate(15deg)}
body[data-month="12"] .site-title-text::after{content:'❄  ❄';right:3%;bottom:-.2em;letter-spacing:.7em}
/* Give the November and December accents a clearly visible footprint. */
body[data-month="11"] .site-title-text::after{font-size:28px;top:-19px;right:4px}
body[data-month="12"] .site-title-text::before{font-size:26px;top:-20px;left:12%;color:#d5efff;text-shadow:0 1px 2px #315a78}
body[data-month="12"] .site-title-text::after{font-size:24px;bottom:-14px;right:5%;letter-spacing:18px;color:#d5efff;text-shadow:0 1px 2px #315a78}
body[data-month="11"] header .site-title,body[data-month="12"] header .site-title{padding-top:18px;padding-bottom:14px}
@media(max-width:600px){body[data-month="11"] .site-title-text::after{font-size:21px;top:-18px}body[data-month="12"] .site-title-text::before,body[data-month="12"] .site-title-text::after{font-size:18px}body[data-month="12"] .site-title-text::after{letter-spacing:10px;bottom:-14px}}
