@font-face{font-family:LastfmSF;src:url('../fonts/SFProDisplayRegular.otf') format('opentype');font-weight:400;font-display:swap}
@font-face{font-family:LastfmSF;src:url('../fonts/SFProDisplayBold.otf') format('opentype');font-weight:700;font-display:swap}
.lastfm-collage-page .lastfm-generator-layout{display:grid;grid-template-columns:minmax(230px,280px) minmax(0,680px);gap:20px;align-items:start;justify-content:center}
.lastfm-collage-page .lastfm-generator-layout>*{min-width:0}
.lastfm-collage-page [hidden]{display:none!important}
.lastfm-collage-page canvas{display:block;width:100%;max-width:560px;height:auto;margin-inline:auto}
.lastfm-collage-page .form-select{color:#fff;background-color:#ffffff0a;border-color:#ffffff40;border-radius:24px;color-scheme:dark}
.lastfm-collage-page .form-select option{background:#252525}
.lastfm-collage-page .form-check-input:checked{background-color:#dc3545;border-color:#dc3545}
.lastfm-collage-page .form-check-input:focus{border-color:#ff8492;box-shadow:0 0 0 .2rem #dc354530}
.lastfm-collage-page .btn-close{filter:invert(1)}
.lastfm-collage-page .lastfm-collage-preview{min-height:240px}
@media(max-width:1100px){.lastfm-collage-page .lastfm-generator-layout{grid-template-columns:minmax(0,1fr);max-width:680px;margin-inline:auto}}

@media(max-width:767.98px){
	.lastfm-page .lastfm-options-card,
	.lastfm-page .lastfm-options-card.h-100,
	.lastfm-page #canvasContent,
	.lastfm-page #canvasContent .lastfm-canvas-card{height:auto!important;min-height:0}
	.lastfm-page #canvasContent{max-width:100%;overflow:hidden}
	.lastfm-page #artistsCanvas{width:100%;max-height:calc(100svh - 190px);object-fit:contain}
}

@media(min-width:768px){.lastfm-collage-page canvas{max-width:min(560px,calc(100svh - 290px));min-width:220px}.lastfm-collage-page>header{max-width:980px;margin-inline:auto}}


.lastfm-collage-page [hidden]{display:none!important}
.lastfm-collage-page input.form-control{background:#ffffff08;color:#fff;border:1px solid #ffffff35;border-radius:20px;color-scheme:dark;min-width:0;width:100%}
.lastfm-collage-page input.form-control::placeholder{color:#aaa}
.lastfm-collage-page .collage-info{display:inline-flex;position:relative;vertical-align:middle;margin-left:4px}
.lastfm-collage-page .collage-info-button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:#ccc;font-size:18px;cursor:help;touch-action:manipulation;-webkit-user-select:none;user-select:none}
.lastfm-collage-page .collage-info-button:focus-visible{outline:2px solid #ff8492;outline-offset:2px}
.lastfm-collage-page .collage-info-tooltip{position:absolute;z-index:10;top:100%;right:0;width:220px;max-width:calc(100vw - 48px);padding:12px;border:1px solid #ffffff30;border-radius:10px;background:#252525;color:#eee;box-shadow:0 6px 20px #0006;font-size:13px;font-weight:400;line-height:1.5;visibility:hidden;opacity:0;transition:opacity .15s}
.lastfm-collage-page .collage-info:focus-within .collage-info-tooltip,.lastfm-collage-page .collage-info:active .collage-info-tooltip{visibility:visible;opacity:1}
@media(hover:hover){.lastfm-collage-page .collage-info:hover .collage-info-tooltip{visibility:visible;opacity:1}}
.lastfm-page canvas.collage-covers-editable{cursor:pointer}
.lastfm-page .collage-cover-dialog{width:min(560px,calc(100vw - 32px));max-height:85svh;overflow:auto;padding:24px;border:1px solid #ffffff30;border-radius:20px;background:#252525;color:#fff;box-shadow:0 12px 48px #0008}
.lastfm-page .collage-cover-dialog::backdrop{background:#0009}
.lastfm-page .collage-cover-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px}
.lastfm-page .collage-cover-choice{display:flex;flex-direction:column;gap:8px;min-width:0;padding:8px;border:2px solid transparent;border-radius:12px;background:#ffffff08;color:#fff;text-align:left;font-size:13px;overflow-wrap:anywhere}
.lastfm-page .collage-cover-choice[aria-pressed=true]{border-color:#dc3545}
.lastfm-page .collage-cover-choice:focus-visible{outline:2px solid #ff8492;outline-offset:2px}
.lastfm-page .collage-cover-choice:disabled{opacity:.5}
.lastfm-page .collage-cover-choice img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px}
