/* Catalogue styling is restricted to this plugin's page and root. */
body.llg-library-page #ll2-app{display:none!important}body.llg-library-page .site-main{padding-top:8px!important}body.llg-library-page .llg-main-link[aria-current=page]{background:var(--ink,#173f45);color:var(--paper,#fff)}
#llg-library{max-width:1440px;margin:0 auto;padding:0 12px 20px;color:var(--ink,#193f46);font:inherit}#llg-library *{box-sizing:border-box}#llg-library button,#llg-library input,#llg-library select{font:inherit}#llg-library .llgc-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 0 11px;border-bottom:1px solid #d3dedb}#llg-library .llgc-search{flex:1 1 160px;max-width:420px}#llg-library input,#llg-library select{background:var(--paper,#fff);border:1px solid #bfceca;border-radius:7px;min-height:36px;padding:6px 10px;width:100%;color:inherit}#llg-library .llgc-toolbar>[data-match-count]{font-size:12px;color:#506b68;margin-left:auto}#llg-library .llgc-group{margin:14px 0 0}#llg-library h2{font-size:14px;line-height:1.3;margin:0 0 7px;font-weight:750;letter-spacing:0}#llg-library .llgc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#llg-library .llgc-card{display:grid;grid-template-columns:90px minmax(0,1fr);gap:11px;border:1px solid #cddad5;border-radius:10px;background:var(--paper,#fff);padding:8px;position:relative;min-width:0}#llg-library .llgc-card[data-genre=story]{border-left:3px solid #8972bb}#llg-library .llgc-card[data-genre=sports]{border-left:3px solid #39866e}#llg-library .llgc-card[data-genre=sound]{border-left:3px solid #ca6e97}#llg-library .llgc-card[data-genre=puzzle]{border-left:3px solid #c08c32}#llg-library .llgc-art{height:100%;min-height:92px;max-height:116px;border-radius:6px;overflow:hidden;display:grid;place-items:center;background:#eef3ee;color:#527a70}#llg-library .llgc-art img{width:100%;height:100%;object-fit:cover;object-position:62% center}#llg-library .llgc-art svg{width:58px;height:58px}#llg-library .llgc-copy{display:flex;flex-direction:column;min-width:0;justify-content:center}#llg-library .llgc-title{display:flex;gap:5px 12px;align-items:baseline;flex-wrap:wrap}#llg-library h3{font-size:16px;line-height:1.25;margin:0;font-weight:760;letter-spacing:-.025em}#llg-library .llgc-title>span{font-size:11px;color:#5b7470}#llg-library .llgc-copy>p{font-size:12px;line-height:1.45;margin:5px 0 8px;color:#46635f}#llg-library .llgc-bottom{display:flex;align-items:center;gap:6px;flex-wrap:wrap}#llg-library .llgc-levels{display:flex;border:1px solid #bfcfc7;border-radius:6px;overflow:hidden}#llg-library .llgc-levels button{position:relative;min-width:33px;min-height:32px;padding:3px 7px;background:transparent;color:inherit;border:0;cursor:pointer}#llg-library .llgc-levels button+button{border-left:1px solid #d1ded8}#llg-library .llgc-levels button[aria-pressed=true]{background:#1c5049;color:#fff}#llg-library .llgc-levels small{font-size:8px;position:absolute;top:1px;right:2px}#llg-library .llgc-edition,#llg-library .llgc-short{font-size:11px;font-weight:600}#llg-library .llgc-short{background:#edf3f0;border-radius:5px;padding:5px 7px}#llg-library .llgc-play{display:inline-flex;align-items:center;justify-content:center;gap:7px;margin-left:auto;background:#184f46;color:#fff;border-radius:6px;padding:6px 11px;font-size:12px;min-height:32px;text-decoration:none;font-weight:700;white-space:nowrap}#llg-library .llgc-play:hover{background:#286b5c}#llg-library .llgc-info{position:relative;font-size:12px}#llg-library .llgc-info summary{cursor:pointer;padding:6px;border-radius:5px;list-style:none;white-space:nowrap}#llg-library .llgc-info summary::-webkit-details-marker{display:none}#llg-library .llgc-info summary:hover{background:#eaf2ed}#llg-library .llgc-info[open]>div{position:absolute;right:0;top:100%;z-index:25;width:min(290px,calc(100vw - 40px));padding:12px;border:1px solid #a9c0b5;border-radius:9px;background:#fff;box-shadow:0 10px 25px #123c3426;color:#224e42}#llg-library .llgc-info p{margin:6px 0;line-height:1.5}#llg-library .llgc-help{margin-left:4px}#llg-library .llgc-unavailable{font-size:11px;color:#6a7971;margin-left:auto}#llg-library :is(button,a,input,select,summary):focus-visible{outline:3px solid #aa6dcb;outline-offset:2px}#llg-library .llgc-empty,#llg-library .llgc-loading{font-size:14px;padding:18px 0;margin:0}
@media(max-width:1000px){#llg-library .llgc-grid{grid-template-columns:1fr}#llg-library .llgc-card{grid-template-columns:84px minmax(0,1fr)}#llg-library .llgc-art{min-height:84px;max-height:100px}}
@media(max-width:460px){#llg-library{padding:0 7px 16px}#llg-library .llgc-card{grid-template-columns:62px minmax(0,1fr);gap:8px;padding:7px}#llg-library h3{font-size:15px}#llg-library .llgc-title>span{font-size:10px}#llg-library .llgc-copy>p{font-size:12px}#llg-library .llgc-edition{display:none}#llg-library .llgc-toolbar>[data-match-count]{display:none}#llg-library .llgc-info[open]>div{position:fixed;left:16px;right:16px;top:25vh;width:auto}#llg-library .llgc-art{max-height:124px}#llg-library .llgc-toolbar{gap:5px}#llg-library .llgc-toolbar>label:not(.llgc-search){max-width:150px}}

body.llg-library-page .site-header [data-main-nav]{background:transparent!important;color:var(--ink,#173f45)!important;box-shadow:none!important}

/* Distinct illustrated short plays; one motif follows each game into its stage. */
#llg-library .llgc-art{background:#e0eee7;box-shadow:inset 0 0 0 1px #ffffffaa}
#llg-library .llgc-art .llga-art{width:100%;height:100%;display:block;object-fit:cover;transition:transform .28s ease}
#llg-library .llgc-card:hover .llgc-art .llga-art{transform:scale(1.055)}
#llg-library .llgc-card{box-shadow:0 2px 0 #173e3910;transition:box-shadow .2s ease,transform .2s ease}
#llg-library .llgc-card:hover{box-shadow:0 10px 25px #173e391c;transform:translateY(-1px)}
#llg-library .llgc-levels button{min-width:37px;min-height:37px}
#llg-library .llgc-levels button:disabled{opacity:.45;cursor:not-allowed}
#llg-library .llgc-play{min-height:38px;padding:7px 12px}
#llg-library .llgc-info[open]>div{max-height:min(50vh,350px);overflow:auto}
#llg-library .llgc-info summary{min-height:36px;display:inline-flex;align-items:center}
#llg-library .llgc-card[data-card=press] .llgc-art{background:#e8d6eb}
#llg-library .llgc-card[data-card=boss] .llgc-art,#llg-library .llgc-card[data-card=plot] .llgc-art{background:#d7dcfb}
#llg-library .llgc-card[data-card=dub] .llgc-art{background:#eed8e8}
#llg-library .llgc-card[data-card=words] .llgc-art{background:#d6e9ed}
#llg-library .llgc-card[data-card=combo] .llgc-art{background:#f1e0c8}
@media(prefers-reduced-motion:reduce){#llg-library .llgc-card,#llg-library .llgc-art .llga-art{transition:none}}
/* Theme beta cards share the catalogue; replace their placeholder symbols with matched art. */
#llg-library .llgc-card[data-pilot-title] .llgc-art{overflow:hidden;background:#e1eee8}
#llg-library .llgc-card[data-pilot-title] .llgc-art .llga-art{width:100%;height:100%;display:block;transition:transform .28s ease}
#llg-library .llgc-card[data-pilot-title]:hover .llgc-art .llga-art{transform:scale(1.055)}
@media(prefers-reduced-motion:reduce){#llg-library .llgc-card[data-pilot-title] .llgc-art .llga-art{transition:none}}
