/* Knightfall Creator Foundry / permanent original theme artwork archive.
   Owns only the admin-gated theme artwork workspace. No forced declarations. */
#theme-art-collection{
 --art-metal:var(--kf-realm-metal,#d6b77e);
 --art-glow:var(--kf-realm-glow,#9d697a);
 border-color:color-mix(in srgb,var(--art-metal),transparent 42%);
 background:radial-gradient(ellipse at 92% 0%,color-mix(in srgb,var(--art-glow),transparent 87%),transparent 65%),#14141a;
}
#theme-art-collection .kf-theme-art-intro{
 max-width:75ch;color:#dacfc6;line-height:1.65;margin:.6rem 0 1rem;
}
#theme-art-collection .kf-theme-art-filters{
 display:flex;gap:.6rem;flex-wrap:wrap;margin:1rem 0 1.35rem;
}
#theme-art-collection .kf-theme-art-filters button{
 padding:.65rem 1rem;min-height:44px;
 background:#201c24;color:#eddfd2;border:1px solid #8b746b;
 border-radius:12px;cursor:pointer;font:700 .9rem/1.25 system-ui,sans-serif;
}
#theme-art-collection .kf-theme-art-filters button[aria-pressed="true"]{
 background:color-mix(in srgb,var(--art-metal) 34%,#18161b);
 border-color:var(--art-metal);color:#fff4e6;
}
#theme-art-collection :is(button,a):focus-visible{
 outline:3px solid var(--art-metal);outline-offset:3px;
}
#theme-art-collection .kf-theme-art-gallery{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem;
}
#theme-art-collection .kf-theme-art-card{
 min-width:0;display:flex;flex-direction:column;overflow:hidden;
 border:1px solid color-mix(in srgb,var(--art-metal),transparent 48%);
 border-radius:17px;background:#131319;
 box-shadow:0 15px 32px #0008,inset 0 1px #ffffff0a;
}
#theme-art-collection .kf-theme-art-card:hover{border-color:var(--art-metal)}
#theme-art-collection .kf-theme-art-preview{
 display:block;position:relative;aspect-ratio:16/9;overflow:hidden;
 background:linear-gradient(135deg,#161219,#35232a);
}
#theme-art-collection .kf-theme-art-preview img{
 display:block;width:100%;height:100%;object-fit:cover;object-position:center;
}
#theme-art-collection .kf-theme-art-card-body{
 padding:clamp(1rem,2vw,1.4rem);
 display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:.65rem;
}
#theme-art-collection .kf-theme-art-eyebrow{
 color:var(--art-metal);font-weight:800;text-transform:uppercase;
 font-size:.7rem;letter-spacing:.12em;
}
#theme-art-collection .kf-theme-art-card h3{
 color:#f5e8d6;font-size:clamp(1.2rem,2vw,1.6rem);
 line-height:1.15;margin:0;
}
#theme-art-collection .kf-theme-art-card p{
 color:#cbbfb5;line-height:1.55;margin:0 0 .4rem;
}
#theme-art-collection .kf-theme-art-actions{
 margin-top:auto;display:flex;flex-wrap:wrap;gap:.55rem;
}
#theme-art-collection .kf-theme-art-button{
 display:inline-flex;align-items:center;justify-content:center;
 min-height:42px;padding:.6rem .8rem;
 border-radius:9px;border:1px solid var(--art-metal);
 background:color-mix(in srgb,var(--art-metal) 20%,#16161b);
 color:#faebda;font:750 .85rem/1.3 system-ui,sans-serif;
 text-decoration:none;cursor:pointer;
}
#theme-art-collection .kf-theme-art-button:hover{background:color-mix(in srgb,var(--art-metal) 35%,#17171b)}
#theme-art-collection #kf-theme-art-status{color:#dfd1c4;font-size:.86rem;min-height:1.3rem}
@media(max-width:790px){
 #theme-art-collection .kf-theme-art-gallery{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
 #theme-art-collection .kf-theme-art-card{scroll-behavior:auto}
}

/* The vector gallery uses original SVGs as real, scalable artwork, not PNG crops. */
#theme-art-collection .kf-theme-art-format-filters{
 padding:.75rem 0 1rem;border-top:1px solid color-mix(in srgb,var(--art-metal),transparent 72%);
 margin-top:.1rem;
}
#theme-art-collection .kf-theme-art-card[data-collection="egyptian-eclipse"]{--art-item-accent:#40d4c9;--art-item-metal:#e6b56a}
#theme-art-collection .kf-theme-art-card[data-collection="dark-lord-ascendant"]{--art-item-accent:#ff344d;--art-item-metal:#b5b5c3}
#theme-art-collection .kf-theme-art-card[data-collection="korriban"]{--art-item-accent:#ee4b55;--art-item-metal:#dba079}
#theme-art-collection .kf-theme-art-card[data-collection="mustafar"]{--art-item-accent:#ff7625;--art-item-metal:#e6a057}
#theme-art-collection .kf-theme-art-card[data-collection="theme-selector"]{--art-item-accent:#dba95f;--art-item-metal:#e6bd83}
#theme-art-collection .kf-theme-art-card[data-collection="jedi-sanctuary"]{--art-item-accent:#54baff;--art-item-metal:#e6c78c}
#theme-art-collection .kf-theme-art-card[data-collection="neon-dystopia"]{--art-item-accent:#a9ff37;--art-item-metal:#ff38ae}
#theme-art-collection .kf-theme-art-card[data-collection="the-asylum"]{--art-item-accent:#b72b42;--art-item-metal:#bba18b}
#theme-art-collection .kf-theme-art-card[data-collection="arcade-anarchy"]{--art-item-accent:#38eaff;--art-item-metal:#f64cff}
#theme-art-collection .kf-theme-art-card[data-collection="astral-dominion"]{--art-item-accent:#9a77ff;--art-item-metal:#c5c9ef}
#theme-art-collection .kf-theme-art-card{
 border-color:color-mix(in srgb,var(--art-item-metal,var(--art-metal)),transparent 45%);
}
#theme-art-collection .kf-theme-art-card:hover,
#theme-art-collection .kf-theme-art-card:focus-within{
 border-color:var(--art-item-accent,var(--art-metal));
 box-shadow:0 17px 40px #000a,0 0 20px color-mix(in srgb,var(--art-item-accent,var(--art-glow)),transparent 82%);
}
#theme-art-collection .kf-theme-art-card .kf-theme-art-eyebrow{color:var(--art-item-metal,var(--art-metal))}
#theme-art-collection .kf-theme-art-card[data-format="svg"] .kf-theme-art-preview{
 background:radial-gradient(ellipse at 50% 45%,color-mix(in srgb,var(--art-item-accent,var(--art-glow)),transparent 84%),transparent 63%),
 linear-gradient(135deg,#1d1a20,#080a11);
}
#theme-art-collection .kf-theme-art-card[data-format="svg"] .kf-theme-art-preview img{
 object-fit:contain;padding:clamp(.65rem,2vw,1.7rem);
}
#theme-art-collection .kf-theme-art-card[data-format="svg"] .kf-theme-art-preview::after{
 content:"VECTOR · SCALABLE";position:absolute;left:.8rem;bottom:.7rem;
 font-size:.67rem;font-weight:850;letter-spacing:.16em;color:#f6e7de;
 padding:.3rem .55rem;background:#0b0d12c9;border:1px solid #ffffff3f;border-radius:5px;
}
#theme-art-collection .kf-theme-art-empty{
 grid-column:1/-1;padding:1.5rem;border:1px dashed #a79180;border-radius:14px;color:#e1cfbd;
}
#theme-art-collection .kf-theme-art-format-filters button[aria-pressed="true"]{
 background:color-mix(in srgb,var(--art-metal) 27%,#0d0c11);
}
@media (max-width:620px){
 #theme-art-collection .kf-theme-art-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 #theme-art-collection .kf-theme-art-button{min-width:0}
 #theme-art-collection .kf-theme-art-filters button{flex:1 1 140px}
}

/* Gallery-only composition preview using the actual same-origin vector files. */
#theme-art-collection .kf-theme-kit-showcase{
 border:1px solid color-mix(in srgb,var(--art-metal),transparent 50%);
 border-radius:20px;padding:clamp(1rem,2.4vw,1.6rem);
 background:radial-gradient(ellipse at 65% 5%,#62433424,transparent 58%),#101015;
 margin:1.1rem 0 1.6rem;
}
#theme-art-collection .kf-theme-kit-showcase h3{margin:.2rem 0 .6rem;color:#f5e7d8;font-size:clamp(1.35rem,2.3vw,2rem)}
#theme-art-collection .kf-theme-kit-showcase p.small{max-width:76ch;color:#d6c6b8;line-height:1.55}
#theme-art-collection .kf-theme-kit-stage{
 --kit-glow:#36d8d2;
 --kit-metal:#e8b866;
 margin:1rem 0 0;border:1px solid color-mix(in srgb,var(--kit-metal),transparent 55%);
 border-radius:16px;overflow:hidden;
 background:radial-gradient(ellipse at center 70%,color-mix(in srgb,var(--kit-glow),transparent 87%),transparent 66%),#09090e;
 box-shadow:inset 0 1px #ffffff12,0 12px 38px #0008;
}
#theme-art-collection .kf-theme-kit-stage[data-collection="dark-lord-ascendant"]{--kit-glow:#ff3c50;--kit-metal:#b1b5c7}
#theme-art-collection .kf-theme-kit-stage[data-collection="korriban"]{--kit-glow:#f04750;--kit-metal:#c58a62}
#theme-art-collection .kf-theme-kit-stage[data-collection="mustafar"]{--kit-glow:#ff7625;--kit-metal:#dc9859}
#theme-art-collection .kf-theme-kit-stage img{display:block;pointer-events:none;user-select:none}
#theme-art-collection #kf-theme-kit-header{width:100%;height:auto;max-height:180px;object-fit:fill}
#theme-art-collection .kf-theme-kit-stage img[hidden]{display:none}
#theme-art-collection .kf-theme-kit-stage-content{
 min-height:215px;display:flex;flex-direction:column;align-items:center;
 justify-content:center;gap:.5rem;position:relative;overflow:hidden;
 padding:1.5rem 2rem;
}
#theme-art-collection #kf-theme-kit-frame{
 position:absolute;inset:0;width:100%;height:100%;object-fit:fill;opacity:.95;
}
#theme-art-collection #kf-theme-kit-emblem{
 width:clamp(90px,13vw,145px);height:clamp(90px,13vw,145px);
 position:relative;z-index:1;
 filter:drop-shadow(0 0 18px color-mix(in srgb,var(--kit-glow),transparent 40%));
}
#theme-art-collection #kf-theme-kit-caption{
 position:relative;z-index:1;max-width:70ch;text-align:center;
 color:#f3e4d1;font-size:clamp(.88rem,1.7vw,1.08rem);letter-spacing:.12em;
 font-weight:850;text-transform:uppercase;
 text-shadow:0 2px 7px #000;
}
#theme-art-collection #kf-theme-kit-divider{
 width:100%;height:auto;max-height:62px;object-fit:contain;
}
@media(max-width:600px){
 #theme-art-collection .kf-theme-kit-showcase{padding:.85rem}
 #theme-art-collection .kf-theme-kit-stage-content{min-height:155px;padding:1rem}
 #theme-art-collection #kf-theme-kit-emblem{height:95px;width:95px}
 #theme-art-collection #kf-theme-kit-header{max-height:105px}
}

/* Safe first-party design-template shortcuts, inside the already authorized Foundry. */
#theme-art-collection .kf-theme-art-blueprint-links{
 display:flex;flex-wrap:wrap;gap:.8rem;margin:1.1rem 0 1.4rem;
}
#theme-art-collection .kf-theme-art-blueprint-links a{
 display:inline-flex;align-items:center;justify-content:center;min-height:44px;
 padding:.7rem 1rem;max-width:100%;text-align:center;line-height:1.3;
 border:1px solid #c8a37b;border-radius:9px;color:#f9e4c5;
 text-decoration:none;background:#221b25;
}
#theme-art-collection .kf-theme-art-blueprint-links a:hover,
#theme-art-collection .kf-theme-art-blueprint-links a:focus-visible{
 border-color:#e7c18e;background:#3a2932;outline-offset:2px;
}
