/* The site header for therubberduck.net: logo left, the rooms in the middle, search right.
   Sticky on every page that carries the markup (not ledger.html / album.html).
   Phones: logo, a menu button and a search button. Behaviour: /assets/trd/sitenav.js */
@font-face{font-family:'TRN Steelfish';src:url('/assets/trd/fonts/Steelfish-Bd.woff2') format('woff2'),url('/assets/trd/fonts/Steelfish-Bd.otf') format('opentype');font-weight:700;font-display:swap}
@font-face{font-family:'TRN Courier';src:url('/assets/trd/fonts/CourierPrime-Bold.woff2') format('woff2'),url('/assets/trd/fonts/CourierPrime-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
.trd-nav{position:sticky;top:0;z-index:1000;background:#0b0805;color:#f3e6c8;border-bottom:1px solid #3a2814;box-shadow:0 1px 0 rgba(255,200,100,.14),0 6px 18px rgba(0,0,0,.55);font:700 14px/1 'TRN Courier','Courier Prime','Courier New',monospace}
.trd-nav *{box-sizing:border-box}
.tn-in{max-width:1240px;height:52px;margin:0 auto;padding:0 20px;display:flex;align-items:center;gap:18px}
.tn-logo{flex:none;display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none;border-radius:6px}
.tn-logo img{display:block;width:40px;height:34px;object-fit:contain}
.tn-wm{font:700 27px/1 'TRN Steelfish','Steelfish','Arial Narrow',Impact,sans-serif;letter-spacing:.005em;white-space:nowrap}
.tn-wm sup{font-size:.36em;vertical-align:1.1em;margin-left:1px}
.tn-links{flex:1;display:flex;justify-content:center;align-items:center;gap:clamp(6px,1.2vw,18px);min-width:0}
.tn-links a{color:#f3e6c8;text-decoration:none;text-transform:uppercase;letter-spacing:.06em;font-size:13px;padding:8px 6px;border-radius:4px;white-space:nowrap;border-bottom:2px solid transparent}
.tn-links a:hover,.tn-links a:focus-visible{color:#ffd77a;border-bottom-color:#e3a82b}
.tn-links a[aria-current="page"]{color:#ffd77a;border-bottom-color:#e3a82b}
.tn-search{flex:none;position:relative;display:flex;align-items:center;margin:0}
.tn-q{width:220px;height:34px;padding:0 12px 0 34px;border:1px solid #5a4020;border-radius:999px;background:#1c140b;color:#fff;font:400 14px/1 system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;outline:none}
.tn-q::placeholder{color:#b9ab8c}
.tn-q:focus{border-color:#e3a82b;box-shadow:0 0 0 2px rgba(227,168,43,.25)}
.tn-q::-webkit-search-cancel-button{filter:invert(1) sepia(1) saturate(3)}
.tn-mag{position:absolute;left:11px;top:50%;width:15px;height:15px;margin-top:-7.5px;color:#e3a82b;pointer-events:none}
.tn-btn{display:none;flex:none;width:40px;height:40px;align-items:center;justify-content:center;padding:0;border:1px solid #5a4020;border-radius:8px;background:#1c140b;color:#ffd77a;cursor:pointer}
.tn-btn svg{width:20px;height:20px}
.tn-btn[aria-expanded="true"]{background:#3a2814;border-color:#e3a82b}
.tn-res{position:absolute;top:calc(100% + 8px);right:0;width:min(440px,calc(100vw - 24px));max-height:min(70vh,560px);overflow:auto;background:#140e07;border:1px solid #5a4020;border-radius:10px;box-shadow:0 18px 40px rgba(0,0,0,.7);padding:6px;font:400 14px/1.35 system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;color:#f3e6c8}
.tn-res[hidden]{display:none}
.tn-res a{display:block;padding:8px 10px;border-radius:7px;color:#f3e6c8;text-decoration:none}
.tn-res a:hover,.tn-res a.on{background:#2a1d10}
.tn-res .tn-k{display:inline-block;margin-right:6px;padding:1px 6px;border-radius:4px;background:#3a2814;color:#ffd77a;font:700 10.5px/1.5 'TRN Courier','Courier New',monospace;letter-spacing:.06em;text-transform:uppercase;vertical-align:1px}
.tn-res .tn-t{font-weight:700;color:#fff}
.tn-res .tn-d{display:block;margin-top:2px;color:#b9ab8c;font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tn-res .tn-x{margin-top:4px;border-top:1px solid #3a2814;border-radius:0 0 7px 7px;color:#ffd77a}
.tn-res .tn-msg{padding:10px;color:#b9ab8c}
/* laptops: drop the wordmark before anything gets cramped */
@media (max-width:1180px){.tn-wm{display:none}.tn-q{width:190px}}
@media (max-width:980px){.tn-links a{font-size:12px;letter-spacing:.03em;padding:8px 3px}.tn-q{width:160px}}
/* phones and small tablets: logo, menu, search */
@media (max-width:820px){
  .tn-in{height:50px;padding:0 12px;gap:10px}
  .tn-wm{display:inline;font-size:24px}
  .tn-btn{display:inline-flex}
  .tn-menu{margin-left:auto}
  .tn-links{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;padding:6px 12px 12px;background:#0b0805;border-bottom:1px solid #3a2814;box-shadow:0 14px 28px rgba(0,0,0,.6)}
  .trd-nav.menu-open .tn-links{display:flex}
  .tn-links a{font-size:15px;padding:13px 6px;border-bottom:1px solid #2a1d10;border-radius:0}
  .tn-links a:last-child{border-bottom:0}
  .tn-search{display:none;position:absolute;left:0;right:0;top:100%;padding:10px 12px 12px;background:#0b0805;border-bottom:1px solid #3a2814}
  .trd-nav.search-open .tn-search{display:flex}
  .tn-q{width:100%;height:42px;font-size:16px}
  .tn-mag{left:23px}
  .tn-res{left:12px;right:12px;width:auto;top:calc(100% - 2px)}
}
@media (max-width:360px){.tn-wm{font-size:21px}}
@media (prefers-reduced-motion:no-preference){.tn-links a,.tn-res a{transition:color .15s ease,background .15s ease,border-color .15s ease}}
/* archive pages (/drops/, /library/, /watch/, /listen/...): the same search box inside their header.top */
.top .tn-search{display:flex!important;position:relative!important;margin-left:auto;padding:0!important;background:none!important;border:0!important}
.top .tn-q{width:220px;height:32px;font-size:14px}
.top .tn-mag{left:11px}
@media (max-width:820px){.top .tn-search{width:100%;margin-left:0}.top .tn-q{width:100%;height:38px;font-size:16px}.top .tn-res{left:0;right:0;width:auto;top:calc(100% + 6px)}}

/* ---------- standard site footer (P7) ---------- */
footer.site-foot{position:relative;z-index:2;display:block;margin:0;padding:0;text-align:left;background:#0b0805;color:#e9dcc0;border-top:1px solid #3a2814;box-shadow:0 -1px 0 rgba(255,200,100,.12);font:400 14px/1.5 'Roboto','Helvetica Neue',Arial,sans-serif;clear:both}
footer.site-foot *{box-sizing:border-box}
.sf-in{max-width:1240px;margin:0 auto;padding:40px 24px 28px;display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:28px}
.sf-logo{display:inline-flex;align-items:center;gap:10px;color:#fff!important;text-decoration:none!important;font:400 26px/1 'TRN Steelfish','Steelfish','Arial Narrow',Impact,sans-serif;letter-spacing:.01em}
.sf-logo img{width:46px;height:auto}
.sf-brand p{margin:12px 0 14px;max-width:34ch;color:#d8cbb2}
.sf-col h2{margin:4px 0 12px;font:700 13px/1 'TRN Courier','Courier New',monospace;letter-spacing:.14em;text-transform:uppercase;color:#e3a82b}
.sf-col ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
footer.site-foot a,.sf-btn{color:#f3e6c8;text-decoration:none;border-bottom:1px solid transparent}
footer.site-foot a:hover,footer.site-foot a:focus-visible,.sf-btn:hover,.sf-btn:focus-visible{color:#ffd77a;border-bottom-color:#e3a82b}
.sf-btn{background:none;border:0;border-bottom:1px solid transparent;padding:0;font:inherit;cursor:pointer;text-align:left}
footer.site-foot a.sf-x{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid #5a4020;border-radius:999px;background:#1c140b;font-weight:700}
footer.site-foot a.sf-x:hover,footer.site-foot a.sf-x:focus-visible{border-color:#e3a82b}
.sf-x svg{width:14px;height:14px}
.sf-legal{max-width:1240px;margin:0 auto;padding:18px 24px 28px;border-top:1px solid #2a1d10;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;font-size:12.5px;color:#a8987a}
.sf-legal p{margin:0;max-width:820px}
.sf-legal p:last-child{white-space:nowrap}
:focus-visible.sf-btn,footer.site-foot a:focus-visible{outline:3px solid #ffd77a;outline-offset:3px;border-radius:3px}
@media (max-width:899px){.sf-in{grid-template-columns:1fr 1fr;gap:24px 20px;padding:32px 16px 22px}.sf-brand{grid-column:1/-1}.sf-legal{padding:16px 16px 24px}}
@media (max-width:420px){.sf-in{grid-template-columns:1fr 1fr}.sf-col:last-child{grid-column:1/-1}.sf-legal p:last-child{white-space:normal}}
footer.site-foot ul li{margin:0;padding:0;list-style:none}
footer.site-foot .sf-col a,footer.site-foot .sf-col .sf-btn{display:inline;padding:0;margin:0;font-size:14px;line-height:1.5;background:none}
/* t1964u mobile tap targets: footer room links and the banner links get ~32px tall touch rows (same look) */
@media (max-width:760px){
  footer.site-foot .sf-col ul{gap:0}
  footer.site-foot .sf-col a,footer.site-foot .sf-col .sf-btn{display:inline-block;padding:6px 0}
  .banner .meta{row-gap:0}
  .banner .meta a{display:inline-block;padding:7px 0}
}
