/* Product guide library: compact reading and photographic video previews. */
.guide-library { --guide-blue:#0057d9; --guide-ink:#182336; --guide-muted:#5d6880; --guide-line:#e2e8f0; color:var(--guide-ink); font:400 16px/1.65 YSTBody,sans-serif; }
body.storefront .sound-board-guides { padding-block:40px 64px; }
.guide-library .sound-board-guides-heading { margin-bottom:28px; max-width:880px; }
.guide-library h1 { margin:0; font:600 clamp(28px,2.6vw,36px)/1.3 YSTBody,sans-serif; letter-spacing:-.025em; }
.guide-library .sound-board-guides-heading p { margin:12px 0 0; color:var(--guide-muted); font-size:16px; }
.guide-library .guide-library-filters { display:flex; align-items:end; gap:16px; padding:20px 24px; background:#f4f7fc; border-radius:12px; }
.guide-library .guide-library-filters label { display:grid; gap:8px; flex:0 1 320px; min-width:0; font-size:14px; font-weight:600; }
.guide-library .guide-library-filters .guide-search-label { flex:1 1 400px; }
.guide-library .guide-search-field { position:relative; display:block; }
.guide-library .guide-search-field svg { position:absolute; top:50%; left:14px; width:20px; height:20px; transform:translateY(-50%); color:var(--guide-muted); pointer-events:none; }
.guide-library .guide-library-filters :is(input,select) { box-sizing:border-box; width:100%; min-width:0; min-height:46px; border:1px solid #a9b8ce; border-radius:8px; padding:10px 12px; background:#fff; color:var(--guide-ink); font:400 15px/1.5 YSTBody,sans-serif; }
.guide-library .guide-library-filters input { padding-left:42px; }
.guide-library .guide-library-filters input::placeholder { color:#5d6880; opacity:1; }
.guide-library :is(input,select,button,a):focus-visible { outline:3px solid var(--guide-blue); outline-offset:4px; }
.guide-library .guide-clear { flex:none; min-height:46px; padding:10px 12px; border:0; border-radius:8px; background:#eaf2ff; color:#0048b5; font:600 14px/1.5 YSTBody,sans-serif; cursor:pointer; }
.guide-library .guide-library-status { display:flex; justify-content:space-between; align-items:center; gap:16px; margin:20px 0 8px; }
.guide-library #managedSoundGuideStatus { margin:0; color:var(--guide-muted); font-size:14px; }
.guide-library .guide-product-group { padding:28px 0 32px; border-bottom:1px solid var(--guide-line); }
.guide-library .guide-product-group:last-child { border-bottom:0; padding-bottom:0; }
.guide-library .guide-product-heading { display:flex; justify-content:space-between; align-items:baseline; gap:16px; margin-bottom:20px; }
.guide-library .guide-product-heading h2 { margin:0; font:600 24px/1.4 YSTBody,sans-serif; letter-spacing:-.02em; }
.guide-library .guide-product-heading>span { flex:none; color:var(--guide-muted); font-size:14px; }
.guide-library .managed-guide-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px 24px; }
.guide-library .managed-guide-card { min-width:0; }
.guide-library .guide-card-link { display:block; color:var(--guide-ink); text-decoration:none; border-radius:12px; }
.guide-library .guide-card-media { position:relative; display:grid; place-items:center; aspect-ratio:16/9; border-radius:12px; overflow:hidden; background:#f0f4fa; }
.guide-library .guide-card-media img { display:block; width:100%; height:100%; aspect-ratio:16/9; object-fit:cover; }
.guide-library .guide-card-placeholder { color:var(--guide-muted); font-size:14px; }
.guide-library .guide-card-play { position:absolute; right:12px; bottom:12px; width:36px; height:36px; display:grid; place-items:center; border-radius:50%; background:#fff; color:var(--guide-blue); box-shadow:0 3px 10px #18233629; }
.guide-library .guide-card-play svg { width:18px; height:18px; }
.guide-library .guide-card-kind { display:block; margin-top:12px; color:var(--guide-muted); font-size:12px; line-height:1.6; }
.guide-library .managed-guide-card h3 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin:4px 0 0; font:600 16px/1.5 YSTBody,sans-serif; }
.guide-library .managed-guide-card p { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin:8px 0 0; color:var(--guide-muted); font:400 14px/1.65 YSTBody,sans-serif; }
.guide-library .guide-group-actions { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:16px; margin-top:24px; }
.guide-library .guide-more { min-height:44px; padding:10px 20px; border:1px solid #c4d7f4; border-radius:8px; background:#eaf2ff; color:#0048b5; font:600 14px/1.5 YSTBody,sans-serif; cursor:pointer; }
.guide-library .guide-group-actions>span { color:var(--guide-muted); font-size:13px; }
.guide-library .guide-library-empty { padding:48px 20px; text-align:center; }
.guide-library .guide-library-empty h2 { margin:0 0 12px; font:600 24px/1.5 YSTBody,sans-serif; }
.guide-library .guide-library-empty p { color:var(--guide-muted); }
.guide-library .guide-library-empty a { display:inline-flex; align-items:center; min-height:44px; color:var(--guide-blue); }
.guide-library [hidden] { display:none!important; }
body.storefront[data-active-tab="sound-guides"] :is(#video-guides,#customer-reviews) { display:none; }
@media(hover:hover) and (pointer:fine) { .guide-library .guide-card-link:hover h3 { color:var(--guide-blue); text-decoration:underline; text-underline-offset:4px; } .guide-library :is(.guide-more,.guide-clear):hover { background:#dceaff; } }
@media(max-width:1099px) { .guide-library .managed-guide-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { body.storefront .sound-board-guides { padding-block:28px 40px; } .guide-library .guide-library-filters { display:grid; grid-template-columns:minmax(0,1fr); padding:16px; gap:14px; } .guide-library .guide-product-heading { align-items:flex-start; } .guide-library .guide-product-heading h2 { font-size:21px; } .guide-library .guide-product-heading>span { padding-top:4px; } }
@media(max-width:539px) { .guide-library .managed-guide-list { grid-template-columns:minmax(0,1fr); gap:24px; } .guide-library .guide-product-heading { display:block; } .guide-library .guide-product-heading>span { display:block; margin-top:4px; } }
.guide-video-open{overflow:hidden}
.guide-video-dialog{box-sizing:border-box;width:min(1000px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:16px;background:#fff;color:#182336;box-shadow:0 24px 80px #001b4859;font:inherit;overflow:auto;overscroll-behavior:contain}
.guide-video-dialog::backdrop{background:rgb(8 18 35 / 78%)}
.guide-video-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px}
.guide-video-header h2{margin:0;font-size:18px;line-height:1.5;font-weight:650;overflow-wrap:anywhere}
.guide-video-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:10px;border:0;border-radius:8px;background:#eff3f9;color:#182336;cursor:pointer}
.guide-video-close svg{width:24px;height:24px}.guide-video-close:hover{background:#dfe9fa}
.guide-video-dialog :focus-visible{outline:3px solid #0057d9;outline-offset:3px}
.guide-video-frame{aspect-ratio:16/9;background:#080e18}.guide-video-frame iframe{display:block;width:100%;height:100%;border:0}
.guide-video-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;font-size:13px;line-height:1.6;color:#5d6880}
.guide-video-footer a{color:#0057d9;text-underline-offset:3px;flex-shrink:0}
@media(max-width:539px){.guide-video-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.guide-video-header{padding:10px 12px;gap:8px}.guide-video-header h2{font-size:16px}.guide-video-footer{padding:12px;align-items:flex-start;flex-direction:column}}
