*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:19px Arial,Helvetica,sans-serif;color:#111;background:#f8f8f8}.site{max-width:1440px;margin:auto;background:rgba(255,255,255,.75);min-height:100vh}.site-head{background:#fff;text-align:center}.site-head img{display:block;max-width:100%;width:1000px;height:auto;margin:auto}main{padding:18px 20px 28px}h1{text-align:center;font-size:clamp(30px,3vw,43px);text-shadow:2px 2px 3px #bbb;margin:15px 0 36px}.hero{text-align:center;margin:18px auto 22px;max-width:1100px}.hero h1{margin-bottom:18px}.hero p{line-height:1.5}.searchbar{display:flex;gap:12px;justify-content:center;align-items:center;flex-wrap:wrap;margin:0 auto 28px}.searchbar input{border:1px solid #777;border-radius:1px;background:#fff;font-size:20px;padding:14px 16px;min-width:min(100%,350px);flex:0 1 420px}.searchbar button,.control-link{background:#009ca2;color:#fff;border:0;padding:15px 20px;border-radius:2px;text-decoration:none;font-size:18px;cursor:pointer}.searchbar button:hover,.control-link:hover{background:#007c82}.chart-box{border:1px solid #ddd;background:rgba(255,255,255,.84);padding:18px 18px 28px}.controls{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;margin:24px 0 32px}.controls button{background:#970000;color:white;border:0;border-radius:6px;padding:15px 23px;font-size:20px;cursor:pointer}.controls button:hover{background:#700000}.songs{width:100%}.song-row{display:flex;align-items:center;gap:18px;min-height:72px;padding:12px 18px}.song-row:nth-child(odd){background:#f0f0f0}.song-row:nth-child(even){background:rgba(255,255,255,.9)}.choose input{width:17px;height:17px;cursor:pointer}.song-name{flex:1;min-width:0;line-height:1.4}.song-name a{text-decoration:none;color:inherit}.song-name a.artist-link:hover{text-decoration:underline;color:#007b82}.song-name a.year-inline:hover{text-decoration:underline}.song-links{display:flex;align-items:center;justify-content:end;gap:16px;flex-shrink:0}.song-links a{text-decoration:none;font-weight:800;font-size:23px;width:28px;text-align:center}.song-links .youtube{background:#f00;border-radius:7px;color:white;font-size:15px;padding:3px 2px}.song-links .photos{color:#4285f4;text-shadow:1px 1px #fbbc04,-2px 1px #34a853,0 -2px #ea4335}.song-links .spotify{background:#1ed760;border-radius:50%;color:#fff;font-size:27px;line-height:26px}.song-links .music{color:#ed3684}.year-grid{max-width:1140px;margin:30px auto}.decade{display:grid;grid-template-columns:80px repeat(10,minmax(0,1fr));border-left:4px solid #ff9500;background:#f3f3f3;margin:3px 0;align-items:stretch;min-height:57px}.decade:nth-child(2){border-color:#f4d00a}.decade:nth-child(3){border-color:#2db5e8}.decade:nth-child(4){border-color:#59bf12}.decade:nth-child(5){border-color:#f5c66a}.decade:nth-child(6){border-color:#e763e8}.decade:nth-child(7){border-color:#8300d8}.decade:nth-child(8){border-color:#0066d8}.decade strong{background:white;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:normal;color:#777}.decade a{text-decoration:none;color:#111;display:flex;justify-content:center;align-items:center}.decade a:hover{color:#fff;background:#009ca2}.note,.chart-note,.search-total{text-align:center;color:#555;font-size:15px;margin:18px}.between-years{display:flex;justify-content:space-around;gap:15px;flex-wrap:wrap;padding:20px}.between-years a,.pagination a{color:#007e84}.pagination{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:24px}.pagination a{border:1px solid #ddd;padding:8px 12px;text-decoration:none}.pagination a.active{background:#009ca2;color:#fff}footer{text-align:center;padding:16px 10px 28px}footer p{margin-top:22px;font-size:21px}footer .demo-note{font-size:12px;color:#777}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media(max-width:850px){main{padding:12px 8px}.chart-box{padding:12px 8px}.song-row{padding:12px 7px;gap:9px}.song-links{gap:8px}.song-links a{font-size:18px;width:22px}.decade{grid-template-columns:50px repeat(10,minmax(0,1fr));min-height:45px}.decade strong{font-size:16px}.decade a{font-size:11px}.controls{gap:8px}.controls button{font-size:15px;padding:12px}.song-name{font-size:16px}}@media(max-width:560px){.song-row{flex-wrap:wrap}.song-links{margin-left:26px}.decade{grid-template-columns:45px repeat(5,minmax(0,1fr))}.decade strong{grid-row:span 2}h1{margin-bottom:20px}}

/* Exact provided 4 miniature music search icons */
.song-links a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;text-decoration:none}
.song-links a img{display:block;object-fit:contain;max-width:30px;max-height:30px}
.song-links a:hover img{transform:scale(1.12)}
.artist-link{cursor:pointer}
.song-name a.artist-link{color:#064c69;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px}
.song-name a.artist-link:hover,.song-name a.artist-link:focus{text-decoration-color:currentColor}
@media(max-width:600px){.song-links{gap:6px}.song-links a{width:30px;height:30px;flex-basis:30px}.song-links a img{max-width:25px;max-height:25px}}

/* V6: original homepage curated images, 4-across, source ordering preserved */
.curated-section{max-width:1040px;margin:28px auto 6px;text-align:center}
.curated-section h2{font-size:24px;margin:12px 0 20px}
.curated-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 10px;justify-items:center}
.curated-tile{display:block;width:100%;max-width:243px;line-height:0}
.curated-tile img{display:block;width:100%;height:auto;aspect-ratio:243/103;object-fit:contain}
.curated-tile:hover{filter:brightness(.95)}




@media(max-width:800px){.curated-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.curated-section h2{font-size:20px}}

/* Year charts and database-search pages share the original root background. */
body.t40-pattern {background:#f8f8f8 url('/images/backgroundm.png') repeat left top;background-size:auto;}
.t40-footer-credit {font-size:13px;color:#666;text-align:center;margin:16px 0 22px;}

/* V8: year navigation links presented as proper buttons; URLs unchanged. */
.between-years{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:24px 20px;}
.between-years a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 22px;background:#009ca2;border:1px solid #00888d;border-radius:6px;color:#fff;text-decoration:none;font-size:17px;font-weight:600;line-height:1.3;box-shadow:0 2px 3px rgba(0,0,0,.11);transition:background-color .15s,transform .15s,box-shadow .15s;}
.between-years a:visited{color:#fff;}
.between-years a:hover{color:#fff;background:#007a80;transform:translateY(-1px);box-shadow:0 3px 7px rgba(0,0,0,.17);}
.between-years a:focus-visible{outline:3px solid #ff9800;outline-offset:3px;}
@media(max-width:600px){.between-years{padding:18px 6px;justify-content:center;gap:8px}.between-years a{font-size:14px;padding:10px 12px;min-height:42px}}


/* V12: bottom actions, consistent with year-navigation buttons */
.bottom-tools{display:flex;justify-content:center;gap:14px;align-items:center;flex-wrap:wrap;margin:26px auto 12px}
.bottom-tools .tool-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 22px;background:#009ca2;border:1px solid #00888d;border-radius:6px;color:#fff!important;text-decoration:none;font:600 17px/1.3 Arial,Helvetica,sans-serif;cursor:pointer;box-shadow:0 2px 3px rgba(0,0,0,.11)}
.bottom-tools .tool-button:hover{background:#007a80;transform:translateY(-1px)}
.bottom-tools .tool-button:focus-visible{outline:3px solid #ff9800;outline-offset:3px}
@media(max-width:600px){.bottom-tools{gap:8px}.bottom-tools .tool-button{padding:10px 12px;min-height:42px;font-size:14px}}

/* Print / Save as PDF: text-only A4 portrait for the current visible page of chart/search results. */
@page{size:A4 portrait;margin:15mm 14mm}
@media print{
 html,body,body.t40-pattern{background:#fff!important;color:#000!important;font:10pt/1.34 Arial,Helvetica,sans-serif!important}
 .site{max-width:none!important;min-height:auto!important;background:#fff!important;margin:0!important}
 main{padding:0!important;margin:0!important}
 .chart-box{background:#fff!important;border:0!important;padding:0!important}
 h1{font-size:17pt!important;text-align:left!important;margin:0 0 8mm!important;text-shadow:none!important}
 .site-head,.searchbar,.controls,.bottom-tools,.between-years,.pagination,.chart-note,.search-total,footer,.song-links,.choose,#copy-status{display:none!important}
 .songs{width:100%!important;margin:0!important}
 .song-row,.song-row:nth-child(even),.song-row:nth-child(odd){display:block!important;background:#fff!important;padding:2.5mm 0!important;min-height:0!important;border-bottom:1px solid #ddd!important;break-inside:avoid!important;page-break-inside:avoid!important}
 .song-name{display:block!important;font:10pt/1.3 Arial,Helvetica,sans-serif!important;color:#000!important}
 .song-name a,.song-name a.artist-link{color:#000!important;text-decoration:none!important}
 a[href]:after{content:none!important}
}

/* V13: lighter aqua for Select All, Clear All and Copy Selections only. */
.controls button,
.searchbar button[data-action="all"],
.searchbar button[data-action="clear"],
.searchbar button[data-action="copy"] {
  background: #79d9dc;
  color: #073e43;
  border: 1px solid #50babe;
  border-radius: 6px;
  font-weight: 600;
}
.controls button:hover,
.searchbar button[data-action="all"]:hover,
.searchbar button[data-action="clear"]:hover,
.searchbar button[data-action="copy"]:hover {
  background: #4fc6ca;
  color: #073e43;
}

/* V19: top print button matches existing teal footer Print / Save PDF button. */
.controls button.top-print-button, .controls button.top-print-button:hover {color:#fff;border:1px solid #00888d;}
.controls button.top-print-button {background:#009ca2;}
.controls button.top-print-button:hover {background:#007a80;}
.controls button.top-print-button:focus-visible {outline:3px solid #ff9800;outline-offset:3px;}

/* V20: word discovery, song titles only. Unobtrusive until hover/focus. */
.song-name a.song-word-link{color:inherit;text-decoration:none;text-decoration-color:transparent;text-underline-offset:3px}
.song-name a.song-word-link:hover,.song-name a.song-word-link:focus-visible{color:#007e84;text-decoration:underline;text-decoration-color:currentColor}
.song-name a.song-word-link:focus-visible{outline:2px solid #007e84;outline-offset:2px}
@media print{.song-name a.song-word-link{color:#000!important;text-decoration:none!important}}
