/* Library-only adaptation of GuitarTid Sangbibliotek 0.2.15's actual intro/search styles.
   Retains chord-specific controls and the original uncropped chord illustrations. */
#gt-two-pages[data-mode="library"]{max-width:1240px}
#gt-two-pages[data-mode="library"]>.gg-nav{max-width:1000px;margin-inline:auto}
#gt-two-pages #gt-chord-pilot{padding:32px 24px 64px;background:transparent;--gt-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23276f80' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 7.5 5 5 5-5'/%3E%3C/svg%3E")}
#gt-two-pages #gt-chord-pilot .gt-library-intro,#gt-two-pages #gt-chord-pilot #gt-filter{max-width:1000px;margin-left:auto;margin-right:auto}
#gt-two-pages #gt-chord-pilot .gt-library-intro{margin-bottom:28px}
#gt-two-pages #gt-chord-pilot .gt-library-eyebrow{font-size:14px;color:#172d3b;letter-spacing:.08em}
#gt-two-pages #gt-chord-pilot .gt-library-intro h1{font-size:48px;line-height:1.12;font-weight:400;letter-spacing:-.025em;margin:12px 0 14px}
#gt-two-pages #gt-chord-pilot .gt-library-intro>p{font-size:19px;max-width:820px;color:#172d3b}
#gt-two-pages #gt-chord-pilot #gt-filter{background:#fff;border:1px solid #b9ccd3;border-radius:20px;padding:28px 28px 18px;box-shadow:0 10px 30px rgba(35,57,91,.12),0 1px 2px rgba(35,57,91,.06);margin-bottom:28px}
#gt-two-pages #gt-chord-pilot .gt-library-search>label,#gt-two-pages #gt-chord-pilot .gt-library-primary label{font-size:14px;color:#172d3b}
#gt-two-pages #gt-chord-pilot .gt-library-search>div{display:flex;margin-top:8px;gap:10px}
#gt-two-pages #gt-chord-pilot #gt-query{min-width:0;flex:1;width:0;height:56px;border:1px solid #a7bac0;border-radius:8px;background:#f5f6f6;padding:12px 16px;font-size:17px}
#gt-two-pages #gt-chord-pilot .gt-library-search button{flex-shrink:0;background:#f4a338;border:0;border-radius:8px;font:16px GTChordRoman,Avenir,sans-serif;padding:12px 24px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:24px}
#gt-two-pages #gt-chord-pilot .gt-library-search button:hover{background:#e99a2e}
#gt-two-pages #gt-chord-pilot .gt-library-search button>span{font-size:23px;line-height:1}
#gt-two-pages #gt-chord-pilot .gt-library-primary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:24px;align-items:end}
#gt-two-pages #gt-chord-pilot .gt-library-primary label>span{margin:0}
#gt-two-pages #gt-chord-pilot #gt-filter select,#gt-two-pages #gt-chord-pilot #gt-sort{display:block;width:100%;min-height:52px;border:1px solid #a7bac0;background-color:#f5f6f6;border-radius:8px;padding:12px 46px 12px 16px;font:17px GTChordBook,Avenir,sans-serif;margin-top:8px;appearance:none;-webkit-appearance:none;background-image:var(--gt-chevron);background-repeat:no-repeat;background-position:right 16px center;background-size:16px;cursor:pointer}
#gt-two-pages #gt-chord-pilot #gt-filter-panel{margin:0}
#gt-two-pages #gt-chord-pilot #gt-filter-panel>summary{display:none;list-style:none;align-items:center;gap:10px;font-size:15px;padding:6px 0}
#gt-two-pages #gt-chord-pilot #gt-filter-panel>summary::-webkit-details-marker{display:none}
#gt-two-pages #gt-chord-pilot .gt-library-filter-bottom{display:flex;align-items:flex-start;margin-top:20px;padding-top:14px;border-top:1px solid #dce8eb;gap:12px}
#gt-two-pages #gt-chord-pilot #gt-more-filters{flex:1;margin:0;min-width:0}
#gt-two-pages #gt-chord-pilot #gt-more-filters>summary{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 14px 8px 18px;border:1px solid #276f80;border-radius:8px;background:#fff;color:#276f80;font:15px GTChordRoman,Avenir,sans-serif;list-style:none}
#gt-two-pages #gt-chord-pilot #gt-more-filters>summary::-webkit-details-marker{display:none}
#gt-two-pages #gt-chord-pilot #gt-more-filters>summary:hover{background:#f0f7f8}
#gt-two-pages #gt-chord-pilot #gt-reset{font-size:14px;min-height:44px;display:inline-flex;align-items:center;gap:8px;flex-shrink:0}
#gt-two-pages #gt-chord-pilot .gt-library-check{display:flex;align-items:center;gap:10px;min-height:44px;margin-top:14px;font-size:15px}
#gt-two-pages #gt-chord-pilot .gt-library-check input{width:21px;height:21px}
#gt-two-pages #gt-chord-pilot .gt-resulthead{display:flex;justify-content:space-between;align-items:center;margin:28px 0 18px;gap:12px}
#gt-two-pages #gt-chord-pilot #gt-count{font-size:18px;margin:0}
#gt-two-pages #gt-chord-pilot .gt-library-sort{display:flex;align-items:center;gap:12px;font-size:14px}
#gt-two-pages #gt-chord-pilot #gt-sort{width:auto;max-width:100%;margin:0;border:0;font-size:15px}
#gt-two-pages #gt-chord-pilot .gt-library-selection{color:#276f80;font-size:14px;margin-bottom:18px}
#gt-two-pages #gt-chord-pilot .gt-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;padding:0;margin:0;align-items:stretch}
#gt-two-pages #gt-chord-pilot .gt-cards>li{min-width:0;display:flex;padding:0;margin:0}
#gt-two-pages #gt-chord-pilot .gt-chord{width:100%;height:100%;background:#fff;border:1px solid #b9ccd3;border-radius:18px;padding:22px 20px 18px;box-shadow:0 8px 24px rgba(35,57,91,.10),0 1px 2px rgba(35,57,91,.06);text-decoration:none;transition:transform 170ms ease,box-shadow 170ms ease,border-color 170ms ease}
#gt-two-pages #gt-chord-pilot .gt-chord h3{font-size:28px;text-align:center;margin:0 0 6px}
#gt-two-pages #gt-chord-pilot .gt-chord>.gt-small{text-align:center;font-size:14px;padding:0}
#gt-two-pages #gt-chord-pilot .gt-card-art{aspect-ratio:1;display:grid;place-items:center;margin:18px 0;min-width:0}
#gt-two-pages #gt-chord-pilot .gt-card-art>.gt-original{width:100%;height:100%;max-height:100%;max-width:100%;object-fit:contain;margin:0;padding:0;background:#fff;border-radius:0}
#gt-two-pages #gt-chord-pilot .gt-chord .gt-open{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px;padding:14px 0 0;margin-top:auto;text-decoration:none}
#gt-two-pages #gt-chord-pilot .gt-chord:focus-visible{border-color:#f4a338;outline:3px solid #f4a338}
@media(hover:hover) and (pointer:fine){#gt-two-pages #gt-chord-pilot .gt-chord:hover{transform:translateY(-3px);border-color:#f4a338;box-shadow:0 0 0 2px #f4a338,0 12px 28px rgba(35,57,91,.16);text-decoration:none}}
#gt-two-pages #gt-chord-pilot .gt-library-more{text-align:center;margin-top:28px}
#gt-two-pages #gt-chord-pilot .gt-more{background:#fff;border:1px solid #276f80;padding:12px 28px;min-height:52px;margin:0}
#gt-two-pages #gt-chord-pilot .gt-detail{background:#fff;border:1px solid #b9ccd3;border-radius:18px;padding:28px;margin-top:28px}
#gt-two-pages #gt-chord-pilot #gt-detail-content{margin-top:24px}
#gt-two-pages #gt-chord-pilot .gt-detail-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:28px}
#gt-two-pages #gt-chord-pilot .gt-detail-gallery figure{margin:0;text-align:center}
#gt-two-pages #gt-chord-pilot .gt-detail-gallery .gt-original{max-width:450px;background:#fff;padding:0;border-radius:0}
#gt-two-pages #gt-chord-pilot .gt-detail-gallery figcaption{font-size:15px;margin-top:12px}
#gt-two-pages #gt-chord-pilot .gt-library-guide{margin:40px 0 0}
#gt-two-pages #gt-chord-pilot>.gg-offer{max-width:1000px;margin-inline:auto}
@media(min-width:1440px){#gt-two-pages[data-mode="library"]{max-width:1640px}#gt-two-pages #gt-chord-pilot .gt-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){#gt-two-pages #gt-chord-pilot .gt-cards{grid-template-columns:repeat(2,minmax(0,1fr))}#gt-two-pages #gt-chord-pilot .gt-library-primary{gap:16px}}
@media(max-width:650px){
 #gt-two-pages #gt-chord-pilot{padding:24px 16px 42px;font-size:16px}
 #gt-two-pages #gt-chord-pilot .gt-library-intro{margin-bottom:18px}
 #gt-two-pages #gt-chord-pilot .gt-library-intro h1{font-size:32px;margin:8px 0 10px}
 #gt-two-pages #gt-chord-pilot .gt-library-intro>p{font-size:16px}
 #gt-two-pages #gt-chord-pilot #gt-filter{padding:14px 16px 12px;border-radius:16px}
 #gt-two-pages #gt-chord-pilot #gt-filter-panel>summary{display:flex}
 #gt-two-pages #gt-chord-pilot #gt-query{padding:10px;font-size:16px}
 #gt-two-pages #gt-chord-pilot .gt-library-search>div{gap:8px}
 #gt-two-pages #gt-chord-pilot .gt-library-search button{padding:10px 14px;gap:10px}
 #gt-two-pages #gt-chord-pilot .gt-library-search button>span{display:none}
 #gt-two-pages #gt-chord-pilot .gt-library-primary{grid-template-columns:1fr 1fr;gap:14px;margin-top:8px}
 #gt-two-pages #gt-chord-pilot .gt-library-primary>label:last-child{grid-column:1/-1}
 #gt-two-pages #gt-chord-pilot #gt-filter select{font-size:16px}
 #gt-two-pages #gt-chord-pilot .gt-library-filter-bottom{margin-top:12px;padding-top:12px;flex-wrap:wrap}
 #gt-two-pages #gt-chord-pilot #gt-more-filters{flex-basis:100%}
 #gt-two-pages[data-library-ready="true"] #gt-chord-pilot #gt-more-filters>summary{display:none}
 #gt-two-pages #gt-chord-pilot .gt-library-check{margin:0}
 #gt-two-pages #gt-chord-pilot .gt-cards{grid-template-columns:1fr}
 #gt-two-pages #gt-chord-pilot .gt-library-sort>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #gt-two-pages #gt-chord-pilot #gt-sort{font-size:16px;min-height:44px;padding:8px 32px 8px 10px;background-position:right 10px center;max-width:190px}
 #gt-two-pages #gt-chord-pilot .gt-detail{padding:22px 16px}
}
@media(max-width:360px){#gt-two-pages #gt-chord-pilot .gt-library-primary{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#gt-two-pages #gt-chord-pilot .gt-chord{transition:none}#gt-two-pages #gt-chord-pilot .gt-chord:hover{transform:none}}

/* Local 0.10.1: direct beginner selection and consistent card names. */
#gt-two-pages #gt-chord-pilot .gt-library-filter-bottom{justify-content:space-between;align-items:center}
#gt-two-pages #gt-chord-pilot .gt-beginner-check{display:flex;align-items:center;gap:12px;min-height:48px;cursor:pointer}
#gt-two-pages #gt-chord-pilot .gt-beginner-check>span{display:inline;margin:0;font:17px GTChordRoman,Avenir,sans-serif}
#gt-two-pages #gt-chord-pilot .gt-beginner-check small{font:14px GTChordBook,Avenir,sans-serif;color:#465a66;margin-left:8px}
#gt-two-pages #gt-chord-pilot #gt-beginner{width:22px;height:22px;margin:0;accent-color:#f4a338;cursor:pointer}
#gt-two-pages #gt-chord-pilot #gt-filter :is(input,select,button):focus-visible{border-color:#f4a338;box-shadow:0 0 0 2px #f4a338;outline:none}
#gt-two-pages #gt-chord-pilot #gt-filter select[data-pointer="true"]:focus-visible{border-color:#a7bac0;box-shadow:none;outline:none}
@media(hover:hover) and (pointer:fine){
#gt-two-pages #gt-chord-pilot #gt-filter :is(input,select,button):not([data-settled="true"]):hover{border-color:#f4a338;box-shadow:0 0 0 2px #f4a338}
}
#gt-two-pages #gt-chord-pilot .gt-chord h3{font-size:40px;line-height:1.2}
#gt-two-pages #gt-chord-pilot .gt-barre-crop{display:block;position:relative;width:100%;aspect-ratio:1179/1205;overflow:hidden}
#gt-two-pages #gt-chord-pilot .gt-barre-crop>.gt-original{position:absolute;left:0;top:-20.746888%;width:100%;height:auto;max-height:none;max-width:none;margin:0;padding:0;background:#fff;border-radius:0}
#gt-two-pages #gt-chord-pilot .gt-guide-shortcut{font-size:17px;display:inline-flex;align-items:center;gap:12px}
#gt-two-pages #gt-chord-pilot .gt-resulthead{flex-wrap:wrap}
@media(max-width:650px){#gt-two-pages #gt-chord-pilot .gt-chord h3{font-size:36px}#gt-two-pages #gt-chord-pilot .gt-guide-shortcut{font-size:16px}}

#gt-two-pages #gt-chord-pilot .gt-guide-shortcut{font-size:20px;line-height:1.5;margin-top:14px}
@media(max-width:650px){#gt-two-pages #gt-chord-pilot .gt-guide-shortcut{font-size:18px;margin-top:12px}}

/* Persistent selection differs from the temporary orange interaction ring. */
#gt-two-pages #gt-chord-pilot #gt-reset>span{font-size:26px;line-height:1}
#gt-two-pages #gt-chord-pilot #gt-filter select:has(option:checked:not([value=""])),
#gt-two-pages #gt-chord-pilot #gt-query:not(:placeholder-shown){background-color:#fff3df}
#gt-two-pages #gt-chord-pilot .gt-beginner-check:has(input:checked){background:#fff3df;border-radius:8px}
#gt-two-pages #gt-chord-pilot .gt-beginner-check{padding:4px 8px;margin-left:auto}
#gt-two-pages #gt-chord-pilot #gt-filter:has(select option:checked:not([value=""]),input:checked,#gt-query:not(:placeholder-shown)) #gt-reset{font-family:GTChordRoman,Avenir,sans-serif;color:#172d3b}

/* Stronger hierarchy and a neutral backdrop for the white chord cards. */
#gt-two-pages #gt-chord-pilot{background:#edf0f1;border-radius:20px}
#gt-two-pages #gt-chord-pilot .gt-chord h3{font-size:56px;line-height:1.12;margin-bottom:10px;overflow-wrap:anywhere}
#gt-two-pages #gt-chord-pilot .gt-chord>.gt-small{font-size:18px;line-height:1.4;color:#465a66}
@media(max-width:650px){#gt-two-pages #gt-chord-pilot .gt-chord h3{font-size:48px}#gt-two-pages #gt-chord-pilot .gt-chord>.gt-small{font-size:17px}}

#gt-two-pages #gt-chord-pilot .gt-empty{background:#fff;border:2px solid #f4a338;border-radius:18px;padding:32px;margin:24px 0;box-shadow:0 8px 24px rgba(35,57,91,.08)}
#gt-two-pages #gt-chord-pilot .gt-empty h2{font-size:30px;line-height:1.25;margin-bottom:16px}
#gt-two-pages #gt-chord-pilot .gt-empty-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:24px}
#gt-two-pages #gt-chord-pilot .gt-request-chord{display:inline-flex;gap:16px;align-items:center;background:#f4a338;color:#172d3b;padding:12px 20px;border-radius:8px;font:17px GTChordRoman,Avenir,sans-serif;text-decoration:none}
#gt-two-pages #gt-chord-pilot .gt-request-chord:hover{background:#e99a2e}
#gt-two-pages #gt-chord-pilot .gt-beginner-check:has(input:disabled){opacity:.55;cursor:not-allowed}
@media(max-width:650px){#gt-two-pages #gt-chord-pilot .gt-empty{padding:24px 18px}#gt-two-pages #gt-chord-pilot .gt-empty h2{font-size:26px}}

#gt-two-pages #gt-chord-pilot{background:transparent;border-radius:0}

/* 0.11.5: compact previews for both open and barre chords; full detail unchanged. */
#gt-two-pages #gt-chord-pilot .gt-card-art{width:100%;max-width:220px;margin:14px auto;aspect-ratio:1}
@media(max-width:650px){#gt-two-pages #gt-chord-pilot .gt-card-art{max-width:210px;margin:12px auto}}
